|
@@ -323,11 +323,14 @@ export default {
|
|
|
date: [new Date(Date.now() - 604800000), new Date(Date.now() - 86400000)]
|
|
|
};
|
|
|
this.onSubmit();
|
|
|
- this.getUser();
|
|
|
},
|
|
|
computed: {},
|
|
|
methods: {
|
|
|
getUser() {
|
|
|
+ let app = this.form.app;
|
|
|
+ if (!app) return;
|
|
|
+ if (this.form.client == 888) app = '起点新闻';
|
|
|
+ if (this.form.client == 999) app = '起点新闻极速版';
|
|
|
getUserTotal({ app: this.form.app }).then(r => {
|
|
|
this.userTotalList = (r || []).map(v => {
|
|
|
return {
|
|
@@ -377,6 +380,7 @@ export default {
|
|
|
version: this.form.version == -1 ? undefined : this.form.version,
|
|
|
lib: this.form.client == -1 ? undefined : this.form.client
|
|
|
};
|
|
|
+ this.getUser();
|
|
|
getHistory(this.lastParams)
|
|
|
.then(r => {
|
|
|
if (!this.$refs.realLineChart) return;
|
|
@@ -683,7 +687,7 @@ export default {
|
|
|
},
|
|
|
true
|
|
|
);
|
|
|
- this.form.client = this.client[1].value
|
|
|
+ this.form.client = this.client[1].value;
|
|
|
// 如果应用选择西部网则渠道默认全部
|
|
|
this.form.app === '西部网' && (this.form.client = -1);
|
|
|
this.getUser();
|