选择不动产信息
Showing
3 changed files
with
276 additions
and
2 deletions
1 | <template> | ||
2 | <dialogBox title="查询权利信息" @submitForm="submitForm" @closeDialog="closeDialog" v-model="value"> | ||
3 | <div class="from-clues"> | ||
4 | <!-- 表单部分 --> | ||
5 | <div class="from-clues-header"> | ||
6 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
7 | <el-row> | ||
8 | <el-col :span="5"> | ||
9 | <el-form-item label="权利类型"> | ||
10 | <el-select | ||
11 | v-model="queryForm.qllx" | ||
12 | filterable | ||
13 | clearable | ||
14 | placeholder="请选择权利类型" | ||
15 | > | ||
16 | <el-option | ||
17 | v-for="item in qllxs" | ||
18 | :key="item.value" | ||
19 | :label="item.label" | ||
20 | :value="item.value" | ||
21 | > | ||
22 | </el-option> | ||
23 | </el-select> | ||
24 | </el-form-item> | ||
25 | </el-col> | ||
26 | <el-col :span="5"> | ||
27 | <el-form-item label="不动产单元号"> | ||
28 | <el-input | ||
29 | placeholder="请输入不动产单元号" | ||
30 | v-model="queryForm.dyh" | ||
31 | clearable | ||
32 | class="width200px" | ||
33 | > | ||
34 | </el-input> | ||
35 | </el-form-item> | ||
36 | </el-col> | ||
37 | <el-col :span="5"> | ||
38 | <el-form-item label="业务号"> | ||
39 | <el-input | ||
40 | placeholder="请输入业务号" | ||
41 | v-model="queryForm.ywh" | ||
42 | clearable | ||
43 | class="width200px" | ||
44 | > | ||
45 | </el-input> | ||
46 | </el-form-item> | ||
47 | </el-col> | ||
48 | <el-col :span="5"> | ||
49 | <el-form-item label="不动产权证号"> | ||
50 | <el-input | ||
51 | placeholder="请输入不动产权证号" | ||
52 | v-model="queryForm.cqzh" | ||
53 | clearable | ||
54 | class="width200px" | ||
55 | > | ||
56 | </el-input> | ||
57 | </el-form-item> | ||
58 | </el-col> | ||
59 | <el-col :span="4" class="btnCol"> | ||
60 | <el-form-item> | ||
61 | <el-button type="primary" @click="queryClick()">查询</el-button> | ||
62 | </el-form-item> | ||
63 | </el-col> | ||
64 | </el-row> | ||
65 | </el-form> | ||
66 | </div> | ||
67 | <!-- 表格 --> | ||
68 | <div class="from-clues-content"> | ||
69 | <lb-table | ||
70 | :page-size="pageData.size" | ||
71 | :current-page.sync="pageData.current" | ||
72 | :total="pageData.total" | ||
73 | @selection-change="handleSelectionChange" | ||
74 | @size-change="handleSizeChange" | ||
75 | @p-current-change="handleCurrentChange" | ||
76 | :column="tableData.columns" | ||
77 | :data="tableData.data" | ||
78 | > | ||
79 | </lb-table> | ||
80 | </div> | ||
81 | </div> | ||
82 | </dialogBox> | ||
83 | </template> | ||
84 | |||
85 | <script> | ||
86 | import { datas } from "../ywsqdata.js"; | ||
87 | export default { | ||
88 | components: { | ||
89 | }, | ||
90 | props: { | ||
91 | value: { type: Boolean, default: false }, | ||
92 | }, | ||
93 | data () { | ||
94 | return { | ||
95 | queryForm: { | ||
96 | qllx:"", | ||
97 | dyh:"", | ||
98 | ywh:"", | ||
99 | cqzh:"", | ||
100 | }, | ||
101 | qllxs:[], | ||
102 | pageData: { | ||
103 | current: 1, | ||
104 | size: 10, | ||
105 | total: 2, | ||
106 | }, | ||
107 | tableData: { | ||
108 | columns: datas.columns(), | ||
109 | data: [ | ||
110 | { | ||
111 | status:'已查封', | ||
112 | qllx:"国有建设用地使用权", | ||
113 | zddm:"610100008004GB00001", | ||
114 | bdcdyh:"610100008004GB00001W00000000", | ||
115 | qlxz:"出让", | ||
116 | zdmj:'22384.1700', | ||
117 | qlsdfs:'地表', | ||
118 | tdyt:"商业、住宅用地", | ||
119 | zl:"汉台区汉中路街道办事处汉中路居委会太白路北侧", | ||
120 | }, | ||
121 | { | ||
122 | status:'已查封', | ||
123 | qllx:"国有建设用地使用权", | ||
124 | zddm:"610100008004GB00001", | ||
125 | bdcdyh:"610100008004GB00001W00000000", | ||
126 | qlxz:"出让", | ||
127 | zdmj:'22384.1700', | ||
128 | qlsdfs:'地表', | ||
129 | tdyt:"商业、住宅用地", | ||
130 | zl:"汉台区汉中路街道办事处汉中路居委会太白路北侧", | ||
131 | }, | ||
132 | { | ||
133 | status:'已查封', | ||
134 | qllx:"国有建设用地使用权", | ||
135 | zddm:"610100008004GB00001", | ||
136 | bdcdyh:"610100008004GB00001W00000000", | ||
137 | qlxz:"出让", | ||
138 | zdmj:'22384.1700', | ||
139 | qlsdfs:'地表', | ||
140 | tdyt:"商业、住宅用地", | ||
141 | zl:"汉台区汉中路街道办事处汉中路居委会太白路北侧", | ||
142 | }, | ||
143 | ], | ||
144 | }, | ||
145 | } | ||
146 | }, | ||
147 | methods: { | ||
148 | |||
149 | submitForm () { | ||
150 | this.$emit('input', false) | ||
151 | }, | ||
152 | closeDialog () { | ||
153 | this.$emit('input', false) | ||
154 | }, | ||
155 | handleSelectionChange(){}, | ||
156 | handleSizeChange(){}, | ||
157 | handleCurrentChange(){}, | ||
158 | } | ||
159 | } | ||
160 | </script> | ||
161 | <style scoped lang="scss"> | ||
162 | @import "~@/styles/mixin.scss"; | ||
163 | |||
164 | .qtjfjmb-edit-title { | ||
165 | padding-bottom: 10px; | ||
166 | border-bottom: 1px solid $borderColor; | ||
167 | margin-bottom: 10px; | ||
168 | } | ||
169 | |||
170 | ul { | ||
171 | @include flex; | ||
172 | border-radius: 5px; | ||
173 | overflow: hidden; | ||
174 | margin-bottom: 20px; | ||
175 | |||
176 | .active { | ||
177 | background: $light-blue; | ||
178 | color: #fff; | ||
179 | } | ||
180 | |||
181 | li { | ||
182 | flex: 1; | ||
183 | line-height: 36px; | ||
184 | @include flex-center; | ||
185 | border: 1px solid $borderColor; | ||
186 | margin-left: -1px; | ||
187 | cursor: pointer; | ||
188 | transition: all 0.3s; | ||
189 | |||
190 | &:hover { | ||
191 | @extend .active; | ||
192 | } | ||
193 | } | ||
194 | } | ||
195 | </style> |
... | @@ -32,11 +32,16 @@ | ... | @@ -32,11 +32,16 @@ |
32 | </p> | 32 | </p> |
33 | </li> | 33 | </li> |
34 | </ul> | 34 | </ul> |
35 | <div class="right-btn"> | ||
36 | <el-button type="primary" @click="btnClick()">选择不动产信息</el-button> | ||
37 | </div> | ||
35 | </div> | 38 | </div> |
36 | </div> | 39 | </div> |
40 | <choiceDialog v-model="isDialog" /> | ||
37 | </div> | 41 | </div> |
38 | </template> | 42 | </template> |
39 | <script> | 43 | <script> |
44 | import choiceDialog from "./components/choiceDialog.vue" | ||
40 | export default { | 45 | export default { |
41 | data () { | 46 | data () { |
42 | return { | 47 | return { |
... | @@ -126,9 +131,13 @@ export default { | ... | @@ -126,9 +131,13 @@ export default { |
126 | name: '国有建设用地使用权 || 首次登记+ 以出让方式取得', | 131 | name: '国有建设用地使用权 || 首次登记+ 以出让方式取得', |
127 | select: false | 132 | select: false |
128 | } | 133 | } |
129 | ] | 134 | ], |
135 | isDialog: false, | ||
130 | } | 136 | } |
131 | }, | 137 | }, |
138 | components: { | ||
139 | choiceDialog | ||
140 | }, | ||
132 | methods: { | 141 | methods: { |
133 | handleList (list, obj) { | 142 | handleList (list, obj) { |
134 | list.forEach(item => { | 143 | list.forEach(item => { |
... | @@ -144,7 +153,11 @@ export default { | ... | @@ -144,7 +153,11 @@ export default { |
144 | if (item.select) item.select = false | 153 | if (item.select) item.select = false |
145 | }) | 154 | }) |
146 | this.$set(item, 'select', true) | 155 | this.$set(item, 'select', true) |
147 | } | 156 | }, |
157 | // 选择不动产信息 | ||
158 | btnClick(){ | ||
159 | this.isDialog = true | ||
160 | }, | ||
148 | } | 161 | } |
149 | } | 162 | } |
150 | </script> | 163 | </script> | ... | ... |
src/views/ywbl/ywsq/ywsqdata.js
0 → 100644
1 | import filter from '@/utils/filter.js' | ||
2 | let vm = null | ||
3 | |||
4 | const sendThis = (_this) => { | ||
5 | vm = _this | ||
6 | } | ||
7 | class data extends filter { | ||
8 | constructor() { | ||
9 | super() | ||
10 | } | ||
11 | columns () { | ||
12 | return [ | ||
13 | { | ||
14 | type: 'selection', | ||
15 | label: '全选' | ||
16 | }, | ||
17 | { | ||
18 | label: '序号', | ||
19 | type: 'index', | ||
20 | width: '50' | ||
21 | }, | ||
22 | { | ||
23 | prop: "state", | ||
24 | label: "状态", | ||
25 | }, | ||
26 | { | ||
27 | prop: "qllx", | ||
28 | label: "权利类型", | ||
29 | }, | ||
30 | { | ||
31 | prop: "zddm", | ||
32 | label: "宗地代码", | ||
33 | }, | ||
34 | { | ||
35 | prop: "bdcdyh", | ||
36 | label: "不动产单元号", | ||
37 | }, | ||
38 | { | ||
39 | prop: "qlxz", | ||
40 | label: "权利性质", | ||
41 | }, | ||
42 | { | ||
43 | prop: "zdmj", | ||
44 | label: "宗地面积", | ||
45 | }, | ||
46 | { | ||
47 | prop: "qlsdfs", | ||
48 | label: "权利设定方式", | ||
49 | }, | ||
50 | { | ||
51 | prop: "tdyt", | ||
52 | label: "土地用途", | ||
53 | }, | ||
54 | { | ||
55 | prop: "zl", | ||
56 | label: "坐落", | ||
57 | }, | ||
58 | ] | ||
59 | } | ||
60 | |||
61 | |||
62 | } | ||
63 | let datas = new data() | ||
64 | export { | ||
65 | datas, | ||
66 | } |
-
Please register or sign in to post a comment