558e0e97 by jiaozeping@pashanhoo.com

12

1 parent 15559916
......@@ -4,33 +4,53 @@
<div class="from-clues-header">
<el-form :model="queryForm" ref="queryForm" label-width="120px">
<el-row>
<el-col :span="8">
<el-col :span="10">
<el-form-item label="不动产单元号">
<el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width300px">
<el-input
placeholder="请输入不动产单元号"
v-model="queryForm.bdcdyh"
clearable
class="width300px"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="10">
<el-form-item label="不动产权证号">
<el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width300px">
<el-input
placeholder="请输入不动产权证号"
v-model="queryForm.bdcqzh"
clearable
class="width300px"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
</el-row>
<el-row>
<el-col :span="10">
<el-form-item label="权利人">
<el-input placeholder="请输入不动产单元号" v-model="queryForm.zl" clearable class="width300px">
<el-input
placeholder="请输入权利人"
v-model="queryForm.zl"
clearable
class="width300px"
>
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-col :span="10">
<el-form-item label="坐落">
<el-input placeholder="请输入不动产单元号" v-model="queryForm.zl" clearable class="width300px">
<el-input
placeholder="请输入坐落"
v-model="queryForm.zl"
clearable
class="width300px"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="2" class="btnColRight">
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="queryClick">查询</el-button>
</el-form-item>
......@@ -40,10 +60,19 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400"
:current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
@p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
:data="tableData.data">
<lb-table
ref="table"
@row-click="handleRowClick"
:page-size="pageData.pageSize"
:heightNum="400"
:current-page.sync="pageData.currentPage"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
@selection-change="handleSelectionChange"
:column="tableData.columns"
:data="tableData.data"
>
</lb-table>
</div>
<div class="submit_button">
......@@ -63,9 +92,9 @@ export default {
mixins: [table, jump],
props: {
isJump: { type: Boolean, default: false },
sqywInfo: { type: Object, default: () => { } },
sqywInfo: { type: Object, default: () => {} },
},
data () {
data() {
return {
queryForm: defaultParameters.defaultParameters(),
tableData: {
......@@ -76,11 +105,11 @@ export default {
bdcdysz: [],
};
},
mounted () {
mounted() {
sendThis(this);
},
methods: {
queryClick () {
queryClick() {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......@@ -90,7 +119,7 @@ export default {
}
});
},
submitForm () {
submitForm() {
if (this.bdcdysz.length == 0) {
this.$message.error("请至少选择一条数据");
return;
......@@ -117,14 +146,14 @@ export default {
}
});
},
handleSelectionChange (val) {
handleSelectionChange(val) {
val.forEach((item, index) => {
item.bsmSsql = item.bsmQlxx;
item.ybdcqzsh = item.bdcqzh;
});
this.bdcdysz = val;
},
openBook (row) {
openBook(row) {
var param = {
bdcdyid: row.bdcdyid,
qllx: row.qllx,
......