ae1b1163 by 杨威

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

1 parent b094d1db
...@@ -153,7 +153,12 @@ export default { ...@@ -153,7 +153,12 @@ export default {
153 } 153 }
154 }); 154 });
155 if (newPath == "/zd") { 155 if (newPath == "/zd") {
156 //source为3时代表时分割后的宗地信息
157 if(this.$route.query.source == '3'){
158 this.getTreeByS(this.$store.state.zdbsms);
159 }else{
156 this.getRightTree(this.$store.state.zdbsm); 160 this.getRightTree(this.$store.state.zdbsm);
161 }
157 }else if (newPath == "/zrz") { 162 }else if (newPath == "/zrz") {
158 this.getRightTreeByZrzbsm(this.$store.state.zrzbsm); 163 this.getRightTreeByZrzbsm(this.$store.state.zrzbsm);
159 }else if(newPath == "/dz"){ 164 }else if(newPath == "/dz"){
...@@ -172,9 +177,9 @@ export default { ...@@ -172,9 +177,9 @@ export default {
172 "$store.state.zdbsm": function(bsm) { 177 "$store.state.zdbsm": function(bsm) {
173 this.getRightTree(bsm); 178 this.getRightTree(bsm);
174 }, 179 },
175 "$store.state.zdbsms":function (zdbsms) { 180 // "$store.state.zdbsms":function (zdbsms) {
176 this.getTreeByS(zdbsms) 181 // this.getTreeByS(zdbsms)
177 } 182 // }
178 }, 183 },
179 mounted(){ 184 mounted(){
180 185
......
...@@ -848,7 +848,7 @@ ...@@ -848,7 +848,7 @@
848 path: '/zd', 848 path: '/zd',
849 query: { 849 query: {
850 bsm: res.result[0], 850 bsm: res.result[0],
851 source: 2 851 source: 3, //分割标识
852 } 852 }
853 }); 853 });
854 } else { 854 } else {
......