537ea1cd by 焦泽平

宗地分割修改

1 parent e4e28473
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
56 <th class="xmmc">项目名称</th> 56 <th class="xmmc">项目名称</th>
57 <th class="zxx">幢信息</th> 57 <th class="zxx">幢信息</th>
58 </tr> 58 </tr>
59 <tr v-for="(item,index) in fghData.newZdlist" :key="index"> 59 <tr v-for="(item,index) in fghData.newzdlist" :key="index">
60 <td class="cz"> 60 <td class="cz">
61 <el-button 61 <el-button
62 type="primary" 62 type="primary"
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
142 </div> 142 </div>
143 143
144 <el-dialog 144 <el-dialog
145 v-if="fghData.newZdlist.length>0" 145 v-if="fghData.newzdlist.length>0"
146 title="提示" 146 title="提示"
147 :visible.sync="isopenXz" 147 :visible.sync="isopenXz"
148 width="50%" 148 width="50%"
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
155 <td>幢类型</td> 155 <td>幢类型</td>
156 <td>幢信息</td> 156 <td>幢信息</td>
157 </tr> 157 </tr>
158 <tr v-for="(item,index) in fghData.newZdlist[selectIndex].fwlist" :key="index"> 158 <tr v-for="(item,index) in fghData.newzdlist[selectIndex].fwlist" :key="index">
159 <td> 159 <td>
160 <el-select v-model="item.ztype" 160 <el-select v-model="item.ztype"
161 > 161 >
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
244 <th class="xmmc">项目名称</th> 244 <th class="xmmc">项目名称</th>
245 <th class="zxx">幢信息</th> 245 <th class="zxx">幢信息</th>
246 </tr> 246 </tr>
247 <tr v-for="(item,index) in fghData.newZdlist" :key="index"> 247 <tr v-for="(item,index) in fghData.newzdlist" :key="index">
248 <td class="cz"> 248 <td class="cz">
249 <el-button 249 <el-button
250 type="primary" 250 type="primary"
...@@ -325,7 +325,7 @@ ...@@ -325,7 +325,7 @@
325 </div> 325 </div>
326 326
327 <el-dialog 327 <el-dialog
328 v-if="fghData.newZdlist.length>0" 328 v-if="fghData.newzdlist.length>0"
329 title="提示" 329 title="提示"
330 :visible.sync="isopenXz" 330 :visible.sync="isopenXz"
331 :modal-append-to-body="false" 331 :modal-append-to-body="false"
...@@ -338,7 +338,7 @@ ...@@ -338,7 +338,7 @@
338 <td>幢类型</td> 338 <td>幢类型</td>
339 <td>幢信息</td> 339 <td>幢信息</td>
340 </tr> 340 </tr>
341 <tr v-for="(item,index) in fghData.newZdlist[selectIndex].fwlist" :key="index"> 341 <tr v-for="(item,index) in fghData.newzdlist[selectIndex].fwlist" :key="index">
342 <td> 342 <td>
343 <el-select v-model="item.ztype" 343 <el-select v-model="item.ztype"
344 > 344 >
...@@ -427,7 +427,7 @@ ...@@ -427,7 +427,7 @@
427 <th class="xmmc">项目名称</th> 427 <th class="xmmc">项目名称</th>
428 <th class="zxx">幢信息</th> 428 <th class="zxx">幢信息</th>
429 </tr> 429 </tr>
430 <tr v-for="(item,index) in fghData.newZdlist" :key="index"> 430 <tr v-for="(item,index) in fghData.newzdlist" :key="index">
431 431
432 <td class="cz"> 432 <td class="cz">
433 <el-button 433 <el-button
...@@ -509,7 +509,7 @@ ...@@ -509,7 +509,7 @@
509 </div> 509 </div>
510 510
511 <el-dialog 511 <el-dialog
512 v-if="fghData.newZdlist.length>0" 512 v-if="fghData.newzdlist.length>0"
513 title="提示" 513 title="提示"
514 :visible.sync="isopenXz" 514 :visible.sync="isopenXz"
515 :modal-append-to-body="false" 515 :modal-append-to-body="false"
...@@ -522,7 +522,7 @@ ...@@ -522,7 +522,7 @@
522 <td>幢类型</td> 522 <td>幢类型</td>
523 <td>幢信息</td> 523 <td>幢信息</td>
524 </tr> 524 </tr>
525 <tr v-for="(item,index) in fghData.newZdlist[selectIndex].fwlist" :key="index"> 525 <tr v-for="(item,index) in fghData.newzdlist[selectIndex].fwlist" :key="index">
526 <td> 526 <td>
527 <el-select v-model="item.ztype" 527 <el-select v-model="item.ztype"
528 > 528 >
...@@ -673,8 +673,8 @@ ...@@ -673,8 +673,8 @@
673 fwlist: [] 673 fwlist: []
674 }, 674 },
675 fghData: { 675 fghData: {
676 oldZdbsm: "", 676 oldzdbsm: "",
677 newZdlist: [] 677 newzdlist: []
678 }, 678 },
679 fgBoxWidth: 0, 679 fgBoxWidth: 0,
680 } 680 }
...@@ -693,7 +693,7 @@ ...@@ -693,7 +693,7 @@
693 console.log(node, 'node'); 693 console.log(node, 'node');
694 console.log(node.parent, 'node.parent') 694 console.log(node.parent, 'node.parent')
695 console.log(node.children, 'node.children') 695 console.log(node.children, 'node.children')
696 this.fghData.newZdlist[this.selectIndex].fwlist.push({ 696 this.fghData.newzdlist[this.selectIndex].fwlist.push({
697 zbsm: node.label, 697 zbsm: node.label,
698 ztype: '多幢' 698 ztype: '多幢'
699 } 699 }
...@@ -759,8 +759,8 @@ ...@@ -759,8 +759,8 @@
759 this.djq = []; 759 this.djq = [];
760 this.djzq = []; 760 this.djzq = [];
761 if (index != undefined) { 761 if (index != undefined) {
762 this.fghData.newZdlist[index].djqbsm = '' 762 this.fghData.newzdlist[index].djqbsm = ''
763 this.fghData.newZdlist[index].djzqbsm = '' 763 this.fghData.newzdlist[index].djzqbsm = ''
764 } 764 }
765 getListByXzqbsm(id) 765 getListByXzqbsm(id)
766 .then((res) => { 766 .then((res) => {
...@@ -776,7 +776,7 @@ ...@@ -776,7 +776,7 @@
776 changeDjq(item, index) { 776 changeDjq(item, index) {
777 this.djzq = []; 777 this.djzq = [];
778 if (index != undefined) { 778 if (index != undefined) {
779 this.fghData.newZdlist[index].djzqbsm = '' 779 this.fghData.newzdlist[index].djzqbsm = ''
780 } 780 }
781 if (item == null) { 781 if (item == null) {
782 } else { 782 } else {
...@@ -793,7 +793,7 @@ ...@@ -793,7 +793,7 @@
793 } 793 }
794 }, 794 },
795 addRow() { 795 addRow() {
796 this.fghData.newZdlist.push({ 796 this.fghData.newzdlist.push({
797 xzqbsm: "", 797 xzqbsm: "",
798 djqbsm: "", 798 djqbsm: "",
799 djzqbsm: "", 799 djzqbsm: "",
...@@ -810,10 +810,10 @@ ...@@ -810,10 +810,10 @@
810 }); 810 });
811 this.changeXzq(this.checkedData.xzqbsm) 811 this.changeXzq(this.checkedData.xzqbsm)
812 this.changeDjq(this.checkedData.djqbsm) 812 this.changeDjq(this.checkedData.djqbsm)
813 this.$set(this.fghData.newZdlist, this.fghData.newZdlist.length - 1, JSON.parse(JSON.stringify(this.checkedData))) 813 this.$set(this.fghData.newzdlist, this.fghData.newzdlist.length - 1, JSON.parse(JSON.stringify(this.checkedData)))
814 }, 814 },
815 delRow(index) { 815 delRow(index) {
816 this.fghData.newZdlist.splice(index, 1) 816 this.fghData.newzdlist.splice(index, 1)
817 }, 817 },
818 close: function () { 818 close: function () {
819 this.centerDialogVisible = false; 819 this.centerDialogVisible = false;
...@@ -833,7 +833,7 @@ ...@@ -833,7 +833,7 @@
833 watch: { 833 watch: {
834 bgqData: { 834 bgqData: {
835 handler: function (item) { 835 handler: function (item) {
836 this.fghData.oldZdbsm = item.glbsm 836 this.fghData.oldzdbsm = item.glbsm
837 this.getJbxx(item.glbsm) 837 this.getJbxx(item.glbsm)
838 }, 838 },
839 deep: true 839 deep: true
......