e58b2749 by 任超
2 parents afe73a7d 92e157ee
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
17 </el-col> 17 </el-col>
18 <el-col :span="6"> 18 <el-col :span="6">
19 <el-form-item label="不动产单元号"> 19 <el-form-item label="不动产单元号">
20 <el-input placeholder="请输入不动产单元号" v-model="queryForm.dyh" clearable class="width200px"> 20 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width200px">
21 </el-input> 21 </el-input>
22 </el-form-item> 22 </el-form-item>
23 </el-col> 23 </el-col>
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
29 </el-col> 29 </el-col>
30 <el-col :span="6"> 30 <el-col :span="6">
31 <el-form-item label="不动产权证号"> 31 <el-form-item label="不动产权证号">
32 <el-input placeholder="请输入不动产权证号" v-model="queryForm.cqzh" clearable class="width200px"> 32 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px">
33 </el-input> 33 </el-input>
34 </el-form-item> 34 </el-form-item>
35 </el-col> 35 </el-col>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
43 </div> 43 </div>
44 <!-- 表格 --> 44 <!-- 表格 -->
45 <div class="from-clues-content"> 45 <div class="from-clues-content">
46 <lb-table :page-size="pageData.size" heightNumSetting :current-page.sync="pageData.current" 46 <lb-table :page-size="pageData.pageSize" heightNumSetting :current-page.sync="pageData.currentPage"
47 :total="pageData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" 47 :total="pageData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
48 :column="tableData.columns" :data="tableData.data"> 48 :column="tableData.columns" :data="tableData.data">
49 </lb-table> 49 </lb-table>
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
55 </template> 55 </template>
56 <script> 56 <script>
57 import { datas } from "../ywsqdata.js"; 57 import { datas } from "../ywsqdata.js";
58 import { getselectBdcdy } from "@/api/ywbl.js"
58 export default { 59 export default {
59 props: { 60 props: {
60 value: { type: Boolean, default: false }, 61 value: { type: Boolean, default: false },
...@@ -64,35 +65,38 @@ export default { ...@@ -64,35 +65,38 @@ export default {
64 appliDialog: false, 65 appliDialog: false,
65 queryForm: { 66 queryForm: {
66 qllx: "", 67 qllx: "",
67 dyh: "", 68 bdcdyh: "",
68 ywh: "", 69 ywh: "",
69 cqzh: "", 70 bdcqzh: "",
71 sqywbm:'A03100'
70 }, 72 },
71 qllxs: [], 73 qllxs: [],
72 pageData: { 74 pageData: {
73 current: 1, 75 pageSize: 10,
74 size: 10, 76 currentPage: 1,
75 total: 2, 77 total: 0,
76 }, 78 },
77 tableData: { 79 tableData: {
78 columns: datas.columns(), 80 columns: datas.columns(),
79 data: [ 81 data: [
80 { 82
81 status: '已查封',
82 qllx: "国有建设用地使用权",
83 zddm: "610100008004GB00001",
84 bdcdyh: "610100008004GB00001W00000000",
85 qlxz: "出让",
86 zdmj: '22384.1700',
87 qlsdfs: '地表',
88 tdyt: "商业、住宅用地",
89 zl: "汉台区汉中路街道办事处汉中路居委会太白路北侧",
90 }
91 ] 83 ]
92 } 84 }
93 } 85 }
94 }, 86 },
87 created(){
88 this.list()
89 },
95 methods: { 90 methods: {
91 list(data){
92 getselectBdcdy({ ...this.queryForm, ...this.pageData,...data }).then(res => {
93 if (res.code === 200) {
94 let { total, records } = res.result
95 this.pageData.total = total;
96 this.tableData.data = records
97 }
98 })
99 },
96 submitForm () { 100 submitForm () {
97 this.$emit('input', false) 101 this.$emit('input', false)
98 const { href } = this.$router.resolve('/fqsq') 102 const { href } = this.$router.resolve('/fqsq')
...@@ -101,8 +105,15 @@ export default { ...@@ -101,8 +105,15 @@ export default {
101 closeDialog () { 105 closeDialog () {
102 this.$emit('input', false) 106 this.$emit('input', false)
103 }, 107 },
104 handleSizeChange () { }, 108 handleSizeChange (val) {
105 handleCurrentChange () { }, 109 this.list({
110 pageSize: val,
111 currentPage: this.pageData.currentPage,
112 });
113 },
114 handleCurrentChange (val) {
115 this.list({ pageSize: this.pageData.pageSize, currentPage: val });
116 },
106 } 117 }
107 } 118 }
108 </script> 119 </script>
......