Commit c66f3130 by 王志慧

Merge branch 'v2.0.1' of http://192.168.3.233:8090/saas/scrm-micro-custom into v2.1.0

2 parents a36156ba 8d431ec2
...@@ -92,3 +92,6 @@ background: transparent !important; ...@@ -92,3 +92,6 @@ background: transparent !important;
margin-left:20px; margin-left:20px;
margin-right:20px; margin-right:20px;
} }
.mgt10{
margin-top:10px;
}
\ No newline at end of file \ No newline at end of file
export const Constants = { export const Constants = {
CLIENT_STATUS: { CLIENT_STATUS: {
'0': '正常, green-text', '0': '正常, green-text',
'1': '删除好友, red-text' '1': '删除好友, red-text'
...@@ -153,6 +152,51 @@ export const Constants = { ...@@ -153,6 +152,51 @@ export const Constants = {
0: '未激活', 0: '未激活',
1: '已激活', 1: '已激活',
2: '已过期' 2: '已过期'
},
DESCRIBEDATA: [
{
name: '潜在意向客户',
info: '无购车且无其他交易行为的所有客户'
},
{
name: '潜在意向客户已加微',
info: '在潜在意向客户中,已加企微的客户'
},
{
name: '潜在意向客户未加微',
info: '在潜在意向客户中,未加企微的客户'
},
{
name: '基盘客户',
info: '有购车或其他交易行为的所有客户'
},
{
name: '基盘客户已加微',
info: '在基盘客户中,已加企微的客户'
},
{
name: '基盘客户未加微',
info: '在基盘客户中,未加企微的客户'
},
{
name: '新车客户',
info: '购车时间3个月的客户'
},
{
name: '车险待续保客户',
info: '近一个月内车险即将到期的客户'
},
{
name: '新车待首保客户',
info: '购车时间5~7个月内,且无保养记录的客户'
},
{
name: '沉默客户',
info: '超过180天未到店的客户'
},
{
name: '已加企微,待匹配客户',
info: '已加企微,且未匹配到潜在意向和基盘客户的客户'
} }
]
} }
...@@ -72,8 +72,8 @@ export default { ...@@ -72,8 +72,8 @@ export default {
{ {
name: '客户总数', name: '客户总数',
type: 'pie', type: 'pie',
radius: '91.5px', radius: '118px',
center: ['50%', '68%'], center: ['50%', '65%'],
stillShowZeroSum: false, stillShowZeroSum: false,
data: this.pieData, data: this.pieData,
// data: [ // data: [
......
<template> <template>
<div class="scrm-sub-client-container"> <div class="scrm-sub-client-container">
<div class="head-container"> <div class="head-container">
<template v-if="crowdType == ''">
<div class="head-container-title color-3 font-20">{{ $Constants.DESCRIBEDATA[id - 1].name }}</div>
<div class="head-container-content color-6 font-14">{{ $Constants.DESCRIBEDATA[id - 1].info }}</div>
</template>
<template v-else>
<div class="head-container-title color-3 font-20">{{ crowdForm.crowdName }}</div> <div class="head-container-title color-3 font-20">{{ crowdForm.crowdName }}</div>
<div class="head-container-content color-6 font-14">{{ crowdForm.crowdDesc }}</div> <div class="head-container-content color-6 font-14">{{ crowdForm.crowdDesc }}</div>
</template>
<!-- <div class="reminder font-14 color-3">企业标签 | 自动更新</div> --> <!-- <div class="reminder font-14 color-3">企业标签 | 自动更新</div> -->
<div class="back color-58 font-14" @click="goBack">返回人群管理</div> <div class="back color-58 font-14" @click="goBack">返回人群管理</div>
</div> </div>
...@@ -120,19 +126,15 @@ export default { ...@@ -120,19 +126,15 @@ export default {
let { id } = this let { id } = this
this.init(id) this.init(id)
}, },
computed: {
describe() {
let id = this.id - 1
return this.describeData[id]
}
},
methods: { methods: {
init(id) { init(id) {
this.tableSearchForm = { this.tableSearchForm = {
crowdId: id crowdId: id
} }
// 通过人群Id查询人群详情 // 通过人群Id查询人群详情
if (this.crowdType) {
this.getCrowdDetails() this.getCrowdDetails()
}
// this.getTotalCount() // this.getTotalCount()
}, },
getCrowdDetails() { getCrowdDetails() {
......
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
</div> </div>
</div> </div>
<GLTable class="table" :hasNum="false" :tableData="clientGroupTableList" :hasPage="false" :tableParams="clientGroupTableParams" :headerStyle="{ height: '54px' }"> <GLTable class="table" :hasNum="false" :tableData="clientGroupTableList" :hasPage="false" :tableParams="clientGroupTableParams" :headerStyle="{ height: '54px' }">
<span slot="groupName" slot-scope="scope"> <span slot="groupName" slot-scope="scope" class="groupName">
<span>{{ scope.scope.groupName || '群聊(默认)' }}</span> <span>{{ scope.scope.groupName || '群聊(默认)' }}</span>
</span> </span>
<div class="table-btns" slot="optionBtns" slot-scope="scope"> <div class="table-btns" slot="optionBtns" slot-scope="scope">
...@@ -190,9 +190,6 @@ ...@@ -190,9 +190,6 @@
<div style="height: 20px"></div> <div style="height: 20px"></div>
<!-- //提示面板组件 --> <!-- //提示面板组件 -->
<tip-panel class="mg2" panelMinHeight="45px" :panelContent="panelContent"></tip-panel> <tip-panel class="mg2" panelMinHeight="45px" :panelContent="panelContent"></tip-panel>
<!-- v-if="userType == 2" --> <!-- v-if="userType == 2" -->
<el-button type="primary" class="addTagBtn" size="small" @click="btnClick('create')" v-if="userType == 2">设置标签</el-button> <el-button type="primary" class="addTagBtn" size="small" @click="btnClick('create')" v-if="userType == 2">设置标签</el-button>
...@@ -421,12 +418,14 @@ export default { ...@@ -421,12 +418,14 @@ export default {
label: '跟进员工', label: '跟进员工',
prop: 'staffName', prop: 'staffName',
align: 'left', align: 'left',
minWidth: 100 minWidth: 90
}, },
{ {
label: '所属部门', label: '所属部门',
prop: 'departmentName', prop: 'departmentName',
align: 'left' align: 'left',
line: 1,
width: 120
}, },
{ {
label: '添加时间', label: '添加时间',
...@@ -457,12 +456,16 @@ export default { ...@@ -457,12 +456,16 @@ export default {
{ {
label: '备注', label: '备注',
prop: 'remark', prop: 'remark',
align: 'left' align: 'left',
line: 1,
width: 150
}, },
{ {
label: '描述', label: '描述',
prop: 'description', prop: 'description',
align: 'left' align: 'left',
line: 1,
width: 150
} }
] ]
}, },
...@@ -475,32 +478,38 @@ export default { ...@@ -475,32 +478,38 @@ export default {
label: '群聊名称', label: '群聊名称',
prop: 'groupName', prop: 'groupName',
addHtml: 'groupName', addHtml: 'groupName',
align: 'left' align: 'left',
width: 260
}, },
{ {
label: '群主', label: '群主',
prop: 'groupHostName', prop: 'groupHostName',
align: 'left' align: 'left',
line: 1,
width: 200
}, },
{ {
label: '客户数', label: '客户数',
prop: 'membersNumber', prop: 'membersNumber',
align: 'left' align: 'left',
width: 180
}, },
{ {
label: '本群昵称', label: '本群昵称',
prop: 'groupNickName', prop: 'groupNickName',
align: 'left' align: 'left',
line: 1,
width: 200
}, },
{ {
label: '入群时间', label: '入群时间',
prop: 'joinTime', prop: 'joinTime',
align: 'left' align: 'left',
width: 200
}, },
{ {
label: '操作', label: '操作',
prop: 'optionBtns', prop: 'optionBtns',
width: '80px',
addHtml: 'optionBtns', addHtml: 'optionBtns',
fixed: 'right' fixed: 'right'
} }
...@@ -1269,10 +1278,8 @@ export default { ...@@ -1269,10 +1278,8 @@ export default {
} }
.table { .table {
padding: 0 20px; padding: 0 20px;
.groupName {
/deep/ .line-ellipsis {
white-space: nowrap; white-space: nowrap;
overflow: visible;
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!