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 6f948c7f
authored
Dec 11, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式修改
1 parent
f039c95d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
18 deletions
package.json
src/components/echarts/multipleEchart.vue
src/components/search-form/index.vue
src/views/clientDataOverview/index.vue
src/views/tagsManage/index.vue
package.json
View file @
6f948c7
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
"echarts"
:
"^5.2.0"
,
"echarts"
:
"^5.2.0"
,
"element-ui"
:
"^2.4.5"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-components"
:
"^1.2.
4
"
,
"glsx-components"
:
"^1.2.
5
"
,
"glsx-table"
:
"^1.1.0"
,
"glsx-table"
:
"^1.1.0"
,
"jquery"
:
"^3.6.0"
,
"jquery"
:
"^3.6.0"
,
"sha1"
:
"^1.1.1"
,
"sha1"
:
"^1.1.1"
,
...
...
src/components/echarts/multipleEchart.vue
View file @
6f948c7
...
@@ -181,8 +181,8 @@ export default {
...
@@ -181,8 +181,8 @@ export default {
type
:
'value'
,
type
:
'value'
,
name
:
'单位:人'
,
name
:
'单位:人'
,
min
:
0
,
min
:
0
,
max
:
100
,
//
max: 100,
interval
:
10
,
//
interval: 10,
axisLabel
:
{
axisLabel
:
{
formatter
:
'{value}'
formatter
:
'{value}'
},
},
...
...
src/components/search-form/index.vue
View file @
6f948c7
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<el-form-item
v-for=
"(item, index) in formList"
:key=
"index"
:label=
"item.label || ''"
>
<el-form-item
v-for=
"(item, index) in formList"
:key=
"index"
:label=
"item.label || ''"
>
<template>
<template>
<template
v-if=
"item.type === 'input'"
>
<template
v-if=
"item.type === 'input'"
>
<el-input
v-model=
"formModel[item.prop]"
:type=
"item.inputType || 'text'"
:placeholder=
"item.placeholder || '请输入'"
:
readonly=
"item.readonly || false"
@
keyup
.
enter
.
native=
"onInput"
></el-input>
<el-input
v-model=
"formModel[item.prop]"
:type=
"item.inputType || 'text'"
:placeholder=
"item.placeholder || '请输入'"
:
clearable=
"item.clearable || false"
:readonly=
"item.readonly || false"
@
keyup
.
enter
.
native=
"onInput"
></el-input>
</
template
>
</
template
>
<
template
v-else-if=
"item.type === 'select'"
>
<
template
v-else-if=
"item.type === 'select'"
>
<el-select
size=
"small"
v-model=
"formModel[item.prop]"
:placeholder=
"item.placeholder || '请选择'"
>
<el-select
size=
"small"
v-model=
"formModel[item.prop]"
:placeholder=
"item.placeholder || '请选择'"
>
...
...
src/views/clientDataOverview/index.vue
View file @
6f948c7
<
template
>
<
template
>
<div
class=
"scrm-sub-client-container"
>
<div
class=
"scrm-sub-client-container"
>
<!-- 是否门店账号会影响一些标题文字的显示 accountLevel==4 是门店 -->
<template
v-if=
"isShowModal"
>
<template
v-if=
"isShowModal"
>
<div
class=
"modalLayer"
></div>
<div
class=
"modalLayer"
></div>
<img
class=
"tipPanel"
src=
"@/assets/clientDataOverview/allPicture.png"
alt=
""
/>
<img
class=
"tipPanel"
src=
"@/assets/clientDataOverview/allPicture.png"
alt=
""
/>
...
@@ -18,7 +19,8 @@
...
@@ -18,7 +19,8 @@
<div
class=
"topmsg"
>
<div
class=
"topmsg"
>
<div
class=
"leftPieEcharts"
>
<div
class=
"leftPieEcharts"
>
<span
class=
"title"
>
客户总数
</span>
<span
class=
"title"
>
客户总数
</span>
<span
class=
"subtitle"
>
已加和未加企微的所有潜客和已购买客户
</span>
<span
class=
"subtitle"
v-if=
"accountLevel==4"
>
门店的所有客户数,包括企微客户,导入和外部系统接入客户,并根据手机号码识别同一客户后合并去重
</span>
<span
class=
"subtitle"
v-else
>
企业的所有客户数,包括企业客户和旗下所有门店客户,并根据手机号码识别同一客户后合并去重
</span>
<span
class=
"clientTotal"
>
<span
class=
"clientTotal"
>
<!-- 可以动态跑数字 -->
<!-- 可以动态跑数字 -->
<!-- <animate-number from="0" :to="(topDataObj.customerCount || 0) | overThousandFilter" :key="(topDataObj.customerCount || 0) | overThousandFilter" duration="2000"></animate-number> -->
<!-- <animate-number from="0" :to="(topDataObj.customerCount || 0) | overThousandFilter" :key="(topDataObj.customerCount || 0) | overThousandFilter" duration="2000"></animate-number> -->
...
@@ -46,8 +48,8 @@
...
@@ -46,8 +48,8 @@
<div
class=
"itembox"
>
<div
class=
"itembox"
>
<div
class=
"no-buy"
>
<div
class=
"no-buy"
>
<div
class=
"no-buy-total item"
>
<div
class=
"no-buy-total item"
>
<span>
潜在
(意向)
客户数
</span>
<span>
潜在
意向
客户数
</span>
<span>
未购车且无
交易行为的所有客户
</span>
<span>
无购车且无其他
交易行为的所有客户
</span>
<span
v-if=
"!isEmptyObj"
>
<span
v-if=
"!isEmptyObj"
>
{{ (topDataObj.purposeCustomerCount || 0) | overThousandFilter }}
{{ (topDataObj.purposeCustomerCount || 0) | overThousandFilter }}
<span
class=
"person-text"
>
人
</span>
<span
class=
"person-text"
>
人
</span>
...
@@ -70,7 +72,7 @@
...
@@ -70,7 +72,7 @@
{{ (topDataObj.purposeCustomerAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purposeCustomerAddCount || 0) | overThousandFilter }}
<span
class=
"person-text"
>
人
</span>
<span
class=
"person-text"
>
人
</span>
</span>
</span>
<span>
已加企微的潜在(意向)
客户
</span>
<span>
在潜在意向客户中,已加企微的
客户
</span>
<!-- <i class="horizontal-line"></i> -->
<!-- <i class="horizontal-line"></i> -->
</div>
</div>
<el-divider></el-divider>
<el-divider></el-divider>
...
@@ -80,7 +82,7 @@
...
@@ -80,7 +82,7 @@
{{ (topDataObj.purposeCustomerNAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purposeCustomerNAddCount || 0) | overThousandFilter }}
<span
class=
"person-text"
>
人
</span>
<span
class=
"person-text"
>
人
</span>
</span>
</span>
<span>
未加企微的潜在(意向)
客户
</span>
<span>
在潜在意向客户中,未加企微的
客户
</span>
<!-- >>-->
<!-- >>-->
<button
class=
"btn"
@
click=
"toGuideCompanyWechat"
v-if=
"accountLevel==4"
>
引流企微
<i
class=
"el-icon-d-arrow-right"
></i></button>
<button
class=
"btn"
@
click=
"toGuideCompanyWechat"
v-if=
"accountLevel==4"
>
引流企微
<i
class=
"el-icon-d-arrow-right"
></i></button>
</div>
</div>
...
@@ -88,8 +90,9 @@
...
@@ -88,8 +90,9 @@
</div>
</div>
<div
class=
"buy"
>
<div
class=
"buy"
>
<div
class=
"buy-total item"
>
<div
class=
"buy-total item"
>
<span>
购买(存档)客户数
</span>
<!-- <span>购买(存档)客户数</span> -->
<span>
已购车或有交易行为的所有客户
</span>
<span>
基盘客户数
</span>
<span>
有购车或其他交易行为的所有客户
</span>
<span
v-if=
"!isEmptyObj"
>
<span
v-if=
"!isEmptyObj"
>
{{ (topDataObj.purchaseCustomerCount || 0) | overThousandFilter }}
{{ (topDataObj.purchaseCustomerCount || 0) | overThousandFilter }}
<span
class=
"person-text"
>
人
</span>
<span
class=
"person-text"
>
人
</span>
...
@@ -112,7 +115,7 @@
...
@@ -112,7 +115,7 @@
{{ (topDataObj.purchaseCustomerAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purchaseCustomerAddCount || 0) | overThousandFilter }}
<span
class=
"person-text"
>
人
</span>
<span
class=
"person-text"
>
人
</span>
</span>
</span>
<span>
已加企微的购买(存档)
客户
</span>
<span>
在基盘客户中,已加企微的
客户
</span>
<!-- <button class="btn">企微魔方>></button> -->
<!-- <button class="btn">企微魔方>></button> -->
<!-- <i class="horizontal-line"></i> -->
<!-- <i class="horizontal-line"></i> -->
</div>
</div>
...
@@ -123,7 +126,7 @@
...
@@ -123,7 +126,7 @@
{{ (topDataObj.purchaseCustomerNAddCount || 0) | overThousandFilter }}
{{ (topDataObj.purchaseCustomerNAddCount || 0) | overThousandFilter }}
<span
class=
"person-text"
>
人
</span>
<span
class=
"person-text"
>
人
</span>
</span>
</span>
<span>
未加企微的购买(存档)
客户
</span>
<span>
在基盘客户中,未加企微的
客户
</span>
<button
class=
"btn"
@
click=
"toGuideCompanyWechat"
v-if=
"accountLevel==4"
>
引流企微
<i
class=
"el-icon-d-arrow-right"
></i></button>
<button
class=
"btn"
@
click=
"toGuideCompanyWechat"
v-if=
"accountLevel==4"
>
引流企微
<i
class=
"el-icon-d-arrow-right"
></i></button>
</div>
</div>
</div>
</div>
...
...
src/views/tagsManage/index.vue
View file @
6f948c7
...
@@ -4,20 +4,20 @@
...
@@ -4,20 +4,20 @@
<button
class=
"addTagsBtn"
@
click=
"btnClick('create')"
>
添加标签组
</button>
<button
class=
"addTagsBtn"
@
click=
"btnClick('create')"
>
添加标签组
</button>
<!--
<button
class=
"addTagsBtn"
@
click=
"btnClick('edit')"
>
修改标签组
</button>
-->
<!--
<button
class=
"addTagsBtn"
@
click=
"btnClick('edit')"
>
修改标签组
</button>
-->
<span
class=
"toptips"
>
<span
class=
"toptips"
>
<span>
共有
{{
numberObj
.
groupCount
||
0
}}
个标签组,
{{
numberObj
.
bizLabelCount
||
0
}}
个企业标签,
{{
numberObj
.
rcLabelCount
||
0
}}
个自店标签
</span>
<!-- v-if="!((merchantModel==2 && accountLevel==4) || (merchantModel==1 && accountLevel==1))" -->
<span>
共有
{{
numberObj
.
groupCount
||
0
}}
个标签组,
{{
numberObj
.
bizLabelCount
||
0
}}
个企业标签
<template
v-if=
"!((merchantModel==2 && accountLevel==4) || (merchantModel==1 && accountLevel==1))"
>
,
{{
numberObj
.
rcLabelCount
||
0
}}
个自店标签
</
template
></span>
<span
class=
"iconPanelWrap"
v-if=
"!isFirstShow"
>
<span
class=
"iconPanelWrap"
v-if=
"!isFirstShow"
>
<el-popover
placement=
"top"
width=
"666"
trigger=
"hover"
>
<el-popover
placement=
"top"
width=
"666"
trigger=
"hover"
>
<div>
企业标签为全局标签,员工可在企微APP端客户详情、客户跟进等模块查看和打标签,最多3000个;
</div>
<div>
企业标签为全局标签,员工可在企微APP端客户详情、客户跟进等模块查看和打标签,最多3000个;
</div>
<div>
自店标签为企业商户自有标签,员工可在企微APP端客户跟进等模块查看和打标签,最多3000个;
</div>
<div
v-if=
"!((merchantModel==2 && accountLevel==4) || (merchantModel==1 && accountLevel==1))"
>
自店标签为企业商户自有标签,员工可在企微APP端客户跟进等模块查看和打标签,最多3000个;
</div>
<div>
行业标签为通过大数据算法规则生成的标签
</div>
<div>
行业标签为通过大数据算法规则生成的标签
</div>
<img
src=
"@/assets/tagsManage/question.png"
slot=
"reference"
alt=
""
/>
<img
src=
"@/assets/tagsManage/question.png"
slot=
"reference"
alt=
""
/>
</el-popover>
</el-popover>
<!--
<span
class=
"tipsPanel"
>
企业标签为全局标签,员工可在企微APP端客户详情、客户跟进等模块查看和打标签,最多3000个;自店标签为企业商户自有标签,员工可在企微APP端客户跟进等模块查看和打标签,最多3000个;行业标签为通过大数据算法规则生成的标签
</span>
-->
</span>
</span>
</span>
</span>
<div
class=
"initPanel"
v-if=
"isFirstShow"
>
<div
class=
"initPanel"
v-if=
"isFirstShow"
>
可在企微APP端客户详情、客户跟进等模块查看和打标签,最多3000个;
自店标签为企业商户自有标签,员工可在企微APP端客户跟进等模块查看和打标签,最多3000个;
行业标签为通过大数据算法规则生成的标签
可在企微APP端客户详情、客户跟进等模块查看和打标签,最多3000个;
<
template
v-if=
"!((merchantModel==2 && accountLevel==4) || (merchantModel==1 && accountLevel==1))"
>
自店标签为企业商户自有标签,员工可在企微APP端客户跟进等模块查看和打标签,最多3000个;
</
template
>
行业标签为通过大数据算法规则生成的标签
<img
src=
"@/assets/tagsManage/Shape.png"
alt=
""
/>
<img
src=
"@/assets/tagsManage/Shape.png"
alt=
""
/>
<i
class=
"el-icon-close"
@
click=
"closeInitPanel"
></i>
<i
class=
"el-icon-close"
@
click=
"closeInitPanel"
></i>
</div>
</div>
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
<el-option
v-for=
"item in tagsGroupList"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
></el-option>
<el-option
v-for=
"item in tagsGroupList"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
</el-select>
<!-- id="tagTipMsgRef" -->
<!-- id="tagTipMsgRef" -->
<span
class=
"tagTipMsg"
v-if=
"tagDialogTitle == '添加标签组' && !tagForm.initTagsGroup"
>
企业标签
和自店标签
分别最多3000个
</span>
<span
class=
"tagTipMsg"
v-if=
"tagDialogTitle == '添加标签组' && !tagForm.initTagsGroup"
>
企业标签
<
template
v-if=
"!((merchantModel==2 && accountLevel==4) || (merchantModel==1 && accountLevel==1))"
>
和自店标签
</
template
>
分别最多3000个
</span>
<span
class=
"tagTipMsg"
v-if=
"tagDialogTitle == '添加标签组' && tagForm.initTagsGroup == 1"
>
<span
class=
"tagTipMsg"
v-if=
"tagDialogTitle == '添加标签组' && tagForm.initTagsGroup == 1"
>
企业标签已创建
企业标签已创建
<span
class=
"pure-blue-text"
>
{{ numberObj.bizLabelCount }}
</span>
<span
class=
"pure-blue-text"
>
{{ numberObj.bizLabelCount }}
</span>
...
@@ -297,6 +297,21 @@ export default {
...
@@ -297,6 +297,21 @@ export default {
if
(
this
.
merchantModel
==
1
)
{
if
(
this
.
merchantModel
==
1
)
{
if
(
!
(
this
.
accountLevel
==
1
&&
this
.
userType
==
1
))
this
.
tagsGroupList
.
splice
(
0
,
1
)
//只能创建自店标签
if
(
!
(
this
.
accountLevel
==
1
&&
this
.
userType
==
1
))
this
.
tagsGroupList
.
splice
(
0
,
1
)
//只能创建自店标签
}
}
if
(
this
.
merchantModel
==
1
){
if
(
this
.
accountLevel
==
1
){
//集团下的工厂只能创建企微标签,自店标签不要了
this
.
tagsGroupList
.
splice
(
1
,
1
)
this
.
tagsPartFormList
[
0
].
options
.
splice
(
1
,
1
)
}
}
// 集团授权模式下的门店账号,拥有标签管理模块权限,修改为:去掉门店的“标签管理”模块权限
// 单店授权模式下的门店账号,创建标签组时,可创建企业标签和自店标签,修改为:创建标签组时,仅能选择企业标签,去掉自店标签选项;
if
(
this
.
merchantModel
==
2
){
if
(
this
.
accountLevel
==
4
){
this
.
tagsGroupList
.
splice
(
1
,
1
)
this
.
tagsPartFormList
[
0
].
options
.
splice
(
1
,
1
)
}
}
}
}
this
.
searchForm
=
{
'labelTreeReq.shopId'
:
this
.
merchantId
,
'labelTreeReq.edition'
:
this
.
merchantModel
}
this
.
searchForm
=
{
'labelTreeReq.shopId'
:
this
.
merchantId
,
'labelTreeReq.edition'
:
this
.
merchantModel
}
this
.
getLoginCountFun
()
this
.
getLoginCountFun
()
...
...
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