faefdea0 by 杨威
2 parents ead93d36 0ee38f90
......@@ -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>
......