Commit 2c0d25e6 by chenweisong

营销模块改bug

parent 18ef6b4b
......@@ -952,10 +952,7 @@
}
,
async created() {
this.areaId = this.userInfo.aid;
this.selectArea.level = Number(this.userInfo.level) + 1;
this.selectArea.areaId = this.userInfo.aid;
this.selectArea.selectAreaName = this.userInfo.area;
let origin = this.$route.query.origin;
if (origin && origin === "p0") {
this.public = false;
......@@ -969,16 +966,16 @@
phone: this.$route.query.phone, // "13873110056",
pid: this.$route.query.pid, // 0, 上级id
username: this.$route.query.username
}// "徐胜", 用户名 account: "", // "XUSHENG1",
this.selectArea.level = Number(this.userInfo.level) + 1;
this.selectArea.areaId = this.userInfo.aid;
this.selectArea.selectAreaName = this.userInfo.area;
this.areaId = this.userInfo.aid;
}
} else {
this.public = true;
await this.isInRiseList();
this.isExistedCollect();
}
this.areaId = this.userInfo.aid;
this.selectArea.level = Number(this.userInfo.level) + 1;
this.selectArea.areaId = this.userInfo.aid;
this.selectArea.selectAreaName = this.userInfo.area;
await this.fetchCategory();
await this.fetch();
await this.getData();
......
......@@ -952,10 +952,7 @@
}
,
async created() {
this.areaId = this.userInfo.aid;
this.selectArea.level = Number(this.userInfo.level) + 1;
this.selectArea.areaId = this.userInfo.aid;
this.selectArea.selectAreaName = this.userInfo.area;
let origin = this.$route.query.origin;
if (origin && origin === "p0") {
this.public = false;
......@@ -969,16 +966,16 @@
phone: this.$route.query.phone, // "13873110056",
pid: this.$route.query.pid, // 0, 上级id
username: this.$route.query.username
}// "徐胜", 用户名 account: "", // "XUSHENG1",
this.selectArea.level = Number(this.userInfo.level) + 1;
this.selectArea.areaId = this.userInfo.aid;
this.selectArea.selectAreaName = this.userInfo.area;
this.areaId = this.userInfo.aid;
}
} else {
this.public = true;
await this.isInRiseList();
this.isExistedCollect();
}
this.areaId = this.userInfo.aid;
this.selectArea.level = Number(this.userInfo.level) + 1;
this.selectArea.areaId = this.userInfo.aid;
this.selectArea.selectAreaName = this.userInfo.area;
await this.fetchCategory();
await this.fetch();
await this.getData();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment