Commit 27397e1e authored by 黄奎's avatar 黄奎

页面修改

parent 29136168
......@@ -272,12 +272,15 @@
sl: "",
tl: "",
ful: ""
}
},
RB_Group_Id:0,
};
},
mounted() {
this.$root.$emit("change-head-style", 2);
document.addEventListener("click", this.clickHandler);
var jObj = JSON.parse(localStorage.getItem('groupinfo'));
this.RB_Group_Id = jObj.GroupId;
if (localStorage.baseifo) {
var jObj = JSON.parse(localStorage.baseifo);
this.areas = jObj.AreaList;
......@@ -288,13 +291,14 @@
beforeDestroy() {
document.removeEventListener("click", this.clickHandler);
},
computed: {
},
computed: {},
methods: {
//获取地区数据
getAera() {
this.apipost(
"ws_get_GetSearchArea", {},
"ws_get_GetSearchArea", {
RB_Group_Id: this.RB_Group_Id
},
res => {
if (res.data.resultCode == 1) {
if (res.data.data) {
......@@ -358,7 +362,7 @@
timeout: 3000
});
}
this.CommonJump('/Search',{})
this.CommonJump('/Search', {})
}
}
};
......
......@@ -272,12 +272,15 @@
sl: "",
tl: "",
ful: ""
}
},
RB_Group_Id:0,
};
},
mounted() {
this.$root.$emit("change-head-style", 2);
document.addEventListener("click", this.clickHandler);
var jObj = JSON.parse(localStorage.getItem('groupinfo'));
this.RB_Group_Id = jObj.GroupId;
if (localStorage.baseifo) {
var jObj = JSON.parse(localStorage.baseifo);
this.areas = jObj.AreaList;
......@@ -295,7 +298,9 @@
//获取地区数据
getAera() {
this.apipost(
"ws_get_GetSearchArea", {},
"ws_get_GetSearchArea", {
RB_Group_Id: this.RB_Group_Id
},
res => {
if (res.data.resultCode == 1) {
if (res.data.data) {
......@@ -359,7 +364,7 @@
timeout: 3000
});
}
this.CommonJump('/Search',{})
this.CommonJump('/Search', {})
}
}
};
......
......@@ -272,18 +272,24 @@
sl: "",
tl: "",
ful: ""
}
},
RB_Group_Id:0,
};
},
mounted() {
this.$root.$emit("change-head-style", 2);
document.addEventListener("click", this.clickHandler);
var jObj = JSON.parse(localStorage.getItem('groupinfo'));
this.RB_Group_Id = jObj.GroupId;
if (localStorage.baseifo) {
var jObj = JSON.parse(localStorage.baseifo);
this.areas = jObj.AreaList;
} else {
this.getAera()
}
},
beforeDestroy() {
document.removeEventListener("click", this.clickHandler);
......@@ -295,7 +301,9 @@
//获取地区数据
getAera() {
this.apipost(
"ws_get_GetSearchArea", {},
"ws_get_GetSearchArea", {
RB_Group_Id:this.RB_Group_Id
},
res => {
if (res.data.resultCode == 1) {
if (res.data.data) {
......@@ -359,7 +367,7 @@
timeout: 3000
});
}
this.CommonJump('/Search',{})
this.CommonJump('/Search', {})
}
}
};
......
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