8b168ca3 by zhaoqian

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

1 parent c8965602
...@@ -441,6 +441,10 @@ ...@@ -441,6 +441,10 @@
441 type: String, 441 type: String,
442 default: "1", 442 default: "1",
443 }, 443 },
444 lpbParent:{
445 type: String,
446 default: "",
447 },
444 }, 448 },
445 data () { 449 data () {
446 return { 450 return {
...@@ -588,6 +592,9 @@ ...@@ -588,6 +592,9 @@
588 registerCall(data).then(res=>{ 592 registerCall(data).then(res=>{
589 if (res.success) { 593 if (res.success) {
590 this.$message.success("登记成功") 594 this.$message.success("登记成功")
595 if(this.lpbParent === 'isLpb'){
596 this.$parent.$parent.loadingData(this.form.zrzbsm,this.form.scyclx);
597 }
591 this.getTreeByBsm(this.$store.state.zdbsm,'h','0,1,2') 598 this.getTreeByBsm(this.$store.state.zdbsm,'h','0,1,2')
592 } 599 }
593 }) 600 })
...@@ -900,6 +907,7 @@ ...@@ -900,6 +907,7 @@
900 updateQjH(this.form).then((res)=>{ 907 updateQjH(this.form).then((res)=>{
901 if(res.code===200){ 908 if(res.code===200){
902 this.$message.success("保存成功!") 909 this.$message.success("保存成功!")
910 console.log(this,"this")
903 }else { 911 }else {
904 this.$message.warning(res.message) 912 this.$message.warning(res.message)
905 } 913 }
...@@ -923,6 +931,10 @@ ...@@ -923,6 +931,10 @@
923 submit(data).then((res)=>{ 931 submit(data).then((res)=>{
924 if(res.code===200){ 932 if(res.code===200){
925 this.$message.success("提交完成!"); 933 this.$message.success("提交完成!");
934 console.log(this.lpbParent,"this.lpbparent")
935 if(this.lpbParent === 'isLpb'){
936 this.$parent.$parent.loadingData(this.form.zrzbsm,this.form.scyclx);
937 }
926 }else { 938 }else {
927 this.$message.warning(res.message) 939 this.$message.warning(res.message)
928 } 940 }
......
...@@ -377,7 +377,7 @@ ...@@ -377,7 +377,7 @@
377 ></move-h> 377 ></move-h>
378 <!-- 双击户的弹出框 --> 378 <!-- 双击户的弹出框 -->
379 <el-dialog v-dialogDrag :close-on-click-modal="false" title="户编辑" class="hbjDialog" :visible.sync="hbjVisible" width="80%" > 379 <el-dialog v-dialogDrag :close-on-click-modal="false" title="户编辑" class="hbjDialog" :visible.sync="hbjVisible" width="80%" >
380 <hbj ref="hbj" :bsm="hbsm" :scyclx="scyclx"></hbj> 380 <hbj ref="hbj" :bsm="hbsm" :scyclx="scyclx" :lpbParent="lpbParent"></hbj>
381 </el-dialog> 381 </el-dialog>
382 <!-- 户重新落宗 --> 382 <!-- 户重新落宗 -->
383 <h-cxlz 383 <h-cxlz
......