Commit 252d6f90 by 王志慧

fix:推荐人群描述修改

1 parent 32757e19
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,47 @@ export const Constants = { ...@@ -153,6 +152,47 @@ 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天未到店的客户'
} }
]
} }
<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() {
......
...@@ -832,6 +832,7 @@ export default { ...@@ -832,6 +832,7 @@ export default {
// height: 238px; // height: 238px;
width: 50%; width: 50%;
position: relative; position: relative;
height: auto;
cursor: pointer; cursor: pointer;
> span { > span {
position: absolute; position: absolute;
......
...@@ -425,7 +425,7 @@ export default { ...@@ -425,7 +425,7 @@ export default {
prop: 'departmentName', prop: 'departmentName',
align: 'left', align: 'left',
line: 1, line: 1,
width: 100 width: 120
}, },
{ {
label: '添加时间', label: '添加时间',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!