Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 03b06c3b
authored
Aug 10, 2022
by
wuwx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增群发助手详情众筹活动侧边栏样式,开启首页设置在线客服限制
1 parent
72501b56
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
41 additions
and
13 deletions
src/api/modules/welcomeword.js
src/assets/guestCustom/link.png
src/config/env.development.js
src/config/index.js
src/views/customerTransform/addCustomer.vue
src/views/customerTransform/components/preview.vue
src/views/homeSet/index.vue
src/api/modules/welcomeword.js
View file @
03b06c3
...
@@ -91,6 +91,16 @@ const getMaterialListApi = params => {
...
@@ -91,6 +91,16 @@ const getMaterialListApi = params => {
sign
:
true
sign
:
true
})
})
}
}
// 众筹模式活动
const
crowdfundingActivity
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.crowdfunding.activity.page'
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
//模板列表
//模板列表
const
templatePage
=
params
=>
{
const
templatePage
=
params
=>
{
params
.
method
=
`
${
path
}
template.page.search`
params
.
method
=
`
${
path
}
template.page.search`
...
@@ -144,5 +154,6 @@ export default {
...
@@ -144,5 +154,6 @@ export default {
templatePage
,
templatePage
,
createdNameList
,
createdNameList
,
templateUpdate
,
templateUpdate
,
templateSave
templateSave
,
crowdfundingActivity
}
}
src/assets/guestCustom/link.png
0 → 100644
View file @
03b06c3
1021 Bytes
src/config/env.development.js
View file @
03b06c3
...
@@ -18,9 +18,9 @@ module.exports = {
...
@@ -18,9 +18,9 @@ module.exports = {
code_message_map
:
{}
code_message_map
:
{}
},
},
request
:
{
request
:
{
//
baseURL: 'http://scrm.test.glsx.com.cn/',
baseURL
:
'http://scrm.test.glsx.com.cn/'
,
// baseURL: 'http://192.168.2.42:8064/',
// baseURL: 'http://192.168.2.42:8064/',
baseURL
:
'http://scrm.dev.glsx.com.cn/'
,
//
baseURL: 'http://scrm.dev.glsx.com.cn/',
// 设置超时时间
// 设置超时时间
timeout
:
180000
,
timeout
:
180000
,
// 携带凭证
// 携带凭证
...
...
src/config/index.js
View file @
03b06c3
...
@@ -19,9 +19,9 @@ export const fetchConfig = function (isEnv = true) {
...
@@ -19,9 +19,9 @@ 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/619c87331072f92988f05a29/marketing/config')
return
new
Http
().
get
(
'https://oss-config.test.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config'
)
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=marketing').then(res => res.data)
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('http://config-center-backend.test.glsx.com/glsxAdmin/config?moduleUrl=marketing').then(res => res.data)
return
new
Http
().
get
(
'https://oss-config.dev.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config'
)
//
return new Http().get('https://oss-config.dev.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config')
}
}
export
const
config
=
{
export
const
config
=
{
install
(
vue
,
cfg
)
{
install
(
vue
,
cfg
)
{
...
...
src/views/customerTransform/addCustomer.vue
View file @
03b06c3
...
@@ -273,6 +273,16 @@ export default {
...
@@ -273,6 +273,16 @@ export default {
params
:
{
params
:
{
merchantId
:
this
.
$globalState
.
session
.
merchantId
merchantId
:
this
.
$globalState
.
session
.
merchantId
}
}
},
{
itemName
:
'众筹活动'
,
itemValue
:
7
,
itemType
:
'crowdfunding'
,
getInterfaceApi
:
this
.
$apis
.
welcomeword
.
crowdfundingActivity
,
params
:
{
currentPage
:
1
,
activityStatus
:
2
}
}
}
]
]
},
},
...
@@ -477,11 +487,14 @@ export default {
...
@@ -477,11 +487,14 @@ export default {
})
})
item
.
attContent
=
replaceImg
.
substring
(
0
,
600
)
item
.
attContent
=
replaceImg
.
substring
(
0
,
600
)
}
else
if
(
item
.
attType
==
7
)
{
}
else
if
(
item
.
attType
==
7
)
{
if
(
item
.
attContent
.
title
)
{
item
.
attType
=
4
params
.
crowdFunding
=
true
}
item
.
attContent
=
JSON
.
stringify
(
item
.
attContent
)
item
.
attContent
=
JSON
.
stringify
(
item
.
attContent
)
}
}
return
item
return
item
})
})
console
.
log
(
params
)
params
.
attachmentList
=
attachmentList
params
.
attachmentList
=
attachmentList
if
(
params
.
sendType
==
2
)
{
if
(
params
.
sendType
==
2
)
{
params
.
sendTimeStr
=
this
.
basicForm
.
sendTime
+
' '
+
this
.
basicForm
.
sendDate
params
.
sendTimeStr
=
this
.
basicForm
.
sendTime
+
' '
+
this
.
basicForm
.
sendDate
...
@@ -502,7 +515,7 @@ export default {
...
@@ -502,7 +515,7 @@ export default {
type
:
'success'
,
type
:
'success'
,
message
:
'操作成功!'
message
:
'操作成功!'
})
})
this
.
$tracker
.
track
(
Object
.
assign
({},
{
pageName
:
'群发助手'
,
name
:
'新建客户群发'
,
params
}))
this
.
$tracker
.
track
(
Object
.
assign
({},
{
pageName
:
'群发助手'
,
name
:
'新建客户群发'
,
params
}))
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
...
...
src/views/customerTransform/components/preview.vue
View file @
03b06c3
...
@@ -10,10 +10,11 @@
...
@@ -10,10 +10,11 @@
<
template
v-else-if=
"item.attType == 7"
>
<
template
v-else-if=
"item.attType == 7"
>
<div
class=
"preview-activity"
>
<div
class=
"preview-activity"
>
<div
class=
"activity-name"
>
{{
item
.
attContent
.
marketingName
}}
</div>
<div
class=
"activity-name"
>
{{
item
.
attContent
.
marketingName
}}
</div>
<img
v-if=
"item.attContent.marketingType != 5 && item.attContent.marketingType != 6"
class=
"activity-logo"
src=
"@/assets/guestCustom/activity-logo.png"
alt
/>
<img
v-if=
"item.attContent.marketingType != 5 && item.attContent.marketingType != 6
&& item.attContent.marketingType != 7
"
class=
"activity-logo"
src=
"@/assets/guestCustom/activity-logo.png"
alt
/>
<img
v-if=
"item.attContent.marketingType == 5"
class=
"activity-logo"
src=
"@/assets/guestCustom/activity-spike.png"
alt
/>
<img
v-if=
"item.attContent.marketingType == 5"
class=
"activity-logo"
src=
"@/assets/guestCustom/activity-spike.png"
alt
/>
<img
v-if=
"item.attContent.marketingType == 6"
class=
"activity-logo"
src=
"@/assets/guestCustom/activity-service.png"
alt
/>
<img
v-if=
"item.attContent.marketingType == 6"
class=
"activity-logo"
src=
"@/assets/guestCustom/activity-service.png"
alt
/>
<div
class=
"activity-footer"
>
<img
v-if=
"item.attContent.marketingType == 7"
class=
"link-logo"
src=
"@/assets/guestCustom/link.png"
alt
/>
<div
class=
"activity-footer"
v-if=
"item.attContent.marketingType != 7"
>
<img
src=
"@/assets/guestCustom/applet-footer.png"
alt
/>
<img
src=
"@/assets/guestCustom/applet-footer.png"
alt
/>
</div>
</div>
</div>
</div>
...
@@ -248,4 +249,10 @@ export default {
...
@@ -248,4 +249,10 @@ export default {
}
}
}
}
}
}
.link-logo
{
width
:
30px
;
height
:
30px
;
margin-left
:
131px
;
margin-bottom
:
5px
;
}
</
style
>
</
style
>
src/views/homeSet/index.vue
View file @
03b06c3
...
@@ -147,7 +147,7 @@
...
@@ -147,7 +147,7 @@
</el-radio>
</el-radio>
<el-button
v-show=
"!baseData.consultantList.length"
type=
"text"
></el-button>
<el-button
v-show=
"!baseData.consultantList.length"
type=
"text"
></el-button>
<p
style=
"color: #5850ff;margin-left: 22px;"
@
click=
"handleNoServer"
>
请在首页-跟进专员模块里添加类型为“在线客服”的跟进专员
</p>
<p
style=
"color: #5850ff;margin-left: 22px;"
@
click=
"handleNoServer"
>
请在首页-跟进专员模块里添加类型为“在线客服”的跟进专员
</p>
<el-radio
v-model=
"editForm.customerServerType"
v-if=
"showGh"
:label=
"2"
>
<el-radio
v-model=
"editForm.customerServerType"
:label=
"2"
>
<el-input
style=
"width: 320px"
placeholder=
"请输入链接"
:disabled=
"editForm.customerServerType == 1"
v-model=
"editForm.customerServerUrl"
clearable
></el-input>
<el-input
style=
"width: 320px"
placeholder=
"请输入链接"
:disabled=
"editForm.customerServerType == 1"
v-model=
"editForm.customerServerUrl"
clearable
></el-input>
</el-radio>
</el-radio>
</div>
</div>
...
@@ -230,7 +230,6 @@ export default {
...
@@ -230,7 +230,6 @@ export default {
userInfo
:
{},
userInfo
:
{},
// 查看大图
// 查看大图
isImgVisible
:
false
,
isImgVisible
:
false
,
showGh
:
false
,
state
:
''
,
state
:
''
,
dialogObj
:
{
dialogObj
:
{
url
:
''
,
url
:
''
,
...
@@ -451,8 +450,6 @@ export default {
...
@@ -451,8 +450,6 @@ export default {
this
.
externalFormList
[
idx
].
editFormData
[
idxx
].
isHide
=
true
this
.
externalFormList
[
idx
].
editFormData
[
idxx
].
isHide
=
true
this
.
externalFormList
[
idxxx
].
editFormData
[
idxxxx
].
isHide
=
true
this
.
externalFormList
[
idxxx
].
editFormData
[
idxxxx
].
isHide
=
true
}
}
let
href
=
window
.
location
.
host
this
.
showGh
=
href
.
indexOf
(
'cgacar'
)
!=
-
1
},
},
methods
:
{
methods
:
{
...
...
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