c34224b9 by zhaoqian

Merge remote-tracking branch 'origin/master'

2 parents c8810a1b daa7fe4f
......@@ -134,7 +134,7 @@ export default {
ljzbsm: "",
zdybsm: "",
zrzbsm: "",
scyclx: "0",
scyclx: this.scyclx,
qsc: "",
jsc: "",
hs: "",
......@@ -169,7 +169,7 @@ export default {
immediate: true,
deep: true,
},
dialogVisible:{
scyclx:{
handler(n){
this.$nextTick(()=>{
this.formData.scyclx = this.scyclx;
......
......@@ -411,7 +411,11 @@
Qlxz,
},
props:{
bsm:String //户标识码
bsm:String, //户标识码
scyclx:{
type: String,
default: "1",
},
},
data () {
return {
......@@ -792,6 +796,15 @@
this.form.bdcdyh=res.result;
})
},
},
watch: {
scyclx:{
handler(n){
this.$nextTick(()=>{
this.form.scyclx = this.scyclx;
})
}
}
}
}
</script>
......
......@@ -249,7 +249,7 @@
></h-cxlz>
<!-- 双击户的弹出框 -->
<el-dialog title="户编辑" class="hbjDialog" :visible.sync="hbjVisible" width="70%" center>
<hbj ref="hbj" :bsm="hbsm"></hbj>
<hbj ref="hbj" :bsm="hbsm" :scyclx="scyclx"></hbj>
<div class="btnGroup">
<el-button type="primary" @click="hbjSaveInfo">保存</el-button>
<el-button type="primary" @click="hbjResetInfo">重置</el-button>
......@@ -573,7 +573,7 @@ export default {
plScYcChange() {
let data = {
zrzbsm: this.$store.state.zrzbsm,
scyclx: "0",
scyclx: this.scyclx,
};
batchScYcChange(data).then((res) => {
if (res.code === 200) {
......@@ -607,7 +607,7 @@ export default {
getDyztBsmList() {
let data = {
zrzbsm: this.$store.state.zrzbsm,
scyclx: "0",
scyclx: this.scyclx,
};
getLpbTj(data).then((res) => {
if (res.code === 200) {
......@@ -664,7 +664,7 @@ export default {
getLpbFwytAndQlxz(){
let data = {
zrzbsm: this.$store.state.zrzbsm,
scyclx: "0",
scyclx: this.scyclx,
};
getLpbFwytAndQlxz(data).then((res) => {
if (res.code === 200) {
......
......@@ -241,7 +241,12 @@ export default {
highest = 0;
}
} else {
// this.zdyWidth = 124;
//有且仅有独立层户
if(this.$refs.hBsm != undefined){
this.$refs.hBsm.forEach((item) => {
this.zdyWidth += item.offsetWidth + 21;
});
}
}
//计算逻辑幢下的幢单元和层户的高度
......