Commit 46f1c49e by cwq0219

客户列表

1 parent 26b6bc05
......@@ -69,11 +69,13 @@
align="center"
>
<template slot-scope="scope">
<span
<!-- <span
class="red"
v-if="customerStatusObj[1].includes(scope.row.status)"
>未完成</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>
</el-table-column>
<el-table-column
......@@ -236,10 +238,10 @@ export default {
tableData: [],
// 搜索下拉框
// 客户状态;1-未完成;2-已完成
customerStatusObj: {
1: [1, 3],
2: [2, 4, 6]
},
// customerStatusObj: {
// 1: [1, 3],
// 2: [2, 4, 6]
// },
// 客户状态;1-系统录入;2-现场升级;5-核销抵扣
sourceStatusObj: {
1: [1, 2],
......@@ -255,6 +257,9 @@ export default {
}, {
confId: 2,
confLabel: '已完成'
}, {
confId: 3,
confLabel: '已评价'
}],
upgradeList: [{
confId: 'Y',
......@@ -309,7 +314,7 @@ export default {
// upgradeFinishFlag: this.searchForm.upgradeFinishFlag
}
// 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])
if (this.searchForm.successTime) {
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!