Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 39988786
authored
May 25, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v2.3.0' of
http://192.168.3.233:8090/saas/scrm-micro-custom
into xuyl_dev_v2.4.0
2 parents
993c4666
0e7d6a0a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
93 additions
and
21 deletions
src/views/clientDataOverview/group.vue
src/views/clientDataOverview/index.vue
src/views/clientManage/index.vue
src/views/tagsManage/index.vue
src/views/clientDataOverview/group.vue
View file @
3998878
...
@@ -211,20 +211,20 @@ export default {
...
@@ -211,20 +211,20 @@ export default {
3
,
3
,
{
{
label
:
'线索时间'
,
label
:
'线索时间'
,
prop
:
'c
ustomerNa
me'
,
prop
:
'c
lueTi
me'
,
width
:
170
,
width
:
170
,
line
:
1
line
:
1
},
},
{
{
label
:
'意向车型'
,
label
:
'意向车型'
,
prop
:
'
customerName
'
,
prop
:
'
intentModel
'
,
width
:
1
5
0
,
width
:
1
7
0
,
line
:
1
line
:
1
},
},
{
{
label
:
'线索来源'
,
label
:
'线索来源'
,
prop
:
'c
ustomerNam
e'
,
prop
:
'c
lueSourc
e'
,
minW
idth
:
150
,
w
idth
:
150
,
line
:
1
line
:
1
}
}
)
)
...
...
src/views/clientDataOverview/index.vue
View file @
3998878
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
<p
class=
"clientNum"
>
<p
class=
"clientNum"
>
{{ (topDataObj.purchaseCustomerAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purchaseCustomerAddCount || 0) | overThousandFilter }}
<span
class=
"personText"
>
人
</span>
<span
class=
"personText"
>
人
</span>
<span
class=
"numPro"
>
占比:{{
(topDataObj.purchaseCustomerAddPercent
&&
topDataObj.purchaseCustomerAddPercent.toFixed(2)) || 0
}}%
</span>
<span
class=
"numPro"
>
占比:{{
topDataObj.purchaseCustomerAddPercent | percentageDeal
}}%
</span>
</p>
</p>
<!-- <div class="marketingBtn">
<!-- <div class="marketingBtn">
<el-dropdown>
<el-dropdown>
...
@@ -124,7 +124,7 @@
...
@@ -124,7 +124,7 @@
<p
class=
"clientNum"
>
<p
class=
"clientNum"
>
{{ (topDataObj.purchaseCustomerNAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purchaseCustomerNAddCount || 0) | overThousandFilter }}
<span
class=
"personText"
>
人
</span>
<span
class=
"personText"
>
人
</span>
<span
class=
"numPro"
>
占比:{{ (topDataObj.purchaseCustomerNAddPercent
&&
topDataObj.purchaseCustomerNAddPercent.toFixed(2)) || 0
}}%
</span>
<span
class=
"numPro"
>
占比:{{ topDataObj.purchaseCustomerNAddPercent | percentageDeal
}}%
</span>
</p>
</p>
<!-- <div class="marketingBtn">
<!-- <div class="marketingBtn">
智能营销
智能营销
...
@@ -179,7 +179,8 @@
...
@@ -179,7 +179,8 @@
<p
class=
"clientNum"
>
<p
class=
"clientNum"
>
{{ (topDataObj.purposeCustomerAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purposeCustomerAddCount || 0) | overThousandFilter }}
<span
class=
"personText"
>
人
</span>
<span
class=
"personText"
>
人
</span>
<span
class=
"numPro"
>
占比:{{ (topDataObj.purposeCustomerAddPercent
&&
topDataObj.purposeCustomerAddPercent.toFixed(2)) || 0 }}%
</span>
<!-- <span class="numPro">占比:{{ (topDataObj.purposeCustomerAddPercent && topDataObj.purposeCustomerAddPercent.toFixed(2)) || 0 }}%</span> -->
<span
class=
"numPro"
>
占比:{{ topDataObj.purposeCustomerAddPercent | percentageDeal}}%
</span>
</p>
</p>
<!-- <div class="marketingBtn">
<!-- <div class="marketingBtn">
<el-dropdown>
<el-dropdown>
...
@@ -205,7 +206,8 @@
...
@@ -205,7 +206,8 @@
<p
class=
"clientNum"
>
<p
class=
"clientNum"
>
{{ (topDataObj.purposeCustomerNAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purposeCustomerNAddCount || 0) | overThousandFilter }}
<span
class=
"personText"
>
人
</span>
<span
class=
"personText"
>
人
</span>
<span
class=
"numPro"
>
占比:{{ (topDataObj.purposeCustomerNAddPercent
&&
topDataObj.purposeCustomerNAddPercent.toFixed(2)) || 0 }}%
</span>
<!-- <span class="numPro">占比:{{ (topDataObj.purposeCustomerNAddPercent && topDataObj.purposeCustomerNAddPercent.toFixed(2)) || 0 }}%</span> -->
<span
class=
"numPro"
>
占比:{{ topDataObj.purposeCustomerNAddPercent | percentageDeal }}%
</span>
</p>
</p>
<!-- <div class="marketingBtn">
<!-- <div class="marketingBtn">
智能营销
智能营销
...
@@ -234,7 +236,7 @@
...
@@ -234,7 +236,7 @@
<div
class=
"intended"
@
click=
"goto(11)"
>
<div
class=
"intended"
@
click=
"goto(11)"
>
<p
class=
"intend-name"
>
<p
class=
"intend-name"
>
<span
class=
"nameHover"
>
已加企微,待匹配客户
</span>
<span
class=
"nameHover"
>
已加企微,待匹配客户
</span>
<span
class=
"intend-phone"
@
click
.
stop=
"goto(20)"
>
(已绑定手机号{{
topDataObj.notMatchCustomerAddPhoneCount ? topDataObj.notMatchCustomerAddPhoneCount : 0
}}人)
</span>
<span
class=
"intend-phone"
@
click
.
stop=
"goto(20)"
>
(已绑定手机号{{
(topDataObj.notMatchCustomerAddPhoneCount || 0) | overThousandFilter
}}人)
</span>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"已加企微,且未匹配到潜在意向或基盘客户的客户"
>
<el-popover
placement=
"top"
trigger=
"hover"
content=
"已加企微,且未匹配到潜在意向或基盘客户的客户"
>
<span
class=
"dataOverPopover"
>
已加企微,且未匹配到潜在意向或基盘客户的客户
</span>
<span
class=
"dataOverPopover"
>
已加企微,且未匹配到潜在意向或基盘客户的客户
</span>
<img
class=
"questionImg"
src=
"@/assets/clientDataOverview/grayquestion.png"
slot=
"reference"
/>
<img
class=
"questionImg"
src=
"@/assets/clientDataOverview/grayquestion.png"
slot=
"reference"
/>
...
@@ -271,7 +273,7 @@
...
@@ -271,7 +273,7 @@
<span
class=
"ratio"
v-if=
"!isEmptyObj"
>
<span
class=
"ratio"
v-if=
"!isEmptyObj"
>
占比:
占比:
<img
src=
"@/assets/clientDataOverview/upIcon.png"
/>
<img
src=
"@/assets/clientDataOverview/upIcon.png"
/>
{{
(topDataObj.notMatchCustomerNAddPercent
&&
topDataObj.notMatchCustomerNAddPercent.toFixed(2)) || 0
}}%
{{
topDataObj.notMatchCustomerNAddPercent | percentageDeal
}}%
<i
class=
"triangle"
:class=
"{ active: topDataObj.waitMatchUp === 2 }"
v-if=
"topDataObj.waitMatchUp"
></i>
<i
class=
"triangle"
:class=
"{ active: topDataObj.waitMatchUp === 2 }"
v-if=
"topDataObj.waitMatchUp"
></i>
<i
v-else
>
--
</i>
<i
v-else
>
--
</i>
</span>
</span>
...
@@ -376,7 +378,7 @@ export default {
...
@@ -376,7 +378,7 @@ export default {
pieEchart
,
pieEchart
,
multipleEchart
,
multipleEchart
,
// pictorialBar,
// pictorialBar,
noData
,
noData
// pieEchartCopy
// pieEchartCopy
},
},
data
()
{
data
()
{
...
@@ -476,6 +478,12 @@ export default {
...
@@ -476,6 +478,12 @@ export default {
})
})
})
})
},
},
filters
:
{
percentageDeal
(
val
)
{
if
(
val
)
return
(
val
*
100
).
toFixed
(
2
)
||
0
return
0
}
},
computed
:
{
computed
:
{
isEmptyObj
()
{
isEmptyObj
()
{
if
(
Object
.
keys
(
this
.
topDataObj
).
length
==
0
)
{
if
(
Object
.
keys
(
this
.
topDataObj
).
length
==
0
)
{
...
...
src/views/clientManage/index.vue
View file @
3998878
...
@@ -258,14 +258,15 @@ export default {
...
@@ -258,14 +258,15 @@ export default {
{
{
label
:
'客户ID'
,
label
:
'客户ID'
,
prop
:
'oneId'
,
prop
:
'oneId'
,
width
:
1
7
0
,
width
:
1
8
0
,
line
:
1
line
:
1
},
},
{
{
label
:
'客户名称'
,
label
:
'客户名称'
,
prop
:
'customerName'
,
prop
:
'customerName'
,
addHtml
:
'customerName'
,
addHtml
:
'customerName'
,
width
:
120
width
:
120
,
line
:
1
},
},
{
{
label
:
'企微名称'
,
label
:
'企微名称'
,
...
@@ -321,19 +322,19 @@ export default {
...
@@ -321,19 +322,19 @@ export default {
{
{
label
:
'车系'
,
label
:
'车系'
,
prop
:
'audi'
,
prop
:
'audi'
,
width
:
1
1
0
,
width
:
1
2
0
,
line
:
1
line
:
1
},
},
{
{
label
:
'车架号'
,
label
:
'车架号'
,
prop
:
'carVin'
,
prop
:
'carVin'
,
width
:
1
1
0
,
width
:
1
8
0
,
line
:
1
line
:
1
},
},
{
{
label
:
'车牌号'
,
label
:
'车牌号'
,
prop
:
'carNumber'
,
prop
:
'carNumber'
,
width
:
1
7
0
,
width
:
1
4
0
,
line
:
1
line
:
1
},
},
{
{
...
...
src/views/tagsManage/index.vue
View file @
3998878
...
@@ -280,7 +280,7 @@ import { getLoginCount } from '@/api/modules/loginCount'
...
@@ -280,7 +280,7 @@ import { getLoginCount } from '@/api/modules/loginCount'
import
tagGroup
from
'./components/tagGroup.vue'
import
tagGroup
from
'./components/tagGroup.vue'
import
url
from
'@/assets/clientDataOverview/nodata.png'
import
url
from
'@/assets/clientDataOverview/nodata.png'
import
tag
from
'@/mixins/tag'
import
tag
from
'@/mixins/tag'
import
util
from
'@/utils/util
'
import
{
utils
}
from
'glsx-common
'
export
default
{
export
default
{
mixins
:
[
tag
],
mixins
:
[
tag
],
name
:
'tagsManage'
,
name
:
'tagsManage'
,
...
@@ -708,7 +708,7 @@ export default {
...
@@ -708,7 +708,7 @@ export default {
this
.
tagForm
.
tagsName
=
rowData
.
labelGroup
.
name
//标签组名
this
.
tagForm
.
tagsName
=
rowData
.
labelGroup
.
name
//标签组名
this
.
tagForm
.
initTagsGroup
=
rowData
.
labelType
==
'企业标签'
||
rowData
.
labelType
==
'集团标签'
?
1
:
rowData
.
labelType
==
'自店标签'
?
2
:
''
//标签组类型
this
.
tagForm
.
initTagsGroup
=
rowData
.
labelType
==
'企业标签'
||
rowData
.
labelType
==
'集团标签'
?
1
:
rowData
.
labelType
==
'自店标签'
?
2
:
''
//标签组类型
},
},
handleConfirm
()
{
handleConfirm
:
utils
.
debounce
(
function
()
{
this
.
$refs
.
tagForm
.
$children
[
0
].
validate
(
valid
=>
{
this
.
$refs
.
tagForm
.
$children
[
0
].
validate
(
valid
=>
{
if
(
!
valid
)
{
if
(
!
valid
)
{
if
(
this
.
tagForm
.
tagsList
.
length
<=
0
&&
this
.
tagDialogTitle
==
'添加标签组'
)
{
if
(
this
.
tagForm
.
tagsList
.
length
<=
0
&&
this
.
tagDialogTitle
==
'添加标签组'
)
{
...
@@ -764,12 +764,75 @@ export default {
...
@@ -764,12 +764,75 @@ export default {
return
return
}
}
}
}
console
.
log
(
'点击了几次'
)
this
.
updateTagFun
()
this
.
updateTagFun
()
this
.
newAddTagFun
()
this
.
newAddTagFun
()
// this.handleClose()
// this.handleClose()
}
}
})
})
},
},
300
),
// handleConfirm() {
// this.$refs.tagForm.$children[0].validate(valid => {
// if (!valid) {
// if (this.tagForm.tagsList.length <= 0 && this.tagDialogTitle == '添加标签组') {
// this.tagNameRules = true
// this.$message.error('至少要添加一个标签')
// // return
// }
// return
// }
// if (this.tagForm.tagsList.length <= 0 && this.tagDialogTitle == '添加标签组') {
// this.tagNameRules = true
// this.$message.error('至少要添加一个标签')
// return
// }
// if (this.tagDialogTitle == '添加标签组') {
// //过滤掉没有输入值得标签输入框
// this.tagForm.tagsList = this.tagForm.tagsList.filter(item => item.name != '')
// if (this.tagForm.tagsList.length <= 0) {
// this.$message.error('不能提交空标签')
// return
// }
// //如果存在添加标签的输入框的内容的标签相同则不提交
// let isSameTagFlag = false
// var tempArr = this.tagForm.tagsList.map(item => item.name)
// isSameTagFlag = this.isHasSome(tempArr)
// if (isSameTagFlag) {
// this.$message.error('不能提交相同的标签,请修改')
// return
// }
// this.newAddTagFun(1)
// //this.handleClose() //这里不管
// } else {
// //修改标签(允许同时增加标签)
// let isHasEmpty = this.editTagList.some(ele => ele.name == '')
// if (isHasEmpty) {
// this.$message.error('不能提交空的编辑标签')
// return
// }
// if (this.tagForm.tagsList.length > 0) {
// //过滤掉没有输入值得标签输入框
// this.tagForm.tagsList = this.tagForm.tagsList.filter(item => item.name != '')
// //如果存在添加标签的输入框的内容和可编辑的标签相同则不提交
// let ishasSameTagFlag = false
// this.editTagList.forEach(item => {
// for (let i = 0; i < this.tagForm.tagsList.length; i++) {
// if (this.tagForm.tagsList[i].name == item.name) {
// ishasSameTagFlag = true
// }
// }
// })
// if (ishasSameTagFlag) {
// this.$message.error('不能提交已存在的标签,请修改')
// return
// }
// }
// this.updateTagFun()
// this.newAddTagFun()
// // this.handleClose()
// }
// })
// },
handleRuleClose
()
{
handleRuleClose
()
{
this
.
dialogRuleVisible
=
false
this
.
dialogRuleVisible
=
false
},
},
...
@@ -854,7 +917,7 @@ export default {
...
@@ -854,7 +917,7 @@ export default {
// this.tagForm.tagsName = ''
// this.tagForm.tagsName = ''
// this.tagForm.initTagsGroup = ''
// this.tagForm.initTagsGroup = ''
// this.tagForm.tagsList = []
// this.tagForm.tagsList = []
this
.
$refs
.
tagTree
.
getTableList
(
true
)
//刷新下表格
// this.$refs.tagTree.getTableList(true) //刷新下表格 //重复请求了
})
})
},
},
//删除一行标签
//删除一行标签
...
...
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