4531e7ae by zhaoqian

自然幢信息

1 parent fee75fa9
...@@ -194,10 +194,16 @@ export default { ...@@ -194,10 +194,16 @@ export default {
194 if (newPath == "/zd") { 194 if (newPath == "/zd") {
195 this.getRightTree(this.$store.state.zdbsm); 195 this.getRightTree(this.$store.state.zdbsm);
196 } 196 }
197 if (newPath == "/zrz") {
198 this.getRightTree(this.$store.state.zdbsm);
199 }
197 }, 200 },
198 "$store.state.zdbsm": function(bsm) { 201 "$store.state.zdbsm": function(bsm) {
199 this.getRightTree(bsm); 202 this.getRightTree(bsm);
200 }, 203 },
204 "$store.state.zrzbsm": function(bsm) {
205 this.getRightTree(bsm);
206 },
201 }, 207 },
202 created() { 208 created() {
203 if (this.$route.meta) { 209 if (this.$route.meta) {
......
...@@ -484,7 +484,7 @@ ...@@ -484,7 +484,7 @@
484 // this.form.zdbsm=this.$store.zdbsm; 484 // this.form.zdbsm=this.$store.zdbsm;
485 // this.form.xmmc=this.$store.xmmc; 485 // this.form.xmmc=this.$store.xmmc;
486 this.form.zrzbsm=this.$route.query.bsm; 486 this.form.zrzbsm=this.$route.query.bsm;
487 this.getZddm(this.$store.zdbsm); 487 this.getZddm(this.$store.state.zdbsm);
488 this.getZrzDetailByBsm(this.$route.query.bsm) 488 this.getZrzDetailByBsm(this.$route.query.bsm)
489 }else { 489 }else {
490 this.bsm=this.$route.query.bsm; 490 this.bsm=this.$route.query.bsm;
......