|
@@ -4,8 +4,7 @@
|
4
|
4
|
<div class="flex-align-center">
|
5
|
5
|
<date-picker title="自定义" :quickFlag='true' :afferent_time="default_time" :clearFlag='false'
|
6
|
6
|
@changeTime="changeTime"></date-picker>
|
7
|
|
- <self-channel title="剧集" type='dramaList' @channelDefine="(val) => { playlet_id = val; init(1) }">
|
8
|
|
- </self-channel>
|
|
7
|
+ <self-channel title="公众号" type='thePublic' @channelDefine="(val) => { account_id = val; init(1) }"></self-channel>
|
9
|
8
|
</div>
|
10
|
9
|
<el-button type="primary" size="mini" @click="init(1, 'export')">导出Excel</el-button>
|
11
|
10
|
</div>
|
|
@@ -218,7 +217,6 @@ export default {
|
218
|
217
|
dataInfo: {},
|
219
|
218
|
default_time: [this.$getDay(-30, false), this.$getDay(0, false)],
|
220
|
219
|
time: [],
|
221
|
|
- playlet_id: '',
|
222
|
220
|
height: '',
|
223
|
221
|
desColDj: [
|
224
|
222
|
{ prop: "ref_date", label: "时间", fixed: 'left' },
|
|
@@ -236,6 +234,7 @@ export default {
|
236
|
234
|
{ prop: 'charge_user_cost', label: "充值用户成本", notes: '充值用户成本=当天消耗/充值人数', min_width: "160" },
|
237
|
235
|
],
|
238
|
236
|
extra: [],
|
|
237
|
+ account_id: ''
|
239
|
238
|
}
|
240
|
239
|
},
|
241
|
240
|
created () {
|
|
@@ -283,7 +282,7 @@ export default {
|
283
|
282
|
this.$axios.get(this.URL.BASEURL + this.URL.statistics_OfficialAccountData, {
|
284
|
283
|
params: {
|
285
|
284
|
// sort_field: this.sort_field,
|
286
|
|
- playlet_id: this.playlet_id,
|
|
285
|
+ account_id: this.account_id,
|
287
|
286
|
start_date: this.time[0],
|
288
|
287
|
end_date: this.time[1],
|
289
|
288
|
page: type == 'export' ? 1 : this.page,
|