84ad4d30 by xiaomiao

分割合并宗地信息表单调整

1 parent ae66a570
......@@ -44,7 +44,7 @@
<lb-table ref="table" @row-dblclick="handleRowClick" :pagination = false :page-size="pageData.pageSize" :calcHeight="300"
:current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
:data="tableData.data" heightNumSetting :maxHeight="350" :minHeight="350" >
</lb-table>
</div>
<div class="from-clues-content loadingtext">分割合并后宗地信息
......@@ -85,7 +85,7 @@
render: (h, scope) => {
return (
<div class="orgColumn">
<el-radio v-model={this.radioVal} label={scope.row.bhqkbsm}>
<el-radio v-model={this.radioVal} label={scope.row.bsmQlxx}>
&ensp;
</el-radio>
</div>
......@@ -114,18 +114,19 @@
methods: {
// 单选事件
close(){
console.log("ddddd",this.radioVal);
console.log("...this.queryForm",this.queryForm);
this.queryForm.bhqkbsm=this.radioVal
// delete this.queryForm.sqywbm
selectZdjbxxSplitMergeLast({ ...this.queryForm,}).then((res) => {
this.tableData.data.forEach(e => {
if(e.bsmQlxx=this.radioVal){
this.queryForm.bhqkbsm=e.bhqkbsm
// 获取分割合并后宗地信息
selectZdjbxxSplitMergeLast({ ...this.queryForm}).then((res) => {
this.$endLoading();
if (res.code === 200) {
let { total, records } = res.result;
this.tableData.total = total;
this.tableData.datastwo = [...res.result,...res.result];
this.tableData.datastwo = res.result;
}
});
}
});
},
queryClick () {
this.$startLoading();
......@@ -135,7 +136,7 @@
if (res.code === 200) {
let { total, records } = res.result;
this.tableData.total = total;
this.tableData.data = [...res.result,...res.result];
this.tableData.data = res.result;
}
});
},
......