|
@@ -18,7 +18,7 @@
|
18
|
18
|
<self-channel style="margin-right: 10px;" title="" type='paySource' :reset="resetFlag" :labelWidth="true"
|
19
|
19
|
@channelDefine="(val) => { filter.order_source = val; init_predata(); init(1) }"></self-channel>
|
20
|
20
|
<self-input style="margin-right: 10px;" width="220px" :hasLabel="false" :reset="resetFlag" label_name="订单ID"
|
21
|
|
- @inputChange='(val) => { filter.order_id = val; init(1) }'></self-input>
|
|
21
|
+ @inputChange='(val) => { filter.order_id = val; init(1) }' @onChange="(val) => { filter.order_id = val; }"></self-input>
|
22
|
22
|
<self-channel style="margin-right: 10px;" title="" type='thePublic' :reset="resetFlag" :labelWidth="true"
|
23
|
23
|
@channelDefine="(val) => { filter.appid = val; init(1); init_predata() }"></self-channel>
|
24
|
24
|
<self-channel style="margin-right: 10px;" title="" type='promotionType' :reset="resetFlag" :labelWidth="true"
|
|
@@ -103,6 +103,9 @@
|
103
|
103
|
<span v-if="item.prop == 'order_id'">
|
104
|
104
|
{{ row[item.prop] || row[item.prop] == 0 ? row[item.prop] : '-' }}
|
105
|
105
|
</span>
|
|
106
|
+ <span v-else-if="item.prop == 'user_id'">
|
|
107
|
+ {{ row[item.prop] || row[item.prop] == 0 ? row[item.prop] : '-' }}
|
|
108
|
+ </span>
|
106
|
109
|
<!-- 推广类型 -->
|
107
|
110
|
<!-- <span v-else-if="item.prop == 'plat_order_type'">
|
108
|
111
|
{{ getPromotionTypeDesc(row[item.prop]) }}
|
|
@@ -154,8 +157,8 @@ export default {
|
154
|
157
|
{ prop: "corp_name", label: "企微主体" },
|
155
|
158
|
{ prop: "wx_account", label: "公众号", },
|
156
|
159
|
{ prop: "user_id", label: "用户ID", min_width: 180 },
|
157
|
|
- { prop: "mp_user_register_time", label: "用户注册时间", min_width: 160 },
|
158
|
|
- { prop: "is_first", label: "是否首充", },
|
|
160
|
+ { prop: "ma_user_register_time", label: "用户注册时间", min_width: 160 },
|
|
161
|
+ { prop: "first_order_status", label: "是否首充", },
|
159
|
162
|
{ prop: "order_pay_time", label: "支付完成时间", min_width: 160 },
|
160
|
163
|
{ prop: "pay_money", label: "支付金额(元)" },
|
161
|
164
|
{ prop: "order_source", label: "订单来源", },
|
|
@@ -289,24 +292,25 @@ export default {
|
289
|
292
|
}
|
290
|
293
|
},
|
291
|
294
|
async init (page, type) {
|
292
|
|
- console.log('this.filter.corpid => ', this.filter.corpid)
|
293
|
295
|
this.page = page ? page : this.page;
|
294
|
296
|
this.loading = true
|
295
|
|
- const url = this.URL.BASEURL + this.URL.charge_list
|
|
297
|
+ const url = `${this.URL.BASEURL}${this.URL.dataBoard_orderData_orderList}`
|
296
|
298
|
const params = {
|
|
299
|
+ corpid: this.filter.corpid,
|
|
300
|
+ order_id: this.filter.order_id,
|
|
301
|
+ order_source: this.filter.order_source,
|
297
|
302
|
start_date: this.filter.time[0],
|
298
|
303
|
end_date: this.filter.time[1],
|
299
|
|
- order_source: this.filter.order_source,
|
300
|
|
- order_id: this.filter.order_id,
|
301
|
304
|
appid: this.filter.appid,
|
302
|
305
|
plat_order_type: this.filter.plat_order_type,
|
303
|
306
|
is_ad_user: this.filter.is_ad_user,
|
|
307
|
+ sys_group_id: this.$cookie.getCookie('isSuperManage') == 1 ? sessionStorage.getItem('company_session_defaultCorp_level_1').toString() : '',
|
304
|
308
|
page: this.page,
|
305
|
309
|
page_size: this.page_size,
|
306
|
310
|
}
|
307
|
311
|
console.log('init => params ', JSON.parse(JSON.stringify(params)))
|
308
|
312
|
try {
|
309
|
|
- const { data: res = {} } = await this.$axios.post(url, params)
|
|
313
|
+ const { data: res = {} } = await this.$axios.get(url, { params })
|
310
|
314
|
if (res && res.errno == 0) {
|
311
|
315
|
this.datas = res.rst.data // 知道为啥datas不在 data()方法里面定义吗?嘻嘻
|
312
|
316
|
this.$refs.plxTable.reloadData(this.datas)
|
|
@@ -367,8 +371,6 @@ export default {
|
367
|
371
|
} else {
|
368
|
372
|
this.enterpriseList = this.$store.state.authorize_corpList;
|
369
|
373
|
}
|
370
|
|
-
|
371
|
|
- console.log('enterpriseList => ', this.enterpriseList)
|
372
|
374
|
},
|
373
|
375
|
// E 企微主体数据
|
374
|
376
|
|