Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-drainage
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 f9dabcc7
authored
Dec 10, 2021
by
yangming
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
new
1 parent
df353fd1
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
400 additions
and
184 deletions
src/api/modules/marketing.js
src/components/selectTag/index.vue
src/components/welcome/activityModel.vue
src/components/welcome/tag-textarea.vue
src/components/welcome/welcomeWords.vue
src/store/modules/square.js
src/views/channel/addCode.vue
src/views/channel/components/channelList.vue
src/views/channel/components/channelStatistics.vue
src/views/channel/poster.vue
src/views/channel/store.vue
src/views/friends/index.vue
src/views/market/config.vue
src/views/market/index.vue
src/views/overview/components/messageList.vue
src/views/overview/index.vue
src/views/square/drainage.vue
src/views/square/import.vue
src/views/square/importResult.vue
src/api/modules/marketing.js
View file @
f9dabcc
...
@@ -27,7 +27,7 @@ const getMerchant = params => {
...
@@ -27,7 +27,7 @@ const getMerchant = params => {
})
})
}
}
const
getCard
=
params
=>
{
const
getCard
=
params
=>
{
params
.
method
=
'scrm.api.equity.
card.class.list.with.page
'
params
.
method
=
'scrm.api.equity.
open.card.price.get.by.merchantid
'
return
http
({
return
http
({
url
:
'rop-scrm-equity/router'
,
url
:
'rop-scrm-equity/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -44,7 +44,15 @@ const getPackage = params => {
...
@@ -44,7 +44,15 @@ const getPackage = params => {
sign
:
true
sign
:
true
})
})
}
}
const
getActivity
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.page'
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
const
findAllByPage
=
params
=>
{
const
findAllByPage
=
params
=>
{
params
.
method
=
'entmicro.api.dracIm.findAllByPage'
params
.
method
=
'entmicro.api.dracIm.findAllByPage'
params
.
sessionId
=
session
params
.
sessionId
=
session
...
@@ -140,6 +148,7 @@ export default {
...
@@ -140,6 +148,7 @@ export default {
getMerchant
,
getMerchant
,
getCard
,
getCard
,
getPackage
,
getPackage
,
getActivity
,
listChannelCodeBill
,
listChannelCodeBill
,
findAllByPage
,
findAllByPage
,
dracImMessage
,
dracImMessage
,
...
...
src/components/selectTag/index.vue
View file @
f9dabcc
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
</div>
</div>
<div
class=
"checkbox-group-box"
:style=
"
{ 'max-height': heightBox + 'px' }">
<div
class=
"checkbox-group-box"
:style=
"
{ 'max-height': heightBox + 'px' }">
<div
v-for=
"(item, index) in labelTreeRets"
:key=
"index"
>
<div
style=
"margin-bottom: 8px"
v-for=
"(item, index) in labelTreeRets"
:key=
"index"
>
<span
class=
"el-tree-node__expand-icon el-icon-caret-right"
:class=
"
{ expanded: item.checked }" @click="item.checked = !item.checked">
</span>
<span
class=
"el-tree-node__expand-icon el-icon-caret-right"
:class=
"
{ expanded: item.checked }" @click="item.checked = !item.checked">
</span>
<el-checkbox
:indeterminate=
"item.isIndeterminate"
v-model=
"item.checkAll"
@
change=
"handleCheckAllChange(item.checkAll, index)"
>
{{
item
.
labelGroup
.
name
}}
(
{{
item
.
tagChecked
.
length
}}
/
{{
item
.
labelList
.
length
}}
项)
</el-checkbox>
<el-checkbox
:indeterminate=
"item.isIndeterminate"
v-model=
"item.checkAll"
@
change=
"handleCheckAllChange(item.checkAll, index)"
>
{{
item
.
labelGroup
.
name
}}
(
{{
item
.
tagChecked
.
length
}}
/
{{
item
.
labelList
.
length
}}
项)
</el-checkbox>
<div
style=
"margin: 15px 0"
></div>
<div
style=
"margin: 15px 0"
></div>
...
@@ -25,10 +25,10 @@
...
@@ -25,10 +25,10 @@
<div
class=
"tag-title"
>
已选标签
</div>
<div
class=
"tag-title"
>
已选标签
</div>
<div
class=
"tag-select-box"
>
<div
class=
"tag-select-box"
>
<div
class=
"tag-box-header"
>
标签名称(
{{
selectNum
}}
项)
</div>
<div
class=
"tag-box-header"
>
标签名称(
{{
selectNum
}}
项)
</div>
<div
class=
"tag-selected-box"
>
<div
class=
"tag-selected-box"
:style=
"
{ 'height': heightBox + 'px' }"
>
<template
v-for=
"item in labelTreeRetSelect"
>
<template
v-for=
"item in labelTreeRetSelect"
>
<template
v-for=
"(tag, idx) in item.tagChecked"
>
<template
v-for=
"(tag, idx) in item.tagChecked"
>
<el-tag
class=
"tag-selected-item"
:key=
"idx"
v-if=
"tag"
closable
:disable-transitions=
"false"
@
close=
"remove(item, idx)"
>
<el-tag
type=
'info'
class=
"tag-selected-item"
:key=
"idx"
v-if=
"tag"
closable
:disable-transitions=
"false"
@
close=
"remove(item, idx)"
>
{{
tag
.
name
}}
{{
tag
.
name
}}
</el-tag>
</el-tag>
</
template
>
</
template
>
...
@@ -117,7 +117,8 @@ export default {
...
@@ -117,7 +117,8 @@ export default {
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
1000
,
pageSize
:
1000
,
shopId
:
this
.
$globalState
.
session
.
merchantId
,
shopId
:
this
.
$globalState
.
session
.
merchantId
,
labelGroupName
:
this
.
labelGroupName
labelGroupName
:
this
.
labelGroupName
,
labelTypesStr
:
'自店标签,企业标签'
}
}
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
...
@@ -336,6 +337,8 @@ export default {
...
@@ -336,6 +337,8 @@ export default {
margin
:
0px
6px
6px
0px
;
margin
:
0px
6px
6px
0px
;
height
:
26px
;
height
:
26px
;
line-height
:
24px
;
line-height
:
24px
;
font-size
:
14px
;
color
:
#666
;
}
}
.el-tree-node__expand-icon
{
.el-tree-node__expand-icon
{
color
:
#5850ff
;
color
:
#5850ff
;
...
...
src/components/welcome/activityModel.vue
View file @
f9dabcc
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
<div
class=
"model-panel-tab"
>
<div
class=
"model-panel-tab"
>
<label>
活动类型:
</label>
<label>
活动类型:
</label>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
type=
"card"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
type=
"card"
>
<el-tab-pane
label=
"精品券"
name=
"1"
></el-tab-pane>
<el-tab-pane
label=
"商城券"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"权益卡试用"
name=
"3"
></el-tab-pane>
<el-tab-pane
label=
"权益卡试用"
name=
"3"
></el-tab-pane>
<el-tab-pane
label=
"权益套餐"
name=
"4"
></el-tab-pane>
<el-tab-pane
label=
"权益套餐"
name=
"4"
></el-tab-pane>
<el-tab-pane
label=
"商城券"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"秒杀活动"
name=
"5"
></el-tab-pane>
<el-tab-pane
label=
"精品券"
name=
"1"
></el-tab-pane>
</el-tabs>
</el-tabs>
</div>
</div>
<div
class=
"model-item-panel"
v-if=
"modelList.length > 0"
v-loading=
"loading"
>
<div
class=
"model-item-panel"
v-if=
"modelList.length > 0"
v-loading=
"loading"
>
...
@@ -17,20 +18,23 @@
...
@@ -17,20 +18,23 @@
<div
class=
"model-item-title"
:title=
"item.couponName"
v-show=
"activeName == 2"
>
{{
item
.
couponName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.couponName"
v-show=
"activeName == 2"
>
{{
item
.
couponName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.cardClassName"
v-show=
"activeName == 1"
>
{{
item
.
couponName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.cardClassName"
v-show=
"activeName == 1"
>
{{
item
.
couponName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.packageName"
v-show=
"activeName == 4"
>
{{
item
.
packageName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.packageName"
v-show=
"activeName == 4"
>
{{
item
.
packageName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.activityName"
v-show=
"activeName == 5"
>
{{
item
.
activityName
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 1 || activeName == 4"
></div>
<div
class=
"model-item-content"
v-show=
"activeName == 1 || activeName == 4"
></div>
<div
class=
"model-item-content"
v-show=
"activeName == 2"
>
剩余数量:
{{
item
.
residueAmount
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2"
>
剩余数量:
{{
item
.
residueAmount
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 1"
>
剩余数量:
{{
item
.
remainAmount
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 1"
>
剩余数量:
{{
item
.
remainAmount
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3"
>
价格:
{{
item
.
price
}}
元
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3"
>
价格:
{{
item
.
price
}}
元
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 4"
>
价格:
{{
item
.
packagePrice
}}
元
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 4"
>
价格:
{{
item
.
packagePrice
}}
元
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 5"
></div>
<div
class=
"model-item-content"
v-show=
"activeName == 5"
></div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 1"
>
有效期:
{{
item
.
effectiveDays
}}
天
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 1"
>
有效期:
{{
item
.
effectiveDays
}}
天
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 3"
>
有效期:无限制
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 3"
>
有效期:无限制
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 2"
>
有效期:
{{
item
.
effectiveStartTime
?
item
.
effectiveStartTime
.
split
(
' '
)[
0
]
:
''
}}
~
{{
item
.
effectiveEndTime
?
item
.
effectiveEndTime
.
split
(
' '
)[
0
]
:
''
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 2"
>
有效期:
{{
item
.
effectiveStartTime
?
item
.
effectiveStartTime
.
split
(
' '
)[
0
]
:
''
}}
~
{{
item
.
effectiveEndTime
?
item
.
effectiveEndTime
.
split
(
' '
)[
0
]
:
''
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3 && item.effectiveType == 3"
>
有效期:
{{
item
.
effectiveStartTime
?
item
.
effectiveStartTime
.
split
(
' '
)[
0
]
:
''
}}
~
{{
item
.
effectiveEndTime
?
item
.
effectiveEndTime
.
split
(
' '
)[
0
]
:
''
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3 && item.effectiveType == 3"
>
有效期:
{{
item
.
effectiveStartTime
?
item
.
effectiveStartTime
.
split
(
' '
)[
0
]
:
''
}}
~
{{
item
.
effectiveEndTime
?
item
.
effectiveEndTime
.
split
(
' '
)[
0
]
:
''
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3 && item.effectiveType == 1"
>
有效期:无限制
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3 && item.effectiveType == 1"
>
有效期:无限制
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3 && item.effectiveType == 2"
>
有效期:
{{
item
.
effectiveNum
}}
天
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3 && item.effectiveType == 2"
>
有效期:
{{
item
.
effectiveNum
}}
天
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2"
>
<div
class=
"model-item-content"
v-show=
"activeName == 2"
>
类型:
类型:
<span>
{{
item
.
discountType
==
2
?
'折扣券'
:
item
.
discountType
==
3
?
'代金券'
:
item
.
discountType
==
4
?
'兑换券'
:
''
}}
</span>
<span>
{{
item
.
discountType
==
2
?
'折扣券'
:
item
.
discountType
==
3
?
'代金券'
:
item
.
discountType
==
4
?
'兑换券'
:
''
}}
</span>
</div>
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 1"
>
<div
class=
"model-item-content"
v-show=
"activeName == 1"
>
类型:
类型:
...
@@ -44,6 +48,10 @@
...
@@ -44,6 +48,10 @@
类型:
类型:
<span>
权益套餐
</span>
<span>
权益套餐
</span>
</div>
</div>
<div
class=
"model-item-content"
v-if=
"activeName == 5"
>
活动时间:
{{
item
.
startTime
.
split
(
' '
)[
0
]
}}
-
{{
item
.
endTime
.
split
(
' '
)[
0
]
}}
</div>
</div>
</div>
</div>
</div>
<div
class=
"model-item-empty"
v-else
v-loading=
"loading"
>
<div
class=
"model-item-empty"
v-else
v-loading=
"loading"
>
...
@@ -67,7 +75,7 @@ export default {
...
@@ -67,7 +75,7 @@ export default {
return
{
return
{
dialogVisible
:
false
,
dialogVisible
:
false
,
loading
:
false
,
loading
:
false
,
activeName
:
'
1
'
,
activeName
:
'
3
'
,
modelList
:
[],
modelList
:
[],
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
12
,
pageSize
:
12
,
...
@@ -88,7 +96,7 @@ export default {
...
@@ -88,7 +96,7 @@ export default {
return
return
}
}
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
this
.
$emit
(
'selectActivity'
,
{
marketingId
:
this
.
selectItem
.
id
,
marketingType
:
this
.
activeName
,
marketingName
:
this
.
activeName
==
3
?
this
.
selectItem
.
cardClassName
:
this
.
activeName
==
4
?
this
.
selectItem
.
packageName
:
this
.
selectItem
.
couponName
})
this
.
$emit
(
'selectActivity'
,
{
marketingId
:
this
.
selectItem
.
id
,
marketingType
:
this
.
activeName
,
marketingName
:
this
.
activeName
==
3
?
this
.
selectItem
.
cardClassName
:
this
.
activeName
==
4
?
this
.
selectItem
.
packageName
:
this
.
activeName
==
5
?
this
.
selectItem
.
activityName
:
this
.
selectItem
.
couponName
})
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
this
.
pageSize
=
val
this
.
pageSize
=
val
...
@@ -115,6 +123,9 @@ export default {
...
@@ -115,6 +123,9 @@ export default {
case
'4'
:
case
'4'
:
market
=
'getPackage'
market
=
'getPackage'
break
break
case
'5'
:
market
=
'getActivity'
break
}
}
let
params
=
{
let
params
=
{
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
...
@@ -125,7 +136,12 @@ export default {
...
@@ -125,7 +136,12 @@ export default {
params
.
merchantId
=
this
.
$globalState
.
session
.
merchantId
params
.
merchantId
=
this
.
$globalState
.
session
.
merchantId
}
}
if
(
this
.
activeName
==
2
)
{
if
(
this
.
activeName
==
2
)
{
params
.
discountTypes
=
[
2
,
3
,
4
]
params
.
discountTypes
=
[
2
,
3
,
4
]
params
.
validType
=
'valid'
}
if
(
this
.
activeName
==
5
)
{
params
.
currentPage
=
this
.
pageNum
params
.
activityStatus
=
2
}
}
this
.
$apis
.
marketing
[
market
](
params
).
then
(
res
=>
{
this
.
$apis
.
marketing
[
market
](
params
).
then
(
res
=>
{
this
.
modelList
=
res
.
list
?
res
.
list
:
res
.
data
this
.
modelList
=
res
.
list
?
res
.
list
:
res
.
data
...
...
src/components/welcome/tag-textarea.vue
View file @
f9dabcc
...
@@ -181,7 +181,7 @@ export default {
...
@@ -181,7 +181,7 @@ export default {
this
.
savedRange
.
insertNode
(
node
)
this
.
savedRange
.
insertNode
(
node
)
// 更新双向绑定数据
// 更新双向绑定数据
let
target
=
this
.
$refs
.
wTextareaContent
let
target
=
this
.
$refs
.
wTextareaContent
if
(
navigator
.
userAgent
.
indexOf
(
'Firefox'
)
>
0
)
{
if
(
navigator
.
userAgent
.
indexOf
(
'Firefox'
)
>
0
||
navigator
.
userAgent
.
indexOf
(
'QQBrowser'
)
>
0
)
{
this
.
updateData
(
target
.
innerHTML
+
' '
)
this
.
updateData
(
target
.
innerHTML
+
' '
)
}
else
{
}
else
{
this
.
updateData
(
target
.
innerHTML
)
this
.
updateData
(
target
.
innerHTML
)
...
@@ -241,6 +241,7 @@ export default {
...
@@ -241,6 +241,7 @@ export default {
}
else
{
}
else
{
this
.
currentTagId
=
null
this
.
currentTagId
=
null
}
}
},
},
getGuid
()
{
getGuid
()
{
// 生成随机ID
// 生成随机ID
...
...
src/components/welcome/welcomeWords.vue
View file @
f9dabcc
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
</div>
-->
</div>
-->
<!--
<div
id=
"toolbar-container"
style=
"display: none;"
></div>
<!--
<div
id=
"toolbar-container"
style=
"display: none;"
></div>
<div
id=
"text-container"
class=
"editor-container"
></div>
-->
<div
id=
"text-container"
class=
"editor-container"
></div>
-->
<wTextarea
ref=
"textContent"
:value
.
sync
=
"textValue"
@
updateText=
"updateText"
></wTextarea>
<wTextarea
ref=
"textContent"
v-model
=
"textValue"
@
updateText=
"updateText"
></wTextarea>
<!--
<el-input
<!--
<el-input
type=
"textarea"
type=
"textarea"
:rows=
"9"
:rows=
"9"
...
...
src/store/modules/square.js
0 → 100644
View file @
f9dabcc
export
default
{
namespaced
:
true
,
state
:
{
importData
:
{
}
},
mutations
:
{
SET_IMPORT
(
state
,
data
)
{
state
.
importData
=
data
},
},
actions
:
{
setImport
({
commit
},
data
)
{
commit
(
'SET_IMPORT'
,
data
)
},
}
}
src/views/channel/addCode.vue
View file @
f9dabcc
...
@@ -32,10 +32,10 @@
...
@@ -32,10 +32,10 @@
<span>
{{
taggingLength
}}
</span>
<span>
{{
taggingLength
}}
</span>
个标签
个标签
</span>
</span>
<div
class=
"el-input-tag input-tag-wrapper"
>
<div
class=
"el-input-tag input-tag-wrapper"
v-show=
"taggingLength"
>
<template
v-if=
"tagging && tagging.length > 0"
>
<template
v-if=
"tagging && tagging.length > 0"
>
<template
v-for=
"item in tagging"
>
<template
v-for=
"item in tagging"
>
<el-tag
v-for=
"(tag, idx) in item.labelList"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"removeTag(item.labelList, idx)"
>
<el-tag
type=
"info"
v-for=
"(tag, idx) in item.labelList"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"removeTag(item.labelList, idx)"
>
{{
tag
?
tag
.
name
:
''
}}
{{
tag
?
tag
.
name
:
''
}}
</el-tag>
</el-tag>
</
template
>
</
template
>
...
@@ -56,8 +56,9 @@
...
@@ -56,8 +56,9 @@
<span>
{{ staffInfo.length }}
</span>
<span>
{{ staffInfo.length }}
</span>
人
人
</span>
</span>
<div
class=
"el-input-tag input-tag-wrapper"
>
<div
class=
"el-input-tag input-tag-wrapper"
v-show=
"staffInfo.length"
>
<el-tag
v-for=
"(tag, idx) in staffInfo"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"removeStaff(idx)"
>
<el-tag
effect=
"plain"
type=
"info"
v-for=
"(tag, idx) in staffInfo"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"removeStaff(idx)"
>
<i
class=
"el-icon-user-solid"
></i>
{{ tag.staffName }}
{{ tag.staffName }}
</el-tag>
</el-tag>
</div>
</div>
...
@@ -87,8 +88,8 @@
...
@@ -87,8 +88,8 @@
width: footerWidth + 'px'
width: footerWidth + 'px'
}"
}"
>
>
<el-button
type=
"primary"
@
click=
"goback"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave"
>
提交
</el-button>
<el-button
@
click=
"goback"
>
取消
</el-button>
</div>
</div>
<select-emp
@
selectTable=
"selectTable"
ref=
"selectEmpForm"
></select-emp>
<select-emp
@
selectTable=
"selectTable"
ref=
"selectEmpForm"
></select-emp>
<select-tag
ref=
"selectTagForm"
@
tagSelected=
"tagSelected"
></select-tag>
<select-tag
ref=
"selectTagForm"
@
tagSelected=
"tagSelected"
></select-tag>
...
@@ -282,7 +283,7 @@ export default {
...
@@ -282,7 +283,7 @@ export default {
}
}
}
}
.welcome-box
{
.welcome-box
{
margin-left
:
55
px
;
margin-left
:
48
px
;
}
}
}
}
}
}
...
@@ -331,23 +332,30 @@ export default {
...
@@ -331,23 +332,30 @@ export default {
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
border
:
1px
solid
#dcdfe6
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
#6
062
66
;
color
:
#666
;
display
:
inline-block
;
display
:
inline-block
;
outline
:
none
;
outline
:
none
;
padding
:
3px
10px
3px
5px
;
padding
:
5px
5px
0px
5px
;
max-height
:
68px
;
overflow
:
auto
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
line-height
:
36px
;
min-height
:
36px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
width
:
450px
;
width
:
450px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin-top
:
6px
;
margin-top
:
6px
;
font-size
:
14px
;
i
{
color
:
#75acff
;
margin-right
:
3px
;
font-size
:
14px
;
}
}
}
.el-tag
{
.el-tag
{
margin-right
:
4px
;
margin-right
:
4px
;
height
:
26px
;
height
:
26px
;
line-height
:
24px
;
line-height
:
24px
;
margin-bottom
:
5px
;
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/channel/components/channelList.vue
View file @
f9dabcc
...
@@ -25,15 +25,18 @@
...
@@ -25,15 +25,18 @@
<div
slot=
"staffInfo"
slot-scope=
"scope"
>
<div
slot=
"staffInfo"
slot-scope=
"scope"
>
<el-popover
trigger=
"hover"
placement=
"top"
v-if=
"scope.scope.staffInfo.length > 3"
>
<el-popover
trigger=
"hover"
placement=
"top"
v-if=
"scope.scope.staffInfo.length > 3"
>
<div
class=
"accountType-row"
v-for=
"(item, index) in scope.scope.staffInfo"
:key=
"index"
>
<div
class=
"accountType-row"
v-for=
"(item, index) in scope.scope.staffInfo"
:key=
"index"
>
<i
class=
"el-icon-user-solid"
></i>
{{
item
.
staffName
}}
{{
item
.
staffName
}}
</div>
</div>
<div
slot=
"reference"
class=
"name-wrapper"
>
<div
slot=
"reference"
class=
"name-wrapper"
>
<div
class=
"accountType-row"
v-for=
"(item, index) in scope.scope.staffInfo"
:key=
"index"
v-show=
"index
< 4
"
>
<div
class=
"accountType-row"
v-for=
"(item, index) in scope.scope.staffInfo"
:key=
"index"
v-show=
"index
< 4
"
>
{{
index
==
3
&&
scope
.
scope
.
staffInfo
.
length
>
3
?
'...('
+
scope
.
scope
.
staffInfo
.
length
+
')'
:
item
.
staffName
}}
<i
class=
"el-icon-user-solid"
></i>
{{
index
==
3
&&
scope
.
scope
.
staffInfo
.
length
>
3
?
'...('
+
scope
.
scope
.
staffInfo
.
length
+
')'
:
item
.
staffName
}}
</div>
</div>
</div>
</div>
</el-popover>
</el-popover>
<div
class=
"accountType-row"
v-for=
"(item, index) in scope.scope.staffInfo"
:key=
"index"
v-else
>
<div
class=
"accountType-row"
v-for=
"(item, index) in scope.scope.staffInfo"
:key=
"index"
v-else
>
<i
class=
"el-icon-user-solid"
></i>
{{
item
.
staffName
}}
{{
item
.
staffName
}}
</div>
</div>
</div>
</div>
...
@@ -41,25 +44,24 @@
...
@@ -41,25 +44,24 @@
<img
:src=
"scope.scope.qrCode"
style=
"width: 80px; height: 80px"
/>
<img
:src=
"scope.scope.qrCode"
style=
"width: 80px; height: 80px"
/>
<div
class=
"download-link"
@
click=
"downloadIamge(scope.scope.qrCode)"
>
下载二维码
</div>
<div
class=
"download-link"
@
click=
"downloadIamge(scope.scope.qrCode)"
>
下载二维码
</div>
</div>
</div>
<div
slot=
"tagging"
slot-scope=
"scope"
class=
"tag-panel"
>
<div
slot=
"tagging"
slot-scope=
"scope"
class=
"allTagsWrap"
>
<el-popover
trigger=
"hover"
placement=
"top"
v-if=
"scope.scope.taggingList && scope.scope.taggingList.length > 3"
>
<el-popover
trigger=
"hover"
placement=
"top"
>
<div
class=
"accountType-row"
v-for=
"(item, index) in scope.scope.taggingList"
:key=
"index"
>
<template
v-if=
"scope.scope.taggingList"
>
{{
item
?
item
.
name
:
''
}}
<span
v-for=
"(item, index) in scope.scope.taggingList"
:key=
"index"
class=
"ellipsis-1 tag-box-wrap"
>
</div>
<el-tooltip
class=
"item"
:content=
"item.name"
placement=
"top"
>
<div
slot=
"reference"
class=
"name-wrapper"
>
<span>
{{
item
.
name
}}
</span>
<div
class=
"accountType-row"
v-for=
"(item, index) in scope.scope.taggingList"
:key=
"index"
v-show=
"index
< 4
"
>
</el-tooltip>
{{
index
==
3
&&
scope
.
scope
.
taggingList
.
length
>
3
?
'...('
+
scope
.
scope
.
taggingList
.
length
+
')'
:
item
?
item
.
name
:
''
}}
</span>
</div>
</
template
>
</div>
</el-popover>
</el-popover>
<template
v-if=
"scope.scope.taggingList && scope.scope.taggingList.length
<
= 3
&&
scope.scope.taggingList.length > 0">
<
template
v-if=
"scope.scope.taggingList"
>
<div
class=
"accountType-row"
v-for=
"(item, index) in scope.scope.taggingList"
:key=
"index"
>
<span
v-for=
"(item, index) in scope.scope.taggingList"
:key=
"index"
class=
"ellipsis-1 tag-box-wrap"
>
{{
item
?
item
.
name
:
''
}}
<el-tooltip
class=
"item"
:content=
"item.name"
placement=
"top"
>
</div>
<span>
{{
item
.
name
}}
</span>
</el-tooltip>
</span>
</
template
>
</
template
>
<div
v-if=
"!scope.scope.taggingList || (scope.scope.taggingList && scope.scope.taggingList.length == 0)"
>
<div
v-if=
"!scope.scope.taggingList || (scope.scope.taggingList && scope.scope.taggingList.length == 0)"
>
--
</div>
--
</div>
</div>
</div>
<div
slot=
"codeRemark"
slot-scope=
"scope"
>
<div
slot=
"codeRemark"
slot-scope=
"scope"
>
<div
class=
"codeName"
>
{{ scope.scope.codeName }}
</div>
<div
class=
"codeName"
>
{{ scope.scope.codeName }}
</div>
...
@@ -235,7 +237,7 @@ export default {
...
@@ -235,7 +237,7 @@ export default {
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
.form-panel
{
.form-panel
{
padding
:
1
0px
;
padding
:
2
0px
;
}
}
.download-link
{
.download-link
{
cursor
:
pointer
;
cursor
:
pointer
;
...
@@ -261,20 +263,93 @@ export default {
...
@@ -261,20 +263,93 @@ export default {
margin-bottom
:
3px
;
margin-bottom
:
3px
;
}
}
}
}
.allTagsWrap
{
position
:
relative
;
display
:
-webkit-box
;
//
max-height
:
56px
;
overflow
:
hidden
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
padding-bottom
:
-2px
;
box-sizing
:
border-box
;
//
&:hover
{
//
-webkit-line-clamp
:
9999
;
//
//
.tag-box-wrap
{
//
//
margin-bottom
:
10px
;
//
//
}
//
}
.tag-box-wrap
{
display
:
inline-block
;
margin-right
:
10px
;
//
margin-bottom
:
2px
;
padding
:
0
10px
;
box-sizing
:
border-box
;
min-width
:
76px
;
max-width
:
200px
;
height
:
26px
;
line-height
:
26px
;
border-radius
:
4px
;
border
:
1px
solid
#e8e8ea
;
background
:
#fafbfe
;
text-align
:
center
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#666666
;
max-width
:
245px
;
cursor
:
pointer
;
margin-bottom
:
3px
;
//
&:first-child{
//
margin-bottom
:
4px
;
//
}
}
//
.tag-box-wrap
+
.tag-box-wrap
{
//
margin-bottom
:
4px
;
//
}
.expande-button-wrap
{
position
:
absolute
;
right
:
0
;
bottom
:
0
;
.expande-button
{
color
:
#fafbfe
;
cursor
:
pointer
;
i
{
height
:
8px
;
}
span
{
height
:
20px
;
font-size
:
14px
;
font-weight
:
400
;
color
:
#fafbfe
;
line-height
:
20px
;
}
}
}
}
.accountType-row
{
.accountType-row
{
text-align
:
left
;
text-align
:
left
;
position
:
relative
;
position
:
relative
;
font-size
:
14px
;
line-height
:
14px
;
padding-left
:
15px
;
padding-left
:
15px
;
line-height
:
20px
;
border-radius
:
4px
;
&::before
{
border
:
1px
solid
#e8e8ea
;
content
:
''
;
padding
:
6px
;
position
:
absolute
;
display
:
inline-block
;
width
:
6px
;
margin-bottom
:
5px
;
height
:
6px
;
margin-right
:
5px
;
background
:
#5850ff
;
i
{
border-radius
:
8px
;
color
:
#75acff
;
left
:
0px
;
top
:
7px
;
}
}
//
&
::before
{
//
content
:
''
;
//
position
:
absolute
;
//
width
:
6px
;
//
height
:
6px
;
//
background
:
#5850ff
;
//
border-radius
:
8px
;
//
left
:
0px
;
//
top
:
7px
;
//
}
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/channel/components/channelStatistics.vue
View file @
f9dabcc
...
@@ -29,12 +29,12 @@
...
@@ -29,12 +29,12 @@
<div
class=
"channel-chart-desc"
>
<div
class=
"channel-chart-desc"
>
<div
class=
"chart-desc"
>
<div
class=
"chart-desc"
>
<div
class=
"chart-desc-title"
>
<div
class=
"chart-desc-title"
>
<div
class=
"chart-title-time"
>
{{
timeRadio
==
1
?
'今天'
:
timeRadio
==
2
?
'近1周'
:
timeRadio
==
3
?
'近2周'
:
timeRadio
==
4
?
'近1个月'
:
startTime
+
'-'
+
endTime
}}
</div>
<div
class=
"chart-title-time"
>
{{
timeRadio
==
1
?
'今天'
:
timeRadio
==
2
?
'近1周'
:
timeRadio
==
3
?
'近2周'
:
timeRadio
==
4
?
'近1个月'
:
startTime
+
'-'
+
endTime
}}
</div>
<div
class=
"chart-title-num"
>
各渠道新增客户数
</div>
<div
class=
"chart-title-num"
>
各渠道新增客户数
</div>
</div>
</div>
<div
class=
"chart-desc-item"
v-for=
"(item, index) in codeIds"
:key=
"index"
>
<div
class=
"chart-desc-item"
v-for=
"(item, index) in codeIds"
:key=
"index"
>
<div
class=
"chart-item-title"
>
<div
class=
"chart-item-title"
>
<span
:style=
"
{
color: colorList[index],'font-size': '18px'
}">—
</span>
<span
:style=
"
{
color: colorList[index], 'font-size': '18px'
}">—
</span>
{{
item
.
codeName
}}
{{
item
.
codeName
}}
</div>
</div>
<div
class=
"chart-item-num"
>
{{
item
.
totalNum
}}
</div>
<div
class=
"chart-item-num"
>
{{
item
.
totalNum
}}
</div>
...
@@ -103,7 +103,7 @@ export default {
...
@@ -103,7 +103,7 @@ export default {
endTime
:
''
,
endTime
:
''
,
selectItem
:
[],
selectItem
:
[],
codeIds
:
[],
codeIds
:
[],
colorList
:
[
'#5850FF'
,
'#2CCA74'
,
'#EB4E4E'
,
'#FF6D00'
,
'#F8C900'
,
'#2CCAC4'
,
'#E74EEB'
,
'#6F2828'
]
colorList
:
[
'#5850FF'
,
'#2CCA74'
,
'#EB4E4E'
,
'#FF6D00'
,
'#F8C900'
,
'#2CCAC4'
,
'#E74EEB'
,
'#6F2828'
]
}
}
},
},
watch
:
{
watch
:
{
...
@@ -119,7 +119,7 @@ export default {
...
@@ -119,7 +119,7 @@ export default {
this
.
timeRadio
=
1
this
.
timeRadio
=
1
this
.
trendType
=
1
this
.
trendType
=
1
}
}
this
.
codeTrend
()
this
.
getFollower
()
this
.
codeSearch
()
this
.
codeSearch
()
}
}
},
},
...
@@ -128,8 +128,8 @@ export default {
...
@@ -128,8 +128,8 @@ export default {
this
.
trendType
=
this
.
timeRadio
this
.
trendType
=
this
.
timeRadio
this
.
startTime
=
''
this
.
startTime
=
''
this
.
endTime
=
''
this
.
endTime
=
''
this
.
codeTrend
()
this
.
codeSearch
()
this
.
codeSearch
()
this
.
getFollower
()
},
},
handleSearch
()
{
handleSearch
()
{
this
.
codeSearch
()
this
.
codeSearch
()
...
@@ -158,7 +158,7 @@ export default {
...
@@ -158,7 +158,7 @@ export default {
const
{
trendType
,
startTime
,
endTime
}
=
this
const
{
trendType
,
startTime
,
endTime
}
=
this
let
params
=
{
let
params
=
{
codeIds
,
codeIds
,
trendType
:
trendType
?
trendType
:
null
,
trendType
:
trendType
?
trendType
:
null
,
startTime
,
startTime
,
endTime
endTime
}
}
...
@@ -174,15 +174,20 @@ export default {
...
@@ -174,15 +174,20 @@ export default {
totalNum
:
item
.
totalNum
totalNum
:
item
.
totalNum
}
}
})
})
this
.
codeTrend
()
this
.
getFollower
()
},
},
handleChannel
()
{
handleChannel
()
{
this
.
$refs
.
channelForm
.
init
(
this
.
codeIds
)
this
.
$refs
.
channelForm
.
init
(
this
.
codeIds
)
},
},
getFollower
()
{
getFollower
()
{
let
codeState
=
this
.
codeIds
.
map
(
item
=>
item
.
codeState
)
var
params
=
{
var
params
=
{
startTime
:
this
.
startTime
,
endTime
:
this
.
endTime
,
trendType
:
this
.
trendType
,
pageSize
:
8
,
pageSize
:
8
,
pageNum
:
1
pageNum
:
1
,
codeState
}
}
this
.
$apis
.
channel
.
listChannelCodeByPage
(
params
).
then
(
res
=>
{
this
.
$apis
.
channel
.
listChannelCodeByPage
(
params
).
then
(
res
=>
{
this
.
channel
=
res
.
data
this
.
channel
=
res
.
data
...
@@ -206,7 +211,7 @@ export default {
...
@@ -206,7 +211,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.channel-main
{
.channel-main
{
padding
:
1
0px
;
padding
:
2
0px
;
/deep/
{
/deep/
{
.el-radio-group
{
.el-radio-group
{
margin-top
:
3px
;
margin-top
:
3px
;
...
...
src/views/channel/poster.vue
View file @
f9dabcc
...
@@ -275,7 +275,6 @@ export default {
...
@@ -275,7 +275,6 @@ export default {
}
}
.image-uploader
{
.image-uploader
{
display
:
inline-block
;
display
:
inline-block
;
margin-left
:
20px
;
height
:
20px
;
height
:
20px
;
/deep/
{
/deep/
{
.el-upload-list
{
.el-upload-list
{
...
...
src/views/channel/store.vue
View file @
f9dabcc
...
@@ -12,7 +12,10 @@
...
@@ -12,7 +12,10 @@
<el-row>
<el-row>
<el-form-item
size=
"small"
label=
"使用员工:"
>
<el-form-item
size=
"small"
label=
"使用员工:"
>
<div
class=
"form-row"
>
<div
class=
"form-row"
>
<div
class=
"emp-item"
v-for=
"(item, index) in detailCodeForm.staffInfo"
:key=
"index"
>
{{
item
.
staffName
}}
</div>
<div
class=
"emp-item"
v-for=
"(item, index) in detailCodeForm.staffInfo"
:key=
"index"
>
<i
class=
"el-icon-user-solid"
></i>
{{
item
.
staffName
}}
</div>
</div>
</div>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
...
@@ -209,36 +212,35 @@ export default {
...
@@ -209,36 +212,35 @@ export default {
margin-top
:
5px
;
margin-top
:
5px
;
.tag-item
{
.tag-item
{
display
:
inline-block
;
display
:
inline-block
;
border-radius
:
4px
;
border
:
1px
solid
#999999
;
text-align
:
center
;
text-align
:
center
;
min-width
:
76px
;
min-width
:
76px
;
padding
:
8px
6px
;
background
:
#fafbfe
;
border
:
1px
solid
#e8e8ea
;
line-height
:
14px
;
line-height
:
14px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
6px
6px
;
font-size
:
14px
;
font-size
:
14px
;
border-radius
:
4px
;
line-height
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#
999999
;
color
:
#
666
;
margin-right
:
5px
;
margin-right
:
5px
;
}
}
.emp-item
{
.emp-item
{
text-align
:
left
;
position
:
relative
;
position
:
relative
;
display
:
inline-block
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
line-height
:
14px
;
color
:
#666666
;
padding-left
:
15px
;
line-height
:
20px
;
-webkit-border-radius
:
4px
;
padding-left
:
12px
;
border-radius
:
4px
;
margin-right
:
25px
;
border
:
1px
solid
#e8e8ea
;
&::before
{
padding
:
6px
;
content
:
''
;
display
:
inline-block
;
position
:
absolute
;
margin-bottom
:
5px
;
top
:
6px
;
margin-right
:
5px
;
left
:
0px
;
i
{
width
:
8px
;
color
:
#75acff
;
height
:
8px
;
background
:
#5850ff
;
border-radius
:
50%
;
}
}
}
}
}
}
...
...
src/views/friends/index.vue
View file @
f9dabcc
...
@@ -147,8 +147,9 @@
...
@@ -147,8 +147,9 @@
选择跟进专员
选择跟进专员
</el-button>
</el-button>
<span
class=
"drainage-coutom-count"
>
已经选择
{{
staffIds
.
length
}}
人
</span>
<span
class=
"drainage-coutom-count"
>
已经选择
{{
staffIds
.
length
}}
人
</span>
<div
class=
"el-input-tag input-tag-wrapper"
v-if=
"editStatus"
>
<div
class=
"el-input-tag input-tag-wrapper"
v-if=
"editStatus && staffIds.length"
>
<el-tag
v-for=
"(tag, idx) in staffIds"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(idx)"
>
<el-tag
effect=
"plain"
type=
"info"
v-for=
"(tag, idx) in staffIds"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(idx)"
>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
.
staffName
}}
{{
tag
.
staffName
}}
</el-tag>
</el-tag>
</div>
</div>
...
@@ -159,6 +160,7 @@
...
@@ -159,6 +160,7 @@
<label>
跟进员工
</label>
<label>
跟进员工
</label>
<div
class=
"drainage-emp"
>
<div
class=
"drainage-emp"
>
<div
class=
"emp-tag"
:key=
"index"
v-for=
"(item, index) in staffIds"
>
<div
class=
"emp-tag"
:key=
"index"
v-for=
"(item, index) in staffIds"
>
<i
class=
"el-icon-user-solid"
></i>
{{
item
.
staffName
}}
{{
item
.
staffName
}}
</div>
</div>
</div>
</div>
...
@@ -173,9 +175,9 @@
...
@@ -173,9 +175,9 @@
width: footerWidth + 'px'
width: footerWidth + 'px'
}"
}"
>
>
<el-button
type=
"primary"
@
click=
"goback"
v-if=
"configType"
>
返回
</el-button>
<el-button
type=
"primary"
@
click=
"handleCancel"
v-if=
"!configType"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave"
v-if=
"!configType"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave"
v-if=
"!configType"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"goback"
v-if=
"configType"
>
返回
</el-button>
<el-button
@
click=
"handleCancel"
v-if=
"!configType"
>
取消
</el-button>
</div>
</div>
<select-emp
@
selectTable=
"selectTable"
ref=
"selectEmpForm"
></select-emp>
<select-emp
@
selectTable=
"selectTable"
ref=
"selectEmpForm"
></select-emp>
</div>
</div>
...
@@ -234,9 +236,9 @@ export default {
...
@@ -234,9 +236,9 @@ export default {
let
params
=
{
let
params
=
{
id
:
this
.
configItem
.
id
,
id
:
this
.
configItem
.
id
,
delFlag
:
this
.
addValue
?
0
:
1
,
delFlag
:
this
.
addValue
?
0
:
1
,
configType
:
this
.
configType
?
2
:
1
,
configType
:
this
.
configType
?
2
:
1
}
}
let
config
;
let
config
if
(
this
.
configItem
.
id
)
{
if
(
this
.
configItem
.
id
)
{
config
=
'updateConfig'
config
=
'updateConfig'
}
else
{
}
else
{
...
@@ -375,16 +377,21 @@ export default {
...
@@ -375,16 +377,21 @@ export default {
margin-top
:
6px
;
margin-top
:
6px
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
div
{
div
{
text-align
:
left
;
position
:
relative
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
line-height
:
14px
;
color
:
#333333
;
padding-left
:
15px
;
line-height
:
24px
;
-webkit-border-radius
:
4px
;
height
:
26px
;
padding
:
0px
5px
;
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#333333
;
border
:
1px
solid
#e8e8ea
;
margin-right
:
5px
;
padding
:
6px
;
display
:
inline-block
;
margin-bottom
:
5px
;
margin-bottom
:
5px
;
margin-right
:
5px
;
i
{
color
:
#75acff
;
}
}
}
}
}
.input-tag-wrapper
{
.input-tag-wrapper
{
...
@@ -395,23 +402,30 @@ export default {
...
@@ -395,23 +402,30 @@ export default {
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
border
:
1px
solid
#dcdfe6
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
#6
062
66
;
color
:
#666
;
display
:
inline-block
;
display
:
inline-block
;
outline
:
none
;
outline
:
none
;
padding
:
0
10px
0
5px
;
padding
:
5px
5px
0px
5px
;
max-height
:
68px
;
overflow
:
auto
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
line-height
:
36px
;
min-height
:
36px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
width
:
450px
;
width
:
450px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin-top
:
6px
;
margin-top
:
6px
;
font-size
:
14px
;
i
{
color
:
#75acff
;
margin-right
:
3px
;
font-size
:
14px
;
}
}
}
.el-tag
{
.el-tag
{
margin-right
:
4px
;
margin-right
:
4px
;
height
:
26px
;
height
:
26px
;
line-height
:
24px
;
line-height
:
24px
;
margin-bottom
:
5px
;
}
}
.drainage-coutom-count
{
.drainage-coutom-count
{
font-size
:
14px
;
font-size
:
14px
;
...
...
src/views/market/config.vue
View file @
f9dabcc
...
@@ -81,9 +81,9 @@
...
@@ -81,9 +81,9 @@
选择跟进专员
选择跟进专员
</el-button>
</el-button>
<span
class=
"drainage-coutom-count"
>
已经选择
{{
dracImFollowStaffResponses
.
length
}}
人
</span>
<span
class=
"drainage-coutom-count"
>
已经选择
{{
dracImFollowStaffResponses
.
length
}}
人
</span>
<div
class=
"el-input-tag input-tag-wrapper"
>
<div
class=
"el-input-tag input-tag-wrapper"
v-show=
"dracImFollowStaffResponses.length"
>
<el-tag
v-for=
"(tag, idx) in dracImFollowStaffResponses"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(idx)"
>
<el-tag
effect=
"plain"
type=
"info"
v-for=
"(tag, idx) in dracImFollowStaffResponses"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(idx)"
>
{{
tag
.
staffName
}}
<i
class=
"el-icon-user-solid"
></i>
{{
tag
.
staffName
}}
</el-tag>
</el-tag>
</div>
</div>
<div
class=
"el-form-item__error"
v-if=
"empStatus"
>
请选择跟进专员
</div>
<div
class=
"el-form-item__error"
v-if=
"empStatus"
>
请选择跟进专员
</div>
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
<label>
跟进员工
</label>
<label>
跟进员工
</label>
<div
class=
"drainage-emp"
>
<div
class=
"drainage-emp"
>
<div
:key=
"index"
v-for=
"(item, index) in dracImFollowStaffResponses"
>
<div
:key=
"index"
v-for=
"(item, index) in dracImFollowStaffResponses"
>
{{
item
.
staffName
}}
<i
class=
"el-icon-user-solid"
></i>
{{
item
.
staffName
}}
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -119,9 +119,9 @@
...
@@ -119,9 +119,9 @@
<div
class=
"tag-item-panel"
v-if=
"editStatus"
>
<div
class=
"tag-item-panel"
v-if=
"editStatus"
>
<div>
<div>
<el-button
size=
"small"
@
click=
"handleAddTag"
>
添加
</el-button>
<el-button
size=
"small"
@
click=
"handleAddTag"
>
添加
</el-button>
<div
class=
"el-input-tag input-tag-wrapper"
>
<div
class=
"el-input-tag input-tag-wrapper"
v-if=
"taggingLength"
>
<template
v-for=
"item in tagging"
>
<template
v-for=
"item in tagging"
>
<el-tag
v-for=
"(tag, idx) in item.labelList"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"removeTag(item.labelList, idx)"
>
<el-tag
type=
"info"
v-for=
"(tag, idx) in item.labelList"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"removeTag(item.labelList, idx)"
>
{{
tag
.
name
}}
{{
tag
.
name
}}
</el-tag>
</el-tag>
</
template
>
</
template
>
...
@@ -157,8 +157,8 @@
...
@@ -157,8 +157,8 @@
width: footerWidth + 'px'
width: footerWidth + 'px'
}"
}"
>
>
<el-button
type=
"primary"
@
click=
"goback"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave"
>
提交
</el-button>
<el-button
@
click=
"goback"
>
取消
</el-button>
</div>
</div>
<div
class=
"import-panel"
v-if=
"importStatus"
>
<div
class=
"import-panel"
v-if=
"importStatus"
>
<div
class=
"import-panel-box"
>
<div
class=
"import-panel-box"
>
...
@@ -204,6 +204,7 @@ export default {
...
@@ -204,6 +204,7 @@ export default {
return
{
return
{
welcomeInfo
:
[],
welcomeInfo
:
[],
eventBus
:
new
Vue
(),
eventBus
:
new
Vue
(),
taggingLength
:
0
,
autoWelcome
:
true
,
autoWelcome
:
true
,
imName
:
''
,
imName
:
''
,
imNameStatus
:
false
,
imNameStatus
:
false
,
...
@@ -248,6 +249,15 @@ export default {
...
@@ -248,6 +249,15 @@ export default {
this
.
content
.
push
(
str1
)
this
.
content
.
push
(
str1
)
}
}
}
}
},
'tagging'
:
{
handler
:
function
()
{
this
.
taggingLength
=
0
this
.
tagging
.
forEach
(
item
=>
{
this
.
taggingLength
+=
item
.
labelList
.
length
})
},
deep
:
true
}
}
},
},
methods
:
{
methods
:
{
...
@@ -472,7 +482,7 @@ export default {
...
@@ -472,7 +482,7 @@ export default {
}
}
}
}
.welcome-box
{
.welcome-box
{
margin-left
:
55
px
;
margin-left
:
48
px
;
&-contaner
{
&-contaner
{
margin
:
20px
;
margin
:
20px
;
background
:
rgba
(
247
,
247
,
247
,
0.52
);
background
:
rgba
(
247
,
247
,
247
,
0.52
);
...
@@ -720,16 +730,21 @@ export default {
...
@@ -720,16 +730,21 @@ export default {
margin-top
:
6px
;
margin-top
:
6px
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
div
{
div
{
text-align
:
left
;
position
:
relative
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
line-height
:
14px
;
color
:
#333333
;
padding-left
:
15px
;
line-height
:
24px
;
-webkit-border-radius
:
4px
;
height
:
26px
;
padding
:
0px
5px
;
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#333333
;
border
:
1px
solid
#e8e8ea
;
margin-right
:
5px
;
padding
:
6px
;
display
:
inline-block
;
margin-bottom
:
5px
;
margin-bottom
:
5px
;
margin-right
:
5px
;
i
{
color
:
#75acff
;
}
}
}
}
}
.input-tag-wrapper
{
.input-tag-wrapper
{
...
@@ -740,26 +755,33 @@ export default {
...
@@ -740,26 +755,33 @@ export default {
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
border
:
1px
solid
#dcdfe6
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
#6
062
66
;
color
:
#666
;
display
:
inline-block
;
display
:
inline-block
;
outline
:
none
;
outline
:
none
;
padding
:
2px
10px
2px
5px
;
padding
:
5px
5px
0px
5px
;
max-height
:
68px
;
overflow
:
auto
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
line-height
:
36px
;
min-height
:
36px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
width
:
450px
;
width
:
450px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin-top
:
6px
;
margin-top
:
6px
;
font-size
:
14px
;
i
{
color
:
#75acff
;
margin-right
:
3px
;
font-size
:
14px
;
}
}
.tag-item-panel
{
display
:
flex
;
}
}
.el-tag
{
.el-tag
{
margin-right
:
4px
;
margin-right
:
4px
;
height
:
26px
;
height
:
26px
;
line-height
:
24px
;
line-height
:
24px
;
margin-bottom
:
5px
;
}
.tag-item-panel
{
display
:
flex
;
}
}
.drainage-coutom-count
{
.drainage-coutom-count
{
font-size
:
14px
;
font-size
:
14px
;
...
...
src/views/market/index.vue
View file @
f9dabcc
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</div>
</div>
<div
class=
"square-tabel scrm-box-f"
>
<div
class=
"square-tabel scrm-box-f"
>
<div
class=
"square-tabel-form"
>
<div
class=
"square-tabel-form"
>
<el-form
:inline=
"true"
:model=
"tableSearchForm"
class=
"follow-form-item"
label-width=
"68px"
>
<el-form
:inline=
"true"
:model=
"tableSearchForm"
class=
"follow-form-item"
>
<el-form-item
size=
"small"
label=
"添加时间"
>
<el-form-item
size=
"small"
label=
"添加时间"
>
<el-date-picker
:picker-options=
"pickerOptions"
v-model=
"createTime"
type=
"daterange"
value-format=
"yyyy/MM/dd"
start-placeholder=
"开始时间"
end-placeholder=
"结束时间"
></el-date-picker>
<el-date-picker
:picker-options=
"pickerOptions"
v-model=
"createTime"
type=
"daterange"
value-format=
"yyyy/MM/dd"
start-placeholder=
"开始时间"
end-placeholder=
"结束时间"
></el-date-picker>
</el-form-item>
</el-form-item>
...
@@ -316,7 +316,7 @@ export default {
...
@@ -316,7 +316,7 @@ export default {
}
}
}
}
.square-tabel
{
.square-tabel
{
padding
:
1
0px
;
padding
:
2
0px
;
margin-top
:
20px
;
margin-top
:
20px
;
/deep/
{
/deep/
{
.el-date-editor.el-input,
.el-date-editor.el-input,
...
...
src/views/overview/components/messageList.vue
View file @
f9dabcc
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
<div
class=
"form-panel scrm-box-f"
>
<div
class=
"form-panel scrm-box-f"
>
<div
class=
"statistics-panel"
>
<div
class=
"statistics-panel"
>
<div
class=
"statistics-panel-item"
>
<div
class=
"statistics-panel-item"
>
<div
class=
"statistics-title-h"
>
短信营销统计
</div>
<div
class=
"statistics-title"
>
<div
class=
"statistics-title"
>
<span>
任务完成率
</span>
<span>
任务完成率
</span>
<el-popover
placement=
"top"
width=
"300"
trigger=
"hover"
content=
"已发送短信数量 / 累计的营销短信总数。"
>
<el-popover
placement=
"top"
width=
"300"
trigger=
"hover"
content=
"已发送短信数量 / 累计的营销短信总数。"
>
...
@@ -11,8 +12,8 @@
...
@@ -11,8 +12,8 @@
<div
class=
"circle-box"
>
<div
class=
"circle-box"
>
<echart-circle
bgColor1=
"#F0F0F0"
bgColor2=
"#6F76EE"
coustomId=
"coustomId_5"
:coustomCount=
"percentage"
></echart-circle>
<echart-circle
bgColor1=
"#F0F0F0"
bgColor2=
"#6F76EE"
coustomId=
"coustomId_5"
:coustomCount=
"percentage"
></echart-circle>
<div
class=
"circle-box-item"
>
<div
class=
"circle-box-item"
>
<div
class=
"circle-item-scale"
>
{{
percentage
}}
%
</div>
<div
class=
"circle-item-scale"
>
{{
percentage
}}
%
</div>
<div
class=
"circle-item-num"
>
{{
totalCount
}}
</div>
<div
class=
"circle-item-num"
>
{{
totalCount
}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -138,6 +139,14 @@ export default {
...
@@ -138,6 +139,14 @@ export default {
display
:
flex
;
display
:
flex
;
&-item
{
&-item
{
width
:
33.33%
;
width
:
33.33%
;
.statistics-title-h
{
font-size
:
20px
;
font-weight
:
600
;
color
:
#333333
;
line-height
:
20px
;
letter-spacing
:
1px
;
margin-bottom
:
20px
;
}
.statistics-title
{
.statistics-title
{
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
500
;
font-weight
:
500
;
...
...
src/views/overview/index.vue
View file @
f9dabcc
...
@@ -96,7 +96,6 @@
...
@@ -96,7 +96,6 @@
</div>
</div>
</div>
</div>
<div
class=
"statistics-main"
>
<div
class=
"statistics-main"
>
<div
class=
"statistics-title"
>
短信营销统计
</div>
<message-list></message-list>
<message-list></message-list>
</div>
</div>
</div>
</div>
...
@@ -266,7 +265,7 @@ export default {
...
@@ -266,7 +265,7 @@ export default {
}
}
}
}
.statistics-main
{
.statistics-main
{
margin-top
:
1
0px
;
margin-top
:
2
0px
;
.statistics-title
{
.statistics-title
{
font-size
:
20px
;
font-size
:
20px
;
font-weight
:
500
;
font-weight
:
500
;
...
...
src/views/square/drainage.vue
View file @
f9dabcc
...
@@ -122,8 +122,9 @@
...
@@ -122,8 +122,9 @@
选择跟进专员
选择跟进专员
</el-button>
</el-button>
<span
class=
"drainage-coutom-count"
>
已经选择
{{
addForm
.
staffIds
.
length
}}
人
</span>
<span
class=
"drainage-coutom-count"
>
已经选择
{{
addForm
.
staffIds
.
length
}}
人
</span>
<div
class=
"el-input-tag input-tag-wrapper"
>
<div
class=
"el-input-tag input-tag-wrapper"
v-if=
"addForm.staffIds.length"
>
<el-tag
v-for=
"(tag, idx) in addForm.staffIds"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(idx)"
>
<el-tag
effect=
"plain"
type=
"info"
v-for=
"(tag, idx) in addForm.staffIds"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(idx)"
>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
.
staffName
}}
{{
tag
.
staffName
}}
</el-tag>
</el-tag>
</div>
</div>
...
@@ -132,8 +133,9 @@
...
@@ -132,8 +133,9 @@
</div>
</div>
<div
class=
"drainage-form-item"
v-else
>
<div
class=
"drainage-form-item"
v-else
>
<label>
跟进员工
</label>
<label>
跟进员工
</label>
<div
class=
"drainage-emp"
>
<div
class=
"drainage-emp"
v-if=
"addForm.staffIds.length"
>
<div
:key=
"index"
v-for=
"(item, index) in addForm.staffIds"
>
<div
:key=
"index"
v-for=
"(item, index) in addForm.staffIds"
>
<i
class=
"el-icon-user-solid"
></i>
{{
item
.
staffName
}}
{{
item
.
staffName
}}
</div>
</div>
</div>
</div>
...
@@ -160,9 +162,9 @@
...
@@ -160,9 +162,9 @@
<div
class=
"tag-item-panel"
v-if=
"editStatus"
>
<div
class=
"tag-item-panel"
v-if=
"editStatus"
>
<div>
<div>
<el-button
size=
"small"
@
click=
"handleAddTag"
>
添加
</el-button>
<el-button
size=
"small"
@
click=
"handleAddTag"
>
添加
</el-button>
<div
class=
"el-input-tag input-tag-wrapper"
>
<div
class=
"el-input-tag input-tag-wrapper"
v-if=
"taggingLength"
>
<template
v-for=
"item in addForm.tagging"
>
<template
v-for=
"item in addForm.tagging"
>
<el-tag
v-for=
"(tag, idx) in item.labelList"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"removeTag(item.labelList, idx)"
>
<el-tag
type=
"info"
v-for=
"(tag, idx) in item.labelList"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"removeTag(item.labelList, idx)"
>
{{
tag
.
name
}}
{{
tag
.
name
}}
</el-tag>
</el-tag>
</
template
>
</
template
>
...
@@ -199,8 +201,8 @@
...
@@ -199,8 +201,8 @@
width: footerWidth + 'px'
width: footerWidth + 'px'
}"
}"
>
>
<el-button
type=
"primary"
@
click=
"goback"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"handleSave"
>
提交
</el-button>
<el-button
@
click=
"goback"
>
取消
</el-button>
</div>
</div>
<select-emp
ref=
"selectEmpForm"
@
selectTable=
"selectTable"
></select-emp>
<select-emp
ref=
"selectEmpForm"
@
selectTable=
"selectTable"
></select-emp>
<select-tag
ref=
"selectTagForm"
@
tagSelected=
"tagSelected"
></select-tag>
<select-tag
ref=
"selectTagForm"
@
tagSelected=
"tagSelected"
></select-tag>
...
@@ -292,6 +294,7 @@ export default {
...
@@ -292,6 +294,7 @@ export default {
editStatus
:
false
,
editStatus
:
false
,
footerLeft
:
0
,
footerLeft
:
0
,
footerWidth
:
0
,
footerWidth
:
0
,
taggingLength
:
0
,
addForm
:
{
addForm
:
{
configType
:
3
,
configType
:
3
,
content
:
''
,
content
:
''
,
...
@@ -326,6 +329,15 @@ export default {
...
@@ -326,6 +329,15 @@ export default {
this
.
content
.
push
(
str1
)
this
.
content
.
push
(
str1
)
}
}
}
}
},
'addForm.tagging'
:
{
handler
:
function
()
{
this
.
taggingLength
=
0
this
.
addForm
.
tagging
.
forEach
(
item
=>
{
this
.
taggingLength
+=
item
.
labelList
.
length
})
},
deep
:
true
}
}
},
},
methods
:
{
methods
:
{
...
@@ -381,7 +393,8 @@ export default {
...
@@ -381,7 +393,8 @@ export default {
handleSwitch
()
{
handleSwitch
()
{
let
params
=
{
let
params
=
{
id
:
this
.
addForm
.
id
,
id
:
this
.
addForm
.
id
,
delFlag
:
this
.
addValue
?
0
:
1
delFlag
:
this
.
addValue
?
0
:
1
,
configType
:
3
}
}
let
config
let
config
if
(
this
.
addForm
.
id
)
{
if
(
this
.
addForm
.
id
)
{
...
@@ -463,7 +476,7 @@ export default {
...
@@ -463,7 +476,7 @@ export default {
findConfig
()
{
findConfig
()
{
this
.
editStatus
=
false
this
.
editStatus
=
false
this
.
$apis
.
marketing
.
findConfig
({
configType
:
3
}).
then
(
res
=>
{
this
.
$apis
.
marketing
.
findConfig
({
configType
:
3
}).
then
(
res
=>
{
if
(
res
)
{
if
(
res
&&
res
.
staffIds
)
{
this
.
addForm
=
res
this
.
addForm
=
res
this
.
addForm
.
staffIds
=
eval
(
this
.
addForm
.
staffIds
)
this
.
addForm
.
staffIds
=
eval
(
this
.
addForm
.
staffIds
)
const
tagging
=
eval
(
this
.
addForm
.
tagging
)
const
tagging
=
eval
(
this
.
addForm
.
tagging
)
...
@@ -535,7 +548,7 @@ export default {
...
@@ -535,7 +548,7 @@ export default {
}
}
}
}
.welcome-box
{
.welcome-box
{
margin-left
:
55
px
;
margin-left
:
48
px
;
&-contaner
{
&-contaner
{
margin
:
20px
;
margin
:
20px
;
background
:
rgba
(
247
,
247
,
247
,
0.52
);
background
:
rgba
(
247
,
247
,
247
,
0.52
);
...
@@ -622,16 +635,21 @@ export default {
...
@@ -622,16 +635,21 @@ export default {
margin-top
:
6px
;
margin-top
:
6px
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
div
{
div
{
text-align
:
left
;
position
:
relative
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
line-height
:
14px
;
color
:
#333333
;
padding-left
:
15px
;
line-height
:
24px
;
-webkit-border-radius
:
4px
;
height
:
26px
;
padding
:
0px
5px
;
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#333333
;
border
:
1px
solid
#e8e8ea
;
margin-right
:
5px
;
padding
:
6px
;
display
:
inline-block
;
margin-bottom
:
5px
;
margin-bottom
:
5px
;
margin-right
:
5px
;
i
{
color
:
#75acff
;
}
}
}
}
}
.dialog-wrap-box
{
.dialog-wrap-box
{
...
@@ -819,23 +837,30 @@ export default {
...
@@ -819,23 +837,30 @@ export default {
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
border
:
1px
solid
#dcdfe6
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
#6
062
66
;
color
:
#666
;
display
:
inline-block
;
display
:
inline-block
;
outline
:
none
;
outline
:
none
;
padding
:
2px
10px
2px
5px
;
padding
:
5px
5px
0px
5px
;
max-height
:
68px
;
overflow
:
auto
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
line-height
:
36px
;
min-height
:
36px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
width
:
450px
;
width
:
450px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin-top
:
6px
;
margin-top
:
6px
;
font-size
:
14px
;
i
{
color
:
#75acff
;
margin-right
:
3px
;
font-size
:
14px
;
}
}
}
.el-tag
{
.el-tag
{
margin-right
:
4px
;
margin-right
:
4px
;
height
:
26px
;
height
:
26px
;
line-height
:
24px
;
line-height
:
24px
;
margin-bottom
:
5px
;
}
}
.drainage-coutom-count
{
.drainage-coutom-count
{
font-size
:
14px
;
font-size
:
14px
;
...
...
src/views/square/import.vue
View file @
f9dabcc
...
@@ -198,6 +198,7 @@ export default {
...
@@ -198,6 +198,7 @@ export default {
this
.
$apis
.
square
.
importsUpload
({
fileUrl
:
this
.
fileInfo
}).
then
(
res
=>
{
this
.
$apis
.
square
.
importsUpload
({
fileUrl
:
this
.
fileInfo
}).
then
(
res
=>
{
this
.
loading
=
false
this
.
loading
=
false
if
(
res
)
{
if
(
res
)
{
this
.
$store
.
dispatch
(
'square/setImport'
,
res
)
this
.
$router
.
push
(
'/square/importResult/'
+
res
.
id
)
this
.
$router
.
push
(
'/square/importResult/'
+
res
.
id
)
}
}
})
})
...
...
src/views/square/importResult.vue
View file @
f9dabcc
...
@@ -8,12 +8,8 @@
...
@@ -8,12 +8,8 @@
</div>
</div>
<div
class=
"squre-success-image"
><i
class=
"el-icon-success"
></i></div>
<div
class=
"squre-success-image"
><i
class=
"el-icon-success"
></i></div>
<div
class=
"squre-success-tips"
>
提交成功
</div>
<div
class=
"squre-success-tips"
>
提交成功
</div>
<div
class=
"squre-success-content"
>
<div
class=
"squre-success-content"
>
所提交的数据已经过加密,并安全存储专属加密区。
</div>
所提交的数据已经过加密,并安全存储专属加密区。
<div
class=
"squre-success-content"
>
针对导入的结果有疑问请扫码联系我们,我们将为您提供专业答疑和营销推荐。
</div>
</div>
<div
class=
"squre-success-content"
>
针对导入的结果有疑问请扫码联系我们,我们将为您提供专业答疑和营销推荐。
</div>
<div
class=
"squre-success-footer"
>
<div
class=
"squre-success-footer"
>
<div
class=
"squre-success-item"
>
<div
class=
"squre-success-item"
>
<div
class=
"success-item-title"
>
本次导入总客户数
</div>
<div
class=
"success-item-title"
>
本次导入总客户数
</div>
...
@@ -25,10 +21,14 @@
...
@@ -25,10 +21,14 @@
</div>
</div>
<div
class=
"squre-success-item"
>
<div
class=
"squre-success-item"
>
<div
class=
"success-item-title"
>
企微客户占比
</div>
<div
class=
"success-item-title"
>
企微客户占比
</div>
<div
class=
"success-item-num"
>
<div
class=
"success-item-num"
>
{{
detailInfo
.
entmicroNumber
}}
/
{{
detailInfo
.
importNumber
}}
</div>
{{
detailInfo
.
entmicroNumber
}}
/
{{
detailInfo
.
importNumber
}}
</div>
</div>
</div>
</div>
<div
class=
"squre-tips"
v-if=
"importData.errorNum"
>
<i
class=
"el-icon-warning"
></i>
本次导入共有
{{
importData
.
errorNum
}}
条异常数据,请点击
<a
:href=
"importData.errorDataUrl"
>
下载
</a>
获取明细
</div>
</div>
</div>
</div>
<div
class=
"custom-title"
>
客户分群营销
</div>
<div
class=
"custom-title"
>
客户分群营销
</div>
...
@@ -46,9 +46,7 @@
...
@@ -46,9 +46,7 @@
<div
class=
"custom-count-num"
>
{{
detailInfo
.
waitAddEntmicroTotal
}}
人
</div>
<div
class=
"custom-count-num"
>
{{
detailInfo
.
waitAddEntmicroTotal
}}
人
</div>
</div>
</div>
</div>
</div>
<div
class=
"custom-wrap-content"
>
<div
class=
"custom-wrap-content"
>
当前客户池中,尚未匹配到企微账号的数量。推荐使用以下营销策略,吸引用户添加企微。
</div>
当前客户池中,尚未匹配到企微账号的数量。推荐使用以下营销策略,吸引用户添加企微。
</div>
<div
class=
"custom-wrap-config"
@
click=
"jumpDrainage"
>
营销配置
</div>
<div
class=
"custom-wrap-config"
@
click=
"jumpDrainage"
>
营销配置
</div>
</div>
</div>
</div>
</div>
...
@@ -65,9 +63,7 @@
...
@@ -65,9 +63,7 @@
<div
class=
"custom-count-num"
>
{{
detailInfo
.
waitTotal
}}
人
</div>
<div
class=
"custom-count-num"
>
{{
detailInfo
.
waitTotal
}}
人
</div>
</div>
</div>
</div>
</div>
<div
class=
"custom-wrap-content"
>
<div
class=
"custom-wrap-content"
>
提前给车险快到期的用户自动推荐适合该客户的优惠服务,提高客户续保率。
</div>
提前给车险快到期的用户自动推荐适合该客户的优惠服务,提高客户续保率。
</div>
<div
class=
"custom-wrap-config"
>
敬请期待
</div>
<div
class=
"custom-wrap-config"
>
敬请期待
</div>
</div>
</div>
</div>
</div>
...
@@ -77,20 +73,14 @@
...
@@ -77,20 +73,14 @@
<div
class=
"custom-wrap-sta"
>
<div
class=
"custom-wrap-sta"
>
<div
class=
"custom-count-item"
>
<div
class=
"custom-count-item"
>
<div
class=
"custom-count-title"
>
属于本次导入
</div>
<div
class=
"custom-count-title"
>
属于本次导入
</div>
<div
class=
"custom-count-num"
>
<div
class=
"custom-count-num"
>
{{
detailInfo
.
waitRegularMaintainNumber
}}
人
</div>
{{
detailInfo
.
waitRegularMaintainNumber
}}
人
</div>
</div>
</div>
<div
class=
"custom-count-item"
>
<div
class=
"custom-count-item"
>
<div
class=
"custom-count-title"
>
人群累计人数
</div>
<div
class=
"custom-count-title"
>
人群累计人数
</div>
<div
class=
"custom-count-num"
>
<div
class=
"custom-count-num"
>
{{
detailInfo
.
waitRegularMaintainTotal
}}
人
</div>
{{
detailInfo
.
waitRegularMaintainTotal
}}
人
</div>
</div>
</div>
</div>
</div>
<div
class=
"custom-wrap-content"
>
<div
class=
"custom-wrap-content"
>
智能提醒用户定期保养,推荐保养项目和优惠活动,提高用户返店率。
</div>
智能提醒用户定期保养,推荐保养项目和优惠活动,提高用户返店率。
</div>
<div
class=
"custom-wrap-config"
>
敬请期待
</div>
<div
class=
"custom-wrap-config"
>
敬请期待
</div>
</div>
</div>
</div>
</div>
...
@@ -100,30 +90,35 @@
...
@@ -100,30 +90,35 @@
<
script
>
<
script
>
export
default
{
export
default
{
name
:
"importResult"
,
name
:
'importResult'
,
data
()
{
data
()
{
return
{
return
{
detailInfo
:
{},
detailInfo
:
{},
};
importData
:
{}
}
},
},
methods
:
{
methods
:
{
goBack
()
{
goBack
()
{
this
.
$router
.
push
(
"/square/index"
);
this
.
$router
.
push
(
'/square/index'
)
},
},
jumpDrainage
()
{
jumpDrainage
()
{
this
.
$router
.
push
(
"/square/drainage"
);
this
.
$router
.
push
(
'/square/drainage'
)
},
},
importsKey
()
{
importsKey
()
{
let
{
id
}
=
this
.
$route
.
params
;
this
.
importData
=
this
.
$store
.
getters
.
square
.
importData
this
.
$apis
.
square
.
importsKey
({
id
}).
then
((
res
)
=>
{
let
{
id
}
=
this
.
$route
.
params
this
.
detailInfo
=
res
;
this
.
$apis
.
square
.
importsKey
({
id
}).
then
(
res
=>
{
});
this
.
detailInfo
=
res
},
})
}
},
},
mounted
()
{
mounted
()
{
this
.
importsKey
()
;
this
.
importsKey
()
},
},
};
beforeDestroy
()
{
this
.
$store
.
dispatch
(
'square/setImport'
,
{})
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
@@ -137,8 +132,7 @@ export default {
...
@@ -137,8 +132,7 @@ export default {
width
:
144px
;
width
:
144px
;
height
:
191px
;
height
:
191px
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0px
3px
6px
-4px
rgba
(
0
,
0
,
0
,
0.12
),
0px
6px
16px
0px
rgba
(
0
,
0
,
0
,
0.08
),
box-shadow
:
0px
3px
6px
-4px
rgba
(
0
,
0
,
0
,
0.12
),
0px
6px
16px
0px
rgba
(
0
,
0
,
0
,
0.08
),
0px
9px
28px
8px
rgba
(
0
,
0
,
0
,
0.05
);
0px
9px
28px
8px
rgba
(
0
,
0
,
0
,
0.05
);
text-align
:
center
;
text-align
:
center
;
img
{
img
{
width
:
124px
;
width
:
124px
;
...
@@ -195,6 +189,22 @@ export default {
...
@@ -195,6 +189,22 @@ export default {
}
}
}
}
}
}
.squre-tips
{
padding
:
20px
;
font-size
:
16px
;
font-weight
:
500
;
color
:
#424242
;
line-height
:
28px
;
a
{
cursor
:
pointer
;
text-decoration
:
underline
;
color
:
#5850ff
;
}
i
{
color
:
#f56c6c
;
}
}
}
}
.custom-title
{
.custom-title
{
margin
:
20px
0px
;
margin
:
20px
0px
;
...
...
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