|
@@ -14,6 +14,10 @@
|
14
|
14
|
<div class="name">渠道编号:</div>
|
15
|
15
|
<el-input placeholder="请输入渠道编号" style="width:250px" v-model.trim="channel" size="small" clearable></el-input>
|
16
|
16
|
</div>
|
|
17
|
+ <div class="itemBox" style="margin-top: 20px;">
|
|
18
|
+ <div class="name">临时统计:</div>
|
|
19
|
+ <el-switch v-model="is_provisional_stat" :active-value="1" :inactive-value="0" />
|
|
20
|
+ </div>
|
17
|
21
|
</div>
|
18
|
22
|
<div slot="footer" class="dialog-footer">
|
19
|
23
|
<el-button size="mini" @click="$emit('returnReportRule')">取 消</el-button>
|
|
@@ -35,7 +39,8 @@ export default {
|
35
|
39
|
time: [],
|
36
|
40
|
loading: false,
|
37
|
41
|
user_action_set_id: '',
|
38
|
|
- channel: ''
|
|
42
|
+ channel: '',
|
|
43
|
+ is_provisional_stat: 0,
|
39
|
44
|
}
|
40
|
45
|
},
|
41
|
46
|
created () {
|
|
@@ -43,6 +48,7 @@ export default {
|
43
|
48
|
this.corpid = this.editData.corp_id ? this.editData.corp_id : '';
|
44
|
49
|
this.user_action_set_id = this.editData.user_action_set_id ? this.editData.user_action_set_id : '';
|
45
|
50
|
this.channel = this.editData.channel ? this.editData.channel : '';
|
|
51
|
+ this.is_provisional_stat = (this.editData.is_provisional_stat || this.editData.is_provisional_stat === 0) ? this.editData.is_provisional_stat : 0;
|
46
|
52
|
}
|
47
|
53
|
},
|
48
|
54
|
methods: {
|
|
@@ -67,7 +73,8 @@ export default {
|
67
|
73
|
user_action_set_id: this.user_action_set_id,
|
68
|
74
|
corpid: this.corpid,
|
69
|
75
|
app_id: this.editData.wechat_account_id,
|
70
|
|
- channel: this.channel
|
|
76
|
+ channel: this.channel,
|
|
77
|
+ is_provisional_stat: this.is_provisional_stat,
|
71
|
78
|
}
|
72
|
79
|
this.$axios.post(this.URL.BASEURL + axios_api, params).then((res) => {
|
73
|
80
|
var res = res.data
|