92e157ee by liangyifan

1

1 parent 6dbd007b
......@@ -17,7 +17,7 @@
</el-col>
<el-col :span="6">
<el-form-item label="不动产单元号">
<el-input placeholder="请输入不动产单元号" v-model="queryForm.dyh" clearable class="width200px">
<el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
......@@ -29,7 +29,7 @@
</el-col>
<el-col :span="6">
<el-form-item label="不动产权证号">
<el-input placeholder="请输入不动产权证号" v-model="queryForm.cqzh" clearable class="width200px">
<el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
......@@ -43,7 +43,7 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" heightNumSetting :current-page.sync="pageData.current"
<lb-table :page-size="pageData.pageSize" heightNumSetting :current-page.sync="pageData.currentPage"
:total="pageData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
</lb-table>
......@@ -55,6 +55,7 @@
</template>
<script>
import { datas } from "../ywsqdata.js";
import { getselectBdcdy } from "@/api/ywbl.js"
export default {
props: {
value: { type: Boolean, default: false },
......@@ -64,35 +65,38 @@ export default {
appliDialog: false,
queryForm: {
qllx: "",
dyh: "",
bdcdyh: "",
ywh: "",
cqzh: "",
bdcqzh: "",
sqywbm:'A03100'
},
qllxs: [],
pageData: {
current: 1,
size: 10,
total: 2,
pageSize: 10,
currentPage: 1,
total: 0,
},
tableData: {
columns: datas.columns(),
data: [
{
status: '已查封',
qllx: "国有建设用地使用权",
zddm: "610100008004GB00001",
bdcdyh: "610100008004GB00001W00000000",
qlxz: "出让",
zdmj: '22384.1700',
qlsdfs: '地表',
tdyt: "商业、住宅用地",
zl: "汉台区汉中路街道办事处汉中路居委会太白路北侧",
}
]
}
}
},
created(){
this.list()
},
methods: {
list(data){
getselectBdcdy({ ...this.queryForm, ...this.pageData,...data }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.pageData.total = total;
this.tableData.data = records
}
})
},
submitForm () {
this.$emit('input', false)
const { href } = this.$router.resolve('/fqsq')
......@@ -101,8 +105,15 @@ export default {
closeDialog () {
this.$emit('input', false)
},
handleSizeChange () { },
handleCurrentChange () { },
handleSizeChange (val) {
this.list({
pageSize: val,
currentPage: this.pageData.currentPage,
});
},
handleCurrentChange (val) {
this.list({ pageSize: this.pageData.pageSize, currentPage: val });
},
}
}
</script>
......