558e0e97 by jiaozeping@pashanhoo.com

12

1 parent 15559916
...@@ -4,33 +4,53 @@ ...@@ -4,33 +4,53 @@
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="120px"> 5 <el-form :model="queryForm" ref="queryForm" label-width="120px">
6 <el-row> 6 <el-row>
7 <el-col :span="8"> 7 <el-col :span="10">
8 <el-form-item label="不动产单元号"> 8 <el-form-item label="不动产单元号">
9 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width300px"> 9 <el-input
10 placeholder="请输入不动产单元号"
11 v-model="queryForm.bdcdyh"
12 clearable
13 class="width300px"
14 >
10 </el-input> 15 </el-input>
11 </el-form-item> 16 </el-form-item>
12 </el-col> 17 </el-col>
13 <el-col :span="8"> 18 <el-col :span="10">
14 <el-form-item label="不动产权证号"> 19 <el-form-item label="不动产权证号">
15 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width300px"> 20 <el-input
21 placeholder="请输入不动产权证号"
22 v-model="queryForm.bdcqzh"
23 clearable
24 class="width300px"
25 >
16 </el-input> 26 </el-input>
17 </el-form-item> 27 </el-form-item>
18 </el-col> 28 </el-col>
19 <el-col :span="8"> 29 </el-row>
30 <el-row>
31 <el-col :span="10">
20 <el-form-item label="权利人"> 32 <el-form-item label="权利人">
21 <el-input placeholder="请输入不动产单元号" v-model="queryForm.zl" clearable class="width300px"> 33 <el-input
34 placeholder="请输入权利人"
35 v-model="queryForm.zl"
36 clearable
37 class="width300px"
38 >
22 </el-input> 39 </el-input>
23 </el-form-item> 40 </el-form-item>
24 </el-col> 41 </el-col>
25 </el-row> 42 <el-col :span="10">
26 <el-row>
27 <el-col :span="8">
28 <el-form-item label="坐落"> 43 <el-form-item label="坐落">
29 <el-input placeholder="请输入不动产单元号" v-model="queryForm.zl" clearable class="width300px"> 44 <el-input
45 placeholder="请输入坐落"
46 v-model="queryForm.zl"
47 clearable
48 class="width300px"
49 >
30 </el-input> 50 </el-input>
31 </el-form-item> 51 </el-form-item>
32 </el-col> 52 </el-col>
33 <el-col :span="2" class="btnColRight"> 53 <el-col :span="4" class="btnColRight">
34 <el-form-item> 54 <el-form-item>
35 <el-button type="primary" @click="queryClick">查询</el-button> 55 <el-button type="primary" @click="queryClick">查询</el-button>
36 </el-form-item> 56 </el-form-item>
...@@ -40,10 +60,19 @@ ...@@ -40,10 +60,19 @@
40 </div> 60 </div>
41 <!-- 表格 --> 61 <!-- 表格 -->
42 <div class="from-clues-content"> 62 <div class="from-clues-content">
43 <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :heightNum="400" 63 <lb-table
44 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 64 ref="table"
45 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" 65 @row-click="handleRowClick"
46 :data="tableData.data"> 66 :page-size="pageData.pageSize"
67 :heightNum="400"
68 :current-page.sync="pageData.currentPage"
69 :total="tableData.total"
70 @size-change="handleSizeChange"
71 @p-current-change="handleCurrentChange"
72 @selection-change="handleSelectionChange"
73 :column="tableData.columns"
74 :data="tableData.data"
75 >
47 </lb-table> 76 </lb-table>
48 </div> 77 </div>
49 <div class="submit_button"> 78 <div class="submit_button">
...@@ -63,9 +92,9 @@ export default { ...@@ -63,9 +92,9 @@ export default {
63 mixins: [table, jump], 92 mixins: [table, jump],
64 props: { 93 props: {
65 isJump: { type: Boolean, default: false }, 94 isJump: { type: Boolean, default: false },
66 sqywInfo: { type: Object, default: () => { } }, 95 sqywInfo: { type: Object, default: () => {} },
67 }, 96 },
68 data () { 97 data() {
69 return { 98 return {
70 queryForm: defaultParameters.defaultParameters(), 99 queryForm: defaultParameters.defaultParameters(),
71 tableData: { 100 tableData: {
...@@ -76,11 +105,11 @@ export default { ...@@ -76,11 +105,11 @@ export default {
76 bdcdysz: [], 105 bdcdysz: [],
77 }; 106 };
78 }, 107 },
79 mounted () { 108 mounted() {
80 sendThis(this); 109 sendThis(this);
81 }, 110 },
82 methods: { 111 methods: {
83 queryClick () { 112 queryClick() {
84 this.queryForm.sqywbm = this.sqywInfo.djywbm; 113 this.queryForm.sqywbm = this.sqywInfo.djywbm;
85 selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { 114 selectJsydQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
86 if (res.code === 200) { 115 if (res.code === 200) {
...@@ -90,7 +119,7 @@ export default { ...@@ -90,7 +119,7 @@ export default {
90 } 119 }
91 }); 120 });
92 }, 121 },
93 submitForm () { 122 submitForm() {
94 if (this.bdcdysz.length == 0) { 123 if (this.bdcdysz.length == 0) {
95 this.$message.error("请至少选择一条数据"); 124 this.$message.error("请至少选择一条数据");
96 return; 125 return;
...@@ -117,14 +146,14 @@ export default { ...@@ -117,14 +146,14 @@ export default {
117 } 146 }
118 }); 147 });
119 }, 148 },
120 handleSelectionChange (val) { 149 handleSelectionChange(val) {
121 val.forEach((item, index) => { 150 val.forEach((item, index) => {
122 item.bsmSsql = item.bsmQlxx; 151 item.bsmSsql = item.bsmQlxx;
123 item.ybdcqzsh = item.bdcqzh; 152 item.ybdcqzsh = item.bdcqzh;
124 }); 153 });
125 this.bdcdysz = val; 154 this.bdcdysz = val;
126 }, 155 },
127 openBook (row) { 156 openBook(row) {
128 var param = { 157 var param = {
129 bdcdyid: row.bdcdyid, 158 bdcdyid: row.bdcdyid,
130 qllx: row.qllx, 159 qllx: row.qllx,
......