|
|
@@ -52,8 +52,8 @@
|
|
52
|
52
|
>导出Excel</el-button
|
|
53
|
53
|
>
|
|
54
|
54
|
</el-col>
|
|
55
|
|
- <el-col :span="10">
|
|
56
|
|
- <label style="font-size: 12px; margin-left: 62%">客户性质:</label>
|
|
|
55
|
+ <el-col :span="7">
|
|
|
56
|
+ <label style="font-size: 12px; margin-left: 43%">客户性质:</label>
|
|
57
|
57
|
<el-select
|
|
58
|
58
|
v-model="searchData.cusSign"
|
|
59
|
59
|
class="form_select"
|
|
|
@@ -71,6 +71,23 @@
|
|
71
|
71
|
/>
|
|
72
|
72
|
</el-select>
|
|
73
|
73
|
</el-col>
|
|
|
74
|
+ <el-col :span="3">
|
|
|
75
|
+ <label style="font-size: 12px">短信状态:</label>
|
|
|
76
|
+ <el-select
|
|
|
77
|
+ v-model="searchData.smsStatus"
|
|
|
78
|
+ size="mini"
|
|
|
79
|
+ style="width: 88px"
|
|
|
80
|
+ clearable
|
|
|
81
|
+ filterable
|
|
|
82
|
+ >
|
|
|
83
|
+ <el-option
|
|
|
84
|
+ v-for="item in smsStatusData"
|
|
|
85
|
+ :key="item.value"
|
|
|
86
|
+ :label="item.faxStatus"
|
|
|
87
|
+ :value="item.value"
|
|
|
88
|
+ />
|
|
|
89
|
+ </el-select>
|
|
|
90
|
+ </el-col>
|
|
74
|
91
|
<el-col :span="4" class="colorsize">
|
|
75
|
92
|
<div style="float: right; font-size: 12px">
|
|
76
|
93
|
浅绿:有经办人;浅灰:不用编号
|
|
|
@@ -300,7 +317,7 @@
|
|
300
|
317
|
label="传真号码"
|
|
301
|
318
|
align="left"
|
|
302
|
319
|
prop="qh"
|
|
303
|
|
- min-width="100"
|
|
|
320
|
+ min-width="120"
|
|
304
|
321
|
/>
|
|
305
|
322
|
|
|
306
|
323
|
<el-table-column
|
|
|
@@ -318,14 +335,14 @@
|
|
318
|
335
|
prop="cusCode"
|
|
319
|
336
|
label="客户代码"
|
|
320
|
337
|
align="left"
|
|
321
|
|
- min-width="120"
|
|
|
338
|
+ min-width="100"
|
|
322
|
339
|
/>
|
|
323
|
340
|
<el-table-column
|
|
324
|
341
|
:show-overflow-tooltip="true"
|
|
325
|
342
|
prop="companyName"
|
|
326
|
343
|
label="单位名称"
|
|
327
|
344
|
align="left"
|
|
328
|
|
- min-width="270"
|
|
|
345
|
+ min-width="250"
|
|
329
|
346
|
/>
|
|
330
|
347
|
<el-table-column
|
|
331
|
348
|
:show-overflow-tooltip="true"
|
|
|
@@ -339,7 +356,7 @@
|
|
339
|
356
|
:show-overflow-tooltip="true"
|
|
340
|
357
|
label="付款方式"
|
|
341
|
358
|
align="left"
|
|
342
|
|
- min-width="140"
|
|
|
359
|
+ min-width="138"
|
|
343
|
360
|
>
|
|
344
|
361
|
<template slot-scope="scope">
|
|
345
|
362
|
{{ scope.row.payment | CusCcFilter }}
|
|
|
@@ -417,7 +434,7 @@
|
|
417
|
434
|
:show-overflow-tooltip="true"
|
|
418
|
435
|
label="备注"
|
|
419
|
436
|
align="left"
|
|
420
|
|
- min-width="58"
|
|
|
437
|
+ min-width="80"
|
|
421
|
438
|
>
|
|
422
|
439
|
<template slot-scope="scope">
|
|
423
|
440
|
{{ scope.row.remark }}
|
|
|
@@ -473,6 +490,13 @@ export default {
|
|
473
|
490
|
}
|
|
474
|
491
|
return statusMap[status]
|
|
475
|
492
|
},
|
|
|
493
|
+ faxSmsStatusFilter(status) {
|
|
|
494
|
+ const statusMap = {
|
|
|
495
|
+ 1: '已发送',
|
|
|
496
|
+ 0: '未发送'
|
|
|
497
|
+ }
|
|
|
498
|
+ return statusMap[status]
|
|
|
499
|
+ },
|
|
476
|
500
|
isCloseFilter(status) {
|
|
477
|
501
|
const statusMap = {
|
|
478
|
502
|
1: '关闭',
|
|
|
@@ -579,6 +603,16 @@ export default {
|
|
579
|
603
|
autoWidth: true,
|
|
580
|
604
|
bookType: 'xlsx',
|
|
581
|
605
|
sale: '',
|
|
|
606
|
+ smsStatusData: [
|
|
|
607
|
+ {
|
|
|
608
|
+ value: '1',
|
|
|
609
|
+ faxStatus: '已发送'
|
|
|
610
|
+ },
|
|
|
611
|
+ {
|
|
|
612
|
+ value: '0',
|
|
|
613
|
+ faxStatus: '未发送'
|
|
|
614
|
+ }
|
|
|
615
|
+ ], // 下拉框
|
|
582
|
616
|
signList: [
|
|
583
|
617
|
{
|
|
584
|
618
|
value: '1',
|
|
|
@@ -753,6 +787,7 @@ export default {
|
|
753
|
787
|
cusSign: this.searchData.cusSign, // 客户类型
|
|
754
|
788
|
faxNumber: this.searchData.faxNumber, // 传真编号
|
|
755
|
789
|
faxPhone: this.searchData.faxPhone, // 传真号码
|
|
|
790
|
+ smsStatus:this.searchData.smsStatus, // 短信状态
|
|
756
|
791
|
faxStatus: this.searchData.faxStatus, // 传真状态
|
|
757
|
792
|
companyName: this.searchData.companyName, // 单位名称
|
|
758
|
793
|
cusCode: this.searchData.cusCode, // 客户代码
|
|
|
@@ -834,6 +869,7 @@ export default {
|
|
834
|
869
|
cusSign: this.searchData.cusSign, // 客户类型
|
|
835
|
870
|
faxNumber: this.searchData.faxNumber, // 传真编号
|
|
836
|
871
|
faxPhone: this.searchData.faxPhone, // 传真号码
|
|
|
872
|
+ smsStatus: this.searchData.smsStatus,
|
|
837
|
873
|
faxStatus: this.searchData.faxStatus, // 传真状态
|
|
838
|
874
|
companyName: this.searchData.companyName, // 单位名称
|
|
839
|
875
|
cusCode: this.searchData.cusCode, // 客户代码
|
|
|
@@ -972,6 +1008,7 @@ export default {
|
|
972
|
1008
|
'销售经理',
|
|
973
|
1009
|
'要求完成日期',
|
|
974
|
1010
|
'闭环日期',
|
|
|
1011
|
+ '短信状态',
|
|
975
|
1012
|
'是否关闭',
|
|
976
|
1013
|
'是否发起',
|
|
977
|
1014
|
'备注'
|
|
|
@@ -989,6 +1026,7 @@ export default {
|
|
989
|
1026
|
'saleManager',
|
|
990
|
1027
|
'requiredCompletionTime',
|
|
991
|
1028
|
'completionTime',
|
|
|
1029
|
+ 'sendSMS',
|
|
992
|
1030
|
'isClose',
|
|
993
|
1031
|
'isInitiate',
|
|
994
|
1032
|
'remark'
|
|
|
@@ -1061,17 +1099,9 @@ export default {
|
|
1061
|
1099
|
return this.faxStatusFilter(v[j])
|
|
1062
|
1100
|
} else if (j == 'faxStatus' && v[j] === '3') {
|
|
1063
|
1101
|
return this.faxStatusFilter(v[j])
|
|
1064
|
|
- } else if (j == 'faxStatus' && v[j] === '4') {
|
|
1065
|
|
- return this.CusCcFilter(v[j])
|
|
1066
|
|
- } else if (j == 'payment' && v[j] === 'A') {
|
|
1067
|
|
- return this.CusCcFilter(v[j])
|
|
1068
|
|
- } else if (j == 'payment' && v[j] === 'B') {
|
|
1069
|
|
- return this.CusCcFilter(v[j])
|
|
1070
|
|
- } else if (j == 'payment' && v[j] === 'C') {
|
|
1071
|
|
- return this.CusCcFilter(v[j])
|
|
1072
|
|
- } else if (j == 'payment' && v[j] === 'D') {
|
|
1073
|
|
- return this.CusCcFilter(v[j])
|
|
1074
|
|
- } else if (j == 'payment' && v[j] === 'E') {
|
|
|
1102
|
+ } else if (j == 'sendSMS') {
|
|
|
1103
|
+ return this.faxSmsStatusFilter(v[j])
|
|
|
1104
|
+ } else if (j == 'payment' && v[j]) {
|
|
1075
|
1105
|
return this.CusCcFilter(v[j])
|
|
1076
|
1106
|
} else if (j == 'cusSign' && v[j] === '101') {
|
|
1077
|
1107
|
return this.cusSignFilter(v[j])
|
|
|
@@ -1103,6 +1133,13 @@ export default {
|
|
1103
|
1133
|
}
|
|
1104
|
1134
|
return statusMap[status]
|
|
1105
|
1135
|
},
|
|
|
1136
|
+ faxSmsStatusFilter(status) {
|
|
|
1137
|
+ const statusMap = {
|
|
|
1138
|
+ '1': '已发送',
|
|
|
1139
|
+ '0': '未发送'
|
|
|
1140
|
+ }
|
|
|
1141
|
+ return statusMap[status]
|
|
|
1142
|
+ },
|
|
1106
|
1143
|
cusSignFilter(status) {
|
|
1107
|
1144
|
const statusMap = {
|
|
1108
|
1145
|
101: '军品业务',
|
|
|
@@ -1198,6 +1235,7 @@ export default {
|
|
1198
|
1235
|
this.searchData.cusSign = '' // 客户类型
|
|
1199
|
1236
|
this.searchData.faxNumber = '' // 传真编号
|
|
1200
|
1237
|
this.searchData.faxPhone = '' // 传真号码
|
|
|
1238
|
+ this.searchData.smsStatus = ''
|
|
1201
|
1239
|
this.searchData.faxStatus = '' // 传真状态
|
|
1202
|
1240
|
this.searchData.companyName = '' // 单位名称
|
|
1203
|
1241
|
this.searchData.cusCode = '' // 客户代码
|