Commit 46f1c49e by cwq0219

客户列表

1 parent 26b6bc05
...@@ -69,11 +69,13 @@ ...@@ -69,11 +69,13 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span <!-- <span
class="red" class="red"
v-if="customerStatusObj[1].includes(scope.row.status)" v-if="customerStatusObj[1].includes(scope.row.status)"
>未完成</span> >未完成</span>
<span v-else>已完成</span> <span v-else>已完成</span> -->
<span>{{baseData.customerStatusList.find(item => item.confId == scope.row.status).confLabel}}</span>
<!-- <span>{{scope.row.status}}</span> -->
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -236,10 +238,10 @@ export default { ...@@ -236,10 +238,10 @@ export default {
tableData: [], tableData: [],
// 搜索下拉框 // 搜索下拉框
// 客户状态;1-未完成;2-已完成 // 客户状态;1-未完成;2-已完成
customerStatusObj: { // customerStatusObj: {
1: [1, 3], // 1: [1, 3],
2: [2, 4, 6] // 2: [2, 4, 6]
}, // },
// 客户状态;1-系统录入;2-现场升级;5-核销抵扣 // 客户状态;1-系统录入;2-现场升级;5-核销抵扣
sourceStatusObj: { sourceStatusObj: {
1: [1, 2], 1: [1, 2],
...@@ -255,6 +257,9 @@ export default { ...@@ -255,6 +257,9 @@ export default {
}, { }, {
confId: 2, confId: 2,
confLabel: '已完成' confLabel: '已完成'
}, {
confId: 3,
confLabel: '已评价'
}], }],
upgradeList: [{ upgradeList: [{
confId: 'Y', confId: 'Y',
...@@ -309,7 +314,7 @@ export default { ...@@ -309,7 +314,7 @@ export default {
// upgradeFinishFlag: this.searchForm.upgradeFinishFlag // upgradeFinishFlag: this.searchForm.upgradeFinishFlag
} }
// this.searchForm.baseGoodsId && (params.baseGoodsCodeList = [this.searchForm.baseGoodsId]) // this.searchForm.baseGoodsId && (params.baseGoodsCodeList = [this.searchForm.baseGoodsId])
this.searchForm.customerStatus && (params.statusList = this.customerStatusObj[this.searchForm.customerStatus]) this.searchForm.customerStatus && (params.statusList = this.searchForm.customerStatus)
this.searchForm.source && (params.sourceList = this.sourceStatusObj[this.searchForm.source]) this.searchForm.source && (params.sourceList = this.sourceStatusObj[this.searchForm.source])
if (this.searchForm.successTime) { if (this.searchForm.successTime) {
params.paySuccessStartDate = new Date(this.searchForm.successTime[0]).toLocaleDateString().replace(/\//g, '-') params.paySuccessStartDate = new Date(this.searchForm.successTime[0]).toLocaleDateString().replace(/\//g, '-')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!