71390c9a by weimo934

feat():重新落宗选择宗地和宗地分割合并分开

1 parent 9cb84c04
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
168 hzl(this.hcxlzData).then(res => { 168 hzl(this.hcxlzData).then(res => {
169 if (res.success) { 169 if (res.success) {
170 this.$router.push({ 170 this.$router.push({
171 path:'zrz', 171 path:'/zrz',
172 query: { 172 query: {
173 bsm:this.hcxlzData.zrzbsm, 173 bsm:this.hcxlzData.zrzbsm,
174 source: 2, 174 source: 2,
......
...@@ -117,6 +117,7 @@ ...@@ -117,6 +117,7 @@
117 xmmc: "", 117 xmmc: "",
118 zddm: "", 118 zddm: "",
119 zl: "", 119 zl: "",
120 cxlz:this.isCxlz,
120 pageNo: 1, 121 pageNo: 1,
121 pageSize: 10, 122 pageSize: 10,
122 }, 123 },
...@@ -158,6 +159,7 @@ ...@@ -158,6 +159,7 @@
158 xmmc: "", 159 xmmc: "",
159 zddm: "", 160 zddm: "",
160 zl: "", 161 zl: "",
162 cxlz:this.isCxlz,
161 pageNo: 1, 163 pageNo: 1,
162 pageSize: 10 164 pageSize: 10
163 }; 165 };
......
...@@ -297,10 +297,6 @@ ...@@ -297,10 +297,6 @@
297 }else { 297 }else {
298 this.bsm=this.$route.query.bsm; 298 this.bsm=this.$route.query.bsm;
299 this.form.dzbsm=this.$route.query.bsm; 299 this.form.dzbsm=this.$route.query.bsm;
300 }
301 if(this.source!==1){
302 this.bsm=this.$route.query.bsm;
303 this.form.dzbsm=this.$route.query.bsm;
304 this.getDzDetailByBsm(this.$route.query.bsm) 300 this.getDzDetailByBsm(this.$route.query.bsm)
305 } 301 }
306 }, 302 },
...@@ -536,6 +532,7 @@ ...@@ -536,6 +532,7 @@
536 type:"dz" 532 type:"dz"
537 } 533 }
538 submit(data).then((res)=>{ 534 submit(data).then((res)=>{
535 debugger
539 if(res.code===200){ 536 if(res.code===200){
540 this.$message.success("提交完成!"); 537 this.$message.success("提交完成!");
541 this.getDzDetailByBsm(this.$route.query.bsm) 538 this.getDzDetailByBsm(this.$route.query.bsm)
...@@ -595,6 +592,8 @@ ...@@ -595,6 +592,8 @@
595 watch:{ 592 watch:{
596 593
597 dzbsm:function (val) { 594 dzbsm:function (val) {
595 debugger
596 console.log(val,'多幢BSM')
598 this.getDzDetailByBsm(val) 597 this.getDzDetailByBsm(val)
599 }, 598 },
600 599
......
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
119 </el-select> 119 </el-select>
120 </td> 120 </td>
121 <td class="xmmc"> 121 <td class="xmmc">
122 <input type="text" v-model="item.xmmc" class="formInput"/> 122 <el-input v-model="item.xmmc"></el-input>
123 </td> 123 </td>
124 </tr> 124 </tr>
125 <tr :key="index+100"> 125 <tr :key="index+100">
...@@ -635,8 +635,13 @@ ...@@ -635,8 +635,13 @@
635 saveDzFg(this.dzFghData).then(res => { 635 saveDzFg(this.dzFghData).then(res => {
636 if (res.success) { 636 if (res.success) {
637 this.getRightTree(res.result,'0,1,2'); 637 this.getRightTree(res.result,'0,1,2');
638 Message.success("保存成功") 638 this.$router.push({
639 //TO DO 多幢分割完成后的操作 639 path: '/dz',
640 query: {
641 bsm: res.result,
642 source: 3, //分割标识
643 }
644 });
640 } else { 645 } else {
641 Message.error("保存失败") 646 Message.error("保存失败")
642 } 647 }
......