多幢合并,宗地合并目录树更新
Showing
1 changed file
with
3 additions
and
2 deletions
... | @@ -210,7 +210,7 @@ | ... | @@ -210,7 +210,7 @@ |
210 | import dzHb from '@components/dzHb/dzHb' | 210 | import dzHb from '@components/dzHb/dzHb' |
211 | export default { | 211 | export default { |
212 | name: "", | 212 | name: "", |
213 | inject: ['getRightTree'], | 213 | inject: ['getTreeByS','getTreeByBsm'], |
214 | components: { zdQueryData, hfghb,dzHb}, | 214 | components: { zdQueryData, hfghb,dzHb}, |
215 | props: {}, | 215 | props: {}, |
216 | data() { | 216 | data() { |
... | @@ -310,7 +310,7 @@ | ... | @@ -310,7 +310,7 @@ |
310 | if (res.success) { | 310 | if (res.success) { |
311 | this.$message.success("合并成功"); | 311 | this.$message.success("合并成功"); |
312 | //更新目录树 | 312 | //更新目录树 |
313 | this.getRightTree(res.result,'2'); | 313 | this.getTreeByS(res.result); |
314 | this.$router.push({ | 314 | this.$router.push({ |
315 | path: '/zd', | 315 | path: '/zd', |
316 | query: { | 316 | query: { |
... | @@ -335,6 +335,7 @@ | ... | @@ -335,6 +335,7 @@ |
335 | if (res.success) { | 335 | if (res.success) { |
336 | console.log(res) | 336 | console.log(res) |
337 | this.$message.success("多幢合并成功") | 337 | this.$message.success("多幢合并成功") |
338 | this.getTreeByBsm(res.result,'dz','0,1,2') | ||
338 | this.$router.push({ | 339 | this.$router.push({ |
339 | path: '/dz', | 340 | path: '/dz', |
340 | query: { | 341 | query: { | ... | ... |
-
Please register or sign in to post a comment