|
@@ -6,7 +6,10 @@
|
6
|
6
|
<selfInput style="margin-right: 10px;" width="220px" :hasLabel="false" :reset="resetFlag" label_name="订单ID" @inputChange='onInputOrderId' @onChange="onChangeOrderId" />
|
7
|
7
|
<selfChannelMultiple style="margin-right: 10px;" title="" type='adqAccount' :reset="resetFlag" :labelWidth="true" @channelDefine="onChangeAccountId" />
|
8
|
8
|
<selfInput style="margin-right: 10px;" width="220px" :hasLabel="false" :reset="resetFlag" label_name="自定义参数" @inputChange="onInputCpsId" @onChange="onChangeCpsId" />
|
9
|
|
- <!-- <selfChannel style="margin-right: 10px;" title="" type="" :reset="resetFlag" :labelWidth="true" @onChange="onChangeOrderStatus"/> -->
|
|
9
|
+ <!-- <selfChannel style="margin-right: 10px;" title="" type="yxOrderStatus" :reset="resetFlag" :labelWidth="true" @channelDefine="onChangeOrderStatus"/>
|
|
10
|
+ <selfChannelMultiple style="margin-right: 10px;" title="" type='yxOrderReportStatus' :reset="resetFlag" :labelWidth="true" @channelDefine="onChangeReportStatus" />
|
|
11
|
+ <inputRange style="margin-right: 10px;" v-model="filter.money" label="预估佣金"/>
|
|
12
|
+ <el-button size="mini" type="primary" plain @click="init(1)">确定</el-button> -->
|
10
|
13
|
</div>
|
11
|
14
|
<div class="reset" @click="resetEvent">重置</div>
|
12
|
15
|
<!-- <el-button v-if="isCanExport" class="export-btn" type="primary" size="mini" @click="onClickExport">导出Excel</el-button> -->
|
|
@@ -28,7 +31,8 @@
|
28
|
31
|
<template v-slot="{ row, $index }">
|
29
|
32
|
<div v-if="item.prop == 'actionBtn'">
|
30
|
33
|
<template>
|
31
|
|
- <span v-if="row.ad_report_order_status == '成功'" class="c-A5A5A5 pointer fWeight600 disabled">已回传</span>
|
|
34
|
+ <span v-if="row.ad_report_order_status == '成功' && row.supplement_status == 0" class="c-A5A5A5 pointer fWeight600 disabled">已回传</span>
|
|
35
|
+ <span v-else-if="row.ad_report_order_status == '成功' && row.supplement_status == 1" class="c-A5A5A5 pointer fWeight600 disabled">已补单</span>
|
32
|
36
|
<span v-else-if="row.order_status != 4 && row.predict_commission_fee > 0" class="c-00B38A pointer fWeight600" @click="onClickReport(row)">回传</span>
|
33
|
37
|
</template>
|
34
|
38
|
</div>
|
|
@@ -68,6 +72,7 @@ import selfChannel from '@/components/assembly/screen/channel.vue'
|
68
|
72
|
import selfInput from '@/components/assembly/screen/input.vue'
|
69
|
73
|
import selfChannelV2 from '@/components/assembly/screen/channelV2.vue'
|
70
|
74
|
import selfChannelMultiple from '@/components/assembly/screen/channelMultiple.vue'
|
|
75
|
+import inputRange from '@/components/dataBoard/inputRange.vue'
|
71
|
76
|
|
72
|
77
|
import { incomeSourceDesc, launchTypeDesc } from '@/assets/js/staticTypes'
|
73
|
78
|
export default {
|
|
@@ -78,6 +83,7 @@ export default {
|
78
|
83
|
selfInput,
|
79
|
84
|
selfChannelV2,
|
80
|
85
|
selfChannelMultiple,
|
|
86
|
+ inputRange,
|
81
|
87
|
},
|
82
|
88
|
data () {
|
83
|
89
|
return {
|
|
@@ -121,6 +127,7 @@ export default {
|
121
|
127
|
account_id: [], // ADQ账号
|
122
|
128
|
money: [], // 预估佣金
|
123
|
129
|
cps_id: '',// 自定义参数
|
|
130
|
+ report_status: [], // 回传状态
|
124
|
131
|
},
|
125
|
132
|
}
|
126
|
133
|
},
|
|
@@ -229,6 +236,9 @@ export default {
|
229
|
236
|
account_id: this.filter.account_id.join(','),
|
230
|
237
|
order_status: this.filter.order_status,
|
231
|
238
|
tx_cps_id: this.filter.cps_id,
|
|
239
|
+ money_min: this.filter.money[0],
|
|
240
|
+ money_max: this.filter.money[1],
|
|
241
|
+ report_status: this.filter.report_status.join(','),
|
232
|
242
|
sys_group_id: this.$cookie.getCookie('isSuperManage') == 1 ? sessionStorage.getItem('company_session_defaultCorp_level_1').toString() : '',
|
233
|
243
|
page: this.page,
|
234
|
244
|
page_size: this.page_size,
|
|
@@ -236,7 +246,7 @@ export default {
|
236
|
246
|
try {
|
237
|
247
|
const { data: res = {} } = await this.$axios.get(url, { params })
|
238
|
248
|
if (res && res.errno == 0) {
|
239
|
|
- this.datas = res.rst.data // 知道为啥datas不在 data()方法里面定义吗?嘻嘻
|
|
249
|
+ this.datas = res.rst.data
|
240
|
250
|
this.$refs.plxTable.reloadData(this.datas)
|
241
|
251
|
this.total = res.rst.pageInfo.total;
|
242
|
252
|
this.pages = res.rst.pageInfo.pages;
|
|
@@ -280,16 +290,15 @@ export default {
|
280
|
290
|
onChangeCpsId(val) {
|
281
|
291
|
this.filter.cps_id = val
|
282
|
292
|
},
|
283
|
|
- onChangePlatOrderType(val) {
|
284
|
|
- this.filter.plat_order_type = val;
|
285
|
|
- this.init(1);
|
286
|
|
- // this.init_predata()
|
287
|
|
- },
|
288
|
293
|
onChangeAccountId(val) {
|
289
|
294
|
this.filter.account_id = val;
|
290
|
295
|
this.init(1);
|
291
|
296
|
// this.init_predata();
|
292
|
297
|
},
|
|
298
|
+ onChangeReportStatus(val) {
|
|
299
|
+ this.filter.report_status = val;
|
|
300
|
+ this.init(1);
|
|
301
|
+ },
|
293
|
302
|
handleCurrentChange (val) {
|
294
|
303
|
this.init(val)
|
295
|
304
|
},
|
|
@@ -299,11 +308,12 @@ export default {
|
299
|
308
|
},
|
300
|
309
|
resetEvent () {//重置
|
301
|
310
|
this.resetFlag = !this.resetFlag
|
302
|
|
- this.system_enterprise = []
|
303
|
|
- this.enterprise = {}
|
304
|
311
|
this.filter.time = [this.$getDay(-30, false), this.$getDay(0, false)]
|
305
|
312
|
this.filter.order_id = ''
|
306
|
313
|
this.filter.account_id = []
|
|
314
|
+ this.filter.money = []
|
|
315
|
+ this.filter.order_status = ''
|
|
316
|
+ this.filter.report_status = []
|
307
|
317
|
// this.init_predata()
|
308
|
318
|
this.init(1)
|
309
|
319
|
},
|