宗地分割成功后查询分割后的宗地信息目录树
Showing
2 changed files
with
9 additions
and
4 deletions
... | @@ -153,7 +153,12 @@ export default { | ... | @@ -153,7 +153,12 @@ export default { |
153 | } | 153 | } |
154 | }); | 154 | }); |
155 | if (newPath == "/zd") { | 155 | if (newPath == "/zd") { |
156 | //source为3时代表时分割后的宗地信息 | ||
157 | if(this.$route.query.source == '3'){ | ||
158 | this.getTreeByS(this.$store.state.zdbsms); | ||
159 | }else{ | ||
156 | this.getRightTree(this.$store.state.zdbsm); | 160 | this.getRightTree(this.$store.state.zdbsm); |
161 | } | ||
157 | }else if (newPath == "/zrz") { | 162 | }else if (newPath == "/zrz") { |
158 | this.getRightTreeByZrzbsm(this.$store.state.zrzbsm); | 163 | this.getRightTreeByZrzbsm(this.$store.state.zrzbsm); |
159 | }else if(newPath == "/dz"){ | 164 | }else if(newPath == "/dz"){ |
... | @@ -172,9 +177,9 @@ export default { | ... | @@ -172,9 +177,9 @@ export default { |
172 | "$store.state.zdbsm": function(bsm) { | 177 | "$store.state.zdbsm": function(bsm) { |
173 | this.getRightTree(bsm); | 178 | this.getRightTree(bsm); |
174 | }, | 179 | }, |
175 | "$store.state.zdbsms":function (zdbsms) { | 180 | // "$store.state.zdbsms":function (zdbsms) { |
176 | this.getTreeByS(zdbsms) | 181 | // this.getTreeByS(zdbsms) |
177 | } | 182 | // } |
178 | }, | 183 | }, |
179 | mounted(){ | 184 | mounted(){ |
180 | 185 | ... | ... |
-
Please register or sign in to post a comment