Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-link
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 37f73344
authored
Apr 12, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
70005dc8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
src/config/index.js
src/views/activityLink/components/browseList.vue
src/views/activityLink/editActivity.vue
src/config/index.js
View file @
37f7334
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: limin
* @Author: limin
* @Date: 2021-06-07 14:12:32
* @Date: 2021-06-07 14:12:32
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2023-04-
07 15:55:49
* @LastEditTime: 2023-04-
10 18:18:28
*/
*/
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// let request = require('@/http/request.js')
// let request = require('@/http/request.js')
...
@@ -21,8 +21,8 @@ export const fetchConfig = function(isEnv = true) {
...
@@ -21,8 +21,8 @@ export const fetchConfig = function(isEnv = true) {
//return window.fetch('https://', {}).then(res => res.json())
//return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/6351298f6a118b4ff787ef2b/live/config')
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/6351298f6a118b4ff787ef2b/live/config')
return
new
Http
().
get
(
'https://oss-config.dev.glsx.com.cn/mock/63a541ae2019ec5113826ea3/link/config'
)
//
return new Http().get('https://oss-config.dev.glsx.com.cn/mock/63a541ae2019ec5113826ea3/link/config')
//
return new Http().get('https://oss-config.glsx.com.cn/mock/63c12a2e28a427953783403b/link/config')
return
new
Http
().
get
(
'https://oss-config.glsx.com.cn/mock/63c12a2e28a427953783403b/link/config'
)
}
}
export
const
config
=
{
export
const
config
=
{
install
(
vue
,
cfg
)
{
install
(
vue
,
cfg
)
{
...
...
src/views/activityLink/components/browseList.vue
View file @
37f7334
...
@@ -29,6 +29,16 @@
...
@@ -29,6 +29,16 @@
</
template
>
</
template
>
<span
class=
"m-l-10"
>
{{ scope.scope.customerName }}
</span>
<span
class=
"m-l-10"
>
{{ scope.scope.customerName }}
</span>
</div>
</div>
<div
slot=
"customerWeChatName"
class=
"flex-align"
slot-scope=
"scope"
>
<
template
v-if=
"scope.scope.customerWeChatAvatar"
>
<el-popover
placement=
"top"
width=
"160"
trigger=
"hover"
popper-class=
"table-popover-block"
>
<img
class=
"table-popover-img"
:src=
"scope.scope.customerWeChatAvatar"
/>
<img
class=
"img-36 pointer"
slot=
"reference"
:src=
"scope.scope.customerWeChatAvatar"
/>
</el-popover>
</
template
>
<span
class=
"m-l-10"
>
{{ scope.scope.customerWeChatName }}
</span>
</div>
<div
slot=
"shareName"
class=
"flex-align"
slot-scope=
"scope"
>
<div
slot=
"shareName"
class=
"flex-align"
slot-scope=
"scope"
>
<
template
v-if=
"scope.scope.shareAvatar"
>
<
template
v-if=
"scope.scope.shareAvatar"
>
<el-popover
placement=
"top"
width=
"160"
trigger=
"hover"
popper-class=
"table-popover-block"
>
<el-popover
placement=
"top"
width=
"160"
trigger=
"hover"
popper-class=
"table-popover-block"
>
...
@@ -204,6 +214,7 @@ export default {
...
@@ -204,6 +214,7 @@ export default {
]
]
break
break
case
3
:
case
3
:
this
.
tableParams
.
tableColumns
[
0
].
addHtml
=
'customerWeChatName'
this
.
tableParams
.
tableColumns
[
1
].
prop
=
'customerPhone'
this
.
tableParams
.
tableColumns
[
1
].
prop
=
'customerPhone'
lastTableColumns
=
[
lastTableColumns
=
[
{
{
...
...
src/views/activityLink/editActivity.vue
View file @
37f7334
...
@@ -1598,7 +1598,7 @@ export default {
...
@@ -1598,7 +1598,7 @@ export default {
this
.
editForm
.
activityBigImg
=
`
${
this
.
staticImgUrl
}
model-main-
${
val
}
.png`
this
.
editForm
.
activityBigImg
=
`
${
this
.
staticImgUrl
}
model-main-
${
val
}
.png`
const
html
=
`<p><img src="
${
this
.
staticImgUrl
}
model-detail-
${
val
}
.png" style="max-width:100%;" contenteditable="false"/></p>`
const
html
=
`<p><img src="
${
this
.
staticImgUrl
}
model-detail-
${
val
}
.png" style="max-width:100%;" contenteditable="false"/></p>`
this
.
editForm
.
activityDetail
=
html
this
.
editForm
.
activityDetail
=
html
this
.
$refs
.
configEditFormRef
.
$refs
.
activityDetailT
extBox
[
0
].
setEdit
(
html
)
this
.
$refs
.
configEditFormRef
.
$refs
.
t
extBox
[
0
].
setEdit
(
html
)
},
},
// 选择门店
// 选择门店
handleRelateStoreClose
()
{
handleRelateStoreClose
()
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment