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

页面修改

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