537ea1cd by 焦泽平

宗地分割修改

1 parent e4e28473
......@@ -56,7 +56,7 @@
<th class="xmmc">项目名称</th>
<th class="zxx">幢信息</th>
</tr>
<tr v-for="(item,index) in fghData.newZdlist" :key="index">
<tr v-for="(item,index) in fghData.newzdlist" :key="index">
<td class="cz">
<el-button
type="primary"
......@@ -142,7 +142,7 @@
</div>
<el-dialog
v-if="fghData.newZdlist.length>0"
v-if="fghData.newzdlist.length>0"
title="提示"
:visible.sync="isopenXz"
width="50%"
......@@ -155,7 +155,7 @@
<td>幢类型</td>
<td>幢信息</td>
</tr>
<tr v-for="(item,index) in fghData.newZdlist[selectIndex].fwlist" :key="index">
<tr v-for="(item,index) in fghData.newzdlist[selectIndex].fwlist" :key="index">
<td>
<el-select v-model="item.ztype"
>
......@@ -244,7 +244,7 @@
<th class="xmmc">项目名称</th>
<th class="zxx">幢信息</th>
</tr>
<tr v-for="(item,index) in fghData.newZdlist" :key="index">
<tr v-for="(item,index) in fghData.newzdlist" :key="index">
<td class="cz">
<el-button
type="primary"
......@@ -325,7 +325,7 @@
</div>
<el-dialog
v-if="fghData.newZdlist.length>0"
v-if="fghData.newzdlist.length>0"
title="提示"
:visible.sync="isopenXz"
:modal-append-to-body="false"
......@@ -338,7 +338,7 @@
<td>幢类型</td>
<td>幢信息</td>
</tr>
<tr v-for="(item,index) in fghData.newZdlist[selectIndex].fwlist" :key="index">
<tr v-for="(item,index) in fghData.newzdlist[selectIndex].fwlist" :key="index">
<td>
<el-select v-model="item.ztype"
>
......@@ -427,7 +427,7 @@
<th class="xmmc">项目名称</th>
<th class="zxx">幢信息</th>
</tr>
<tr v-for="(item,index) in fghData.newZdlist" :key="index">
<tr v-for="(item,index) in fghData.newzdlist" :key="index">
<td class="cz">
<el-button
......@@ -509,7 +509,7 @@
</div>
<el-dialog
v-if="fghData.newZdlist.length>0"
v-if="fghData.newzdlist.length>0"
title="提示"
:visible.sync="isopenXz"
:modal-append-to-body="false"
......@@ -522,7 +522,7 @@
<td>幢类型</td>
<td>幢信息</td>
</tr>
<tr v-for="(item,index) in fghData.newZdlist[selectIndex].fwlist" :key="index">
<tr v-for="(item,index) in fghData.newzdlist[selectIndex].fwlist" :key="index">
<td>
<el-select v-model="item.ztype"
>
......@@ -673,8 +673,8 @@
fwlist: []
},
fghData: {
oldZdbsm: "",
newZdlist: []
oldzdbsm: "",
newzdlist: []
},
fgBoxWidth: 0,
}
......@@ -693,7 +693,7 @@
console.log(node, 'node');
console.log(node.parent, 'node.parent')
console.log(node.children, 'node.children')
this.fghData.newZdlist[this.selectIndex].fwlist.push({
this.fghData.newzdlist[this.selectIndex].fwlist.push({
zbsm: node.label,
ztype: '多幢'
}
......@@ -759,8 +759,8 @@
this.djq = [];
this.djzq = [];
if (index != undefined) {
this.fghData.newZdlist[index].djqbsm = ''
this.fghData.newZdlist[index].djzqbsm = ''
this.fghData.newzdlist[index].djqbsm = ''
this.fghData.newzdlist[index].djzqbsm = ''
}
getListByXzqbsm(id)
.then((res) => {
......@@ -776,7 +776,7 @@
changeDjq(item, index) {
this.djzq = [];
if (index != undefined) {
this.fghData.newZdlist[index].djzqbsm = ''
this.fghData.newzdlist[index].djzqbsm = ''
}
if (item == null) {
} else {
......@@ -793,7 +793,7 @@
}
},
addRow() {
this.fghData.newZdlist.push({
this.fghData.newzdlist.push({
xzqbsm: "",
djqbsm: "",
djzqbsm: "",
......@@ -810,10 +810,10 @@
});
this.changeXzq(this.checkedData.xzqbsm)
this.changeDjq(this.checkedData.djqbsm)
this.$set(this.fghData.newZdlist, this.fghData.newZdlist.length - 1, JSON.parse(JSON.stringify(this.checkedData)))
this.$set(this.fghData.newzdlist, this.fghData.newzdlist.length - 1, JSON.parse(JSON.stringify(this.checkedData)))
},
delRow(index) {
this.fghData.newZdlist.splice(index, 1)
this.fghData.newzdlist.splice(index, 1)
},
close: function () {
this.centerDialogVisible = false;
......@@ -833,7 +833,7 @@
watch: {
bgqData: {
handler: function (item) {
this.fghData.oldZdbsm = item.glbsm
this.fghData.oldzdbsm = item.glbsm
this.getJbxx(item.glbsm)
},
deep: true
......