0ee38f90 by zhaoqian

构筑物添加

1 parent 8150e0cf
......@@ -192,8 +192,8 @@
}
})
},
getGzwDetailInfo(){
getQjGzwDetailInfo(this.bsm).then((res)=>{
getGzwDetailInfo(data){
getQjGzwDetailInfo(data).then((res)=>{
if(res.code === 200){
this.form.xmmc = res.result.xmmc;
this.form.zl = res.result.zl;
......@@ -240,7 +240,18 @@
this.bsm = this.$route.query.bsm;
},
mounted() {
this.getGzwDetailInfo();
this.getGzwDetailInfo(this.bsm);
},
computed: {
gzwbsm() {
return this.$route.query.bsm;
},
},
watch:{
gzwbsm:function (val) {
this.getGzwDetailInfo(val)
this.reload()
},
}
}
</script>
......