|
@@ -97,7 +97,6 @@ export default { |
|
@@ -97,7 +97,6 @@ export default { |
|
97
|
// 给到 card 的筛选值
|
97
|
// 给到 card 的筛选值
|
|
98
|
query: {
|
98
|
query: {
|
|
99
|
status: '',
|
99
|
status: '',
|
|
100
|
- companySuggestedCategory: '',
|
|
|
|
101
|
dateRange: []
|
100
|
dateRange: []
|
|
102
|
},
|
101
|
},
|
|
103
|
extraParams: {},
|
102
|
extraParams: {},
|
|
@@ -110,7 +109,6 @@ export default { |
|
@@ -110,7 +109,6 @@ export default { |
|
110
|
filterVisible: false,
|
109
|
filterVisible: false,
|
|
111
|
filterForm: {
|
110
|
filterForm: {
|
|
112
|
status: '',
|
111
|
status: '',
|
|
113
|
- companySuggestedCategory: '',
|
|
|
|
114
|
dateRange: []
|
112
|
dateRange: []
|
|
115
|
},
|
113
|
},
|
|
116
|
dicOptions: {
|
114
|
dicOptions: {
|
|
@@ -204,11 +202,6 @@ export default { |
|
@@ -204,11 +202,6 @@ export default { |
|
204
|
if ((payload.status === '' || payload.status == null) && this.filterForm.status !== '') {
|
202
|
if ((payload.status === '' || payload.status == null) && this.filterForm.status !== '') {
|
|
205
|
payload.status = this.filterForm.status
|
203
|
payload.status = this.filterForm.status
|
|
206
|
}
|
204
|
}
|
|
207
|
- if ((payload.companySuggestedCategory === '' || payload.companySuggestedCategory == null) && this
|
|
|
|
208
|
- .filterForm
|
|
|
|
209
|
- .companySuggestedCategory !== '') {
|
|
|
|
210
|
- payload.companySuggestedCategory = this.filterForm.companySuggestedCategory
|
|
|
|
211
|
- }
|
|
|
|
212
|
this.query = {
|
205
|
this.query = {
|
|
213
|
...payload
|
206
|
...payload
|
|
214
|
}
|
207
|
}
|
|
@@ -219,11 +212,6 @@ export default { |
|
@@ -219,11 +212,6 @@ export default { |
|
219
|
(e && e.value !== undefined ? e.value : '')
|
212
|
(e && e.value !== undefined ? e.value : '')
|
|
220
|
this.filterForm.status = raw
|
213
|
this.filterForm.status = raw
|
|
221
|
},
|
214
|
},
|
|
222
|
- onCategoryChange(e) {
|
|
|
|
223
|
- const raw = e && e.detail && e.detail.value !== undefined ? e.detail.value : (e && e.value !== undefined ?
|
|
|
|
224
|
- e.value : '')
|
|
|
|
225
|
- this.filterForm.companySuggestedCategory = raw
|
|
|
|
226
|
- },
|
|
|
|
227
|
|
215
|
|
|
228
|
// 列表接口(真实请求)
|
216
|
// 列表接口(真实请求)
|
|
229
|
fetchList({
|
217
|
fetchList({
|