67dd7292 by 杨威

添加层户的syclx监听楼盘表实预测类型的切换

1 parent a94d69a2
......@@ -53,6 +53,10 @@ export default {
type: Boolean,
default: false,
},
scyclx:{
type: String,
default: "1",
},
},
data() {
return {
......@@ -67,7 +71,7 @@ export default {
zdymc:"",
zdybsm: "",
zrzbsm: "",
scyclx: "0",
scyclx: "1",
qsc: "",
jsc: "",
hs: "",
......@@ -165,6 +169,13 @@ export default {
immediate: true,
deep: true,
},
dialogVisible:{
handler(n){
this.$nextTick(()=>{
this.formData.scyclx = this.scyclx;
})
}
}
},
};
</script>
......
......@@ -224,6 +224,7 @@
<div class="addCh" v-show="menuType == 'ch'">
<addCh
ref="ch"
:scyclx="scyclx"
:dialogVisible="dialogVisible"
:treeData="treeData"
></addCh>
......