67dd7292 by 杨威

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

1 parent a94d69a2
...@@ -53,6 +53,10 @@ export default { ...@@ -53,6 +53,10 @@ export default {
53 type: Boolean, 53 type: Boolean,
54 default: false, 54 default: false,
55 }, 55 },
56 scyclx:{
57 type: String,
58 default: "1",
59 },
56 }, 60 },
57 data() { 61 data() {
58 return { 62 return {
...@@ -67,7 +71,7 @@ export default { ...@@ -67,7 +71,7 @@ export default {
67 zdymc:"", 71 zdymc:"",
68 zdybsm: "", 72 zdybsm: "",
69 zrzbsm: "", 73 zrzbsm: "",
70 scyclx: "0", 74 scyclx: "1",
71 qsc: "", 75 qsc: "",
72 jsc: "", 76 jsc: "",
73 hs: "", 77 hs: "",
...@@ -165,6 +169,13 @@ export default { ...@@ -165,6 +169,13 @@ export default {
165 immediate: true, 169 immediate: true,
166 deep: true, 170 deep: true,
167 }, 171 },
172 dialogVisible:{
173 handler(n){
174 this.$nextTick(()=>{
175 this.formData.scyclx = this.scyclx;
176 })
177 }
178 }
168 }, 179 },
169 }; 180 };
170 </script> 181 </script>
......
...@@ -224,6 +224,7 @@ ...@@ -224,6 +224,7 @@
224 <div class="addCh" v-show="menuType == 'ch'"> 224 <div class="addCh" v-show="menuType == 'ch'">
225 <addCh 225 <addCh
226 ref="ch" 226 ref="ch"
227 :scyclx="scyclx"
227 :dialogVisible="dialogVisible" 228 :dialogVisible="dialogVisible"
228 :treeData="treeData" 229 :treeData="treeData"
229 ></addCh> 230 ></addCh>
......