|
@@ -48,7 +48,7 @@
|
48
|
48
|
<el-table-column label="客户状态" width="100" show-overflow-tooltip align="center">
|
49
|
49
|
<template slot-scope="scope">
|
50
|
50
|
<span v-if="scope.row.customer_enable==0" style="color:#FF0002">禁用</span>
|
51
|
|
- <span v-if="scope.row.customer_enable==1">可用</span>
|
|
51
|
+ <span v-if="scope.row.customer_enable==1">未流失</span>
|
52
|
52
|
<span v-if="scope.row.customer_enable==3" style="color:#00B38A">已流失</span>
|
53
|
53
|
</template>
|
54
|
54
|
</el-table-column>
|
|
@@ -213,7 +213,7 @@ export default {
|
213
|
213
|
let filterVal = ['customer_id', 'name', 'remark', 'avatar', 'self_type', 'self_customer_enable', 'user_id', 'createtime', 'add_way', 'operate_time', 'reason']
|
214
|
214
|
list.forEach((item) => {
|
215
|
215
|
item.self_type = item.type == 1 ? '微信用户' : item.type == 2 ? '' : '企业微信';
|
216
|
|
- item.self_customer_enable = item.customer_enable == 0 ? '禁用' : item.customer_enable == 1 ? '可用' : item.customer_enable == 3 ? '已流失' : ''
|
|
216
|
+ item.self_customer_enable = item.customer_enable == 0 ? '禁用' : item.customer_enable == 1 ? '未流失' : item.customer_enable == 3 ? '已流失' : ''
|
217
|
217
|
})
|
218
|
218
|
let excelDatas = [
|
219
|
219
|
{
|