Merge remote-tracking branch 'origin/master'
Showing
5 changed files
with
26 additions
and
8 deletions
This diff is collapsed.
Click to expand it.
| ... | @@ -134,7 +134,7 @@ export default { | ... | @@ -134,7 +134,7 @@ export default { |
| 134 | ljzbsm: "", | 134 | ljzbsm: "", |
| 135 | zdybsm: "", | 135 | zdybsm: "", |
| 136 | zrzbsm: "", | 136 | zrzbsm: "", |
| 137 | scyclx: "0", | 137 | scyclx: this.scyclx, |
| 138 | qsc: "", | 138 | qsc: "", |
| 139 | jsc: "", | 139 | jsc: "", |
| 140 | hs: "", | 140 | hs: "", |
| ... | @@ -169,7 +169,7 @@ export default { | ... | @@ -169,7 +169,7 @@ export default { |
| 169 | immediate: true, | 169 | immediate: true, |
| 170 | deep: true, | 170 | deep: true, |
| 171 | }, | 171 | }, |
| 172 | dialogVisible:{ | 172 | scyclx:{ |
| 173 | handler(n){ | 173 | handler(n){ |
| 174 | this.$nextTick(()=>{ | 174 | this.$nextTick(()=>{ |
| 175 | this.formData.scyclx = this.scyclx; | 175 | this.formData.scyclx = this.scyclx; | ... | ... |
| ... | @@ -411,7 +411,11 @@ | ... | @@ -411,7 +411,11 @@ |
| 411 | Qlxz, | 411 | Qlxz, |
| 412 | }, | 412 | }, |
| 413 | props:{ | 413 | props:{ |
| 414 | bsm:String //户标识码 | 414 | bsm:String, //户标识码 |
| 415 | scyclx:{ | ||
| 416 | type: String, | ||
| 417 | default: "1", | ||
| 418 | }, | ||
| 415 | }, | 419 | }, |
| 416 | data () { | 420 | data () { |
| 417 | return { | 421 | return { |
| ... | @@ -792,6 +796,15 @@ | ... | @@ -792,6 +796,15 @@ |
| 792 | this.form.bdcdyh=res.result; | 796 | this.form.bdcdyh=res.result; |
| 793 | }) | 797 | }) |
| 794 | }, | 798 | }, |
| 799 | }, | ||
| 800 | watch: { | ||
| 801 | scyclx:{ | ||
| 802 | handler(n){ | ||
| 803 | this.$nextTick(()=>{ | ||
| 804 | this.form.scyclx = this.scyclx; | ||
| 805 | }) | ||
| 806 | } | ||
| 807 | } | ||
| 795 | } | 808 | } |
| 796 | } | 809 | } |
| 797 | </script> | 810 | </script> | ... | ... |
| ... | @@ -249,7 +249,7 @@ | ... | @@ -249,7 +249,7 @@ |
| 249 | ></h-cxlz> | 249 | ></h-cxlz> |
| 250 | <!-- 双击户的弹出框 --> | 250 | <!-- 双击户的弹出框 --> |
| 251 | <el-dialog title="户编辑" class="hbjDialog" :visible.sync="hbjVisible" width="70%" center> | 251 | <el-dialog title="户编辑" class="hbjDialog" :visible.sync="hbjVisible" width="70%" center> |
| 252 | <hbj ref="hbj" :bsm="hbsm"></hbj> | 252 | <hbj ref="hbj" :bsm="hbsm" :scyclx="scyclx"></hbj> |
| 253 | <div class="btnGroup"> | 253 | <div class="btnGroup"> |
| 254 | <el-button type="primary" @click="hbjSaveInfo">保存</el-button> | 254 | <el-button type="primary" @click="hbjSaveInfo">保存</el-button> |
| 255 | <el-button type="primary" @click="hbjResetInfo">重置</el-button> | 255 | <el-button type="primary" @click="hbjResetInfo">重置</el-button> |
| ... | @@ -573,7 +573,7 @@ export default { | ... | @@ -573,7 +573,7 @@ export default { |
| 573 | plScYcChange() { | 573 | plScYcChange() { |
| 574 | let data = { | 574 | let data = { |
| 575 | zrzbsm: this.$store.state.zrzbsm, | 575 | zrzbsm: this.$store.state.zrzbsm, |
| 576 | scyclx: "0", | 576 | scyclx: this.scyclx, |
| 577 | }; | 577 | }; |
| 578 | batchScYcChange(data).then((res) => { | 578 | batchScYcChange(data).then((res) => { |
| 579 | if (res.code === 200) { | 579 | if (res.code === 200) { |
| ... | @@ -607,7 +607,7 @@ export default { | ... | @@ -607,7 +607,7 @@ export default { |
| 607 | getDyztBsmList() { | 607 | getDyztBsmList() { |
| 608 | let data = { | 608 | let data = { |
| 609 | zrzbsm: this.$store.state.zrzbsm, | 609 | zrzbsm: this.$store.state.zrzbsm, |
| 610 | scyclx: "0", | 610 | scyclx: this.scyclx, |
| 611 | }; | 611 | }; |
| 612 | getLpbTj(data).then((res) => { | 612 | getLpbTj(data).then((res) => { |
| 613 | if (res.code === 200) { | 613 | if (res.code === 200) { |
| ... | @@ -664,7 +664,7 @@ export default { | ... | @@ -664,7 +664,7 @@ export default { |
| 664 | getLpbFwytAndQlxz(){ | 664 | getLpbFwytAndQlxz(){ |
| 665 | let data = { | 665 | let data = { |
| 666 | zrzbsm: this.$store.state.zrzbsm, | 666 | zrzbsm: this.$store.state.zrzbsm, |
| 667 | scyclx: "0", | 667 | scyclx: this.scyclx, |
| 668 | }; | 668 | }; |
| 669 | getLpbFwytAndQlxz(data).then((res) => { | 669 | getLpbFwytAndQlxz(data).then((res) => { |
| 670 | if (res.code === 200) { | 670 | if (res.code === 200) { | ... | ... |
| ... | @@ -241,7 +241,12 @@ export default { | ... | @@ -241,7 +241,12 @@ export default { |
| 241 | highest = 0; | 241 | highest = 0; |
| 242 | } | 242 | } |
| 243 | } else { | 243 | } else { |
| 244 | // this.zdyWidth = 124; | 244 | //有且仅有独立层户 |
| 245 | if(this.$refs.hBsm != undefined){ | ||
| 246 | this.$refs.hBsm.forEach((item) => { | ||
| 247 | this.zdyWidth += item.offsetWidth + 21; | ||
| 248 | }); | ||
| 249 | } | ||
| 245 | } | 250 | } |
| 246 | 251 | ||
| 247 | //计算逻辑幢下的幢单元和层户的高度 | 252 | //计算逻辑幢下的幢单元和层户的高度 | ... | ... |
-
Please register or sign in to post a comment