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
......@@ -91,4 +91,7 @@ background: transparent !important;
.mg2{
margin-left:20px;
margin-right:20px;
}
.mgt10{
margin-top:10px;
}
\ No newline at end of file
export const Constants = {
CLIENT_STATUS: {
'0': '正常, green-text',
'1': '删除好友, red-text'
......@@ -153,6 +152,51 @@ export const Constants = {
0: '未激活',
1: '已激活',
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 {
{
name: '客户总数',
type: 'pie',
radius: '91.5px',
center: ['50%', '68%'],
radius: '118px',
center: ['50%', '65%'],
stillShowZeroSum: false,
data: this.pieData,
// data: [
......
<template>
<div class="scrm-sub-client-container">
<div class="head-container">
<div class="head-container-title color-3 font-20">{{ crowdForm.crowdName }}</div>
<div class="head-container-content color-6 font-14">{{ crowdForm.crowdDesc }}</div>
<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-content color-6 font-14">{{ crowdForm.crowdDesc }}</div>
</template>
<!-- <div class="reminder font-14 color-3">企业标签 | 自动更新</div> -->
<div class="back color-58 font-14" @click="goBack">返回人群管理</div>
</div>
......@@ -120,19 +126,15 @@ export default {
let { id } = this
this.init(id)
},
computed: {
describe() {
let id = this.id - 1
return this.describeData[id]
}
},
methods: {
init(id) {
this.tableSearchForm = {
crowdId: id
}
// 通过人群Id查询人群详情
this.getCrowdDetails()
if (this.crowdType) {
this.getCrowdDetails()
}
// this.getTotalCount()
},
getCrowdDetails() {
......
......@@ -176,7 +176,7 @@
</div>
</div>
<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>
<div class="table-btns" slot="optionBtns" slot-scope="scope">
......@@ -190,9 +190,6 @@
<div style="height: 20px"></div>
<!-- //提示面板组件 -->
<tip-panel class="mg2" panelMinHeight="45px" :panelContent="panelContent"></tip-panel>
<!-- v-if="userType == 2" -->
<el-button type="primary" class="addTagBtn" size="small" @click="btnClick('create')" v-if="userType == 2">设置标签</el-button>
......@@ -421,12 +418,14 @@ export default {
label: '跟进员工',
prop: 'staffName',
align: 'left',
minWidth: 100
minWidth: 90
},
{
label: '所属部门',
prop: 'departmentName',
align: 'left'
align: 'left',
line: 1,
width: 120
},
{
label: '添加时间',
......@@ -457,12 +456,16 @@ export default {
{
label: '备注',
prop: 'remark',
align: 'left'
align: 'left',
line: 1,
width: 150
},
{
label: '描述',
prop: 'description',
align: 'left'
align: 'left',
line: 1,
width: 150
}
]
},
......@@ -475,32 +478,38 @@ export default {
label: '群聊名称',
prop: 'groupName',
addHtml: 'groupName',
align: 'left'
align: 'left',
width: 260
},
{
label: '群主',
prop: 'groupHostName',
align: 'left'
align: 'left',
line: 1,
width: 200
},
{
label: '客户数',
prop: 'membersNumber',
align: 'left'
align: 'left',
width: 180
},
{
label: '本群昵称',
prop: 'groupNickName',
align: 'left'
align: 'left',
line: 1,
width: 200
},
{
label: '入群时间',
prop: 'joinTime',
align: 'left'
align: 'left',
width: 200
},
{
label: '操作',
prop: 'optionBtns',
width: '80px',
addHtml: 'optionBtns',
fixed: 'right'
}
......@@ -1269,10 +1278,8 @@ export default {
}
.table {
padding: 0 20px;
/deep/ .line-ellipsis {
.groupName {
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!