ae1b1163 by 杨威

宗地分割成功后查询分割后的宗地信息目录树

1 parent b094d1db
......@@ -153,7 +153,12 @@ export default {
}
});
if (newPath == "/zd") {
this.getRightTree(this.$store.state.zdbsm);
//source为3时代表时分割后的宗地信息
if(this.$route.query.source == '3'){
this.getTreeByS(this.$store.state.zdbsms);
}else{
this.getRightTree(this.$store.state.zdbsm);
}
}else if (newPath == "/zrz") {
this.getRightTreeByZrzbsm(this.$store.state.zrzbsm);
}else if(newPath == "/dz"){
......@@ -172,9 +177,9 @@ export default {
"$store.state.zdbsm": function(bsm) {
this.getRightTree(bsm);
},
"$store.state.zdbsms":function (zdbsms) {
this.getTreeByS(zdbsms)
}
// "$store.state.zdbsms":function (zdbsms) {
// this.getTreeByS(zdbsms)
// }
},
mounted(){
......
......@@ -848,7 +848,7 @@
path: '/zd',
query: {
bsm: res.result[0],
source: 2
source: 3, //分割标识
}
});
} else {
......