f962631f by 任超

style:不动产数据

1 parent 5d9cd0bd
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
2 <div class="gzwsyq from-clues"> 2 <div class="gzwsyq from-clues">
3 <div class="from-clues-header"> 3 <div class="from-clues-header">
4 <el-form ref="form" :model="form" label-width="105px"> 4 <el-form ref="form" :model="form" label-width="105px">
5 <el-row> 5 <el-row>
6 <el-col :span="5"> 6 <el-col :span="5">
7 <el-form-item label="行政区"> 7 <el-form-item label="行政区">
8 <el-select v-model="form.pcode" class="width100" clearable placeholder="行政区"> 8 <el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
10 </el-option> 10 </el-option>
11 </el-select> 11 </el-select>
...@@ -13,30 +13,30 @@ ...@@ -13,30 +13,30 @@
13 </el-col> 13 </el-col>
14 <el-col :span="5"> 14 <el-col :span="5">
15 <el-form-item label="权属状态" label-width="105px"> 15 <el-form-item label="权属状态" label-width="105px">
16 <el-select v-model="form.pcode" class="width100" clearable placeholder="权属状态"> 16 <el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
17 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 17 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
18 </el-option> 18 </el-option>
19 </el-select> 19 </el-select>
20 </el-form-item> 20 </el-form-item>
21 </el-col> 21 </el-col>
22 <el-col :span="5"> 22 <el-col :span="5">
23 <el-form-item label="坐落"> 23 <el-form-item label="坐落">
24 <el-input v-model="form.YWH" placeholder="请输入坐落"></el-input> 24 <el-input v-model="form.ZL" placeholder="请输入坐落"></el-input>
25 </el-form-item> 25 </el-form-item>
26 </el-col> 26 </el-col>
27 <el-col :span="5"> 27 <el-col :span="5">
28 <el-form-item label="不动产权证号" label-width="105px"> 28 <el-form-item label="不动产权证号" label-width="105px">
29 <el-input v-model="form.BDCDYH" placeholder="请输入不动产权证号"></el-input> 29 <el-input v-model="form.BDCQZH" placeholder="请输入不动产权证号"></el-input>
30 </el-form-item> 30 </el-form-item>
31 </el-col> 31 </el-col>
32 <el-col :span="5" class="mt-10"> 32 <el-col :span="5" class="mt-10">
33 <el-form-item label="权利人"> 33 <el-form-item label="权利人">
34 <el-input v-model="form.YWH" placeholder="请输入权利人"></el-input> 34 <el-input v-model="form.QLR" placeholder="请输入权利人"></el-input>
35 </el-form-item> 35 </el-form-item>
36 </el-col> 36 </el-col>
37 <el-col :span="5" class="mt-10"> 37 <el-col :span="5" class="mt-10">
38 <el-form-item label="登记类型"> 38 <el-form-item label="登记类型">
39 <el-select v-model="form.pcode" class="width100" clearable placeholder="登记类型"> 39 <el-select v-model="form.DJLX" class="width100" clearable placeholder="登记类型">
40 <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 40 <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
41 </el-option> 41 </el-option>
42 </el-select> 42 </el-select>
...@@ -44,11 +44,12 @@ ...@@ -44,11 +44,12 @@
44 </el-col> 44 </el-col>
45 <el-col :span="5" class="mt-10"> 45 <el-col :span="5" class="mt-10">
46 <el-form-item label="建筑名称"> 46 <el-form-item label="建筑名称">
47 <el-input v-model="form.YWH" placeholder="请输入建筑名称"></el-input> 47 <el-input v-model="form.JZWMC" placeholder="请输入建筑名称"></el-input>
48 </el-form-item> 48 </el-form-item>
49 </el-col> 49 </el-col>
50 <el-col :span="4" class="btnColRight mt-10" > 50 <el-col :span="9" class="btnColRight mt-10">
51 <btn nativeType="cx" @click="handleSubmit">查询结果</btn> 51 <btn nativeType="cz" @click="resetForm">重置</btn>
52 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
52 </el-col> 53 </el-col>
53 </el-row> 54 </el-row>
54 </el-form> 55 </el-form>
...@@ -58,7 +59,6 @@ ...@@ -58,7 +59,6 @@
58 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 59 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
59 :data="tableData.data"> 60 :data="tableData.data">
60 </lb-table> 61 </lb-table>
61 <message-tips ref="msg" :message="message" />
62 </div> 62 </div>
63 <dataDetails ref="editLog" :title="title" /> 63 <dataDetails ref="editLog" :title="title" />
64 </div> 64 </div>
...@@ -79,10 +79,13 @@ export default { ...@@ -79,10 +79,13 @@ export default {
79 data () { 79 data () {
80 return { 80 return {
81 form: { 81 form: {
82 YWH: '', 82 XZQDM: '',
83 QLLX: '', 83 QSZT: '',
84 ZL: '',
85 BDCQZH: '',
86 QLR: '',
84 DJLX: '', 87 DJLX: '',
85 BDCDYH: '', 88 JZWMC: '',
86 currentPage: 1 89 currentPage: 1
87 }, 90 },
88 tableData: { 91 tableData: {
...@@ -95,20 +98,20 @@ export default { ...@@ -95,20 +98,20 @@ export default {
95 { 98 {
96 label: "操作", 99 label: "操作",
97 width: 170, 100 width: 170,
98 render: (h, scope) => { 101 render: (h, scope) => {
99 return ( 102 return (
100 <div> 103 <div>
101 <el-button 104 <el-button
102 type="primary" 105 type="primary"
103 onClick={() => { 106 onClick={() => {
104 this.handleEdit(scope.row); 107 this.handleEdit(scope.row);
105 }} 108 }}
106 > 109 >
107 详情 110 详情
108 </el-button> 111 </el-button>
109 </div> 112 </div>
110 ); 113 );
111 }, 114 },
112 }, 115 },
113 116
114 ]), 117 ]),
...@@ -118,9 +121,7 @@ export default { ...@@ -118,9 +121,7 @@ export default {
118 total: 0, 121 total: 0,
119 pageSize: 15, 122 pageSize: 15,
120 current: 1, 123 current: 1,
121 }, 124 }
122 diaData: null,
123 bsmSjsb: ''
124 } 125 }
125 }, 126 },
126 methods: { 127 methods: {
...@@ -141,15 +142,11 @@ export default { ...@@ -141,15 +142,11 @@ export default {
141 total 142 total
142 } 143 }
143 } catch (error) { 144 } catch (error) {
144 this.message = error
145 this.$refs.msg.messageShow()
146 } 145 }
147 }, 146 }
148
149 } 147 }
150 } 148 }
151 </script> 149 </script>
152 <style scoped lang="scss"> 150 <style scoped lang="scss">
153 @import "~@/styles/public.scss"; 151 @import "~@/styles/public.scss";
154 @import "./index.scss";
155 </style> 152 </style>
......
1 <template> 1 <template>
2 <div class="nydsyq from-clues"> 2 <div class="from-clues">
3 <div class="from-clues-header"> 3 <div class="from-clues-header">
4 <el-form ref="form" :model="form" label-width="105px"> 4 <el-form ref="form" :model="form" label-width="105px">
5 <el-row> 5 <el-row>
6 <el-col :span="5"> 6 <el-col :span="5">
7 <el-form-item label="行政区"> 7 <el-form-item label="行政区">
8 <el-select v-model="form.pcode" class="width100" clearable placeholder="行政区"> 8 <el-select v-model="form.XZQDM" class="width100" clearable placeholder="行政区">
9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
10 </el-option> 10 </el-option>
11 </el-select> 11 </el-select>
...@@ -13,30 +13,30 @@ ...@@ -13,30 +13,30 @@
13 </el-col> 13 </el-col>
14 <el-col :span="5"> 14 <el-col :span="5">
15 <el-form-item label="权属状态" label-width="105px"> 15 <el-form-item label="权属状态" label-width="105px">
16 <el-select v-model="form.pcode" class="width100" clearable placeholder="权属状态"> 16 <el-select v-model="form.QSZT" class="width100" clearable placeholder="权属状态">
17 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 17 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
18 </el-option> 18 </el-option>
19 </el-select> 19 </el-select>
20 </el-form-item> 20 </el-form-item>
21 </el-col> 21 </el-col>
22 <el-col :span="5"> 22 <el-col :span="5">
23 <el-form-item label="坐落"> 23 <el-form-item label="坐落">
24 <el-input v-model="form.YWH" placeholder="请输入坐落"></el-input> 24 <el-input v-model="form.ZL" placeholder="请输入坐落"></el-input>
25 </el-form-item> 25 </el-form-item>
26 </el-col> 26 </el-col>
27 <el-col :span="5"> 27 <el-col :span="5">
28 <el-form-item label="不动产权证号" label-width="105px"> 28 <el-form-item label="不动产权证号" label-width="105px">
29 <el-input v-model="form.BDCDYH" placeholder="请输入不动产权证号"></el-input> 29 <el-input v-model="form.BDCQZH" placeholder="请输入不动产权证号"></el-input>
30 </el-form-item> 30 </el-form-item>
31 </el-col> 31 </el-col>
32 <el-col :span="5" class="mt-10"> 32 <el-col :span="5" class="mt-10">
33 <el-form-item label="权利人"> 33 <el-form-item label="权利人">
34 <el-input v-model="form.YWH" placeholder="请输入权利人"></el-input> 34 <el-input v-model="form.QLR" placeholder="请输入权利人"></el-input>
35 </el-form-item> 35 </el-form-item>
36 </el-col> 36 </el-col>
37 <el-col :span="5" class="mt-10"> 37 <el-col :span="5" class="mt-10">
38 <el-form-item label="登记类型"> 38 <el-form-item label="登记类型">
39 <el-select v-model="form.pcode" class="width100" clearable placeholder="登记类型"> 39 <el-select v-model="form.QLLX" class="width100" clearable placeholder="登记类型">
40 <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 40 <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
41 </el-option> 41 </el-option>
42 </el-select> 42 </el-select>
...@@ -44,11 +44,12 @@ ...@@ -44,11 +44,12 @@
44 </el-col> 44 </el-col>
45 <el-col :span="5" class="mt-10"> 45 <el-col :span="5" class="mt-10">
46 <el-form-item label="地籍号"> 46 <el-form-item label="地籍号">
47 <el-input v-model="form.YWH" placeholder="请输入地籍号"></el-input> 47 <el-input v-model="form.xxx" placeholder="请输入地籍号"></el-input>
48 </el-form-item> 48 </el-form-item>
49 </el-col> 49 </el-col>
50 <el-col :span="4" class="btnColRight mt-10" > 50 <el-col :span="9" class="btnColRight mt-10">
51 <btn nativeType="cx" @click="handleSubmit">查询结果</btn> 51 <btn nativeType="cz" @click="resetForm">重置</btn>
52 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
52 </el-col> 53 </el-col>
53 </el-row> 54 </el-row>
54 </el-form> 55 </el-form>
...@@ -58,7 +59,6 @@ ...@@ -58,7 +59,6 @@
58 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 59 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
59 :data="tableData.data"> 60 :data="tableData.data">
60 </lb-table> 61 </lb-table>
61 <message-tips ref="msg" :message="message" />
62 </div> 62 </div>
63 <dataDetails ref="editLog" :title="title" /> 63 <dataDetails ref="editLog" :title="title" />
64 </div> 64 </div>
...@@ -79,10 +79,13 @@ export default { ...@@ -79,10 +79,13 @@ export default {
79 data () { 79 data () {
80 return { 80 return {
81 form: { 81 form: {
82 YWH: '', 82 XZQDM: '',
83 QSZT: '',
84 ZL: '',
85 BDCQZH: '',
86 QLR: '',
83 QLLX: '', 87 QLLX: '',
84 DJLX: '', 88 xxx: '',
85 BDCDYH: '',
86 currentPage: 1 89 currentPage: 1
87 }, 90 },
88 tableData: { 91 tableData: {
...@@ -95,20 +98,20 @@ export default { ...@@ -95,20 +98,20 @@ export default {
95 { 98 {
96 label: "操作", 99 label: "操作",
97 width: 170, 100 width: 170,
98 render: (h, scope) => { 101 render: (h, scope) => {
99 return ( 102 return (
100 <div> 103 <div>
101 <el-button 104 <el-button
102 type="primary" 105 type="primary"
103 onClick={() => { 106 onClick={() => {
104 this.handleEdit(scope.row); 107 this.handleEdit(scope.row);
105 }} 108 }}
106 > 109 >
107 详情 110 详情
108 </el-button> 111 </el-button>
109 </div> 112 </div>
110 ); 113 );
111 }, 114 },
112 }, 115 },
113 116
114 ]), 117 ]),
...@@ -124,11 +127,6 @@ export default { ...@@ -124,11 +127,6 @@ export default {
124 } 127 }
125 }, 128 },
126 methods: { 129 methods: {
127 // 是否显示下拉框
128 isShowSelectOptions (e) {
129 if (!e) this.$refs.selectagricQL.blur()
130 if (!e) this.$refs.selectagricDJ.blur()
131 },
132 async featchData () { 130 async featchData () {
133 try { 131 try {
134 this.form = Object.assign(this.form, this.formData) 132 this.form = Object.assign(this.form, this.formData)
...@@ -141,8 +139,6 @@ export default { ...@@ -141,8 +139,6 @@ export default {
141 total 139 total
142 } 140 }
143 } catch (error) { 141 } catch (error) {
144 this.message = error
145 this.$refs.msg.messageShow()
146 } 142 }
147 } 143 }
148 } 144 }
...@@ -150,5 +146,4 @@ export default { ...@@ -150,5 +146,4 @@ export default {
150 </script> 146 </script>
151 <style scoped lang="scss"> 147 <style scoped lang="scss">
152 @import "~@/styles/public.scss"; 148 @import "~@/styles/public.scss";
153 @import "./index.scss";
154 </style> 149 </style>
......