27087e06 by 杨威

更正业务、自然幢和宗地提交后更新树目录

1 parent 50a87cda
...@@ -179,6 +179,7 @@ ...@@ -179,6 +179,7 @@
179 updateQsztByBsm(data) 179 updateQsztByBsm(data)
180 .then((res => { 180 .then((res => {
181 if (res.code == 200) { 181 if (res.code == 200) {
182 this.$store.state.oldZdbsm = '';
182 switch (row.dylx) { 183 switch (row.dylx) {
183 case "zd": 184 case "zd":
184 this.$store.state.zdbsm = row.glbsm; 185 this.$store.state.zdbsm = row.glbsm;
......
...@@ -839,6 +839,7 @@ ...@@ -839,6 +839,7 @@
839 if (res.code === 200) { 839 if (res.code === 200) {
840 this.$message.success("提交成功!") 840 this.$message.success("提交成功!")
841 this.getZdjbxxData(this.curZdbsm); 841 this.getZdjbxxData(this.curZdbsm);
842 this.$store.state.oldZdbsm = '';
842 this.getRightTree(this.curZdbsm,'0,1,2') 843 this.getRightTree(this.curZdbsm,'0,1,2')
843 } 844 }
844 }) 845 })
......
...@@ -599,6 +599,7 @@ ...@@ -599,6 +599,7 @@
599 if(res.code===200){ 599 if(res.code===200){
600 this.$message.success("提交完成!"); 600 this.$message.success("提交完成!");
601 this.getZrzDetailByBsm(this.$route.query.bsm); 601 this.getZrzDetailByBsm(this.$route.query.bsm);
602 this.$store.state.oldZdbsm = '';
602 this.getTreeByBsm(this.$route.query.bsm,'zrz','0,1,2') 603 this.getTreeByBsm(this.$route.query.bsm,'zrz','0,1,2')
603 }else{ 604 }else{
604 this.$message.error(res.message); 605 this.$message.error(res.message);
......