8b168ca3 by zhaoqian

户编辑提交刷新楼盘表信息

1 parent c8965602
......@@ -441,6 +441,10 @@
type: String,
default: "1",
},
lpbParent:{
type: String,
default: "",
},
},
data () {
return {
......@@ -588,6 +592,9 @@
registerCall(data).then(res=>{
if (res.success) {
this.$message.success("登记成功")
if(this.lpbParent === 'isLpb'){
this.$parent.$parent.loadingData(this.form.zrzbsm,this.form.scyclx);
}
this.getTreeByBsm(this.$store.state.zdbsm,'h','0,1,2')
}
})
......@@ -900,6 +907,7 @@
updateQjH(this.form).then((res)=>{
if(res.code===200){
this.$message.success("保存成功!")
console.log(this,"this")
}else {
this.$message.warning(res.message)
}
......@@ -923,6 +931,10 @@
submit(data).then((res)=>{
if(res.code===200){
this.$message.success("提交完成!");
console.log(this.lpbParent,"this.lpbparent")
if(this.lpbParent === 'isLpb'){
this.$parent.$parent.loadingData(this.form.zrzbsm,this.form.scyclx);
}
}else {
this.$message.warning(res.message)
}
......
......@@ -377,7 +377,7 @@
></move-h>
<!-- 双击户的弹出框 -->
<el-dialog v-dialogDrag :close-on-click-modal="false" title="户编辑" class="hbjDialog" :visible.sync="hbjVisible" width="80%" >
<hbj ref="hbj" :bsm="hbsm" :scyclx="scyclx"></hbj>
<hbj ref="hbj" :bsm="hbsm" :scyclx="scyclx" :lpbParent="lpbParent"></hbj>
</el-dialog>
<!-- 户重新落宗 -->
<h-cxlz
......