Commit ff9255e2 by 前端

Merge branch 'xuyl_dev_v2.3.0' into 'v2.3.0'

修复bug

See merge request !81
2 parents 63a47012 0fb7c003
......@@ -4,8 +4,7 @@ export const Constants = {
'1': '删除好友, red-text'
},
//性别选项
GENDER_OPTION: [
{
GENDER_OPTION: [{
label: '全部',
value: null
},
......@@ -22,8 +21,7 @@ export const Constants = {
value: 0
}
],
SOURCE_OPTION: [
{
SOURCE_OPTION: [{
label: '全部',
value: 0
},
......@@ -81,8 +79,7 @@ export const Constants = {
}
],
//标签类型
LABEL_OPTION: [
{
LABEL_OPTION: [{
label: '企业标签',
value: '企业标签'
},
......@@ -153,50 +150,70 @@ export const Constants = {
1: '已激活',
2: '已过期'
},
DESCRIBEDATA: [
{
DESCRIBEDATA: [{
name: '潜在意向客户',
info: '无购车且无其他交易行为的所有客户'
info: '无购车且无其他交易行为的所有客户',
id: 1
},
{
name: '潜在意向客户已加微',
info: '在潜在意向客户中,已加企微的客户'
name: '潜在意向已加企微客户',
info: '在潜在意向客户中,已加企微的客户',
id: 2
},
{
name: '潜在意向客户未加微',
info: '在潜在意向客户中,未加企微的客户'
name: '潜在意向未加企微客户',
info: '在潜在意向客户中,未加企微的客户',
id: 3
},
{
name: '基盘客户',
info: '有购车或其他交易行为的所有客户'
info: '有购车或其他交易行为的所有客户',
id: 4
},
{
name: '基盘客户已加微',
info: '在基盘客户中,已加企微的客户'
name: '基盘已加企微客户',
info: '在基盘客户中,已加企微的客户',
id: 5
},
{
name: '基盘客户未加微',
info: '在基盘客户中,未加企微的客户'
name: '基盘未加企微客户',
info: '在基盘客户中,未加企微的客户',
id: 6
},
{
name: '新车客户',
info: '购车时间3个月的客户'
info: '购车时间3个月的客户',
id: 7
},
{
name: '车险待续保客户',
info: '近一个月内车险即将到期的客户'
info: '近一个月内车险即将到期的客户',
id: 8
},
{
name: '新车待首保客户',
info: '购车时间5~7个月内,且无保养记录的客户'
info: '购车时间5~7个月内,且无保养记录的客户',
id: 9
},
{
name: '沉默客户',
info: '超过180天未到店的客户'
info: '超过180天未到店的客户',
id: 10
},
{
name: '已加企微,待匹配客户',
info: '已加企微,且未匹配到潜在意向和基盘客户的客户'
info: '已加企微,且未匹配到潜在意向或基盘客户的客户',
id: 11
},
{
name: '已加企微,待匹配客户(已绑定手机号)',
info: '已加企微,且未匹配到潜在意向或基盘客户的客户(已绑定手机号)',
id: 20
},
{
name: '未加企微,未匹配客户',
info: '未添加企微或添加企微后删除好友,且未匹配到意向和基盘客户的客户',
id: 21
}
]
}
\ No newline at end of file
......@@ -2,8 +2,8 @@
<div class="scrm-sub-client-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>
<div class="head-container-title color-3 font-20">{{ $Constants.DESCRIBEDATA.find(item => item.id == id) ? $Constants.DESCRIBEDATA.find(item => item.id == id).name : '' }}</div>
<div class="head-container-content color-6 font-14">{{ $Constants.DESCRIBEDATA.find(item => item.id == id) ? $Constants.DESCRIBEDATA.find(item => item.id == id).info : '' }}</div>
</template>
<template v-else>
<div class="head-container-title color-3 font-20">{{ crowdForm.crowdName }}</div>
......@@ -56,6 +56,7 @@
<script>
import { getCustomerList, getcrowdManageList, customerClusterListExport } from '@/api/modules/clientDataOverview'
import { getStaffList } from '@/api/modules/clientManage'
// import Constants from '@common/constants.js'
import url from '@/assets/empty.png'
export default {
name: 'group',
......@@ -91,11 +92,11 @@ export default {
name: 'nickName',
label: '企微名称'
},
{
type: 'input',
name: 'customerName',
label: '客户名称'
},
// {
// type: 'input',
// name: 'customerName',
// label: '客户名称'
// },
{
type: 'select',
name: 'isJoin',
......@@ -198,25 +199,27 @@ export default {
let { id } = this
this.init(id)
// 针对广汇替换字段
console.log(location.host)
if (this.id == 1 && location.host == 'scrm.cgacar.com') {
this.tableParams.tableColumns.splice(
3,
3,
{
type: 'input',
name: '',
label: '线索时间'
label: '线索时间',
prop: 'customerName',
width: 170,
line: 1
},
{
type: 'input',
name: '',
label: '意向车型'
label: '意向车型',
prop: 'customerName',
width: 150,
line: 1
},
{
type: 'input',
name: '',
label: '线索来源'
label: '线索来源',
prop: 'customerName',
minWidth: 150,
line: 1
}
)
}
......
......@@ -318,26 +318,30 @@ export default {
prop: 'addTime',
width: 170
},
// {
// label: '车系',
// prop: '',
// width: 110
// },
// {
// label: '车架号',
// prop: '',
// width: 110
// },
// {
// label: '车牌号',
// prop: '',
// width: 170
// },
// {
// label: '购车时间',
// prop: '',
// width: 170
// },
{
label: '车系',
prop: 'audi',
width: 110,
line:1
},
{
label: '车架号',
prop: 'carVin',
width: 110,
line:1
},
{
label: '车牌号',
prop: 'carNumber',
width: 170,
line:1
},
{
label: '购车时间',
prop: 'buyDate',
width: 170,
line:1
},
{
label: '操作',
prop: 'optionBtns',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!