plH.vue
9.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<template>
<div>
<el-dialog
title="新增"
:visible.sync="isVisible"
width="50%"
@close="close"
:modal-append-to-body="false"
center>
<div>
<table border="1">
<tr>
<td rowspan="6">预测</td>
<td>建筑面积(㎡)</td>
<td colspan="2"><input type="text" class="inputtitle"/></td>
<td rowspan="6">实测</td>
<td>建筑面积(㎡)</td>
<td><input type="text" class="inputtitle"/></td>
</tr>
<tr>
<td>套内建筑面积(㎡)</td>
<td colspan="2"><input type="text" class="inputtitle"/></td>
<td>套内建筑面积(㎡)</td>
<td><input type="text" class="inputtitle"/></td>
</tr>
<tr>
<td>分摊建筑面积(㎡)</td>
<td colspan="2"><input type="text" class="inputtitle"/></td>
<td>分摊建筑面积(㎡)</td>
<td><input type="text" class="inputtitle"/></td>
</tr>
<tr>
<td>地下部分建筑面积(㎡)</td>
<td colspan="2"><input type="text" class="inputtitle"/></td>
<td>地下部分建筑面积(㎡)</td>
<td><input type="text" class="inputtitle"/></td>
</tr>
<tr>
<td>其他建筑面积(㎡)</td>
<td colspan="2"><input type="text" class="inputtitle"/></td>
<td>其他建筑面积(㎡)</td>
<td><input type="text" class="inputtitle"/></td>
</tr>
<tr>
<td>分摊系数</td>
<td colspan="2"><input type="text" class="inputtitle"/></td>
<td>分摊系数</td>
<td><input type="text" class="inputtitle"/></td>
</tr>
<tr>
<td colspan="2">户型</td>
<td colspan="2">
<el-select>
<el-option
v-for="i in hx"
:key="i.key"
:label="i.label"
:value="i.value"
></el-option>
</el-select>
</td>
<td colspan="2">户型结构</td>
<td>
<el-select>
<el-option
v-for="i in hx"
:key="i.key"
:label="i.label"
:value="i.value"
></el-option>
</el-select>
</td>
</tr>
<tr>
<td colspan="2">共有土地面积(㎡)</td>
<td colspan="2"><input type="text" class="inputtitle"/></td>
<td colspan="2">分摊土地面积(㎡)</td>
<td><input type="text" class="inputtitle"/></td>
</tr>
<tr>
<td colspan="2">独有土地面积(㎡)</td>
<td colspan="2"><input type="text" class="inputtitle"/></td>
<td colspan="2">房屋类型</td>
<td>
<el-select>
<el-option
v-for="i in hx"
:key="i.key"
:label="i.label"
:value="i.value"
></el-option>
</el-select>
</td>
</tr>
<tr>
<td colspan="2">产别</td>
<td colspan="2">
<el-select>
<el-option
v-for="i in hx"
:key="i.key"
:label="i.label"
:value="i.value"
></el-option>
</el-select>
</td>
<td colspan="2">产权来源</td>
<td>
<input type="text" class="inputtitle"/>
</td>
</tr>
<tr>
<td colspan="2">房屋性质</td>
<td colspan="2">
<el-select>
<el-option
v-for="i in hx"
:key="i.key"
:label="i.label"
:value="i.value"
></el-option>
</el-select>
</td>
<td colspan="2"></td>
<td></td>
</tr>
<tr>
<td colspan="2">房屋结构</td>
<td colspan="5">
<el-select>
<el-option
v-for="i in hx"
:key="i.key"
:label="i.label"
:value="i.value"
></el-option>
</el-select>
</td>
</tr>
<tr>
<td colspan="2">房屋用途</td>
<td>规划用途</td>
<td><input type="text" class="inputtitle"/></td>
<td colspan="2">用途</td>
<td><input type="text" class="inputtitle"/></td>
</tr>
<tr>
<td colspan="2">
权利性质
</td>
<td colspan="2">
<input type="text" class="inputtitle"/>
</td>
<td colspan="2">
</td>
<td></td>
</tr>
<tr>
<td colspan="2">东墙体归属</td>
<td colspan="2"><input type="text" class="inputtitle"/></td>
<td colspan="2">南墙体归属</td>
<td><input type="text" class="inputtitle"/></td>
</tr>
<tr>
<td colspan="2">西墙体归属</td>
<td colspan="2"><input type="text" class="inputtitle"/></td>
<td colspan="2">北墙体归属</td>
<td><input type="text" class="inputtitle"/></td>
</tr>
</table>
</div>
<div class="shop">
<el-button type="primary" @click="save">保存</el-button>
<el-button type="primary" @click="result">重置</el-button>
<el-button type="primary" @click="cancel">取消</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
export default {
name: "plH",
props: {
bsms: {
type: Array
},
plhVisible: {
type: Boolean,
default: false
}
},
data() {
return {
isVisible: false,
hx: [{
label: '一居室',
key: '1',
value: '一居室'
}, {
label: '二居室',
key: '2',
value: '二居室'
}, {
label: '三居室',
key: '3',
value: '三居室'
}
]
}
},
methods: {
close: function () {
this.$emit('close')
this.isVisible = false
this.result()
},
result: function () {
},
save: function () {
},
cancel: function () {
this.$emit('close')
this.isVisible = false
}
},
mounted() {
},
watch: {
plhVisible(val) {
this.isVisible = val
}
}
}
</script>
<style scoped>
table {
margin-top: 10px;
background-color: #fff;
font-size: 14px;
width: 100%;
}
td {
text-align: center;
height: 36px;
min-width: 60px;
}
table:hover {
cursor: pointer;
}
.el-select {
width: 98%;
}
.inputtitle {
line-height: 40px;
width: 95%;
border: none;
outline: none;
}
.shop {
text-align: center;
margin-top: 20px;
}
</style>