10c3f5af by 焦泽平

更正功能办理成功目录树表单刷新

1 parent 0abf3d46
...@@ -117,16 +117,20 @@ ...@@ -117,16 +117,20 @@
117 //点击办理 117 //点击办理
118 handleClick(row) { 118 handleClick(row) {
119 let type;name; 119 let type;name;
120 let path = "";
121
120 switch (row.dylx) { 122 switch (row.dylx) {
121 case "zd": 123 case "zd":
122 type = "0"; 124 type = "0";
123 name = '宗地'; 125 name = '宗地';
124 this.$store.state.zdbsm = row.glbsm 126 this.$store.state.zdbsm = row.glbsm
127 path = "/zd";
125 break; 128 break;
126 case "zrz": 129 case "zrz":
127 type = "1"; 130 type = "1";
128 name = '自然幢'; 131 name = '自然幢';
129 this.$store.state.zrzbsm = row.glbsm; 132 this.$store.state.zrzbsm = row.glbsm;
133 path = "/zrz";
130 break; 134 break;
131 case "h": 135 case "h":
132 case "h0": 136 case "h0":
...@@ -138,6 +142,7 @@ ...@@ -138,6 +142,7 @@
138 type = "3"; 142 type = "3";
139 name = "多幢"; 143 name = "多幢";
140 this.$store.state.dzbsm = row.glbsm; 144 this.$store.state.dzbsm = row.glbsm;
145 path = "/dz";
141 default: 146 default:
142 break; 147 break;
143 } 148 }
...@@ -154,7 +159,13 @@ ...@@ -154,7 +159,13 @@
154 type: 'success', 159 type: 'success',
155 message: '更正成功!' 160 message: '更正成功!'
156 }); 161 });
157 this.$router.push("/"+path); 162 this.$router.push({
163 path: path,
164 query: {
165 bsm: res.result,
166 source: 2
167 }
168 });
158 } else { 169 } else {
159 this.$message({ 170 this.$message({
160 message: res.message, 171 message: res.message,
......