Commit 2c0d25e6 by chenweisong

营销模块改bug

parent 18ef6b4b
...@@ -952,10 +952,7 @@ ...@@ -952,10 +952,7 @@
} }
, ,
async created() { 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; let origin = this.$route.query.origin;
if (origin && origin === "p0") { if (origin && origin === "p0") {
this.public = false; this.public = false;
...@@ -969,16 +966,16 @@ ...@@ -969,16 +966,16 @@
phone: this.$route.query.phone, // "13873110056", phone: this.$route.query.phone, // "13873110056",
pid: this.$route.query.pid, // 0, 上级id pid: this.$route.query.pid, // 0, 上级id
username: this.$route.query.username 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 { } else {
this.public = true; this.public = true;
await this.isInRiseList(); await this.isInRiseList();
this.isExistedCollect(); 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.fetchCategory();
await this.fetch(); await this.fetch();
await this.getData(); await this.getData();
......
...@@ -952,10 +952,7 @@ ...@@ -952,10 +952,7 @@
} }
, ,
async created() { 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; let origin = this.$route.query.origin;
if (origin && origin === "p0") { if (origin && origin === "p0") {
this.public = false; this.public = false;
...@@ -969,16 +966,16 @@ ...@@ -969,16 +966,16 @@
phone: this.$route.query.phone, // "13873110056", phone: this.$route.query.phone, // "13873110056",
pid: this.$route.query.pid, // 0, 上级id pid: this.$route.query.pid, // 0, 上级id
username: this.$route.query.username 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 { } else {
this.public = true; this.public = true;
await this.isInRiseList(); await this.isInRiseList();
this.isExistedCollect(); 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.fetchCategory();
await this.fetch(); await this.fetch();
await this.getData(); 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