style:不动产数据
Showing
8 changed files
with
170 additions
and
220 deletions
1 | .obligee-item { | ||
2 | display: flex; | ||
3 | height: 100%; | ||
4 | margin-bottom: 15px; | ||
5 | margin-right: 5px; | ||
6 | |||
7 | &-name { | ||
8 | display: flex; | ||
9 | align-items: center; | ||
10 | justify-content: center; | ||
11 | width: 20px; | ||
12 | padding: 10px 20px; | ||
13 | line-height: 28px; | ||
14 | border: 1px solid #ccc; | ||
15 | border-radius: 3px; | ||
16 | margin-left: 10px; | ||
17 | } | ||
18 | |||
19 | &-list { | ||
20 | width: 100%; | ||
21 | flex: 1; | ||
22 | display: flex; | ||
23 | justify-content: center; | ||
24 | flex-direction: column; | ||
25 | } | ||
26 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -116,92 +116,67 @@ | ... | @@ -116,92 +116,67 @@ |
116 | </div> | 116 | </div> |
117 | </template> | 117 | </template> |
118 | <script> | 118 | <script> |
119 | import djfDjSz from "@/api/djfDjSz"; | 119 | import djfDjSz from "@/api/djfDjSz"; |
120 | import ruleMixin from "@/mixins/ruleMixin.js"; | 120 | import ruleMixin from "@/mixins/ruleMixin.js"; |
121 | // 缮证信息 | 121 | // 缮证信息 |
122 | export default { | 122 | export default { |
123 | mixins: [ruleMixin], | 123 | mixins: [ruleMixin], |
124 | props: { | 124 | props: { |
125 | bsmSjsb: { | 125 | bsmSjsb: { |
126 | type: String, | 126 | type: String, |
127 | default: "", | 127 | default: "" |
128 | }, | ||
129 | bsmYwsjb: { | ||
130 | type: String, | ||
131 | default: "", | ||
132 | }, | ||
133 | }, | ||
134 | data() { | ||
135 | return { | ||
136 | certificateInfo: { | ||
137 | ruleForm: [ | ||
138 | { | ||
139 | YSDM: "", | ||
140 | YWH: "", | ||
141 | SZMC: "", | ||
142 | SZZH: "", | ||
143 | YSXLH: "", | ||
144 | SZRY: "", | ||
145 | SZSJ: "", | ||
146 | BZ: "", | ||
147 | QXDM: "", | ||
148 | }, | ||
149 | ], | ||
150 | }, | 128 | }, |
151 | }; | 129 | bsmYwsjb: { |
152 | }, | 130 | type: String, |
153 | methods: { | 131 | default: "" |
154 | async featchData() { | 132 | }, |
155 | try { | 133 | }, |
156 | let { result: res } = await djfDjSz.getDjfDjSzById(this.bsmSjsb); | 134 | data () { |
157 | this.certificateInfo.ruleForm = res; | 135 | return { |
158 | //this.featchRule() | 136 | certificateInfo: { |
159 | } catch (error) { | 137 | ruleForm: [ |
160 | this.$refs.msg.messageShow(); | 138 | { |
139 | YSDM: "", | ||
140 | YWH: "", | ||
141 | SZMC: "", | ||
142 | SZZH: "", | ||
143 | YSXLH: "", | ||
144 | SZRY: "", | ||
145 | SZSJ: "", | ||
146 | BZ: "", | ||
147 | QXDM: "" | ||
148 | } | ||
149 | ] | ||
150 | } | ||
161 | } | 151 | } |
162 | }, | 152 | }, |
163 | handleUpdateForm() { | 153 | methods: { |
164 | return new Promise(async (resolve) => { | 154 | async featchData () { |
165 | try { | 155 | try { |
166 | let res = await djfDjSz.updateDjfDjSz(this.certificateInfo.ruleForm); | 156 | let { result: res } = await djfDjSz.getDjfDjSzById(this.bsmSjsb); |
167 | // this.$refs['formList'].resetFields(); | 157 | this.certificateInfo.ruleForm = res; |
168 | resolve(res.code); | 158 | //this.featchRule() |
169 | } catch (error) { | 159 | } catch (error) { |
170 | this.$refs.msg.messageShow(); | 160 | this.$refs.msg.messageShow(); |
171 | } | 161 | } |
172 | }); | 162 | }, |
173 | }, | 163 | handleUpdateForm () { |
174 | }, | 164 | return new Promise(async (resolve) => { |
175 | }; | 165 | try { |
166 | let res = await djfDjSz.updateDjfDjSz(this.certificateInfo.ruleForm); | ||
167 | // this.$refs['formList'].resetFields(); | ||
168 | resolve(res.code); | ||
169 | } catch (error) { | ||
170 | this.$refs.msg.messageShow(); | ||
171 | } | ||
172 | }) | ||
173 | } | ||
174 | } | ||
175 | } | ||
176 | </script> | 176 | </script> |
177 | <style scoped lang="scss"> | 177 | <style scoped lang="scss"> |
178 | @import "./css/itemForm.scss"; | 178 | @import "./css/itemForm.scss"; |
179 | |||
180 | .obligee-item { | ||
181 | display: flex; | ||
182 | height: 100%; | ||
183 | margin-bottom: 15px; | ||
184 | margin-right: 5px; | ||
185 | |||
186 | &-name { | ||
187 | display: flex; | ||
188 | align-items: center; | ||
189 | justify-content: center; | ||
190 | width: 20px; | ||
191 | padding: 10px 20px; | ||
192 | line-height: 28px; | ||
193 | border: 1px solid #ccc; | ||
194 | border-radius: 3px; | ||
195 | } | ||
196 | |||
197 | &-list { | ||
198 | width: 100%; | ||
199 | flex: 1; | ||
200 | display: flex; | ||
201 | justify-content: center; | ||
202 | flex-direction: column; | ||
203 | } | ||
204 | } | ||
205 | </style> | 179 | </style> |
206 | 180 | ||
207 | 181 | ||
182 | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
... | @@ -315,112 +315,113 @@ | ... | @@ -315,112 +315,113 @@ |
315 | </div> | 315 | </div> |
316 | </template> | 316 | </template> |
317 | <script> | 317 | <script> |
318 | // 自然幢 | 318 | // 自然幢 |
319 | import kttFwZrz from "@/api/kttFwZrz"; | 319 | import kttFwZrz from "@/api/kttFwZrz"; |
320 | import ruleMixin from "@/mixins/ruleMixin.js"; | 320 | import ruleMixin from "@/mixins/ruleMixin.js"; |
321 | export default { | 321 | export default { |
322 | mixins: [ruleMixin], | 322 | mixins: [ruleMixin], |
323 | props: { | 323 | props: { |
324 | bsmSjsb: { | 324 | bsmSjsb: { |
325 | type: String, | 325 | type: String, |
326 | default: "", | 326 | default: "", |
327 | }, | 327 | }, |
328 | bsmYwsjb: { | 328 | bsmYwsjb: { |
329 | type: String, | 329 | type: String, |
330 | default: "", | 330 | default: "", |
331 | }, | ||
332 | }, | ||
333 | data () { | ||
334 | return { | ||
335 | naturalForm: { | ||
336 | naturalList: [ | ||
337 | { | ||
338 | BSM: "", | ||
339 | YSDM: "", | ||
340 | BDCDYH: "", | ||
341 | ZDDM: "", | ||
342 | ZRZH: "", | ||
343 | XMMC: "", | ||
344 | JZWMC: "", | ||
345 | JGRQ: "", | ||
346 | JZWGD: "", | ||
347 | ZZDMJ: "", | ||
348 | ZYDMJ: "", | ||
349 | YCJZMJ: "", | ||
350 | SCJZMJ: "", | ||
351 | ZCS: "", | ||
352 | DSCS: "", | ||
353 | DXCS: "", | ||
354 | DXSD: "", | ||
355 | GHYT: "", | ||
356 | FWJG: "", | ||
357 | ZTS: "", | ||
358 | JZWJBYT: "", | ||
359 | DAH: "", | ||
360 | BZ: "", | ||
361 | ZT: "", | ||
362 | QXDM: "", | ||
363 | }, | ||
364 | ], | ||
365 | }, | 331 | }, |
366 | }; | ||
367 | }, | ||
368 | methods: { | ||
369 | async featchData () { | ||
370 | try { | ||
371 | let { result: res } = await kttFwZrz.getKttFwZrzById(this.bsmSjsb); | ||
372 | this.naturalForm.naturalList = res; | ||
373 | //this.featchRule() | ||
374 | } catch (error) { | ||
375 | this.$refs.msg.messageShow(); | ||
376 | } | ||
377 | }, | 332 | }, |
378 | handleUpdateForm () { | 333 | data () { |
379 | return new Promise(async (resolve) => { | 334 | return { |
335 | naturalForm: { | ||
336 | naturalList: [ | ||
337 | { | ||
338 | BSM: "", | ||
339 | YSDM: "", | ||
340 | BDCDYH: "", | ||
341 | ZDDM: "", | ||
342 | ZRZH: "", | ||
343 | XMMC: "", | ||
344 | JZWMC: "", | ||
345 | JGRQ: "", | ||
346 | JZWGD: "", | ||
347 | ZZDMJ: "", | ||
348 | ZYDMJ: "", | ||
349 | YCJZMJ: "", | ||
350 | SCJZMJ: "", | ||
351 | ZCS: "", | ||
352 | DSCS: "", | ||
353 | DXCS: "", | ||
354 | DXSD: "", | ||
355 | GHYT: "", | ||
356 | FWJG: "", | ||
357 | ZTS: "", | ||
358 | JZWJBYT: "", | ||
359 | DAH: "", | ||
360 | BZ: "", | ||
361 | ZT: "", | ||
362 | QXDM: "", | ||
363 | }, | ||
364 | ], | ||
365 | }, | ||
366 | }; | ||
367 | }, | ||
368 | methods: { | ||
369 | async featchData () { | ||
380 | try { | 370 | try { |
381 | let res = await kttFwZrz.updateKttFwZrz(this.naturalForm.naturalList); | 371 | let { result: res } = await kttFwZrz.getKttFwZrzById(this.bsmSjsb); |
382 | // this.$refs['formList'].resetFields(); | 372 | this.naturalForm.naturalList = res; |
383 | resolve(res.code); | 373 | //this.featchRule() |
384 | } catch (error) { | 374 | } catch (error) { |
385 | this.$refs.msg.messageShow(); | 375 | this.$refs.msg.messageShow(); |
386 | } | 376 | } |
387 | }); | 377 | }, |
378 | handleUpdateForm () { | ||
379 | return new Promise(async (resolve) => { | ||
380 | try { | ||
381 | let res = await kttFwZrz.updateKttFwZrz(this.naturalForm.naturalList); | ||
382 | // this.$refs['formList'].resetFields(); | ||
383 | resolve(res.code); | ||
384 | } catch (error) { | ||
385 | this.$refs.msg.messageShow(); | ||
386 | } | ||
387 | }); | ||
388 | }, | ||
388 | }, | 389 | }, |
389 | }, | 390 | }; |
390 | }; | ||
391 | </script> | 391 | </script> |
392 | <style scoped lang="scss"> | 392 | <style scoped lang="scss"> |
393 | @import "./css/itemForm.scss"; | 393 | @import "./css/itemForm.scss"; |
394 | 394 | ||
395 | .naturalBuilding { | 395 | .naturalBuilding { |
396 | .naturalBuilding-item { | 396 | .naturalBuilding-item { |
397 | display: flex; | ||
398 | height: 100%; | ||
399 | margin-bottom: 15px; | ||
400 | margin-right: 5px; | ||
401 | |||
402 | .naturalBuilding-name { | ||
403 | display: flex; | 397 | display: flex; |
404 | align-items: center; | 398 | height: 100%; |
405 | justify-content: center; | 399 | margin-bottom: 15px; |
406 | width: 20px; | 400 | margin-right: 5px; |
407 | padding: 10px 20px; | 401 | |
408 | line-height: 28px; | 402 | .naturalBuilding-name { |
409 | border: 1px solid #ccc; | 403 | display: flex; |
410 | margin-right: 15px; | 404 | align-items: center; |
411 | border-radius: 3px; | 405 | justify-content: center; |
412 | } | 406 | width: 20px; |
407 | padding: 10px 20px; | ||
408 | line-height: 28px; | ||
409 | border: 1px solid #ccc; | ||
410 | margin-right: 15px; | ||
411 | border-radius: 3px; | ||
412 | margin-left: 10px; | ||
413 | } | ||
413 | 414 | ||
414 | .naturalBuilding-list { | 415 | .naturalBuilding-list { |
415 | width: 100%; | 416 | width: 100%; |
416 | flex: 1; | 417 | flex: 1; |
418 | } | ||
417 | } | 419 | } |
418 | } | ||
419 | 420 | ||
420 | .bsm { | 421 | .bsm { |
421 | white-space: nowrap; | 422 | white-space: nowrap; |
423 | } | ||
422 | } | 424 | } |
423 | } | ||
424 | </style> | 425 | </style> |
425 | 426 | ||
426 | 427 | ... | ... |
... | @@ -139,32 +139,6 @@ export default { | ... | @@ -139,32 +139,6 @@ export default { |
139 | </script> | 139 | </script> |
140 | <style scoped lang="scss"> | 140 | <style scoped lang="scss"> |
141 | @import "./css/itemForm.scss"; | 141 | @import "./css/itemForm.scss"; |
142 | |||
143 | .obligee-item { | ||
144 | display: flex; | ||
145 | height: 100%; | ||
146 | margin-bottom: 15px; | ||
147 | margin-right: 5px; | ||
148 | |||
149 | &-name { | ||
150 | display: flex; | ||
151 | align-items: center; | ||
152 | justify-content: center; | ||
153 | width: 20px; | ||
154 | padding: 10px 20px; | ||
155 | line-height: 28px; | ||
156 | border: 1px solid #ccc; | ||
157 | border-radius: 3px; | ||
158 | } | ||
159 | |||
160 | &-list { | ||
161 | width: 100%; | ||
162 | flex: 1; | ||
163 | display: flex; | ||
164 | justify-content: center; | ||
165 | flex-direction: column; | ||
166 | } | ||
167 | } | ||
168 | </style> | 142 | </style> |
169 | 143 | ||
170 | 144 | ... | ... |
... | @@ -447,32 +447,6 @@ | ... | @@ -447,32 +447,6 @@ |
447 | </script> | 447 | </script> |
448 | <style scoped lang="scss"> | 448 | <style scoped lang="scss"> |
449 | @import "./css/itemForm.scss"; | 449 | @import "./css/itemForm.scss"; |
450 | |||
451 | .obligee-item { | ||
452 | display: flex; | ||
453 | height: 100%; | ||
454 | margin-bottom: 15px; | ||
455 | margin-right: 5px; | ||
456 | |||
457 | &-name { | ||
458 | display: flex; | ||
459 | align-items: center; | ||
460 | justify-content: center; | ||
461 | width: 20px; | ||
462 | padding: 10px 20px; | ||
463 | line-height: 28px; | ||
464 | border: 1px solid #ccc; | ||
465 | border-radius: 3px; | ||
466 | } | ||
467 | |||
468 | &-list { | ||
469 | width: 100%; | ||
470 | flex: 1; | ||
471 | display: flex; | ||
472 | justify-content: center; | ||
473 | flex-direction: column; | ||
474 | } | ||
475 | } | ||
476 | </style> | 450 | </style> |
477 | 451 | ||
478 | 452 | ... | ... |
-
Please register or sign in to post a comment