构筑物添加
Showing
1 changed file
with
14 additions
and
3 deletions
... | @@ -192,8 +192,8 @@ | ... | @@ -192,8 +192,8 @@ |
192 | } | 192 | } |
193 | }) | 193 | }) |
194 | }, | 194 | }, |
195 | getGzwDetailInfo(){ | 195 | getGzwDetailInfo(data){ |
196 | getQjGzwDetailInfo(this.bsm).then((res)=>{ | 196 | getQjGzwDetailInfo(data).then((res)=>{ |
197 | if(res.code === 200){ | 197 | if(res.code === 200){ |
198 | this.form.xmmc = res.result.xmmc; | 198 | this.form.xmmc = res.result.xmmc; |
199 | this.form.zl = res.result.zl; | 199 | this.form.zl = res.result.zl; |
... | @@ -240,7 +240,18 @@ | ... | @@ -240,7 +240,18 @@ |
240 | this.bsm = this.$route.query.bsm; | 240 | this.bsm = this.$route.query.bsm; |
241 | }, | 241 | }, |
242 | mounted() { | 242 | mounted() { |
243 | this.getGzwDetailInfo(); | 243 | this.getGzwDetailInfo(this.bsm); |
244 | }, | ||
245 | computed: { | ||
246 | gzwbsm() { | ||
247 | return this.$route.query.bsm; | ||
248 | }, | ||
249 | }, | ||
250 | watch:{ | ||
251 | gzwbsm:function (val) { | ||
252 | this.getGzwDetailInfo(val) | ||
253 | this.reload() | ||
254 | }, | ||
244 | } | 255 | } |
245 | } | 256 | } |
246 | </script> | 257 | </script> | ... | ... |
-
Please register or sign in to post a comment