Merge branch 'dev'
Showing
23 changed files
with
1672 additions
and
1513 deletions
... | @@ -53,7 +53,20 @@ | ... | @@ -53,7 +53,20 @@ |
53 | font-weight: 500; | 53 | font-weight: 500; |
54 | color: #4a4a4a; | 54 | color: #4a4a4a; |
55 | } | 55 | } |
56 | .bdcqk { | ||
57 | margin-top: 15px; | ||
58 | position: relative; | ||
59 | .count { | ||
60 | color: blue!important; | ||
61 | width: 874px; | ||
62 | font-size: 14px; | ||
63 | position: absolute; | ||
64 | left:200px; | ||
65 | top: -3px; | ||
66 | height: 30px; | ||
56 | 67 | ||
68 | } | ||
69 | } | ||
57 | .btn { | 70 | .btn { |
58 | text-align: center; | 71 | text-align: center; |
59 | padding-top: 10px; | 72 | padding-top: 10px; | ... | ... |
... | @@ -17,8 +17,7 @@ | ... | @@ -17,8 +17,7 @@ |
17 | inline-message | 17 | inline-message |
18 | :show-message="false" | 18 | :show-message="false" |
19 | :class="{ readonly: editDisabled }" | 19 | :class="{ readonly: editDisabled }" |
20 | class="loadingtext" | 20 | class="loadingtext"> |
21 | > | ||
22 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 21 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
23 | <div class="slxx_title title-block"> | 22 | <div class="slxx_title title-block"> |
24 | 补录信息 | 23 | 补录信息 |
... | @@ -41,75 +40,42 @@ | ... | @@ -41,75 +40,42 @@ |
41 | </el-form-item> | 40 | </el-form-item> |
42 | </el-col> | 41 | </el-col> |
43 | </el-row> | 42 | </el-row> |
44 | <div class="slxx_title title-block"> | 43 | <div class="slxx_title title-block bdcqk"> |
45 | 查封登记不动产情况 | 44 | 查封登记不动产情况 |
46 | <div class="triangle"></div> | 45 | <div class="count"> |
47 | </div> | ||
48 | <el-row :gutter="10"> | ||
49 | <el-col :span="8"> | ||
50 | <el-form-item | 46 | <el-form-item |
51 | label="查封不动产权信息:" | 47 | label="查封不动产权信息:" |
52 | prop="ztQlxx.bdcqzh" | 48 | prop="ztQlxx.bdcqzh" |
53 | :rules="rules.ztQlxxrules" | 49 | :rules="rules.ztQlxxrules"> |
54 | > | ||
55 | <select-table | 50 | <select-table |
56 | v-model="ruleForm.ztQlxx" | 51 | v-model="ruleForm.ztQlxx" |
57 | :table-width="550" | 52 | :table-width="730" |
58 | :tableData="ztQlxxList" | 53 | :tableData="ztQlxxList" |
59 | :props="props" | 54 | :props="props" |
60 | @change="ztQlxxchange" | 55 | @change="ztQlxxchange"> |
61 | > | ||
62 | <el-table-column | 56 | <el-table-column |
63 | prop="qllxmc" | 57 | prop="qllxmc" |
64 | width="130" | 58 | width="130" |
65 | label="权利类型" | 59 | label="权利类型"></el-table-column> |
66 | ></el-table-column> | ||
67 | <el-table-column | 60 | <el-table-column |
68 | prop="bdcqzh" | 61 | prop="bdcqzh" |
69 | width="160" | 62 | width="160" |
70 | label="不动产权证书" | 63 | label="不动产权证书"></el-table-column> |
71 | ></el-table-column> | ||
72 | <el-table-column | 64 | <el-table-column |
73 | prop="qlrmc" | 65 | prop="qlrmc" |
74 | label="被执行人" | 66 | label="被执行人"></el-table-column> |
75 | ></el-table-column> | ||
76 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 67 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
77 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 68 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
78 | <el-table-column prop="zl" label="坐落"></el-table-column> | 69 | <el-table-column prop="zl" label="坐落"></el-table-column> |
79 | </select-table> | 70 | </select-table> |
80 | </el-form-item> | 71 | </el-form-item> |
81 | </el-col> | 72 | </div> |
73 | |||
74 | <div class="triangle"></div> | ||
75 | </div> | ||
76 | |||
77 | <el-row :gutter="10"> | ||
82 | 78 | ||
83 | <el-col :span="8" v-if="ruleForm.cfdj.sfbxf == '1'"> | ||
84 | <el-form-item | ||
85 | label="上手权利信息:" | ||
86 | prop="ssQlxx.bdcqzh" | ||
87 | :rules="rules.ssQlxxrules" | ||
88 | > | ||
89 | <select-table | ||
90 | v-model="ruleForm.ssQlxx" | ||
91 | :table-width="550" | ||
92 | :tableData="ssQlxxList" | ||
93 | :props="props" | ||
94 | @change="ssQlxxchange" | ||
95 | > | ||
96 | <el-table-column | ||
97 | prop="qllxmc" | ||
98 | width="130" | ||
99 | label="权利类型" | ||
100 | ></el-table-column> | ||
101 | <el-table-column | ||
102 | prop="bdcqzh" | ||
103 | width="160" | ||
104 | label="不动产权证书" | ||
105 | ></el-table-column> | ||
106 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
107 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
108 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
109 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
110 | </select-table> | ||
111 | </el-form-item> | ||
112 | </el-col> | ||
113 | </el-row> | 79 | </el-row> |
114 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> | 80 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> |
115 | <el-col :span="8"> | 81 | <el-col :span="8"> |
... | @@ -141,7 +107,7 @@ | ... | @@ -141,7 +107,7 @@ |
141 | </el-col> | 107 | </el-col> |
142 | <el-col :span="8"> | 108 | <el-col :span="8"> |
143 | <el-form-item label="坐落:"> | 109 | <el-form-item label="坐落:"> |
144 | <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input> | 110 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
145 | </el-form-item> | 111 | </el-form-item> |
146 | </el-col> | 112 | </el-col> |
147 | </el-row> | 113 | </el-row> |
... | @@ -162,8 +128,35 @@ | ... | @@ -162,8 +128,35 @@ |
162 | </el-form-item> | 128 | </el-form-item> |
163 | </el-col> | 129 | </el-col> |
164 | </el-row> | 130 | </el-row> |
165 | <div class="slxx_title title-block"> | 131 | <div class="slxx_title title-block bdcqk"> |
166 | 查封登记信息 | 132 | 查封登记信息 |
133 | <div class="count"> | ||
134 | <el-form-item | ||
135 | label="上手权利信息:" | ||
136 | prop="ssQlxx.bdcqzh" | ||
137 | :rules="rules.ssQlxxrules" | ||
138 | v-if="ruleForm.cfdj.sfbxf == '1'"> | ||
139 | <select-table | ||
140 | v-model="ruleForm.ssQlxx" | ||
141 | :table-width="730" | ||
142 | :tableData="ssQlxxList" | ||
143 | :props="props" | ||
144 | @change="ssQlxxchange"> | ||
145 | <el-table-column | ||
146 | prop="qllxmc" | ||
147 | width="130" | ||
148 | label="权利类型"></el-table-column> | ||
149 | <el-table-column | ||
150 | prop="bdcqzh" | ||
151 | width="160" | ||
152 | label="不动产权证书"></el-table-column> | ||
153 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
154 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
155 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
156 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
157 | </select-table> | ||
158 | </el-form-item> | ||
159 | </div> | ||
167 | <div class="triangle"></div> | 160 | <div class="triangle"></div> |
168 | </div> | 161 | </div> |
169 | <el-row :gutter="10"> | 162 | <el-row :gutter="10"> |
... | @@ -176,8 +169,7 @@ | ... | @@ -176,8 +169,7 @@ |
176 | <el-form-item | 169 | <el-form-item |
177 | label="业务号:" | 170 | label="业务号:" |
178 | prop="qlxx.ywh" | 171 | prop="qlxx.ywh" |
179 | :rules="rules.ywhrules" | 172 | :rules="rules.ywhrules"> |
180 | > | ||
181 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 173 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> |
182 | </el-form-item> | 174 | </el-form-item> |
183 | </el-col> | 175 | </el-col> |
... | @@ -196,16 +188,18 @@ | ... | @@ -196,16 +188,18 @@ |
196 | <el-col :span="8"> | 188 | <el-col :span="8"> |
197 | <el-form-item label="是否被续封:" | 189 | <el-form-item label="是否被续封:" |
198 | prop="cfdj.sfbxf" | 190 | prop="cfdj.sfbxf" |
199 | :rules="rules.sfbxfrules" | 191 | :rules="rules.sfbxfrules"> |
200 | > | ||
201 | <el-select v-model="ruleForm.cfdj.sfbxf" @change="djlxchange"> | 192 | <el-select v-model="ruleForm.cfdj.sfbxf" @change="djlxchange"> |
202 | <el-option | 193 | <el-option |
203 | v-for="item in sfbxflist" | 194 | v-for="item in sfbxflist" |
204 | :key="item.dcode" | 195 | :key="item.dcode" |
205 | :label="item.dname" | 196 | :label="item.dname" |
206 | :value="item.dcode" | 197 | :value="item.dcode"></el-option> |
207 | ></el-option> | ||
208 | </el-select> | 198 | </el-select> |
199 | <el-radio-group v-model="ruleForm.cfdj.sfbxf"> | ||
200 | <el-radio label="1">是</el-radio> | ||
201 | <el-radio label="2">否</el-radio> | ||
202 | </el-radio-group> | ||
209 | </el-form-item> | 203 | </el-form-item> |
210 | </el-col> | 204 | </el-col> |
211 | <el-col :span="8"> | 205 | <el-col :span="8"> |
... | @@ -220,8 +214,7 @@ | ... | @@ -220,8 +214,7 @@ |
220 | v-for="item in qsztlist" | 214 | v-for="item in qsztlist" |
221 | :key="item.dcode" | 215 | :key="item.dcode" |
222 | :label="item.dname" | 216 | :label="item.dname" |
223 | :value="item.dcode" | 217 | :value="item.dcode"></el-option> |
224 | ></el-option> | ||
225 | </el-select> | 218 | </el-select> |
226 | </el-form-item> | 219 | </el-form-item> |
227 | </el-col> | 220 | </el-col> |
... | @@ -246,8 +239,7 @@ | ... | @@ -246,8 +239,7 @@ |
246 | v-for="item in dictData['A32']" | 239 | v-for="item in dictData['A32']" |
247 | :key="item.dcode" | 240 | :key="item.dcode" |
248 | :label="item.dname" | 241 | :label="item.dname" |
249 | :value="item.dcode" | 242 | :value="item.dcode"></el-option> |
250 | ></el-option> | ||
251 | </el-select> | 243 | </el-select> |
252 | </el-form-item> | 244 | </el-form-item> |
253 | </el-col> | 245 | </el-col> |
... | @@ -264,8 +256,7 @@ | ... | @@ -264,8 +256,7 @@ |
264 | type="date" | 256 | type="date" |
265 | placeholder="选择日期" | 257 | placeholder="选择日期" |
266 | value-format="yyyy-MM-dd HH:mm:ss" | 258 | value-format="yyyy-MM-dd HH:mm:ss" |
267 | format="yyyy-MM-dd" | 259 | format="yyyy-MM-dd"></el-date-picker> |
268 | ></el-date-picker> | ||
269 | </el-form-item> | 260 | </el-form-item> |
270 | </el-col> | 261 | </el-col> |
271 | <el-col :span="8"> | 262 | <el-col :span="8"> |
... | @@ -276,8 +267,7 @@ | ... | @@ -276,8 +267,7 @@ |
276 | type="date" | 267 | type="date" |
277 | placeholder="选择日期" | 268 | placeholder="选择日期" |
278 | value-format="yyyy-MM-dd HH:mm:ss" | 269 | value-format="yyyy-MM-dd HH:mm:ss" |
279 | format="yyyy-MM-dd" | 270 | format="yyyy-MM-dd"></el-date-picker> |
280 | ></el-date-picker> | ||
281 | </el-form-item> | 271 | </el-form-item> |
282 | </el-col> | 272 | </el-col> |
283 | <el-col :span="8"> | 273 | <el-col :span="8"> |
... | @@ -303,8 +293,7 @@ | ... | @@ -303,8 +293,7 @@ |
303 | <el-form-item | 293 | <el-form-item |
304 | label="登记机构:" | 294 | label="登记机构:" |
305 | prop="qlxx.djjg" | 295 | prop="qlxx.djjg" |
306 | :rules="rules.djjgrules" | 296 | :rules="rules.djjgrules"> |
307 | > | ||
308 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 297 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
309 | </el-form-item> | 298 | </el-form-item> |
310 | </el-col> | 299 | </el-col> |
... | @@ -313,8 +302,7 @@ | ... | @@ -313,8 +302,7 @@ |
313 | <el-form-item | 302 | <el-form-item |
314 | label="登簿人:" | 303 | label="登簿人:" |
315 | prop="qlxx.dbr" | 304 | prop="qlxx.dbr" |
316 | :rules="rules.dbrrules" | 305 | :rules="rules.dbrrules"> |
317 | > | ||
318 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> | 306 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> |
319 | </el-form-item> | 307 | </el-form-item> |
320 | </el-col> | 308 | </el-col> |
... | @@ -322,16 +310,14 @@ | ... | @@ -322,16 +310,14 @@ |
322 | <el-form-item | 310 | <el-form-item |
323 | label="登记时间:" | 311 | label="登记时间:" |
324 | prop="qlxx.djsj" | 312 | prop="qlxx.djsj" |
325 | :rules="rules.djsjrules" | 313 | :rules="rules.djsjrules"> |
326 | > | ||
327 | <el-date-picker | 314 | <el-date-picker |
328 | v-model="ruleForm.qlxx.djsj" | 315 | v-model="ruleForm.qlxx.djsj" |
329 | type="date" | 316 | type="date" |
330 | placeholder="选择日期" | 317 | placeholder="选择日期" |
331 | class="width100" | 318 | class="width100" |
332 | value-format="yyyy-MM-dd HH:mm:ss" | 319 | value-format="yyyy-MM-dd HH:mm:ss" |
333 | format="yyyy-MM-dd" | 320 | format="yyyy-MM-dd"> |
334 | > | ||
335 | </el-date-picker> | 321 | </el-date-picker> |
336 | </el-form-item> | 322 | </el-form-item> |
337 | </el-col> | 323 | </el-col> |
... | @@ -375,8 +361,7 @@ | ... | @@ -375,8 +361,7 @@ |
375 | type="date" | 361 | type="date" |
376 | placeholder="选择日期" | 362 | placeholder="选择日期" |
377 | value-format="yyyy-MM-dd HH:mm:ss" | 363 | value-format="yyyy-MM-dd HH:mm:ss" |
378 | format="yyyy-MM-dd" | 364 | format="yyyy-MM-dd"> |
379 | > | ||
380 | </el-date-picker> | 365 | </el-date-picker> |
381 | </el-form-item> | 366 | </el-form-item> |
382 | </el-col> | 367 | </el-col> |
... | @@ -391,290 +376,290 @@ | ... | @@ -391,290 +376,290 @@ |
391 | </div> | 376 | </div> |
392 | </template> | 377 | </template> |
393 | <script> | 378 | <script> |
394 | import { mapGetters } from "vuex"; | 379 | import { mapGetters } from "vuex"; |
395 | import { init, getSsQlxx, getZtQlxx,getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; | 380 | import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; |
396 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 381 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
397 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | 382 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
398 | import tdytTable from "@/views/workflow/components/tdytTable"; | 383 | import tdytTable from "@/views/workflow/components/tdytTable"; |
399 | import selectTable from "@/components/selectTable/index.vue"; | 384 | import selectTable from "@/components/selectTable/index.vue"; |
400 | export default { | 385 | export default { |
401 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, | 386 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, |
402 | computed: { | 387 | computed: { |
403 | ...mapGetters(["dictData", "flag"]), | 388 | ...mapGetters(["dictData", "flag"]), |
404 | // 根据流程判断表单是否为只读 | 389 | // 根据流程判断表单是否为只读 |
405 | editDisabled() { | 390 | editDisabled () { |
406 | if (!this.ableOperation) { | 391 | if (!this.ableOperation) { |
407 | //只读状态 | 392 | //只读状态 |
408 | return true; | 393 | return true; |
409 | } | 394 | } |
410 | return false; | 395 | return false; |
411 | }, | ||
412 | }, | ||
413 | data() { | ||
414 | return { | ||
415 | //表单是否可操作 | ||
416 | props: { | ||
417 | label: "bdcqzh", | ||
418 | value: "bdcdyid", | ||
419 | }, | 396 | }, |
420 | propsParam: this.$attrs, | 397 | }, |
421 | key: 0, | 398 | data () { |
422 | isShow: false, | 399 | return { |
423 | ssqlxxshow: true, | 400 | //表单是否可操作 |
424 | disabled: true, | 401 | props: { |
425 | czrOptions: [], | 402 | label: "bdcqzh", |
426 | ruleForm: {}, | 403 | value: "bdcdyid", |
427 | rules: {}, | ||
428 | // 登记类型 | ||
429 | djlxlist: [ | ||
430 | { | ||
431 | dcode: "100", | ||
432 | dname: "首次登记", | ||
433 | }, | ||
434 | { | ||
435 | dcode: "200", | ||
436 | dname: "转移登记", | ||
437 | }, | ||
438 | { | ||
439 | dcode: "300", | ||
440 | dname: "变更登记", | ||
441 | }, | ||
442 | { | ||
443 | dcode: "500", | ||
444 | dname: "更正登记", | ||
445 | }, | ||
446 | |||
447 | { | ||
448 | dcode: "901", | ||
449 | dname: "补证", | ||
450 | }, | ||
451 | { | ||
452 | dcode: "902", | ||
453 | dname: "换证", | ||
454 | }, | ||
455 | ], | ||
456 | |||
457 | // 权属状态 | ||
458 | qsztlist: [ | ||
459 | { | ||
460 | dcode: "1", | ||
461 | dname: "现势", | ||
462 | }, | ||
463 | { | ||
464 | dcode: "2", | ||
465 | dname: "历史", | ||
466 | }, | ||
467 | ], | ||
468 | // 是否被续封 | ||
469 | sfbxflist: [ | ||
470 | { | ||
471 | dcode: "0", | ||
472 | dname: "否", | ||
473 | }, | ||
474 | { | ||
475 | dcode: "1", | ||
476 | dname: "是", | ||
477 | }, | 404 | }, |
478 | ], | 405 | propsParam: this.$attrs, |
479 | ableOperation: false, | 406 | key: 0, |
480 | //传递参数\ | 407 | isShow: false, |
408 | ssqlxxshow: true, | ||
409 | disabled: true, | ||
410 | czrOptions: [], | ||
411 | ruleForm: {}, | ||
412 | rules: {}, | ||
413 | // 登记类型 | ||
414 | djlxlist: [ | ||
415 | { | ||
416 | dcode: "100", | ||
417 | dname: "首次登记", | ||
418 | }, | ||
419 | { | ||
420 | dcode: "200", | ||
421 | dname: "转移登记", | ||
422 | }, | ||
423 | { | ||
424 | dcode: "300", | ||
425 | dname: "变更登记", | ||
426 | }, | ||
427 | { | ||
428 | dcode: "500", | ||
429 | dname: "更正登记", | ||
430 | }, | ||
481 | 431 | ||
482 | ssQlxxList: [], | 432 | { |
483 | ztQlxxList: [], | 433 | dcode: "901", |
484 | rules: { | 434 | dname: "补证", |
485 | ztQlxxrules: [ | 435 | }, |
486 | { required: true, message: "抵押不动产信息", trigger: "blur" }, | 436 | { |
487 | ], | 437 | dcode: "902", |
488 | ssQlxxrules: [ | 438 | dname: "换证", |
489 | { required: true, message: "上手权利信息", trigger: "blur" }, | 439 | }, |
490 | ], | 440 | ], |
491 | bdcqzhrules: [ | 441 | |
492 | { required: true, message: "不动产登记证明号", trigger: "blur" }, | 442 | // 权属状态 |
443 | qsztlist: [ | ||
444 | { | ||
445 | dcode: "1", | ||
446 | dname: "现势", | ||
447 | }, | ||
448 | { | ||
449 | dcode: "2", | ||
450 | dname: "历史", | ||
451 | }, | ||
493 | ], | 452 | ], |
494 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | 453 | // 是否被续封 |
495 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 454 | sfbxflist: [ |
496 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | 455 | { |
497 | ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], | 456 | dcode: "0", |
498 | sfbxfrules: [ | 457 | dname: "否", |
499 | { required: true, message: "是否被续封", trigger: "change" }, | 458 | }, |
459 | { | ||
460 | dcode: "1", | ||
461 | dname: "是", | ||
462 | }, | ||
500 | ], | 463 | ], |
501 | }, | 464 | ableOperation: false, |
502 | }; | 465 | //传递参数\ |
503 | }, | 466 | |
504 | created() { | 467 | ssQlxxList: [], |
505 | this.loadData(); | 468 | ztQlxxList: [], |
506 | }, | 469 | rules: { |
507 | mounted() { | 470 | ztQlxxrules: [ |
508 | this.ableOperation = this.$parent.ableOperation; | 471 | { required: true, message: "抵押不动产信息", trigger: "blur" }, |
509 | }, | 472 | ], |
510 | methods: { | 473 | ssQlxxrules: [ |
511 | /** | 474 | { required: true, message: "上手权利信息", trigger: "blur" }, |
512 | * @description: ztQlxxchange | 475 | ], |
513 | * @param {*} val | 476 | bdcqzhrules: [ |
514 | * @author: renchao | 477 | { required: true, message: "不动产登记证明号", trigger: "blur" }, |
515 | */ | 478 | ], |
516 | ztQlxxchange(val) { | 479 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
517 | this.ruleForm.ztQlxx = val; | 480 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
481 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | ||
482 | ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], | ||
483 | sfbxfrules: [ | ||
484 | { required: true, message: "是否被续封", trigger: "change" }, | ||
485 | ], | ||
486 | }, | ||
487 | }; | ||
518 | }, | 488 | }, |
519 | /** | 489 | created () { |
520 | * @description: ssQlxxchange | 490 | this.loadData(); |
521 | * @param {*} val | ||
522 | * @author: renchao | ||
523 | */ | ||
524 | ssQlxxchange(val) { | ||
525 | this.ruleForm.ssQlxx = val; | ||
526 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
527 | this.ssQlxxchangediolog(val); | ||
528 | }, | 491 | }, |
529 | // 弹框事件 | 492 | mounted () { |
530 | ssQlxxchangediolog(val) { | 493 | this.ableOperation = this.$parent.ableOperation; |
531 | console.log("确定了", this.ruleForm); | 494 | }, |
532 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | 495 | methods: { |
533 | iconClass: "el-icon-question", //自定义图标样式 | 496 | /** |
534 | confirmButtonText: "确认", //确认按钮文字更换 | 497 | * @description: ztQlxxchange |
535 | cancelButtonText: "取消", //取消按钮文字更换 | 498 | * @param {*} val |
536 | showClose: true, //是否显示右上角关闭按钮 | 499 | * @author: renchao |
537 | type: "warning", | 500 | */ |
538 | }).then(() => { | 501 | ztQlxxchange (val) { |
539 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | 502 | this.ruleForm.ztQlxx = val; |
540 | if (res.code == 200) { | 503 | }, |
541 | this.nowlist = res.result; | 504 | /** |
542 | console.log("his.nowlist", this.nowlist); | 505 | * @description: ssQlxxchange |
543 | console.log("this.ruleForm", this.ruleForm); | 506 | * @param {*} val |
544 | for (var key in this.ruleForm.cfdj) { | 507 | * @author: renchao |
545 | if ( | 508 | */ |
546 | this.ruleForm.cfdj[key] == "" || | 509 | ssQlxxchange (val) { |
547 | this.ruleForm.cfdj[key] == null | 510 | this.ruleForm.ssQlxx = val; |
548 | ) { | 511 | this.ruleForm.qlxx.ssywh = val.ywh; |
549 | this.ruleForm.cfdj[key] = this.nowlist.cfdj[key]; | 512 | this.ssQlxxchangediolog(val); |
513 | }, | ||
514 | // 弹框事件 | ||
515 | ssQlxxchangediolog (val) { | ||
516 | console.log("确定了", this.ruleForm); | ||
517 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | ||
518 | iconClass: "el-icon-question", //自定义图标样式 | ||
519 | confirmButtonText: "确认", //确认按钮文字更换 | ||
520 | cancelButtonText: "取消", //取消按钮文字更换 | ||
521 | showClose: true, //是否显示右上角关闭按钮 | ||
522 | type: "warning", | ||
523 | }).then(() => { | ||
524 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | ||
525 | if (res.code == 200) { | ||
526 | this.nowlist = res.result; | ||
527 | console.log("his.nowlist", this.nowlist); | ||
528 | console.log("this.ruleForm", this.ruleForm); | ||
529 | for (var key in this.ruleForm.cfdj) { | ||
530 | if ( | ||
531 | this.ruleForm.cfdj[key] == "" || | ||
532 | this.ruleForm.cfdj[key] == null | ||
533 | ) { | ||
534 | this.ruleForm.cfdj[key] = this.nowlist.cfdj[key]; | ||
535 | } | ||
550 | } | 536 | } |
551 | } | 537 | for (var key in this.ruleForm.qlxx) { |
552 | for (var key in this.ruleForm.qlxx) { | 538 | if ( |
553 | if ( | 539 | (this.ruleForm.qlxx[key] == null && key != "ywh") || |
554 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | 540 | this.ruleForm.qlxx[key] == null |
555 | this.ruleForm.qlxx[key] == null | 541 | ) { |
556 | ) { | 542 | console.log("this.ruleForm.qlxx[key]", key); |
557 | console.log("this.ruleForm.qlxx[key]", key); | 543 | if (key != "ywh") { |
558 | if (key != "ywh") { | 544 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; |
559 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | 545 | } |
560 | } | 546 | } |
561 | } | 547 | } |
562 | } | 548 | console.log("this.ruleForm", this.ruleForm); |
563 | console.log("this.ruleForm", this.ruleForm); | ||
564 | this.$message({ | ||
565 | type: "success", | ||
566 | message: "同步成功!", | ||
567 | }); | ||
568 | } | ||
569 | }); | ||
570 | }).catch(() => { | ||
571 | this.$message({ | ||
572 | type: "info", | ||
573 | message: "已取消同步", | ||
574 | }); | ||
575 | }) | ||
576 | }, | ||
577 | /** | ||
578 | * @description: djlxchange | ||
579 | * @param {*} val | ||
580 | * @author: renchao | ||
581 | */ | ||
582 | djlxchange(val) { | ||
583 | if (val == null || val == 100) { | ||
584 | this.ssqlxxshow = false; | ||
585 | } else { | ||
586 | this.ssqlxxshow = true; | ||
587 | } | ||
588 | }, | ||
589 | /** | ||
590 | * @description: loadData | ||
591 | * @author: renchao | ||
592 | */ | ||
593 | loadData() { | ||
594 | this.$startLoading(); | ||
595 | this.propsParam.isEdit = this.$parent.isEdit; | ||
596 | init(this.propsParam).then((res) => { | ||
597 | if (res.code == 200) { | ||
598 | this.ruleForm = res.result; | ||
599 | this.isShow = true; | ||
600 | let djlx = this.ruleForm.qlxx.djlx; | ||
601 | this.$endLoading(); | ||
602 | if (djlx == null || djlx == 100) { | ||
603 | this.ssqlxxshow = false; | ||
604 | } | ||
605 | |||
606 | //获取主体信息 | ||
607 | getSsQlxx({ | ||
608 | bdcdyid: this.propsParam.bdcdyid, | ||
609 | qllx: this.propsParam.qllx, | ||
610 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
611 | }).then((res) => { | ||
612 | if (res.code == 200) { | ||
613 | this.ssQlxxList = res.result; | ||
614 | } | ||
615 | }); | ||
616 | //获取上手信息 | ||
617 | getZtQlxx({ | ||
618 | bdcdyid: this.propsParam.bdcdyid, | ||
619 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
620 | }).then((res) => { | ||
621 | if (res.code == 200) { | ||
622 | this.ztQlxxList = res.result; | ||
623 | } | ||
624 | }); | ||
625 | } | ||
626 | }); | ||
627 | }, | ||
628 | // // 更新土地用途信息 | ||
629 | // upDateTdytxxList(val) { | ||
630 | // this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
631 | // this.key++; | ||
632 | // }, | ||
633 | // // 更新权利人信息 | ||
634 | // upDateQlrxxList(val) { | ||
635 | // this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
636 | // this.czrOptions = this.ruleForm.qlrData; | ||
637 | // this.key++; | ||
638 | // }, | ||
639 | // // 更新义务人信息 | ||
640 | // upDateYwrxxList(val) { | ||
641 | // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | ||
642 | // this.key++; | ||
643 | // }, | ||
644 | /** | ||
645 | * @description: onSubmit | ||
646 | * @author: renchao | ||
647 | */ | ||
648 | onSubmit() { | ||
649 | this.$refs.ruleForm.validate((valid) => { | ||
650 | console.log("valid", valid); | ||
651 | if (valid) { | ||
652 | save(this.ruleForm).then((res) => { | ||
653 | if (res.code === 200) { | ||
654 | this.$message({ | 549 | this.$message({ |
655 | showClose: true, | ||
656 | message: "保存成功!", | ||
657 | type: "success", | 550 | type: "success", |
658 | }); | 551 | message: "同步成功!", |
659 | this.$parent.changeywh(); | ||
660 | this.$store.dispatch("user/refreshPage", true); | ||
661 | } else { | ||
662 | this.$message({ | ||
663 | showClose: true, | ||
664 | message: res.message, | ||
665 | type: "error", | ||
666 | }); | 552 | }); |
667 | } | 553 | } |
668 | }); | 554 | }); |
555 | }).catch(() => { | ||
556 | this.$message({ | ||
557 | type: "info", | ||
558 | message: "已取消同步", | ||
559 | }); | ||
560 | }) | ||
561 | }, | ||
562 | /** | ||
563 | * @description: djlxchange | ||
564 | * @param {*} val | ||
565 | * @author: renchao | ||
566 | */ | ||
567 | djlxchange (val) { | ||
568 | if (val == null || val == 100) { | ||
569 | this.ssqlxxshow = false; | ||
669 | } else { | 570 | } else { |
670 | return false; | 571 | this.ssqlxxshow = true; |
671 | } | 572 | } |
672 | }); | 573 | }, |
574 | /** | ||
575 | * @description: loadData | ||
576 | * @author: renchao | ||
577 | */ | ||
578 | loadData () { | ||
579 | this.$startLoading(); | ||
580 | this.propsParam.isEdit = this.$parent.isEdit; | ||
581 | init(this.propsParam).then((res) => { | ||
582 | if (res.code == 200) { | ||
583 | this.ruleForm = res.result; | ||
584 | this.isShow = true; | ||
585 | let djlx = this.ruleForm.qlxx.djlx; | ||
586 | this.$endLoading(); | ||
587 | if (djlx == null || djlx == 100) { | ||
588 | this.ssqlxxshow = false; | ||
589 | } | ||
590 | |||
591 | //获取主体信息 | ||
592 | getSsQlxx({ | ||
593 | bdcdyid: this.propsParam.bdcdyid, | ||
594 | qllx: this.propsParam.qllx, | ||
595 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
596 | }).then((res) => { | ||
597 | if (res.code == 200) { | ||
598 | this.ssQlxxList = res.result; | ||
599 | } | ||
600 | }); | ||
601 | //获取上手信息 | ||
602 | getZtQlxx({ | ||
603 | bdcdyid: this.propsParam.bdcdyid, | ||
604 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
605 | }).then((res) => { | ||
606 | if (res.code == 200) { | ||
607 | this.ztQlxxList = res.result; | ||
608 | } | ||
609 | }); | ||
610 | } | ||
611 | }); | ||
612 | }, | ||
613 | // // 更新土地用途信息 | ||
614 | // upDateTdytxxList(val) { | ||
615 | // this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
616 | // this.key++; | ||
617 | // }, | ||
618 | // // 更新权利人信息 | ||
619 | // upDateQlrxxList(val) { | ||
620 | // this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
621 | // this.czrOptions = this.ruleForm.qlrData; | ||
622 | // this.key++; | ||
623 | // }, | ||
624 | // // 更新义务人信息 | ||
625 | // upDateYwrxxList(val) { | ||
626 | // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | ||
627 | // this.key++; | ||
628 | // }, | ||
629 | /** | ||
630 | * @description: onSubmit | ||
631 | * @author: renchao | ||
632 | */ | ||
633 | onSubmit () { | ||
634 | this.$refs.ruleForm.validate((valid) => { | ||
635 | console.log("valid", valid); | ||
636 | if (valid) { | ||
637 | save(this.ruleForm).then((res) => { | ||
638 | if (res.code === 200) { | ||
639 | this.$message({ | ||
640 | showClose: true, | ||
641 | message: "保存成功!", | ||
642 | type: "success", | ||
643 | }); | ||
644 | this.$parent.changeywh(); | ||
645 | this.$store.dispatch("user/refreshPage", true); | ||
646 | } else { | ||
647 | this.$message({ | ||
648 | showClose: true, | ||
649 | message: res.message, | ||
650 | type: "error", | ||
651 | }); | ||
652 | } | ||
653 | }); | ||
654 | } else { | ||
655 | return false; | ||
656 | } | ||
657 | }); | ||
658 | }, | ||
673 | }, | 659 | }, |
674 | }, | 660 | }; |
675 | }; | ||
676 | </script> | 661 | </script> |
677 | <style scoped lang="scss"> | 662 | <style scoped lang="scss"> |
678 | @import "~@/styles/public.scss"; | 663 | @import "~@/styles/public.scss"; |
679 | @import "~@/styles/slxx/slxx.scss"; | 664 | @import "~@/styles/slxx/slxx.scss"; |
680 | </style> | 665 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 15:53:09 | 4 | * @LastEditTime: 2023-08-04 16:29:10 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -14,7 +14,7 @@ | ... | @@ -14,7 +14,7 @@ |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
17 | label-width="169px" | 17 | label-width="170px" |
18 | inline-message | 18 | inline-message |
19 | :show-message="false"> | 19 | :show-message="false"> |
20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
... | @@ -39,19 +39,16 @@ | ... | @@ -39,19 +39,16 @@ |
39 | </el-form-item> | 39 | </el-form-item> |
40 | </el-col> | 40 | </el-col> |
41 | </el-row> | 41 | </el-row> |
42 | <div class="slxx_title title-block"> | 42 | <div class="slxx_title title-block bdcqk"> |
43 | 抵押不动产情况 | 43 | 抵押不动产情况 |
44 | <div class="triangle"></div> | 44 | <div class="count"> |
45 | </div> | ||
46 | <el-row :gutter="10"> | ||
47 | <el-col :span="8"> | ||
48 | <el-form-item | 45 | <el-form-item |
49 | label="抵押不动产信息:" | 46 | label="抵押不动产信息:" |
50 | prop="ztQlxx.bdcqzh" | 47 | prop="ztQlxx.bdcqzh" |
51 | :rules="rules.ztQlxxrules"> | 48 | :rules="rules.ztQlxxrules"> |
52 | <select-table | 49 | <select-table |
53 | v-model="ruleForm.ztQlxx" | 50 | v-model="ruleForm.ztQlxx" |
54 | :table-width="550" | 51 | :table-width="730" |
55 | :tableData="ztQlxxList" | 52 | :tableData="ztQlxxList" |
56 | :props="props" | 53 | :props="props" |
57 | @change="ztQlxxchange"> | 54 | @change="ztQlxxchange"> |
... | @@ -62,43 +59,20 @@ | ... | @@ -62,43 +59,20 @@ |
62 | <el-table-column | 59 | <el-table-column |
63 | prop="bdcqzh" | 60 | prop="bdcqzh" |
64 | width="160" | 61 | width="160" |
65 | label="不动产权证书"></el-table-column> | 62 | label="不动产权证书" |
66 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | 63 | ></el-table-column> |
67 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
68 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
69 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
70 | </select-table> | ||
71 | </el-form-item> | ||
72 | </el-col> | ||
73 | |||
74 | <el-col :span="8" v-if="ssqlxxshow"> | ||
75 | <el-form-item | ||
76 | label="上手权利信息:" | ||
77 | prop="ssQlxx.bdcqzh" | ||
78 | :rules="rules.ssQlxxrules"> | ||
79 | <select-table | ||
80 | v-model="ruleForm.ssQlxx" | ||
81 | :table-width="550" | ||
82 | :tableData="ssQlxxList" | ||
83 | :props="props" | ||
84 | @change="ssQlxxchange"> | ||
85 | <el-table-column | ||
86 | prop="qllxmc" | ||
87 | width="130" | ||
88 | label="权利类型"></el-table-column> | ||
89 | <el-table-column | 64 | <el-table-column |
90 | prop="bdcqzh" | 65 | prop="qlrmc" |
91 | width="160" | 66 | label="被执行人" |
92 | label="不动产权证书"></el-table-column> | 67 | ></el-table-column> |
93 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
94 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 68 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
95 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 69 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
96 | <el-table-column prop="zl" label="坐落"></el-table-column> | 70 | <el-table-column prop="zl" label="坐落"></el-table-column> |
97 | </select-table> | 71 | </select-table> |
98 | </el-form-item> | 72 | </el-form-item> |
99 | </el-col> | 73 | </div> |
100 | </el-row> | 74 | <div class="triangle"></div> |
101 | 75 | </div> | |
102 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> | 76 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> |
103 | <el-col :span="8"> | 77 | <el-col :span="8"> |
104 | <el-form-item label="权利人:"> | 78 | <el-form-item label="权利人:"> |
... | @@ -129,7 +103,7 @@ | ... | @@ -129,7 +103,7 @@ |
129 | </el-col> | 103 | </el-col> |
130 | <el-col :span="8"> | 104 | <el-col :span="8"> |
131 | <el-form-item label="坐落:"> | 105 | <el-form-item label="坐落:"> |
132 | <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input> | 106 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
133 | </el-form-item> | 107 | </el-form-item> |
134 | </el-col> | 108 | </el-col> |
135 | </el-row> | 109 | </el-row> |
... | @@ -150,8 +124,38 @@ | ... | @@ -150,8 +124,38 @@ |
150 | </el-form-item> | 124 | </el-form-item> |
151 | </el-col> | 125 | </el-col> |
152 | </el-row> | 126 | </el-row> |
153 | <div class="slxx_title title-block"> | 127 | <div class="slxx_title title-block bdcqk"> |
154 | 抵押权信息 | 128 | 抵押权信息 |
129 | <div class="count" v-if="ssqlxxshow"> | ||
130 | <el-form-item | ||
131 | label="上手权利信息:" | ||
132 | prop="ssQlxx.bdcqzh" | ||
133 | :rules="rules.ssQlxxrules" | ||
134 | > | ||
135 | <select-table | ||
136 | v-model="ruleForm.ssQlxx" | ||
137 | :table-width="730" | ||
138 | :tableData="ssQlxxList" | ||
139 | :props="props" | ||
140 | @change="ssQlxxchange" | ||
141 | > | ||
142 | <el-table-column | ||
143 | prop="qllxmc" | ||
144 | width="130" | ||
145 | label="权利类型" | ||
146 | ></el-table-column> | ||
147 | <el-table-column | ||
148 | prop="bdcqzh" | ||
149 | width="160" | ||
150 | label="不动产权证书" | ||
151 | ></el-table-column> | ||
152 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
153 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
154 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
155 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
156 | </select-table> | ||
157 | </el-form-item> | ||
158 | </div> | ||
155 | <div class="triangle"></div> | 159 | <div class="triangle"></div> |
156 | </div> | 160 | </div> |
157 | 161 | ||
... | @@ -655,7 +659,7 @@ | ... | @@ -655,7 +659,7 @@ |
655 | this.loadData(); | 659 | this.loadData(); |
656 | this.ableOperation = this.$parent.ableOperation; | 660 | this.ableOperation = this.$parent.ableOperation; |
657 | }, | 661 | }, |
658 | methods: { | 662 | methods: { |
659 | /** | 663 | /** |
660 | * @description: ztQlxxchange | 664 | * @description: ztQlxxchange |
661 | * @param {*} val | 665 | * @param {*} val |
... | @@ -674,54 +678,56 @@ | ... | @@ -674,54 +678,56 @@ |
674 | this.ruleForm.qlxx.ssywh = val.ywh; | 678 | this.ruleForm.qlxx.ssywh = val.ywh; |
675 | this.ssQlxxchangediolog(val); | 679 | this.ssQlxxchangediolog(val); |
676 | }, | 680 | }, |
677 | // 弹框事件 | 681 | // 弹框事件 |
678 | ssQlxxchangediolog (val) { | 682 | ssQlxxchangediolog(val) { |
679 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | 683 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
680 | iconClass: "el-icon-question", //自定义图标样式 | 684 | iconClass: "el-icon-question", //自定义图标样式 |
681 | confirmButtonText: "确认", //确认按钮文字更换 | 685 | confirmButtonText: "确认", //确认按钮文字更换 |
682 | cancelButtonText: "取消", //取消按钮文字更换 | 686 | cancelButtonText: "取消", //取消按钮文字更换 |
683 | showClose: true, //是否显示右上角关闭按钮 | 687 | showClose: true, //是否显示右上角关闭按钮 |
684 | type: "warning", | 688 | type: "warning", |
685 | }).then(() => { | 689 | }).then(() => { |
686 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | 690 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
687 | if (res.code == 200) { | 691 | if (res.code == 200) { |
688 | this.nowlist = res.result; | 692 | this.nowlist = res.result; |
689 | for (var key in this.ruleForm.diyaq) { | 693 | for (var key in this.ruleForm.diyaq) { |
690 | if ( | 694 | if ( |
691 | this.ruleForm.diyaq[key] == "" || | 695 | this.ruleForm.diyaq[key] == "" || |
692 | this.ruleForm.diyaq[key] == null | 696 | this.ruleForm.diyaq[key] == null |
693 | ) { | 697 | ) { |
694 | this.ruleForm.diyaq[key] = this.nowlist.diyaq[key]; | 698 | this.ruleForm.diyaq[key] = this.nowlist.diyaq[key]; |
695 | } | ||
696 | } | 699 | } |
697 | for (var key in this.ruleForm.qlxx) { | 700 | } |
698 | if ( | 701 | for (var key in this.ruleForm.qlxx) { |
699 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | 702 | if ( |
700 | this.ruleForm.qlxx[key] == null | 703 | this.ruleForm.qlxx[key] == ""|| |
701 | ) { | 704 | this.ruleForm.qlxx[key] == null && |
702 | console.log("this.ruleForm.qlxx[key]", key); | 705 | key != "ywh" && |
703 | if (key != "ywh") { | 706 | key != "dbr" && |
707 | key != "djsj" && | ||
708 | key != "ssywh" && | ||
709 | key != "ssywh" && | ||
710 | key != "bdcqzh") { | ||
704 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | 711 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; |
705 | } | 712 | |
706 | } | 713 | } |
707 | } | ||
708 | if (!this.ruleForm.tdytqxList.length) { | ||
709 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | ||
710 | } | ||
711 | if (!this.ruleForm.qlrData.length) { | ||
712 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
713 | } | ||
714 | if (!this.ruleForm.ywrData.length) { | ||
715 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
716 | } | ||
717 | console.log("this.ruleForm", this.ruleForm); | ||
718 | this.$message({ | ||
719 | type: "success", | ||
720 | message: "同步成功!", | ||
721 | }); | ||
722 | } | 714 | } |
723 | }); | 715 | if (!this.ruleForm.tdytqxList.length) { |
724 | }).catch(() => { | 716 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; |
717 | } | ||
718 | if (!this.ruleForm.qlrData.length) { | ||
719 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
720 | } | ||
721 | if (!this.ruleForm.ywrData.length) { | ||
722 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
723 | } | ||
724 | this.$message({ | ||
725 | type: "success", | ||
726 | message: "同步成功!", | ||
727 | }); | ||
728 | } | ||
729 | }); | ||
730 | }).catch(() => { | ||
725 | this.$message({ | 731 | this.$message({ |
726 | type: "info", | 732 | type: "info", |
727 | message: "已取消同步", | 733 | message: "已取消同步", |
... | @@ -746,6 +752,9 @@ | ... | @@ -746,6 +752,9 @@ |
746 | init(this.propsParam).then((res) => { | 752 | init(this.propsParam).then((res) => { |
747 | if (res.code == 200) { | 753 | if (res.code == 200) { |
748 | this.ruleForm = res.result; | 754 | this.ruleForm = res.result; |
755 | |||
756 | |||
757 | |||
749 | this.$endLoading(); | 758 | this.$endLoading(); |
750 | this.isShow = true; | 759 | this.isShow = true; |
751 | let djlx = this.ruleForm.qlxx.djlx; | 760 | let djlx = this.ruleForm.qlxx.djlx; |
... | @@ -866,7 +875,7 @@ | ... | @@ -866,7 +875,7 @@ |
866 | } else { | 875 | } else { |
867 | item.sfczr = "0"; | 876 | item.sfczr = "0"; |
868 | } | 877 | } |
869 | }); | 878 | }) |
870 | } | 879 | } |
871 | } | 880 | } |
872 | save(this.ruleForm).then((res) => { | 881 | save(this.ruleForm).then((res) => { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 15:53:24 | 4 | * @LastEditTime: 2023-08-04 16:35:32 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
17 | :show-message="false" | 17 | :show-message="false" |
18 | label-width="150px"> | 18 | label-width="145px"> |
19 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 19 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
20 | <div class="slxx_title title-block"> | 20 | <div class="slxx_title title-block"> |
21 | 补录信息 | 21 | 补录信息 |
... | @@ -38,63 +38,43 @@ | ... | @@ -38,63 +38,43 @@ |
38 | </el-form-item> | 38 | </el-form-item> |
39 | </el-col> | 39 | </el-col> |
40 | </el-row> | 40 | </el-row> |
41 | <div class="slxx_title title-block"> | 41 | <div class="slxx_title title-block bdcqk"> |
42 | 地役权不动产情况 | 42 | 地役权不动产情况 |
43 | <div class="triangle"></div> | 43 | <div class="count"> |
44 | </div> | ||
45 | <el-row :gutter="10"> | ||
46 | <el-col :span="8"> | ||
47 | <el-form-item | 44 | <el-form-item |
48 | label="地役权不动产信息:" | 45 | label="地役权不动产情况" |
49 | prop="ztQlxx.bdcqzh" | 46 | prop="ztQlxx.bdcqzh" |
50 | :rules="rules.ztQlxxrules"> | 47 | :rules="rules.ztQlxxrules" |
48 | > | ||
51 | <select-table | 49 | <select-table |
52 | v-model="ruleForm.ztQlxx" | 50 | v-model="ruleForm.ztQlxx" |
53 | :table-width="550" | 51 | :table-width="730" |
54 | :tableData="ztQlxxList" | 52 | :tableData="ztQlxxList" |
55 | :props="props" | 53 | :props="props" |
56 | @change="ztQlxxchange"> | 54 | @change="ztQlxxchange" |
55 | > | ||
57 | <el-table-column | 56 | <el-table-column |
58 | prop="qllxmc" | 57 | prop="qllxmc" |
59 | width="130" | 58 | width="130" |
60 | label="权利类型"></el-table-column> | 59 | label="权利类型" |
60 | ></el-table-column> | ||
61 | <el-table-column | 61 | <el-table-column |
62 | prop="bdcqzh" | 62 | prop="bdcqzh" |
63 | width="160" | 63 | width="160" |
64 | label="不动产权证书"></el-table-column> | 64 | label="不动产权证书" |
65 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | 65 | ></el-table-column> |
66 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
67 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
68 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
69 | </select-table> | ||
70 | </el-form-item> | ||
71 | </el-col> | ||
72 | |||
73 | <el-col :span="8" v-if="ssqlxxshow"> | ||
74 | <el-form-item label="上手权利信息:" prop="ssQlxx.bdcqzh" :rules="rules.ssQlxxrules"> | ||
75 | <select-table | ||
76 | v-model="ruleForm.ssQlxx" | ||
77 | :table-width="550" | ||
78 | :tableData="ssQlxxList" | ||
79 | :props="props" | ||
80 | @change="ssQlxxchange"> | ||
81 | <el-table-column | 66 | <el-table-column |
82 | prop="qllxmc" | 67 | prop="qlrmc" |
83 | width="130" | 68 | label="被执行人" |
84 | label="权利类型"></el-table-column> | 69 | ></el-table-column> |
85 | <el-table-column | ||
86 | prop="bdcqzh" | ||
87 | width="160" | ||
88 | label="不动产权证书"></el-table-column> | ||
89 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
90 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 70 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
91 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 71 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
92 | <el-table-column prop="zl" label="坐落"></el-table-column> | 72 | <el-table-column prop="zl" label="坐落"></el-table-column> |
93 | </select-table> | 73 | </select-table> |
94 | </el-form-item> | 74 | </el-form-item> |
95 | </el-col> | 75 | </div> |
96 | </el-row> | 76 | <div class="triangle"></div> |
97 | 77 | </div> | |
98 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> | 78 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> |
99 | <el-col :span="8"> | 79 | <el-col :span="8"> |
100 | <el-form-item label="权利人:"> | 80 | <el-form-item label="权利人:"> |
... | @@ -125,7 +105,7 @@ | ... | @@ -125,7 +105,7 @@ |
125 | </el-col> | 105 | </el-col> |
126 | <el-col :span="8"> | 106 | <el-col :span="8"> |
127 | <el-form-item label="坐落:"> | 107 | <el-form-item label="坐落:"> |
128 | <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input> | 108 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
129 | </el-form-item> | 109 | </el-form-item> |
130 | </el-col> | 110 | </el-col> |
131 | </el-row> | 111 | </el-row> |
... | @@ -146,8 +126,38 @@ | ... | @@ -146,8 +126,38 @@ |
146 | </el-form-item> | 126 | </el-form-item> |
147 | </el-col> | 127 | </el-col> |
148 | </el-row> | 128 | </el-row> |
149 | <div class="slxx_title title-block"> | 129 | <div class="slxx_title title-block bdcqk"> |
150 | 地役权信息 | 130 | 地役权信息 |
131 | <div class="count" v-if="ssqlxxshow"> | ||
132 | <el-form-item | ||
133 | label="上手权利信息:" | ||
134 | prop="ssQlxx.bdcqzh" | ||
135 | :rules="rules.ssQlxxrules" | ||
136 | > | ||
137 | <select-table | ||
138 | v-model="ruleForm.ssQlxx" | ||
139 | :table-width="730" | ||
140 | :tableData="ssQlxxList" | ||
141 | :props="props" | ||
142 | @change="ssQlxxchange" | ||
143 | > | ||
144 | <el-table-column | ||
145 | prop="qllxmc" | ||
146 | width="130" | ||
147 | label="权利类型" | ||
148 | ></el-table-column> | ||
149 | <el-table-column | ||
150 | prop="bdcqzh" | ||
151 | width="160" | ||
152 | label="不动产权证书" | ||
153 | ></el-table-column> | ||
154 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
155 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
156 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
157 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
158 | </select-table> | ||
159 | </el-form-item> | ||
160 | </div> | ||
151 | <div class="triangle"></div> | 161 | <div class="triangle"></div> |
152 | </div> | 162 | </div> |
153 | <el-row :gutter="10"> | 163 | <el-row :gutter="10"> |
... | @@ -366,7 +376,7 @@ | ... | @@ -366,7 +376,7 @@ |
366 | <el-form-item label="共有方式:"> | 376 | <el-form-item label="共有方式:"> |
367 | <el-radio-group | 377 | <el-radio-group |
368 | :disabled="!ableOperation" | 378 | :disabled="!ableOperation" |
369 | v-model="ruleForm.sldy.gyfs"> | 379 | v-model="ruleForm.qlxx.gyfs"> |
370 | <el-radio label="0">单独所有</el-radio> | 380 | <el-radio label="0">单独所有</el-radio> |
371 | <el-radio label="1">共同共有</el-radio> | 381 | <el-radio label="1">共同共有</el-radio> |
372 | <el-radio label="2">按份所有</el-radio> | 382 | <el-radio label="2">按份所有</el-radio> |
... | @@ -374,10 +384,10 @@ | ... | @@ -374,10 +384,10 @@ |
374 | </el-radio-group> | 384 | </el-radio-group> |
375 | </el-form-item> | 385 | </el-form-item> |
376 | </el-col> | 386 | </el-col> |
377 | <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> | 387 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> |
378 | <el-form-item label="是否分别持证:"> | 388 | <el-form-item label="是否分别持证:"> |
379 | <el-radio-group | 389 | <el-radio-group |
380 | v-model="ruleForm.sldy.sqfbcz" | 390 | v-model="ruleForm.qlxx.sqfbcz" |
381 | :disabled="!ableOperation"> | 391 | :disabled="!ableOperation"> |
382 | <el-radio :label="1">是</el-radio> | 392 | <el-radio :label="1">是</el-radio> |
383 | <el-radio :label="0">否</el-radio> | 393 | <el-radio :label="0">否</el-radio> |
... | @@ -386,7 +396,7 @@ | ... | @@ -386,7 +396,7 @@ |
386 | </el-col> | 396 | </el-col> |
387 | <el-col | 397 | <el-col |
388 | :span="6" | 398 | :span="6" |
389 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 399 | v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'"> |
390 | <el-form-item label="持证人:"> | 400 | <el-form-item label="持证人:"> |
391 | <el-select | 401 | <el-select |
392 | v-model="ruleForm.czr" | 402 | v-model="ruleForm.czr" |
... | @@ -433,7 +443,7 @@ | ... | @@ -433,7 +443,7 @@ |
433 | <script> | 443 | <script> |
434 | import { mapGetters } from "vuex"; | 444 | import { mapGetters } from "vuex"; |
435 | import ywmix from "@/views/ywbl/mixin/index" | 445 | import ywmix from "@/views/ywbl/mixin/index" |
436 | import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; | 446 | import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm,save } from "@/api/djbRepair.js"; |
437 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 447 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
438 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | 448 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
439 | import tdytTable from "@/views/workflow/components/tdytTable"; | 449 | import tdytTable from "@/views/workflow/components/tdytTable"; |
... | @@ -549,72 +559,70 @@ | ... | @@ -549,72 +559,70 @@ |
549 | ssQlxxchange (val) { | 559 | ssQlxxchange (val) { |
550 | this.ruleForm.ssQlxx = val; | 560 | this.ruleForm.ssQlxx = val; |
551 | this.ruleForm.qlxx.ssywh = val.ywh; | 561 | this.ruleForm.qlxx.ssywh = val.ywh; |
552 | this.ssQlxxchangediolog(val) | 562 | this.ssQlxxchangediolog (val) |
553 | }, | 563 | }, |
554 | // 弹框事件 | 564 | // 弹框事件 |
555 | ssQlxxchangediolog (val) { | 565 | ssQlxxchangediolog (val) { |
556 | console.log("确定了", this.ruleForm) | ||
557 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | 566 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
558 | iconClass: "el-icon-question", //自定义图标样式 | 567 | iconClass: "el-icon-question", //自定义图标样式 |
559 | confirmButtonText: "确认", //确认按钮文字更换 | 568 | confirmButtonText: "确认", //确认按钮文字更换 |
560 | cancelButtonText: "取消", //取消按钮文字更换 | 569 | cancelButtonText: "取消", //取消按钮文字更换 |
561 | showClose: true, //是否显示右上角关闭按钮 | 570 | showClose: true, //是否显示右上角关闭按钮 |
562 | type: "warning", | 571 | type: "warning", |
563 | }).then(() => { | 572 | }).then(() => { |
564 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | 573 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
565 | if (res.code == 200) { | 574 | if (res.code == 200) { |
566 | this.nowlist = res.result; | 575 | this.nowlist = res.result; |
567 | console.log("his.nowlist", this.nowlist); | 576 | for (var key in this.ruleForm.dyiq) { |
568 | console.log("this.ruleForm", this.ruleForm); | 577 | if ( |
569 | for (var key in this.ruleForm.dyiq) { | 578 | this.ruleForm.dyiq[key] == "" || |
570 | if ( | 579 | this.ruleForm.dyiq[key] == null |
571 | this.ruleForm.dyiq[key] == "" || | 580 | ) { |
572 | this.ruleForm.dyiq[key] == null | 581 | this.ruleForm.dyiq[key] = this.nowlist.dyiq[key]; |
573 | ) { | ||
574 | this.ruleForm.dyiq[key] = this.nowlist.dyiq[key]; | ||
575 | } | ||
576 | } | 582 | } |
577 | for (var key in this.ruleForm.qlxx) { | 583 | } |
578 | if ( | 584 | for (var key in this.ruleForm.qlxx) { |
579 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | 585 | if ( |
580 | this.ruleForm.qlxx[key] == null | 586 | this.ruleForm.qlxx[key] == ""|| |
581 | ) { | 587 | this.ruleForm.qlxx[key] == null && |
582 | console.log("this.ruleForm.qlxx[key]", key); | 588 | key != "ywh" && |
583 | if (key != "ywh") { | 589 | key != "dbr" && |
590 | key != "djsj" && | ||
591 | key != "ssywh" && | ||
592 | key != "ssywh" && | ||
593 | key != "bdcqzh") { | ||
584 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | 594 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; |
585 | } | 595 | |
586 | } | 596 | } |
587 | } | ||
588 | if (!this.ruleForm.tdytqxList.length) { | ||
589 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | ||
590 | } | ||
591 | if (!this.ruleForm.qlrData.length) { | ||
592 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
593 | } | ||
594 | if (!this.ruleForm.ywrData.length) { | ||
595 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
596 | } | ||
597 | console.log("this.ruleForm", this.ruleForm); | ||
598 | this.$message({ | ||
599 | type: "success", | ||
600 | message: "同步成功!", | ||
601 | }); | ||
602 | } | 597 | } |
603 | }); | 598 | if (!this.ruleForm.tdytqxList.length) { |
604 | }).catch(() => { | 599 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; |
600 | } | ||
601 | if (!this.ruleForm.qlrData.length) { | ||
602 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
603 | } | ||
604 | if (!this.ruleForm.ywrData.length) { | ||
605 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
606 | } | ||
607 | this.$message({ | ||
608 | type: "success", | ||
609 | message: "同步成功!", | ||
610 | }); | ||
611 | } | ||
612 | }); | ||
613 | }).catch(() => { | ||
605 | this.$message({ | 614 | this.$message({ |
606 | type: "info", | 615 | type: "info", |
607 | message: "已取消同步", | 616 | message: "已取消同步", |
608 | }); | 617 | }); |
609 | }); | 618 | }); |
610 | }, | 619 | }, |
611 | /** | 620 | /** |
612 | * @description: djlxchange | 621 | * @description: djlxchange |
613 | * @param {*} val | 622 | * @param {*} val |
614 | * @author: renchao | 623 | * @author: renchao |
615 | */ | 624 | */ |
616 | djlxchange (val) { | 625 | djlxchange (val) { |
617 | console.log("val", val); | ||
618 | if (val == null || val == 100) { | 626 | if (val == null || val == 100) { |
619 | this.ssqlxxshow = false; | 627 | this.ssqlxxshow = false; |
620 | } else { | 628 | } else { |
... | @@ -638,28 +646,28 @@ | ... | @@ -638,28 +646,28 @@ |
638 | this.$endLoading(); | 646 | this.$endLoading(); |
639 | this.isShow = true; | 647 | this.isShow = true; |
640 | 648 | ||
641 | //获取主体信息 | 649 | //获取主体信息 |
642 | getSsQlxx({ | 650 | getSsQlxx({ |
643 | bdcdyid: this.propsParam.bdcdyid, | 651 | bdcdyid: this.propsParam.bdcdyid, |
644 | qllx: this.propsParam.qllx, | 652 | qllx: this.propsParam.qllx, |
645 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | 653 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, |
646 | }).then((res) => { | 654 | }).then((res) => { |
647 | if (res.code == 200) { | 655 | if (res.code == 200) { |
648 | this.ssQlxxList = res.result; | 656 | this.ssQlxxList = res.result; |
649 | } | 657 | } |
650 | }); | 658 | }); |
651 | //获取上手信息 | 659 | //获取上手信息 |
652 | getZtQlxx({ | 660 | getZtQlxx({ |
653 | bdcdyid: this.propsParam.bdcdyid, | 661 | bdcdyid: this.propsParam.bdcdyid, |
654 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | 662 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, |
655 | }).then((res) => { | 663 | }).then((res) => { |
656 | if (res.code == 200) { | 664 | if (res.code == 200) { |
657 | this.ztQlxxList = res.result; | 665 | this.ztQlxxList = res.result; |
658 | } | 666 | } |
659 | }); | 667 | }); |
660 | } | 668 | } |
661 | }); | 669 | }); |
662 | }, | 670 | }, |
663 | // 更新土地用途信息 | 671 | // 更新土地用途信息 |
664 | /** | 672 | /** |
665 | * @description: 更新土地用途信息 | 673 | * @description: 更新土地用途信息 |
... | @@ -695,7 +703,7 @@ | ... | @@ -695,7 +703,7 @@ |
695 | * @description: onSubmit | 703 | * @description: onSubmit |
696 | * @author: renchao | 704 | * @author: renchao |
697 | */ | 705 | */ |
698 | onSubmit () { | 706 | onSubmit () { |
699 | this.$refs.ruleForm.validate((valid) => { | 707 | this.$refs.ruleForm.validate((valid) => { |
700 | if (valid) { | 708 | if (valid) { |
701 | if (this.ruleForm.qlrData.length == 0) { | 709 | if (this.ruleForm.qlrData.length == 0) { | ... | ... |
... | @@ -39,19 +39,16 @@ | ... | @@ -39,19 +39,16 @@ |
39 | </el-form-item> | 39 | </el-form-item> |
40 | </el-col> | 40 | </el-col> |
41 | </el-row> | 41 | </el-row> |
42 | <div class="slxx_title title-block"> | 42 | <div class="slxx_title title-block bdcqk"> |
43 | 房地产权(独幢、层、套、间房屋) | 43 | 房地产权信息 |
44 | <div class="triangle"></div> | 44 | <div class="count" v-if="ssqlxxshow"> |
45 | </div> | ||
46 | <el-row :gutter="24"> | ||
47 | <el-col :span="24" v-if="ssqlxxshow"> | ||
48 | <el-form-item | 45 | <el-form-item |
49 | label="上手权利信息:" | 46 | label="上手权利信息:" |
50 | prop="ssQlxx.bdcqzh" | 47 | prop="ssQlxx.bdcqzh" |
51 | :rules="rules.ssQlxxrules"> | 48 | :rules="rules.ssQlxxrules"> |
52 | <select-table | 49 | <select-table |
53 | v-model="ruleForm.ssQlxx" | 50 | v-model="ruleForm.ssQlxx" |
54 | :table-width="550" | 51 | :table-width="730" |
55 | :tableData="ssQlxxList" | 52 | :tableData="ssQlxxList" |
56 | :props="props" | 53 | :props="props" |
57 | @change="ssQlxxchange"> | 54 | @change="ssQlxxchange"> |
... | @@ -69,8 +66,9 @@ | ... | @@ -69,8 +66,9 @@ |
69 | <el-table-column prop="zl" label="坐落"></el-table-column> | 66 | <el-table-column prop="zl" label="坐落"></el-table-column> |
70 | </select-table> | 67 | </select-table> |
71 | </el-form-item> | 68 | </el-form-item> |
72 | </el-col> | 69 | </div> |
73 | </el-row> | 70 | <div class="triangle"></div> |
71 | </div> | ||
74 | <el-row :gutter="10"> | 72 | <el-row :gutter="10"> |
75 | <el-col :span="8"> | 73 | <el-col :span="8"> |
76 | <el-form-item label="不动产单元号:"> | 74 | <el-form-item label="不动产单元号:"> |
... | @@ -160,7 +158,7 @@ | ... | @@ -160,7 +158,7 @@ |
160 | <!-- 下拉框 --> | 158 | <!-- 下拉框 --> |
161 | <el-form-item label="土地性质:" style="margin-bottom: 3px"> | 159 | <el-form-item label="土地性质:" style="margin-bottom: 3px"> |
162 | <treeselect | 160 | <treeselect |
163 | v-model="tdxz" | 161 | v-model="ruleForm.fdcq2.tdxz" |
164 | noOptionsText="暂无数据" | 162 | noOptionsText="暂无数据" |
165 | placeholder="" | 163 | placeholder="" |
166 | :normalizer="normalizer" | 164 | :normalizer="normalizer" |
... | @@ -564,75 +562,74 @@ | ... | @@ -564,75 +562,74 @@ |
564 | }, | 562 | }, |
565 | }; | 563 | }; |
566 | }, | 564 | }, |
567 | created () { }, | 565 | created() {}, |
568 | mounted () { | 566 | mounted() { |
569 | this.loadData(); | 567 | this.loadData(); |
570 | this.ableOperation = this.$parent.ableOperation; | 568 | this.ableOperation = this.$parent.ableOperation; |
569 | }, | ||
570 | methods: { | ||
571 | /** | ||
572 | * @description: ssQlxxchange | ||
573 | * @param {*} val | ||
574 | * @author: renchao | ||
575 | */ | ||
576 | ssQlxxchange(val) { | ||
577 | this.ruleForm.ssQlxx = val; | ||
578 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
579 | this.ssQlxxchangediolog(val); | ||
571 | }, | 580 | }, |
572 | methods: { | 581 | // 弹框事件 |
573 | /** | 582 | ssQlxxchangediolog(val) { |
574 | * @description: ssQlxxchange | 583 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
575 | * @param {*} val | 584 | iconClass: "el-icon-question", //自定义图标样式 |
576 | * @author: renchao | 585 | confirmButtonText: "确认", //确认按钮文字更换 |
577 | */ | 586 | cancelButtonText: "取消", //取消按钮文字更换 |
578 | ssQlxxchange (val) { | 587 | showClose: true, //是否显示右上角关闭按钮 |
579 | this.ruleForm.ssQlxx = val; | 588 | type: "warning", |
580 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
581 | this.ssQlxxchangediolog(val); | ||
582 | }, | ||
583 | // 弹框事件 | ||
584 | ssQlxxchangediolog (val) { | ||
585 | console.log("确定了", this.ruleForm, val); | ||
586 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | ||
587 | iconClass: "el-icon-question", //自定义图标样式 | ||
588 | confirmButtonText: "确认", //确认按钮文字更换 | ||
589 | cancelButtonText: "取消", //取消按钮文字更换 | ||
590 | showClose: true, //是否显示右上角关闭按钮 | ||
591 | type: "warning", | ||
592 | 589 | ||
593 | 590 | ||
594 | }).then(() => { | 591 | }).then(() => { |
595 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | 592 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
596 | if (res.code == 200) { | 593 | if (res.code == 200) { |
597 | this.nowlist = res.result; | 594 | this.nowlist = res.result; |
598 | console.log("his.nowlist", this.nowlist); | 595 | for (var key in this.ruleForm.fdcq2) { |
599 | console.log("this.ruleForm", this.ruleForm); | 596 | if ( |
600 | for (var key in this.ruleForm.fdcq2) { | 597 | this.ruleForm.fdcq2[key] == "" || |
601 | if ( | 598 | this.ruleForm.fdcq2[key] == null |
602 | this.ruleForm.fdcq2[key] == "" || | 599 | ) { |
603 | this.ruleForm.fdcq2[key] == null | 600 | this.ruleForm.fdcq2[key] = this.nowlist.fdcq2[key]; |
604 | ) { | ||
605 | this.ruleForm.fdcq2[key] = this.nowlist.fdcq2[key]; | ||
606 | } | ||
607 | } | 601 | } |
608 | for (var key in this.ruleForm.qlxx) { | 602 | } |
609 | if ( | 603 | for (var key in this.ruleForm.qlxx) { |
610 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | 604 | if ( |
611 | this.ruleForm.qlxx[key] == null | 605 | this.ruleForm.qlxx[key] == ""|| |
612 | ) { | 606 | this.ruleForm.qlxx[key] == null && |
613 | console.log("this.ruleForm.qlxx[key]", key); | 607 | key != "ywh" && |
614 | if (key != "ywh") { | 608 | key != "dbr" && |
609 | key != "djsj" && | ||
610 | key != "ssywh" && | ||
611 | key != "ssywh" && | ||
612 | key != "bdcqzh") { | ||
615 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | 613 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; |
616 | } | 614 | |
617 | } | 615 | } |
618 | } | ||
619 | if (!this.ruleForm.tdytqxList.length) { | ||
620 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | ||
621 | } | ||
622 | if (!this.ruleForm.qlrData.length) { | ||
623 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
624 | } | ||
625 | if (!this.ruleForm.ywrData.length) { | ||
626 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
627 | } | ||
628 | console.log("this.ruleForm", this.ruleForm); | ||
629 | this.$message({ | ||
630 | type: "success", | ||
631 | message: "同步成功!", | ||
632 | }); | ||
633 | } | 616 | } |
634 | }); | 617 | if (!this.ruleForm.tdytqxList.length) { |
635 | }).catch(() => { | 618 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; |
619 | } | ||
620 | if (!this.ruleForm.qlrData.length) { | ||
621 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
622 | } | ||
623 | if (!this.ruleForm.ywrData.length) { | ||
624 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
625 | } | ||
626 | this.$message({ | ||
627 | type: "success", | ||
628 | message: "同步成功!", | ||
629 | }); | ||
630 | } | ||
631 | }); | ||
632 | }).catch(() => { | ||
636 | this.$message({ | 633 | this.$message({ |
637 | type: "info", | 634 | type: "info", |
638 | message: "已取消同步", | 635 | message: "已取消同步", |
... | @@ -644,87 +641,111 @@ | ... | @@ -644,87 +641,111 @@ |
644 | * @param {*} val | 641 | * @param {*} val |
645 | * @author: renchao | 642 | * @author: renchao |
646 | */ | 643 | */ |
647 | djlxchange (val) { | 644 | djlxchange(val) { |
648 | if (val == null || val == 100) { | 645 | if (val == null || val == 100) { |
649 | this.ssqlxxshow = false; | 646 | this.ssqlxxshow = false; |
650 | } else { | 647 | } else { |
651 | this.ssqlxxshow = true; | 648 | this.ssqlxxshow = true; |
652 | } | 649 | } |
653 | }, | 650 | }, |
654 | /** | 651 | /** |
655 | * @description: loadData | 652 | * @description: loadData |
656 | * @author: renchao | 653 | * @author: renchao |
657 | */ | 654 | */ |
658 | loadData () { | 655 | loadData() { |
659 | this.$startLoading(); | 656 | this.$startLoading(); |
660 | this.propsParam.isEdit = this.$parent.isEdit; | 657 | this.propsParam.isEdit = this.$parent.isEdit; |
661 | init(this.propsParam).then((res) => { | 658 | init(this.propsParam).then((res) => { |
662 | if (res.code == 200) { | 659 | if (res.code == 200) { |
663 | this.ruleForm = res.result; | 660 | this.ruleForm = res.result; |
664 | let djlx = this.ruleForm.qlxx.djlx; | 661 | let djlx = this.ruleForm.qlxx.djlx; |
665 | if (djlx == null || djlx == 100) { | 662 | if (djlx == null || djlx == 100) { |
666 | this.ssqlxxshow = false; | 663 | this.ssqlxxshow = false; |
667 | } | 664 | } |
668 | this.ruleForm.fdcq2.jedw = "1"; | 665 | this.ruleForm.fdcq2.jedw = "1"; |
669 | this.$endLoading(); | 666 | this.$endLoading(); |
670 | if (this.ruleForm.tdytqxList.length > 0) { | 667 | if (this.ruleForm.tdytqxList.length > 0) { |
671 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | 668 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; |
672 | } else { | 669 | } else { |
673 | this.tdxz = null; | 670 | this.tdxz = null; |
671 | } | ||
672 | this.isShow = true; | ||
673 | //获取主体信息 | ||
674 | getSsQlxx({ | ||
675 | bdcdyid: this.propsParam.bdcdyid, | ||
676 | qllx: this.propsParam.qllx, | ||
677 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
678 | }).then((res) => { | ||
679 | if (res.code == 200) { | ||
680 | this.ssQlxxList = res.result; | ||
674 | } | 681 | } |
675 | this.isShow = true; | 682 | }); |
676 | //获取主体信息 | 683 | } |
677 | getSsQlxx({ | 684 | }); |
678 | bdcdyid: this.propsParam.bdcdyid, | 685 | }, |
679 | qllx: this.propsParam.qllx, | 686 | // 更新土地用途信息 |
680 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | 687 | /** |
681 | }).then((res) => { | 688 | * @description: 更新土地用途信息 |
682 | if (res.code == 200) { | 689 | * @param {*} val |
683 | this.ssQlxxList = res.result; | 690 | * @author: renchao |
684 | } | 691 | */ |
692 | upDateTdytxxList(val) { | ||
693 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
694 | this.key++; | ||
695 | }, | ||
696 | // 更新权利人信息 | ||
697 | /** | ||
698 | * @description: 更新权利人信息 | ||
699 | * @param {*} val | ||
700 | * @author: renchao | ||
701 | */ | ||
702 | upDateQlrxxList(val) { | ||
703 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
704 | this.czrOptions = this.ruleForm.qlrData; | ||
705 | this.key++; | ||
706 | }, | ||
707 | // 更新义务人信息 | ||
708 | /** | ||
709 | * @description: 更新义务人信息 | ||
710 | * @param {*} val | ||
711 | * @author: renchao | ||
712 | */ | ||
713 | upDateYwrxxList(val) { | ||
714 | this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | ||
715 | this.key++; | ||
716 | }, | ||
717 | /** | ||
718 | * @description: onSubmit | ||
719 | * @author: renchao | ||
720 | */ | ||
721 | onSubmit() { | ||
722 | this.$refs.ruleForm.validate((valid) => { | ||
723 | if (valid) { | ||
724 | if (this.ruleForm.qlrData.length == 0) { | ||
725 | this.$message({ | ||
726 | showClose: true, | ||
727 | message: "请确认权利人信息", | ||
728 | type: "error", | ||
685 | }); | 729 | }); |
730 | return false; | ||
686 | } | 731 | } |
687 | }); | 732 | if (this.ruleForm.tdytqxList.length == 0 && !this.tdxz) { |
688 | }, | 733 | this.$message({ |
689 | // 更新土地用途信息 | 734 | showClose: true, |
690 | /** | 735 | message: "请补充土地用途信息", |
691 | * @description: 更新土地用途信息 | 736 | type: "error", |
692 | * @param {*} val | 737 | }); |
693 | * @author: renchao | 738 | return false; |
694 | */ | 739 | } |
695 | upDateTdytxxList (val) { | 740 | if (!this.ruleForm.fdcq2.tdxz) { |
696 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 741 | this.$message({ |
697 | this.key++; | 742 | showClose: true, |
698 | }, | 743 | message: "请补充土地性质", |
699 | // 更新权利人信息 | 744 | type: "error", |
700 | /** | 745 | }); |
701 | * @description: 更新权利人信息 | 746 | } |
702 | * @param {*} val | 747 | if (this.ruleForm.qlxx.gyfs == "0") { |
703 | * @author: renchao | 748 | if (this.ruleForm.qlrData.length > 1) { |
704 | */ | ||
705 | upDateQlrxxList (val) { | ||
706 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
707 | this.czrOptions = this.ruleForm.qlrData; | ||
708 | this.key++; | ||
709 | }, | ||
710 | // 更新义务人信息 | ||
711 | /** | ||
712 | * @description: 更新义务人信息 | ||
713 | * @param {*} val | ||
714 | * @author: renchao | ||
715 | */ | ||
716 | upDateYwrxxList (val) { | ||
717 | this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | ||
718 | this.key++; | ||
719 | }, | ||
720 | /** | ||
721 | * @description: onSubmit | ||
722 | * @author: renchao | ||
723 | */ | ||
724 | onSubmit () { | ||
725 | this.$refs.ruleForm.validate((valid) => { | ||
726 | if (valid) { | ||
727 | if (this.ruleForm.qlrData.length == 0) { | ||
728 | this.$message({ | 749 | this.$message({ |
729 | showClose: true, | 750 | showClose: true, |
730 | message: "请确认权利人信息", | 751 | message: "请确认权利人信息", |
... | @@ -740,20 +761,7 @@ | ... | @@ -740,20 +761,7 @@ |
740 | }); | 761 | }); |
741 | return false; | 762 | return false; |
742 | } | 763 | } |
743 | if (!this.tdxz) { | 764 | } |
744 | this.$message({ | ||
745 | showClose: true, | ||
746 | message: "请补充土地性质", | ||
747 | type: "error", | ||
748 | }); | ||
749 | return false; | ||
750 | } | ||
751 | this.ruleForm.tdytqxList = this.ruleForm.tdytqxList.map((item) => { | ||
752 | return { | ||
753 | ...item, | ||
754 | qlxzbm: this.tdxz, | ||
755 | }; | ||
756 | }); | ||
757 | if (this.ruleForm.sldy.gyfs == "0") { | 765 | if (this.ruleForm.sldy.gyfs == "0") { |
758 | if (this.ruleForm.qlrData.length > 1) { | 766 | if (this.ruleForm.qlrData.length > 1) { |
759 | this.$message({ | 767 | this.$message({ |
... | @@ -813,14 +821,14 @@ | ... | @@ -813,14 +821,14 @@ |
813 | type: "error", | 821 | type: "error", |
814 | }); | 822 | }); |
815 | } | 823 | } |
816 | }); | 824 | }); |
817 | } else { | 825 | } else { |
818 | return false; | 826 | return false; |
819 | } | 827 | } |
820 | }); | 828 | }); |
821 | }, | ||
822 | }, | 829 | }, |
823 | }; | 830 | }, |
831 | }; | ||
824 | </script> | 832 | </script> |
825 | <style scoped lang="scss"> | 833 | <style scoped lang="scss"> |
826 | @import "~@/styles/public.scss"; | 834 | @import "~@/styles/public.scss"; | ... | ... |
... | @@ -14,7 +14,10 @@ | ... | @@ -14,7 +14,10 @@ |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
17 | label-width="145px"> | 17 | label-width="145px" |
18 | inline-message | ||
19 | :show-message="false" | ||
20 | > | ||
18 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 21 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
19 | <div class="slxx_title title-block"> | 22 | <div class="slxx_title title-block"> |
20 | 补录信息 | 23 | 补录信息 |
... | @@ -37,19 +40,16 @@ | ... | @@ -37,19 +40,16 @@ |
37 | </el-form-item> | 40 | </el-form-item> |
38 | </el-col> | 41 | </el-col> |
39 | </el-row> | 42 | </el-row> |
40 | <div class="slxx_title title-block"> | 43 | <div class="slxx_title title-block bdcqk"> |
41 | 建设用地、宅基地使用权信息 | 44 | 建设用地、宅基地使用权信息 |
42 | <div class="triangle"></div> | 45 | <div class="count" v-if="ssqlxxshow"> |
43 | </div> | ||
44 | <el-row :gutter="24"> | ||
45 | <el-col :span="8" v-if="ssqlxxshow"> | ||
46 | <el-form-item | 46 | <el-form-item |
47 | label="上手权利信息:" | 47 | label="上手权利信息:" |
48 | prop="ssQlxx.bdcqzh" | 48 | prop="ssQlxx.bdcqzh" |
49 | :rules="rules.ssQlxxrules"> | 49 | :rules="rules.ssQlxxrules"> |
50 | <select-table | 50 | <select-table |
51 | v-model="ruleForm.ssQlxx" | 51 | v-model="ruleForm.ssQlxx" |
52 | :table-width="550" | 52 | :table-width="730" |
53 | :tableData="ssQlxxList" | 53 | :tableData="ssQlxxList" |
54 | :props="props" | 54 | :props="props" |
55 | @change="ssQlxxchange"> | 55 | @change="ssQlxxchange"> |
... | @@ -67,8 +67,9 @@ | ... | @@ -67,8 +67,9 @@ |
67 | <el-table-column prop="zl" label="坐落"></el-table-column> | 67 | <el-table-column prop="zl" label="坐落"></el-table-column> |
68 | </select-table> | 68 | </select-table> |
69 | </el-form-item> | 69 | </el-form-item> |
70 | </el-col> | 70 | </div> |
71 | </el-row> | 71 | <div class="triangle"></div> |
72 | </div> | ||
72 | <el-row :gutter="10"> | 73 | <el-row :gutter="10"> |
73 | <el-col :span="8"> | 74 | <el-col :span="8"> |
74 | <el-form-item label="不动产单元号:"> | 75 | <el-form-item label="不动产单元号:"> |
... | @@ -76,7 +77,11 @@ | ... | @@ -76,7 +77,11 @@ |
76 | </el-form-item> | 77 | </el-form-item> |
77 | </el-col> | 78 | </el-col> |
78 | <el-col :span="8"> | 79 | <el-col :span="8"> |
79 | <el-form-item label="业务号:"> | 80 | <el-form-item |
81 | label="业务号:" | ||
82 | prop="qlxx.ywh" | ||
83 | :rules="rules.ywhrules" | ||
84 | > | ||
80 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 85 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> |
81 | </el-form-item> | 86 | </el-form-item> |
82 | </el-col> | 87 | </el-col> |
... | @@ -256,7 +261,7 @@ | ... | @@ -256,7 +261,7 @@ |
256 | <el-form-item label="共有方式:"> | 261 | <el-form-item label="共有方式:"> |
257 | <el-radio-group | 262 | <el-radio-group |
258 | :disabled="!ableOperation" | 263 | :disabled="!ableOperation" |
259 | v-model="ruleForm.sldy.gyfs"> | 264 | v-model="ruleForm.qlxx.gyfs"> |
260 | <el-radio label="0">单独所有</el-radio> | 265 | <el-radio label="0">单独所有</el-radio> |
261 | <el-radio label="1">共同共有</el-radio> | 266 | <el-radio label="1">共同共有</el-radio> |
262 | <el-radio label="2">按份所有</el-radio> | 267 | <el-radio label="2">按份所有</el-radio> |
... | @@ -264,10 +269,10 @@ | ... | @@ -264,10 +269,10 @@ |
264 | </el-radio-group> | 269 | </el-radio-group> |
265 | </el-form-item> | 270 | </el-form-item> |
266 | </el-col> | 271 | </el-col> |
267 | <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> | 272 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> |
268 | <el-form-item label="是否分别持证:"> | 273 | <el-form-item label="是否分别持证:"> |
269 | <el-radio-group | 274 | <el-radio-group |
270 | v-model="ruleForm.sldy.sqfbcz" | 275 | v-model="ruleForm.qlxx.sqfbcz" |
271 | :disabled="!ableOperation"> | 276 | :disabled="!ableOperation"> |
272 | <el-radio :label="1">是</el-radio> | 277 | <el-radio :label="1">是</el-radio> |
273 | <el-radio :label="0">否</el-radio> | 278 | <el-radio :label="0">否</el-radio> |
... | @@ -276,7 +281,7 @@ | ... | @@ -276,7 +281,7 @@ |
276 | </el-col> | 281 | </el-col> |
277 | <el-col | 282 | <el-col |
278 | :span="6" | 283 | :span="6" |
279 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 284 | v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'"> |
280 | <el-form-item label="持证人:"> | 285 | <el-form-item label="持证人:"> |
281 | <el-select | 286 | <el-select |
282 | v-model="ruleForm.czr" | 287 | v-model="ruleForm.czr" |
... | @@ -308,179 +313,179 @@ | ... | @@ -308,179 +313,179 @@ |
308 | </div> | 313 | </div> |
309 | </template> | 314 | </template> |
310 | <script> | 315 | <script> |
311 | import { mapGetters } from "vuex"; | 316 | import { mapGetters } from "vuex"; |
312 | import store from "@/store/index.js"; | 317 | import store from "@/store/index.js"; |
313 | import ywmix from "@/views/ywbl/mixin/index"; | 318 | import ywmix from "@/views/ywbl/mixin/index"; |
314 | import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; | 319 | import { init, getSsQlxx,getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; |
315 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 320 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
316 | import tdytTable from "@/views/workflow/components/tdytTable"; | 321 | import tdytTable from "@/views/workflow/components/tdytTable"; |
317 | import selectTable from "@/components/selectTable/index.vue"; | 322 | import selectTable from "@/components/selectTable/index.vue"; |
318 | export default { | 323 | export default { |
319 | mixins: [ywmix], | 324 | mixins: [ywmix], |
320 | components: { qlrCommonTable, tdytTable, selectTable }, | 325 | components: { qlrCommonTable, tdytTable, selectTable }, |
321 | computed: { | 326 | computed: { |
322 | ...mapGetters(["dictData", "flag"]), | 327 | ...mapGetters(["dictData", "flag"]), |
323 | // 根据流程判断表单是否为只读 | 328 | // 根据流程判断表单是否为只读 |
324 | editDisabled () { | 329 | editDisabled() { |
325 | if (!this.ableOperation) { | 330 | if (!this.ableOperation) { |
326 | //只读状态 | 331 | //只读状态 |
327 | return true; | 332 | return true; |
333 | } | ||
334 | return false; | ||
335 | }, | ||
336 | }, | ||
337 | data() { | ||
338 | return { | ||
339 | mjdw: "1", | ||
340 | ssqlxxshow: true, | ||
341 | props: { | ||
342 | label: "bdcqzh", | ||
343 | value: "bdcdyid", | ||
344 | }, | ||
345 | // 键名转换,方法默认是label和children进行树状渲染 | ||
346 | normalizer(node) { | ||
347 | //方法 | ||
348 | if (node.children == null || node.children == "null") { | ||
349 | delete node.children; | ||
328 | } | 350 | } |
329 | return false; | 351 | return { |
352 | id: node.dcode, | ||
353 | label: node.dname, | ||
354 | }; | ||
330 | }, | 355 | }, |
331 | }, | 356 | //表单是否可操作 |
332 | data () { | 357 | propsParam: this.$attrs, |
333 | return { | 358 | ableOperation: false, |
334 | mjdw: "1", | 359 | key: 0, |
335 | ssqlxxshow: true, | 360 | ssQlxxList: [], |
336 | props: { | 361 | // 登记类型 |
337 | label: "bdcqzh", | 362 | djlxlist: [ |
338 | value: "bdcdyid", | 363 | { |
364 | dcode: "100", | ||
365 | dname: "首次登记", | ||
339 | }, | 366 | }, |
340 | // 键名转换,方法默认是label和children进行树状渲染 | 367 | { |
341 | normalizer (node) { | 368 | dcode: "200", |
342 | //方法 | 369 | dname: "转移登记", |
343 | if (node.children == null || node.children == "null") { | 370 | }, |
344 | delete node.children; | 371 | { |
345 | } | 372 | dcode: "300", |
346 | return { | 373 | dname: "变更登记", |
347 | id: node.dcode, | 374 | }, |
348 | label: node.dname, | 375 | { |
349 | }; | 376 | dcode: "500", |
377 | dname: "更正登记", | ||
350 | }, | 378 | }, |
351 | //表单是否可操作 | ||
352 | propsParam: this.$attrs, | ||
353 | ableOperation: false, | ||
354 | key: 0, | ||
355 | ssQlxxList: [], | ||
356 | // 登记类型 | ||
357 | djlxlist: [ | ||
358 | { | ||
359 | dcode: "100", | ||
360 | dname: "首次登记", | ||
361 | }, | ||
362 | { | ||
363 | dcode: "200", | ||
364 | dname: "转移登记", | ||
365 | }, | ||
366 | { | ||
367 | dcode: "300", | ||
368 | dname: "变更登记", | ||
369 | }, | ||
370 | { | ||
371 | dcode: "500", | ||
372 | dname: "更正登记", | ||
373 | }, | ||
374 | 379 | ||
375 | { | 380 | { |
376 | dcode: "901", | 381 | dcode: "901", |
377 | dname: "补证", | 382 | dname: "补证", |
378 | }, | 383 | }, |
379 | { | 384 | { |
380 | dcode: "902", | 385 | dcode: "902", |
381 | dname: "换证", | 386 | dname: "换证", |
382 | }, | 387 | }, |
388 | ], | ||
389 | // 权属状态 | ||
390 | qsztlist: [ | ||
391 | { | ||
392 | dcode: "1", | ||
393 | dname: "现势", | ||
394 | }, | ||
395 | { | ||
396 | dcode: "2", | ||
397 | dname: "历史", | ||
398 | }, | ||
399 | ], | ||
400 | tdxz: null, | ||
401 | isShow: false, | ||
402 | disabled: true, | ||
403 | czrOptions: [], | ||
404 | ruleForm: {}, | ||
405 | //传递参数\ | ||
406 | rules: { | ||
407 | ssQlxxrules: [ | ||
408 | { required: true, message: "上手权利信息", trigger: "blur" }, | ||
383 | ], | 409 | ], |
384 | // 权属状态 | 410 | bdcqzhrules: [ |
385 | qsztlist: [ | 411 | { required: true, message: "不动产权证号:", trigger: "blur" }, |
386 | { | ||
387 | dcode: "1", | ||
388 | dname: "现势", | ||
389 | }, | ||
390 | { | ||
391 | dcode: "2", | ||
392 | dname: "历史", | ||
393 | }, | ||
394 | ], | 412 | ], |
395 | tdxz: null, | 413 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
396 | isShow: false, | 414 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
397 | disabled: true, | 415 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
398 | czrOptions: [], | 416 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
399 | ruleForm: {}, | 417 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], |
400 | //传递参数\ | 418 | ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], |
401 | rules: { | ||
402 | ssQlxxrules: [ | ||
403 | { required: true, message: "上手权利信息", trigger: "blur" }, | ||
404 | ], | ||
405 | bdcqzhrules: [ | ||
406 | { required: true, message: "不动产权证号:", trigger: "blur" }, | ||
407 | ], | ||
408 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | ||
409 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | ||
410 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | ||
411 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | ||
412 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], | ||
413 | }, | ||
414 | }; | ||
415 | }, | ||
416 | created () { | ||
417 | this.loadData(); | ||
418 | }, | ||
419 | mounted () { | ||
420 | this.ableOperation = this.$parent.ableOperation; | ||
421 | }, | ||
422 | methods: { | ||
423 | /** | ||
424 | * @description: ssQlxxchange | ||
425 | * @param {*} val | ||
426 | * @author: renchao | ||
427 | */ | ||
428 | ssQlxxchange (val) { | ||
429 | this.ruleForm.ssQlxx = val; | ||
430 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
431 | this.ssQlxxchangediolog(val); | ||
432 | }, | 419 | }, |
433 | // 弹框事件 | 420 | }; |
434 | ssQlxxchangediolog (val) { | 421 | }, |
435 | console.log("确定了", this.ruleForm); | 422 | created() { |
436 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | 423 | this.loadData(); |
437 | iconClass: "el-icon-question", //自定义图标样式 | 424 | }, |
438 | confirmButtonText: "确认", //确认按钮文字更换 | 425 | mounted() { |
439 | cancelButtonText: "取消", //取消按钮文字更换 | 426 | this.ableOperation = this.$parent.ableOperation; |
440 | showClose: true, //是否显示右上角关闭按钮 | 427 | }, |
441 | type: "warning", | 428 | methods: { |
442 | }).then(() => { | 429 | /** |
443 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | 430 | * @description: ssQlxxchange |
444 | if (res.code == 200) { | 431 | * @param {*} val |
445 | this.nowlist = res.result; | 432 | * @author: renchao |
446 | console.log("his.nowlist", this.nowlist); | 433 | */ |
447 | console.log("this.ruleForm", this.ruleForm); | 434 | ssQlxxchange(val) { |
448 | for (var key in this.ruleForm.jsydsyq) { | 435 | this.ruleForm.ssQlxx = val; |
449 | if ( | 436 | this.ruleForm.qlxx.ssywh = val.ywh; |
450 | this.ruleForm.jsydsyq[key] == "" || | 437 | this.ssQlxxchangediolog(val); |
451 | this.ruleForm.jsydsyq[key] == null | 438 | }, |
452 | ) { | 439 | // 弹框事件 |
453 | this.ruleForm.jsydsyq[key] = this.nowlist.jsydsyq[key]; | 440 | ssQlxxchangediolog(val) { |
454 | } | 441 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
442 | iconClass: "el-icon-question", //自定义图标样式 | ||
443 | confirmButtonText: "确认", //确认按钮文字更换 | ||
444 | cancelButtonText: "取消", //取消按钮文字更换 | ||
445 | showClose: true, //是否显示右上角关闭按钮 | ||
446 | type: "warning", | ||
447 | }).then(() => { | ||
448 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | ||
449 | if (res.code == 200) { | ||
450 | this.nowlist = res.result; | ||
451 | for (var key in this.ruleForm.jsydsyq) { | ||
452 | if ( | ||
453 | this.ruleForm.jsydsyq[key] == "" || | ||
454 | this.ruleForm.jsydsyq[key] == null | ||
455 | ) { | ||
456 | this.ruleForm.jsydsyq[key] = this.nowlist.jsydsyq[key]; | ||
455 | } | 457 | } |
456 | for (var key in this.ruleForm.qlxx) { | 458 | } |
457 | if ( | 459 | for (var key in this.ruleForm.qlxx) { |
458 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | 460 | if ( |
459 | this.ruleForm.qlxx[key] == null | 461 | this.ruleForm.qlxx[key] == ""|| |
460 | ) { | 462 | this.ruleForm.qlxx[key] == null && |
461 | console.log("this.ruleForm.qlxx[key]", key); | 463 | key != "ywh" && |
462 | if (key != "ywh") { | 464 | key != "dbr" && |
465 | key != "djsj" && | ||
466 | key != "ssywh" && | ||
467 | key != "ssywh" && | ||
468 | key != "bdcqzh") { | ||
463 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | 469 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; |
464 | } | 470 | |
465 | } | 471 | } |
466 | } | ||
467 | if (!this.ruleForm.tdytqxList.length) { | ||
468 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | ||
469 | } | ||
470 | if (!this.ruleForm.qlrData.length) { | ||
471 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
472 | } | ||
473 | if (!this.ruleForm.ywrData.length) { | ||
474 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
475 | } | ||
476 | console.log("this.ruleForm", this.ruleForm); | ||
477 | this.$message({ | ||
478 | type: "success", | ||
479 | message: "同步成功!", | ||
480 | }); | ||
481 | } | 472 | } |
482 | }); | 473 | if (!this.ruleForm.tdytqxList.length) { |
483 | }).catch(() => { | 474 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; |
475 | } | ||
476 | if (!this.ruleForm.qlrData.length) { | ||
477 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
478 | } | ||
479 | if (!this.ruleForm.ywrData.length) { | ||
480 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
481 | } | ||
482 | this.$message({ | ||
483 | type: "success", | ||
484 | message: "同步成功!", | ||
485 | }); | ||
486 | } | ||
487 | }); | ||
488 | }).catch(() => { | ||
484 | this.$message({ | 489 | this.$message({ |
485 | type: "info", | 490 | type: "info", |
486 | message: "已取消同步", | 491 | message: "已取消同步", |
... | @@ -588,7 +593,7 @@ | ... | @@ -588,7 +593,7 @@ |
588 | }); | 593 | }); |
589 | return false; | 594 | return false; |
590 | } | 595 | } |
591 | if (this.ruleForm.qlrData.length != 0 && this.ruleForm.sldy.sqfbcz == 0 && this.ruleForm.czr == '') { | 596 | if (this.ruleForm.qlrData.length != 0 && this.ruleForm.qlxx.sqfbcz == 0 && this.ruleForm.czr == '') { |
592 | this.$message({ | 597 | this.$message({ |
593 | showClose: true, | 598 | showClose: true, |
594 | message: "请选择持证人信息", | 599 | message: "请选择持证人信息", |
... | @@ -596,7 +601,7 @@ | ... | @@ -596,7 +601,7 @@ |
596 | }); | 601 | }); |
597 | return false; | 602 | return false; |
598 | } | 603 | } |
599 | if (this.ruleForm.sldy.gyfs == "0") { | 604 | if (this.ruleForm.qlxx.gyfs == "0") { |
600 | if (this.ruleForm.qlrData.length > 1) { | 605 | if (this.ruleForm.qlrData.length > 1) { |
601 | this.$message({ | 606 | this.$message({ |
602 | showClose: true, | 607 | showClose: true, |
... | @@ -616,7 +621,7 @@ | ... | @@ -616,7 +621,7 @@ |
616 | return false; | 621 | return false; |
617 | } | 622 | } |
618 | //是否分别持证 | 623 | //是否分别持证 |
619 | if (this.ruleForm.sldy.sqfbcz == "1") { | 624 | if (this.ruleForm.qlxx.sqfbcz == "1") { |
620 | //是 | 625 | //是 |
621 | this.ruleForm.qlrList.forEach((item, index) => { | 626 | this.ruleForm.qlrList.forEach((item, index) => { |
622 | item.sfczr = "1"; | 627 | item.sfczr = "1"; | ... | ... |
... | @@ -15,7 +15,8 @@ | ... | @@ -15,7 +15,8 @@ |
15 | :show-message="false" | 15 | :show-message="false" |
16 | :label-position="flag ? 'top' : ''" | 16 | :label-position="flag ? 'top' : ''" |
17 | :inline="flag" | 17 | :inline="flag" |
18 | label-width="120px"> | 18 | label-width="145px" |
19 | > | ||
19 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
20 | <div class="slxx_title title-block"> | 21 | <div class="slxx_title title-block"> |
21 | 补录信息 | 22 | 补录信息 |
... | @@ -38,19 +39,16 @@ | ... | @@ -38,19 +39,16 @@ |
38 | </el-form-item> | 39 | </el-form-item> |
39 | </el-col> | 40 | </el-col> |
40 | </el-row> | 41 | </el-row> |
41 | <div class="slxx_title title-block"> | 42 | <div class="slxx_title title-block bdcqk"> |
42 | 土地所有权信息 | 43 | 土地所有权信息 |
43 | <div class="triangle"></div> | 44 | <div class="count" v-if="ssqlxxshow"> |
44 | </div> | ||
45 | <el-row :gutter="10"> | ||
46 | <el-col :span="8" v-if="ssqlxxshow"> | ||
47 | <el-form-item | 45 | <el-form-item |
48 | label="上手权利信息:" | 46 | label="上手权利信息:" |
49 | prop="ssQlxx.bdcqzh" | 47 | prop="ssQlxx.bdcqzh" |
50 | :rules="rules.ssQlxxrules"> | 48 | :rules="rules.ssQlxxrules"> |
51 | <select-table | 49 | <select-table |
52 | v-model="ruleForm.ssQlxx" | 50 | v-model="ruleForm.ssQlxx" |
53 | :table-width="550" | 51 | :table-width="730" |
54 | :tableData="ssQlxxList" | 52 | :tableData="ssQlxxList" |
55 | :props="props" | 53 | :props="props" |
56 | @change="ssQlxxchange"> | 54 | @change="ssQlxxchange"> |
... | @@ -68,7 +66,10 @@ | ... | @@ -68,7 +66,10 @@ |
68 | <el-table-column prop="zl" label="坐落"></el-table-column> | 66 | <el-table-column prop="zl" label="坐落"></el-table-column> |
69 | </select-table> | 67 | </select-table> |
70 | </el-form-item> | 68 | </el-form-item> |
71 | </el-col> | 69 | </div> |
70 | <div class="triangle"></div> | ||
71 | </div> | ||
72 | <el-row :gutter="10"> | ||
72 | <el-col :span="8"> | 73 | <el-col :span="8"> |
73 | <el-form-item label="上手业务号:"> | 74 | <el-form-item label="上手业务号:"> |
74 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | 75 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
... | @@ -97,7 +98,11 @@ | ... | @@ -97,7 +98,11 @@ |
97 | </el-form-item> | 98 | </el-form-item> |
98 | </el-col> | 99 | </el-col> |
99 | <el-col :span="8"> | 100 | <el-col :span="8"> |
100 | <el-form-item label="业务号:"> | 101 | <el-form-item |
102 | label="业务号:" | ||
103 | prop="qlxx.ywh" | ||
104 | :rules="rules.ywhrules" | ||
105 | > | ||
101 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 106 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> |
102 | </el-form-item> | 107 | </el-form-item> |
103 | </el-col> | 108 | </el-col> |
... | @@ -403,140 +408,139 @@ | ... | @@ -403,140 +408,139 @@ |
403 | </div> | 408 | </div> |
404 | </template> | 409 | </template> |
405 | <script> | 410 | <script> |
406 | import { mapGetters } from "vuex"; | 411 | import { mapGetters } from "vuex"; |
407 | import store from "@/store/index.js"; | 412 | import store from "@/store/index.js"; |
408 | import ywmix from "@/views/ywbl/mixin/index"; | 413 | import ywmix from "@/views/ywbl/mixin/index"; |
409 | import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; | 414 | import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; |
410 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 415 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
411 | import selectTable from "@/components/selectTable/index.vue"; | 416 | import selectTable from "@/components/selectTable/index.vue"; |
412 | import tdytTable from "@/views/workflow/components/tdytTable"; | 417 | import tdytTable from "@/views/workflow/components/tdytTable"; |
413 | export default { | 418 | export default { |
414 | mixins: [ywmix], | 419 | mixins: [ywmix], |
415 | components: { qlrCommonTable, tdytTable, selectTable }, | 420 | components: { qlrCommonTable, tdytTable, selectTable }, |
416 | computed: { | 421 | computed: { |
417 | ...mapGetters(["dictData", "flag"]), | 422 | ...mapGetters(["dictData", "flag"]), |
418 | // 根据流程判断表单是否为只读 | 423 | // 根据流程判断表单是否为只读 |
419 | editDisabled () { | 424 | editDisabled() { |
420 | if (!this.ableOperation) { | 425 | if (!this.ableOperation) { |
421 | //只读状态 | 426 | //只读状态 |
422 | return true; | 427 | return true; |
428 | } | ||
429 | return false; | ||
430 | }, | ||
431 | }, | ||
432 | data() { | ||
433 | return { | ||
434 | ssqlxxshow: true, | ||
435 | props: { | ||
436 | label: "bdcqzh", | ||
437 | value: "bdcdyid", | ||
438 | }, | ||
439 | // 键名转换,方法默认是label和children进行树状渲染 | ||
440 | normalizer(node) { | ||
441 | //方法 | ||
442 | if (node.children == null || node.children == "null") { | ||
443 | delete node.children; | ||
423 | } | 444 | } |
424 | return false; | 445 | return { |
446 | id: node.dcode, | ||
447 | label: node.dname, | ||
448 | }; | ||
425 | }, | 449 | }, |
426 | }, | 450 | //表单是否可操作 |
427 | data () { | 451 | propsParam: this.$attrs, |
428 | return { | 452 | key: 0, |
429 | ssqlxxshow: true, | 453 | // 登记类型 |
430 | props: { | 454 | djlxlist: [ |
431 | label: "bdcqzh", | 455 | { |
432 | value: "bdcdyid", | 456 | dcode: "100", |
457 | dname: "首次登记", | ||
433 | }, | 458 | }, |
434 | // 键名转换,方法默认是label和children进行树状渲染 | 459 | { |
435 | normalizer (node) { | 460 | dcode: "200", |
436 | //方法 | 461 | dname: "转移登记", |
437 | if (node.children == null || node.children == "null") { | 462 | }, |
438 | delete node.children; | 463 | { |
439 | } | 464 | dcode: "300", |
440 | return { | 465 | dname: "变更登记", |
441 | id: node.dcode, | 466 | }, |
442 | label: node.dname, | 467 | { |
443 | }; | 468 | dcode: "500", |
469 | dname: "更正登记", | ||
444 | }, | 470 | }, |
445 | //表单是否可操作 | ||
446 | propsParam: this.$attrs, | ||
447 | key: 0, | ||
448 | // 登记类型 | ||
449 | djlxlist: [ | ||
450 | { | ||
451 | dcode: "100", | ||
452 | dname: "首次登记", | ||
453 | }, | ||
454 | { | ||
455 | dcode: "200", | ||
456 | dname: "转移登记", | ||
457 | }, | ||
458 | { | ||
459 | dcode: "300", | ||
460 | dname: "变更登记", | ||
461 | }, | ||
462 | { | ||
463 | dcode: "500", | ||
464 | dname: "更正登记", | ||
465 | }, | ||
466 | 471 | ||
467 | { | 472 | { |
468 | dcode: "901", | 473 | dcode: "901", |
469 | dname: "补证", | 474 | dname: "补证", |
470 | }, | 475 | }, |
471 | { | 476 | { |
472 | dcode: "902", | 477 | dcode: "902", |
473 | dname: "换证", | 478 | dname: "换证", |
474 | }, | 479 | }, |
480 | ], | ||
481 | // 权属状态 | ||
482 | qsztlist: [ | ||
483 | { | ||
484 | dcode: "1", | ||
485 | dname: "现势", | ||
486 | }, | ||
487 | { | ||
488 | dcode: "2", | ||
489 | dname: "历史", | ||
490 | }, | ||
491 | ], | ||
492 | isShow: false, | ||
493 | disabled: true, | ||
494 | czrOptions: [], | ||
495 | ssQlxxList: [], | ||
496 | ruleForm: {}, | ||
497 | ableOperation: false, | ||
498 | //传递参数\ | ||
499 | rules: { | ||
500 | ssQlxxrules: [ | ||
501 | { required: true, message: "上手权利信息", trigger: "blur" }, | ||
475 | ], | 502 | ], |
476 | // 权属状态 | 503 | bdcqzhrules: [ |
477 | qsztlist: [ | 504 | { required: true, message: "不动产权证号:", trigger: "blur" }, |
478 | { | ||
479 | dcode: "1", | ||
480 | dname: "现势", | ||
481 | }, | ||
482 | { | ||
483 | dcode: "2", | ||
484 | dname: "历史", | ||
485 | }, | ||
486 | ], | 505 | ], |
487 | isShow: false, | 506 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
488 | disabled: true, | 507 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
489 | czrOptions: [], | 508 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
490 | ssQlxxList: [], | 509 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
491 | ruleForm: {}, | 510 | djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], |
492 | ableOperation: false, | 511 | ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], |
493 | //传递参数\ | ||
494 | rules: { | ||
495 | ssQlxxrules: [ | ||
496 | { required: true, message: "上手权利信息", trigger: "blur" }, | ||
497 | ], | ||
498 | bdcqzhrules: [ | ||
499 | { required: true, message: "不动产权证号:", trigger: "blur" }, | ||
500 | ], | ||
501 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | ||
502 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | ||
503 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | ||
504 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | ||
505 | djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], | ||
506 | }, | ||
507 | }; | ||
508 | }, | ||
509 | created () { }, | ||
510 | mounted () { | ||
511 | this.loadData(); | ||
512 | this.ableOperation = this.$parent.ableOperation; | ||
513 | }, | ||
514 | methods: { | ||
515 | /** | ||
516 | * @description: ssQlxxchange | ||
517 | * @param {*} val | ||
518 | * @author: renchao | ||
519 | */ | ||
520 | ssQlxxchange (val) { | ||
521 | this.ruleForm.ssQlxx = val; | ||
522 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
523 | this.ssQlxxchangediolog(val); | ||
524 | }, | 512 | }, |
525 | // 弹框事件 | 513 | }; |
526 | ssQlxxchangediolog (val) { | 514 | }, |
527 | console.log("确定了", this.ruleForm); | 515 | created() {}, |
528 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | 516 | mounted() { |
529 | iconClass: "el-icon-question", //自定义图标样式 | 517 | this.loadData(); |
530 | confirmButtonText: "确认", //确认按钮文字更换 | 518 | this.ableOperation = this.$parent.ableOperation; |
531 | cancelButtonText: "取消", //取消按钮文字更换 | 519 | }, |
532 | showClose: true, //是否显示右上角关闭按钮 | 520 | methods: { |
533 | type: "warning", | 521 | /** |
534 | }).then(() => { | 522 | * @description: ssQlxxchange |
523 | * @param {*} val | ||
524 | * @author: renchao | ||
525 | */ | ||
526 | ssQlxxchange(val) { | ||
527 | this.ruleForm.ssQlxx = val; | ||
528 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
529 | this.ssQlxxchangediolog(val); | ||
530 | }, | ||
531 | // 弹框事件 | ||
532 | ssQlxxchangediolog(val) { | ||
533 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | ||
534 | iconClass: "el-icon-question", //自定义图标样式 | ||
535 | confirmButtonText: "确认", //确认按钮文字更换 | ||
536 | cancelButtonText: "取消", //取消按钮文字更换 | ||
537 | showClose: true, //是否显示右上角关闭按钮 | ||
538 | type: "warning", | ||
539 | }) | ||
540 | .then(() => { | ||
535 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | 541 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
536 | if (res.code == 200) { | 542 | if (res.code == 200) { |
537 | this.nowlist = res.result; | 543 | this.nowlist = res.result; |
538 | console.log("his.nowlist", this.nowlist); | ||
539 | console.log("this.ruleForm", this.ruleForm); | ||
540 | for (var key in this.ruleForm.tdsyq) { | 544 | for (var key in this.ruleForm.tdsyq) { |
541 | if ( | 545 | if ( |
542 | this.ruleForm.tdsyq[key] == "" || | 546 | this.ruleForm.tdsyq[key] == "" || |
... | @@ -547,13 +551,16 @@ | ... | @@ -547,13 +551,16 @@ |
547 | } | 551 | } |
548 | for (var key in this.ruleForm.qlxx) { | 552 | for (var key in this.ruleForm.qlxx) { |
549 | if ( | 553 | if ( |
550 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | 554 | this.ruleForm.qlxx[key] == ""|| |
551 | this.ruleForm.qlxx[key] == null | 555 | this.ruleForm.qlxx[key] == null && |
552 | ) { | 556 | key != "ywh" && |
553 | console.log("this.ruleForm.qlxx[key]", key); | 557 | key != "dbr" && |
554 | if (key != "ywh") { | 558 | key != "djsj" && |
559 | key != "ssywh" && | ||
560 | key != "ssywh" && | ||
561 | key != "bdcqzh") { | ||
555 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | 562 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; |
556 | } | 563 | |
557 | } | 564 | } |
558 | } | 565 | } |
559 | if (!this.ruleForm.tdytqxList.length) { | 566 | if (!this.ruleForm.tdytqxList.length) { |
... | @@ -565,93 +572,92 @@ | ... | @@ -565,93 +572,92 @@ |
565 | if (!this.ruleForm.ywrData.length) { | 572 | if (!this.ruleForm.ywrData.length) { |
566 | this.ruleForm.ywrData = this.nowlist.ywrData; | 573 | this.ruleForm.ywrData = this.nowlist.ywrData; |
567 | } | 574 | } |
568 | console.log("this.ruleForm", this.ruleForm); | ||
569 | this.$message({ | 575 | this.$message({ |
570 | type: "success", | 576 | type: "success", |
571 | message: "同步成功!", | 577 | message: "同步成功!", |
572 | }); | 578 | }); |
573 | } | 579 | } |
574 | }); | 580 | }); |
575 | }).catch(() => { | 581 | }) |
582 | .catch(() => { | ||
576 | this.$message({ | 583 | this.$message({ |
577 | type: "info", | 584 | type: "info", |
578 | message: "已取消同步", | 585 | message: "已取消同步", |
579 | }); | 586 | }); |
580 | }); | 587 | }); |
581 | }, | 588 | }, |
582 | /** | 589 | /** |
583 | * @description: djlxchange | 590 | * @description: djlxchange |
584 | * @param {*} val | 591 | * @param {*} val |
585 | * @author: renchao | 592 | * @author: renchao |
586 | */ | 593 | */ |
587 | djlxchange (val) { | 594 | djlxchange(val) { |
588 | console.log("val", val); | 595 | if (val == null || val == 100) { |
589 | if (val == null || val == 100) { | 596 | this.ssqlxxshow = false; |
590 | this.ssqlxxshow = false; | 597 | } else { |
591 | } else { | 598 | this.ssqlxxshow = true; |
592 | this.ssqlxxshow = true; | 599 | } |
593 | } | 600 | }, |
594 | }, | ||
595 | 601 | ||
596 | // 字典 | 602 | // 字典 |
597 | /** | 603 | /** |
598 | * @description: 字典 | 604 | * @description: 字典 |
599 | * @param {*} val | 605 | * @param {*} val |
600 | * @author: renchao | 606 | * @author: renchao |
601 | */ | 607 | */ |
602 | getDictData (val) { | 608 | getDictData(val) { |
603 | return store.getters.dictData[val]; | 609 | return store.getters.dictData[val]; |
604 | }, | 610 | }, |
605 | /** | 611 | /** |
606 | * @description: loadData | 612 | * @description: loadData |
607 | * @author: renchao | 613 | * @author: renchao |
608 | */ | 614 | */ |
609 | loadData () { | 615 | loadData() { |
610 | this.$startLoading(); | 616 | this.$startLoading(); |
611 | this.propsParam.isEdit = this.$parent.isEdit; | 617 | this.propsParam.isEdit = this.$parent.isEdit; |
612 | init(this.propsParam).then((res) => { | 618 | init(this.propsParam).then((res) => { |
613 | if (res.code == 200) { | 619 | if (res.code == 200) { |
614 | this.ruleForm = res.result; | 620 | this.ruleForm = res.result; |
615 | let djlx = this.ruleForm.qlxx.djlx; | 621 | let djlx = this.ruleForm.qlxx.djlx; |
616 | if (djlx == null || djlx == 100) { | 622 | if (djlx == null || djlx == 100) { |
617 | this.ssqlxxshow = false; | 623 | this.ssqlxxshow = false; |
618 | } | ||
619 | this.$endLoading(); | ||
620 | this.isShow = true; | ||
621 | //获取主体信息 | ||
622 | getSsQlxx({ | ||
623 | bdcdyid: this.propsParam.bdcdyid, | ||
624 | qllx: this.propsParam.qllx, | ||
625 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
626 | }).then((res) => { | ||
627 | if (res.code == 200) { | ||
628 | this.ssQlxxList = res.result; | ||
629 | } | ||
630 | }); | ||
631 | } | 624 | } |
632 | }); | 625 | this.$endLoading(); |
633 | }, | 626 | this.isShow = true; |
634 | // 更新土地用途信息 | 627 | //获取主体信息 |
635 | /** | 628 | getSsQlxx({ |
636 | * @description: 更新土地用途信息 | 629 | bdcdyid: this.propsParam.bdcdyid, |
637 | * @param {*} val | 630 | qllx: this.propsParam.qllx, |
638 | * @author: renchao | 631 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, |
639 | */ | 632 | }).then((res) => { |
640 | upDateTdytxxList (val) { | 633 | if (res.code == 200) { |
641 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 634 | this.ssQlxxList = res.result; |
642 | this.key++; | 635 | } |
643 | }, | 636 | }); |
644 | // 更新权利人信息 | 637 | } |
645 | /** | 638 | }); |
646 | * @description: 更新权利人信息 | 639 | }, |
647 | * @param {*} val | 640 | // 更新土地用途信息 |
648 | * @author: renchao | 641 | /** |
649 | */ | 642 | * @description: 更新土地用途信息 |
650 | upDateQlrxxList (val) { | 643 | * @param {*} val |
651 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | 644 | * @author: renchao |
652 | this.czrOptions = this.ruleForm.qlrData; | 645 | */ |
653 | this.key++; | 646 | upDateTdytxxList(val) { |
654 | }, | 647 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
648 | this.key++; | ||
649 | }, | ||
650 | // 更新权利人信息 | ||
651 | /** | ||
652 | * @description: 更新权利人信息 | ||
653 | * @param {*} val | ||
654 | * @author: renchao | ||
655 | */ | ||
656 | upDateQlrxxList(val) { | ||
657 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
658 | this.czrOptions = this.ruleForm.qlrData; | ||
659 | this.key++; | ||
660 | }, | ||
655 | /** | 661 | /** |
656 | * @description: onSubmit | 662 | * @description: onSubmit |
657 | * @author: renchao | 663 | * @author: renchao | ... | ... |
... | @@ -40,19 +40,17 @@ | ... | @@ -40,19 +40,17 @@ |
40 | </el-form-item> | 40 | </el-form-item> |
41 | </el-col> | 41 | </el-col> |
42 | </el-row> | 42 | </el-row> |
43 | <div class="slxx_title title-block"> | 43 | <div class="slxx_title title-block bdcqk"> |
44 | 预告抵押登记信息不动产情况 | 44 | 预告抵押不动产情况 |
45 | <div class="triangle"></div> | 45 | <div class="count"> |
46 | </div> | ||
47 | <el-row :gutter="10"> | ||
48 | <el-col :span="8" v-if="ztQlxxList"> | ||
49 | <el-form-item | 46 | <el-form-item |
50 | label="抵押不动产信息:" | 47 | label="预告抵押不动产情况" |
51 | prop="ztQlxx" | 48 | prop="ztQlxx.bdcqzh" |
52 | :rules="rules.ztQlxxrules"> | 49 | :rules="rules.ztQlxxrules" |
50 | > | ||
53 | <select-table | 51 | <select-table |
54 | v-model="ruleForm.ztQlxx" | 52 | v-model="ruleForm.ztQlxx" |
55 | :table-width="550" | 53 | :table-width="730" |
56 | :tableData="ztQlxxList" | 54 | :tableData="ztQlxxList" |
57 | :props="props" | 55 | :props="props" |
58 | @change="ztQlxxchange"> | 56 | @change="ztQlxxchange"> |
... | @@ -63,43 +61,20 @@ | ... | @@ -63,43 +61,20 @@ |
63 | <el-table-column | 61 | <el-table-column |
64 | prop="bdcqzh" | 62 | prop="bdcqzh" |
65 | width="160" | 63 | width="160" |
66 | label="不动产权证书"></el-table-column> | 64 | label="不动产权证书" |
67 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | 65 | ></el-table-column> |
68 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
69 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
70 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
71 | </select-table> | ||
72 | </el-form-item> | ||
73 | </el-col> | ||
74 | |||
75 | <el-col :span="8" v-if="ssqlxxshow"> | ||
76 | <el-form-item | ||
77 | label="上手权利信息:" | ||
78 | prop="ssQlxx.bdcqzh" | ||
79 | :rules="rules.ssQlxxrules"> | ||
80 | <select-table | ||
81 | v-model="ruleForm.ssQlxx" | ||
82 | :table-width="550" | ||
83 | :tableData="ssQlxxList" | ||
84 | :props="props" | ||
85 | @change="ssQlxxchange"> | ||
86 | <el-table-column | ||
87 | prop="qllxmc" | ||
88 | width="130" | ||
89 | label="权利类型"></el-table-column> | ||
90 | <el-table-column | 66 | <el-table-column |
91 | prop="bdcqzh" | 67 | prop="qlrmc" |
92 | width="160" | 68 | label="被执行人" |
93 | label="不动产权证书"></el-table-column> | 69 | ></el-table-column> |
94 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
95 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 70 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
96 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 71 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
97 | <el-table-column prop="zl" label="坐落"></el-table-column> | 72 | <el-table-column prop="zl" label="坐落"></el-table-column> |
98 | </select-table> | 73 | </select-table> |
99 | </el-form-item> | 74 | </el-form-item> |
100 | </el-col> | 75 | </div> |
101 | </el-row> | 76 | <div class="triangle"></div> |
102 | 77 | </div> | |
103 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> | 78 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> |
104 | <el-col :span="8"> | 79 | <el-col :span="8"> |
105 | <el-form-item label="权利人:"> | 80 | <el-form-item label="权利人:"> |
... | @@ -130,7 +105,7 @@ | ... | @@ -130,7 +105,7 @@ |
130 | </el-col> | 105 | </el-col> |
131 | <el-col :span="8"> | 106 | <el-col :span="8"> |
132 | <el-form-item label="坐落:"> | 107 | <el-form-item label="坐落:"> |
133 | <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input> | 108 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
134 | </el-form-item> | 109 | </el-form-item> |
135 | </el-col> | 110 | </el-col> |
136 | </el-row> | 111 | </el-row> |
... | @@ -151,8 +126,38 @@ | ... | @@ -151,8 +126,38 @@ |
151 | </el-form-item> | 126 | </el-form-item> |
152 | </el-col> | 127 | </el-col> |
153 | </el-row> | 128 | </el-row> |
154 | <div class="slxx_title title-block"> | 129 | <div class="slxx_title title-block bdcqk"> |
155 | 预告登记信息 | 130 | 预告登记信息 |
131 | <div class="count" v-if="ssqlxxshow"> | ||
132 | <el-form-item | ||
133 | label="上手权利信息:" | ||
134 | prop="ssQlxx.bdcqzh" | ||
135 | :rules="rules.ssQlxxrules" | ||
136 | > | ||
137 | <select-table | ||
138 | v-model="ruleForm.ssQlxx" | ||
139 | :table-width="730" | ||
140 | :tableData="ssQlxxList" | ||
141 | :props="props" | ||
142 | @change="ssQlxxchange" | ||
143 | > | ||
144 | <el-table-column | ||
145 | prop="qllxmc" | ||
146 | width="130" | ||
147 | label="权利类型" | ||
148 | ></el-table-column> | ||
149 | <el-table-column | ||
150 | prop="bdcqzh" | ||
151 | width="160" | ||
152 | label="不动产权证书" | ||
153 | ></el-table-column> | ||
154 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
155 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
156 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
157 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
158 | </select-table> | ||
159 | </el-form-item> | ||
160 | </div> | ||
156 | <div class="triangle"></div> | 161 | <div class="triangle"></div> |
157 | </div> | 162 | </div> |
158 | <el-row :gutter="10"> | 163 | <el-row :gutter="10"> |
... | @@ -613,90 +618,90 @@ | ... | @@ -613,90 +618,90 @@ |
613 | ableOperation: false, | 618 | ableOperation: false, |
614 | }; | 619 | }; |
615 | }, | 620 | }, |
616 | created () { | 621 | created() { |
617 | this.loadData(); | 622 | this.loadData(); |
623 | }, | ||
624 | mounted() { | ||
625 | this.ableOperation = this.$parent.ableOperation; | ||
626 | }, | ||
627 | methods: { | ||
628 | /** | ||
629 | * @description: ztQlxxchange | ||
630 | * @param {*} val | ||
631 | * @author: renchao | ||
632 | */ | ||
633 | ztQlxxchange(val) { | ||
634 | this.ruleForm.ztQlxx = val; | ||
618 | }, | 635 | }, |
619 | mounted () { | 636 | /** |
620 | this.ableOperation = this.$parent.ableOperation; | 637 | * @description: ssQlxxchange |
638 | * @param {*} val | ||
639 | * @author: renchao | ||
640 | */ | ||
641 | ssQlxxchange(val) { | ||
642 | this.ruleForm.ssQlxx = val; | ||
643 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
644 | this.ssQlxxchangediolog(val); | ||
621 | }, | 645 | }, |
622 | methods: { | 646 | // 弹框事件 |
623 | /** | 647 | ssQlxxchangediolog(val) { |
624 | * @description: ztQlxxchange | 648 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
625 | * @param {*} val | 649 | iconClass: "el-icon-question", //自定义图标样式 |
626 | * @author: renchao | 650 | confirmButtonText: "确认", //确认按钮文字更换 |
627 | */ | 651 | cancelButtonText: "取消", //取消按钮文字更换 |
628 | ztQlxxchange (val) { | 652 | showClose: true, //是否显示右上角关闭按钮 |
629 | this.ruleForm.ztQlxx = val; | 653 | type: "warning", |
630 | }, | 654 | }) |
631 | /** | 655 | .then(() => { |
632 | * @description: ssQlxxchange | 656 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
633 | * @param {*} val | 657 | if (res.code == 200) { |
634 | * @author: renchao | 658 | this.nowlist = res.result; |
635 | */ | 659 | for (var key in this.ruleForm.ygdj) { |
636 | ssQlxxchange (val) { | 660 | if ( |
637 | this.ruleForm.ssQlxx = val; | 661 | this.ruleForm.ygdj[key] == "" || |
638 | this.ruleForm.qlxx.ssywh = val.ywh; | 662 | this.ruleForm.ygdj[key] == null |
639 | this.ssQlxxchangediolog(val); | 663 | ) { |
640 | }, | 664 | this.ruleForm.ygdj[key] = this.nowlist.ygdj[key]; |
641 | // 弹框事件 | ||
642 | ssQlxxchangediolog (val) { | ||
643 | console.log("确定了", this.ruleForm); | ||
644 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | ||
645 | iconClass: "el-icon-question", //自定义图标样式 | ||
646 | confirmButtonText: "确认", //确认按钮文字更换 | ||
647 | cancelButtonText: "取消", //取消按钮文字更换 | ||
648 | showClose: true, //是否显示右上角关闭按钮 | ||
649 | type: "warning", | ||
650 | }) | ||
651 | .then(() => { | ||
652 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | ||
653 | if (res.code == 200) { | ||
654 | this.nowlist = res.result; | ||
655 | console.log("his.nowlist", this.nowlist); | ||
656 | console.log("this.ruleForm", this.ruleForm); | ||
657 | for (var key in this.ruleForm.ygdj) { | ||
658 | if ( | ||
659 | this.ruleForm.ygdj[key] == "" || | ||
660 | this.ruleForm.ygdj[key] == null | ||
661 | ) { | ||
662 | this.ruleForm.ygdj[key] = this.nowlist.ygdj[key]; | ||
663 | } | ||
664 | } | ||
665 | for (var key in this.ruleForm.qlxx) { | ||
666 | if ( | ||
667 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | ||
668 | this.ruleForm.qlxx[key] == null | ||
669 | ) { | ||
670 | console.log("this.ruleForm.qlxx[key]", key); | ||
671 | if (key != "ywh") { | ||
672 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | ||
673 | } | ||
674 | } | ||
675 | } | ||
676 | if (!this.ruleForm.tdytqxList.length) { | ||
677 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | ||
678 | } | ||
679 | if (!this.ruleForm.qlrData.length) { | ||
680 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
681 | } | 665 | } |
682 | if (!this.ruleForm.ywrData.length) { | 666 | } |
683 | this.ruleForm.ywrData = this.nowlist.ywrData; | 667 | for (var key in this.ruleForm.qlxx) { |
668 | if ( | ||
669 | this.ruleForm.qlxx[key] == ""|| | ||
670 | this.ruleForm.qlxx[key] == null && | ||
671 | key != "ywh" && | ||
672 | key != "dbr" && | ||
673 | key != "djsj" && | ||
674 | key != "ssywh" && | ||
675 | key != "ssywh" && | ||
676 | key != "bdcqzh") { | ||
677 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | ||
678 | |||
684 | } | 679 | } |
685 | console.log("this.ruleForm", this.ruleForm); | ||
686 | this.$message({ | ||
687 | type: "success", | ||
688 | message: "同步成功!", | ||
689 | }); | ||
690 | } | 680 | } |
691 | }); | 681 | if (!this.ruleForm.tdytqxList.length) { |
692 | }) | 682 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; |
693 | .catch(() => { | 683 | } |
694 | this.$message({ | 684 | if (!this.ruleForm.qlrData.length) { |
695 | type: "info", | 685 | this.ruleForm.qlrData = this.nowlist.qlrData; |
696 | message: "已取消同步", | 686 | } |
697 | }); | 687 | if (!this.ruleForm.ywrData.length) { |
688 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
689 | } | ||
690 | this.$message({ | ||
691 | type: "success", | ||
692 | message: "同步成功!", | ||
693 | }); | ||
694 | } | ||
698 | }); | 695 | }); |
699 | }, | 696 | }) |
697 | .catch(() => { | ||
698 | this.$message({ | ||
699 | type: "info", | ||
700 | message: "已取消同步", | ||
701 | }); | ||
702 | }); | ||
703 | }, | ||
704 | |||
700 | /** | 705 | /** |
701 | * @description: djlxchange | 706 | * @description: djlxchange |
702 | * @param {*} val | 707 | * @param {*} val | ... | ... |
... | @@ -40,19 +40,16 @@ | ... | @@ -40,19 +40,16 @@ |
40 | </el-form-item> | 40 | </el-form-item> |
41 | </el-col> | 41 | </el-col> |
42 | </el-row> | 42 | </el-row> |
43 | <div class="slxx_title title-block"> | 43 | <div class="slxx_title title-block bdcqk"> |
44 | 预告买卖登记信息不动产情况 | 44 | 预告买卖不动产情况 |
45 | <div class="triangle"></div> | 45 | <div class="count" v-if="ssqlxxshow"> |
46 | </div> | ||
47 | <el-row :gutter="24"> | ||
48 | <el-col :span="24" v-if="ssqlxxshow"> | ||
49 | <el-form-item | 46 | <el-form-item |
50 | label="上手权利信息:" | 47 | label="上手权利信息:" |
51 | prop="ssQlxx.bdcqzh" | 48 | prop="ssQlxx.bdcqzh" |
52 | :rules="rules.ssQlxxrules"> | 49 | :rules="rules.ssQlxxrules"> |
53 | <select-table | 50 | <select-table |
54 | v-model="ruleForm.ssQlxx" | 51 | v-model="ruleForm.ssQlxx" |
55 | :table-width="550" | 52 | :table-width="730" |
56 | :tableData="ssQlxxList" | 53 | :tableData="ssQlxxList" |
57 | :props="props" | 54 | :props="props" |
58 | @change="ssQlxxchange"> | 55 | @change="ssQlxxchange"> |
... | @@ -70,8 +67,9 @@ | ... | @@ -70,8 +67,9 @@ |
70 | <el-table-column prop="zl" label="坐落"></el-table-column> | 67 | <el-table-column prop="zl" label="坐落"></el-table-column> |
71 | </select-table> | 68 | </select-table> |
72 | </el-form-item> | 69 | </el-form-item> |
73 | </el-col> | 70 | </div> |
74 | </el-row> | 71 | <div class="triangle"></div> |
72 | </div> | ||
75 | <el-row :gutter="10"> | 73 | <el-row :gutter="10"> |
76 | <el-col :span="8"> | 74 | <el-col :span="8"> |
77 | <el-form-item label="上手业务号:"> | 75 | <el-form-item label="上手业务号:"> |
... | @@ -511,10 +509,13 @@ | ... | @@ -511,10 +509,13 @@ |
511 | dname: "历史", | 509 | dname: "历史", |
512 | }, | 510 | }, |
513 | ], | 511 | ], |
514 | //传递参数\ | 512 | //传递参数\ |
515 | rules: { | 513 | rules: { |
514 | ztQlxxrules: [ | ||
515 | { required: true, message: "抵押不动产信息", trigger: "blur" }, | ||
516 | ], | ||
516 | bdcqzhrules: [ | 517 | bdcqzhrules: [ |
517 | { required: true, message: "不动产权证号:", trigger: "blur" }, | 518 | { required: true, message: "不动产登记证明号", trigger: "blur" }, |
518 | ], | 519 | ], |
519 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 520 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
520 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | 521 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
... | @@ -532,38 +533,44 @@ | ... | @@ -532,38 +533,44 @@ |
532 | ableOperation: false, | 533 | ableOperation: false, |
533 | }; | 534 | }; |
534 | }, | 535 | }, |
535 | created () { | 536 | created() { |
536 | this.loadData(); | 537 | this.loadData(); |
538 | }, | ||
539 | mounted() { | ||
540 | this.ableOperation = this.$parent.ableOperation; | ||
541 | }, | ||
542 | methods: { | ||
543 | /** | ||
544 | * @description: ztQlxxchange | ||
545 | * @param {*} val | ||
546 | * @author: renchao | ||
547 | */ | ||
548 | ztQlxxchange(val) { | ||
549 | this.ruleForm.ztQlxx = val; | ||
537 | }, | 550 | }, |
538 | mounted () { | 551 | /** |
539 | this.ableOperation = this.$parent.ableOperation; | 552 | * @description: ssQlxxchange |
553 | * @param {*} val | ||
554 | * @author: renchao | ||
555 | */ | ||
556 | ssQlxxchange(val) { | ||
557 | this.ruleForm.ssQlxx = val; | ||
558 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
559 | this.ssQlxxchangediolog(val); | ||
540 | }, | 560 | }, |
541 | methods: { | 561 | // 弹框事件 |
542 | /** | 562 | ssQlxxchangediolog(val) { |
543 | * @description: ssQlxxchange | 563 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
544 | * @param {*} val | 564 | iconClass: "el-icon-question", //自定义图标样式 |
545 | * @author: renchao | 565 | confirmButtonText: "确认", //确认按钮文字更换 |
546 | */ | 566 | cancelButtonText: "取消", //取消按钮文字更换 |
547 | ssQlxxchange (val) { | 567 | showClose: true, //是否显示右上角关闭按钮 |
548 | this.ruleForm.ssQlxx = val; | 568 | type: "warning", |
549 | this.ruleForm.qlxx.ssywh = val.ywh; | 569 | }) |
550 | this.ssQlxxchangediolog(val); | 570 | .then(() => { |
551 | }, | ||
552 | // 弹框事件 | ||
553 | ssQlxxchangediolog (val) { | ||
554 | console.log("确定了", this.ruleForm); | ||
555 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | ||
556 | iconClass: "el-icon-question", //自定义图标样式 | ||
557 | confirmButtonText: "确认", //确认按钮文字更换 | ||
558 | cancelButtonText: "取消", //取消按钮文字更换 | ||
559 | showClose: true, //是否显示右上角关闭按钮 | ||
560 | type: "warning", | ||
561 | }).then(() => { | ||
562 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | 571 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
563 | if (res.code == 200) { | 572 | if (res.code == 200) { |
564 | this.nowlist = res.result; | 573 | this.nowlist = res.result; |
565 | console.log("his.nowlist", this.nowlist); | ||
566 | console.log("this.ruleForm", this.ruleForm); | ||
567 | for (var key in this.ruleForm.ygdj) { | 574 | for (var key in this.ruleForm.ygdj) { |
568 | if ( | 575 | if ( |
569 | this.ruleForm.ygdj[key] == "" || | 576 | this.ruleForm.ygdj[key] == "" || |
... | @@ -573,14 +580,17 @@ | ... | @@ -573,14 +580,17 @@ |
573 | } | 580 | } |
574 | } | 581 | } |
575 | for (var key in this.ruleForm.qlxx) { | 582 | for (var key in this.ruleForm.qlxx) { |
576 | if ( | 583 | if ( |
577 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | 584 | this.ruleForm.qlxx[key] == ""|| |
578 | this.ruleForm.qlxx[key] == null | 585 | this.ruleForm.qlxx[key] == null && |
579 | ) { | 586 | key != "ywh" && |
580 | console.log("this.ruleForm.qlxx[key]", key); | 587 | key != "dbr" && |
581 | if (key != "ywh") { | 588 | key != "djsj" && |
589 | key != "ssywh" && | ||
590 | key != "ssywh" && | ||
591 | key != "bdcqzh") { | ||
582 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | 592 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; |
583 | } | 593 | |
584 | } | 594 | } |
585 | } | 595 | } |
586 | if (!this.ruleForm.tdytqxList.length) { | 596 | if (!this.ruleForm.tdytqxList.length) { |
... | @@ -592,20 +602,20 @@ | ... | @@ -592,20 +602,20 @@ |
592 | if (!this.ruleForm.ywrData.length) { | 602 | if (!this.ruleForm.ywrData.length) { |
593 | this.ruleForm.ywrData = this.nowlist.ywrData; | 603 | this.ruleForm.ywrData = this.nowlist.ywrData; |
594 | } | 604 | } |
595 | console.log("this.ruleForm", this.ruleForm); | ||
596 | this.$message({ | 605 | this.$message({ |
597 | type: "success", | 606 | type: "success", |
598 | message: "同步成功!", | 607 | message: "同步成功!", |
599 | }); | 608 | }); |
600 | } | 609 | } |
601 | }); | 610 | }); |
602 | }).catch(() => { | 611 | }) |
612 | .catch(() => { | ||
603 | this.$message({ | 613 | this.$message({ |
604 | type: "info", | 614 | type: "info", |
605 | message: "已取消同步", | 615 | message: "已取消同步", |
606 | }); | 616 | }); |
607 | }); | 617 | }); |
608 | }, | 618 | }, |
609 | /** | 619 | /** |
610 | * @description: djlxchange | 620 | * @description: djlxchange |
611 | * @param {*} val | 621 | * @param {*} val | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 15:53:54 | 4 | * @LastEditTime: 2023-08-02 08:38:11 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -14,8 +14,8 @@ | ... | @@ -14,8 +14,8 @@ |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
17 | inline-message | ||
18 | :show-message="false" | 17 | :show-message="false" |
18 | inline-message | ||
19 | label-width="145px"> | 19 | label-width="145px"> |
20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
21 | <div class="slxx_title title-block"> | 21 | <div class="slxx_title title-block"> |
... | @@ -39,46 +39,16 @@ | ... | @@ -39,46 +39,16 @@ |
39 | </el-form-item> | 39 | </el-form-item> |
40 | </el-col> | 40 | </el-col> |
41 | </el-row> | 41 | </el-row> |
42 | <div class="slxx_title title-block"> | 42 | <div class="slxx_title title-block bdcqk"> |
43 | 异议登记不动产情况 | 43 | 房地产权信息 |
44 | <div class="triangle"></div> | 44 | <div class="count" v-if="ssqlxxshow"> |
45 | </div> | ||
46 | <el-row :gutter="10"> | ||
47 | <el-col :span="8"> | ||
48 | <el-form-item | ||
49 | label="抵押不动产信息:" | ||
50 | prop="ztQlxx.bdcqzh" | ||
51 | :rules="rules.ztQlxxrules"> | ||
52 | <select-table | ||
53 | v-model="ruleForm.ztQlxx" | ||
54 | :table-width="550" | ||
55 | :tableData="ztQlxxList" | ||
56 | :props="props" | ||
57 | @change="ztQlxxchange"> | ||
58 | <el-table-column | ||
59 | prop="qllxmc" | ||
60 | width="130" | ||
61 | label="权利类型"></el-table-column> | ||
62 | <el-table-column | ||
63 | prop="bdcqzh" | ||
64 | width="160" | ||
65 | label="不动产权证书"></el-table-column> | ||
66 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
67 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
68 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
69 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
70 | </select-table> | ||
71 | </el-form-item> | ||
72 | </el-col> | ||
73 | |||
74 | <el-col :span="8" v-if="ssqlxxshow"> | ||
75 | <el-form-item | 45 | <el-form-item |
76 | label="上手权利信息:" | 46 | label="上手权利信息:" |
77 | prop="ssQlxx.bdcqzh" | 47 | prop="ssQlxx.bdcqzh" |
78 | :rules="rules.ssQlxxrules"> | 48 | :rules="rules.ssQlxxrules"> |
79 | <select-table | 49 | <select-table |
80 | v-model="ruleForm.ssQlxx" | 50 | v-model="ruleForm.ssQlxx" |
81 | :table-width="550" | 51 | :table-width="730" |
82 | :tableData="ssQlxxList" | 52 | :tableData="ssQlxxList" |
83 | :props="props" | 53 | :props="props" |
84 | @change="ssQlxxchange"> | 54 | @change="ssQlxxchange"> |
... | @@ -96,103 +66,178 @@ | ... | @@ -96,103 +66,178 @@ |
96 | <el-table-column prop="zl" label="坐落"></el-table-column> | 66 | <el-table-column prop="zl" label="坐落"></el-table-column> |
97 | </select-table> | 67 | </select-table> |
98 | </el-form-item> | 68 | </el-form-item> |
99 | </el-col> | 69 | </div> |
100 | </el-row> | 70 | <div class="triangle"></div> |
101 | 71 | </div> | |
102 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> | 72 | <el-row :gutter="10"> |
103 | <el-col :span="8"> | 73 | <el-col :span="8"> |
104 | <el-form-item label="权利人:"> | 74 | <el-form-item label="不动产单元号:"> |
105 | <el-input disabled v-model="ruleForm.ztQlxx.qlrmc"></el-input> | 75 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> |
106 | </el-form-item> | 76 | </el-form-item> |
107 | </el-col> | 77 | </el-col> |
108 | <el-col :span="8"> | 78 | <el-col :span="8"> |
109 | <el-form-item label="证件种类:"> | 79 | <el-form-item |
110 | <el-input disabled v-model="ruleForm.ztQlxx.qlrzjzl"></el-input> | 80 | label="业务号:" |
81 | prop="qlxx.ywh" | ||
82 | :rules="rules.ywhrules"> | ||
83 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | ||
111 | </el-form-item> | 84 | </el-form-item> |
112 | </el-col> | 85 | </el-col> |
113 | <el-col :span="8"> | 86 | <el-col :span="8"> |
114 | <el-form-item label="证件号:"> | 87 | <el-form-item label="上手业务号:"> |
115 | <el-input disabled v-model="ruleForm.ztQlxx.qlrzjhm"></el-input> | 88 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
116 | </el-form-item> | 89 | </el-form-item> |
117 | </el-col> | 90 | </el-col> |
118 | </el-row> | 91 | </el-row> |
119 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> | 92 | <el-row :gutter="10"> |
120 | <el-col :span="8"> | 93 | <el-col :span="8"> |
121 | <el-form-item label="权利类型:"> | 94 | <el-form-item label="权利类型:"> |
122 | <el-input disabled v-model="ruleForm.ztQlxx.qllxmc"></el-input> | 95 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> |
123 | </el-form-item> | 96 | </el-form-item> |
124 | </el-col> | 97 | </el-col> |
125 | <el-col :span="8"> | 98 | <el-col :span="8"> |
126 | <el-form-item label="不动产权证号:"> | 99 | <el-form-item |
127 | <el-input disabled v-model="ruleForm.ztQlxx.bdcqzh"></el-input> | 100 | label="登记类型:" |
101 | prop="qlxx.djlx" | ||
102 | :rules="rules.djlxrules"> | ||
103 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | ||
104 | <el-option | ||
105 | v-for="item in djlxlist" | ||
106 | :key="item.dcode" | ||
107 | :label="item.dname" | ||
108 | :value="item.dcode"> | ||
109 | </el-option> | ||
110 | </el-select> | ||
128 | </el-form-item> | 111 | </el-form-item> |
129 | </el-col> | 112 | </el-col> |
130 | <el-col :span="8"> | 113 | <el-col :span="8"> |
131 | <el-form-item label="坐落:"> | 114 | <el-form-item label="坐落:"> |
132 | <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input> | 115 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
133 | </el-form-item> | 116 | </el-form-item> |
134 | </el-col> | 117 | </el-col> |
135 | </el-row> | ||
136 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> | ||
137 | <el-col :span="8"> | 118 | <el-col :span="8"> |
138 | <el-form-item label="不动产单元号:"> | 119 | <el-form-item label="土地使用权人:"> |
139 | <el-input disabled v-model="ruleForm.ztQlxx.bdcdyh"></el-input> | 120 | <el-input v-model="ruleForm.fdcq2.tdsyqr"></el-input> |
140 | </el-form-item> | 121 | </el-form-item> |
141 | </el-col> | 122 | </el-col> |
142 | <el-col :span="8"> | 123 | <el-col :span="8"> |
143 | <el-form-item label="面积:"> | 124 | <el-form-item label="独用土地面积:"> |
144 | <el-input disabled v-model="ruleForm.ztQlxx.mjmc"></el-input> | 125 | <div class="flex"> |
126 | <el-input | ||
127 | v-model="ruleForm.fdcq2.dytdmj" | ||
128 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
129 | <el-select disabled v-model="mjdw" style="width: 20%"> | ||
130 | <el-option | ||
131 | v-for="item in dictData['A7']" | ||
132 | :key="item.dcode" | ||
133 | :label="item.dname" | ||
134 | :value="item.dcode"> | ||
135 | </el-option> | ||
136 | </el-select> | ||
137 | </div> | ||
145 | </el-form-item> | 138 | </el-form-item> |
146 | </el-col> | 139 | </el-col> |
147 | <el-col :span="8"> | 140 | <el-col :span="8"> |
148 | <el-form-item label="用途:"> | 141 | <el-form-item label="分摊土地面积:"> |
149 | <el-input disabled v-model="ruleForm.ztQlxx.ytmc"></el-input> | 142 | <div class="flex"> |
143 | <el-input | ||
144 | v-model="ruleForm.fdcq2.fttdmj" | ||
145 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
146 | <el-select disabled v-model="mjdw" style="width: 20%"> | ||
147 | <el-option | ||
148 | v-for="item in dictData['A7']" | ||
149 | :key="item.dcode" | ||
150 | :label="item.dname" | ||
151 | :value="item.dcode"> | ||
152 | </el-option> | ||
153 | </el-select> | ||
154 | </div> | ||
150 | </el-form-item> | 155 | </el-form-item> |
151 | </el-col> | 156 | </el-col> |
152 | </el-row> | ||
153 | <div class="slxx_title title-block"> | ||
154 | 异议登记信息 | ||
155 | <div class="triangle"></div> | ||
156 | </div> | ||
157 | <el-row :gutter="10"> | ||
158 | <el-col :span="8"> | 157 | <el-col :span="8"> |
159 | <el-form-item label="不动产单元号:"> | 158 | <!-- 下拉框 --> |
160 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> | 159 | <el-form-item label="土地性质:" style="margin-bottom: 3px"> |
160 | <treeselect | ||
161 | v-model="ruleForm.fdcq2.tdxz" | ||
162 | noOptionsText="暂无数据" | ||
163 | placeholder="" | ||
164 | :normalizer="normalizer" | ||
165 | :show-count="true" | ||
166 | :options="dictData['A9']" /> | ||
161 | </el-form-item> | 167 | </el-form-item> |
162 | </el-col> | 168 | </el-col> |
163 | <el-col :span="8"> | 169 | <el-col :span="8"> |
164 | <el-form-item | 170 | <el-form-item label="房地产交易价格:"> |
165 | label="业务号:" | 171 | <div class="flex"> |
166 | prop="qlxx.ywh" | 172 | <el-input |
167 | :rules="rules.ywhrules"> | 173 | v-model="ruleForm.fdcq2.qjjg" |
168 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 174 | style="width: 500%" |
175 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
176 | <el-select v-model="ruleForm.fdcq2.jedw"> | ||
177 | <el-option | ||
178 | v-for="item in dictData['A57']" | ||
179 | :key="item.dcode" | ||
180 | :label="item.dname" | ||
181 | :value="item.dcode"> | ||
182 | </el-option> | ||
183 | </el-select> | ||
184 | </div> | ||
169 | </el-form-item> | 185 | </el-form-item> |
170 | </el-col> | 186 | </el-col> |
171 | <el-col :span="8"> | 187 | <el-col :span="8"> |
172 | <el-form-item label="上手业务号:"> | 188 | <el-form-item label="权属状态:"> |
173 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | 189 | <el-select v-model="ruleForm.qlxx.qszt"> |
190 | <el-option | ||
191 | v-for="item in qsztlist" | ||
192 | :key="item.dcode" | ||
193 | :label="item.dname" | ||
194 | :value="item.dcode"> | ||
195 | </el-option> | ||
196 | </el-select> | ||
174 | </el-form-item> | 197 | </el-form-item> |
175 | </el-col> | 198 | </el-col> |
176 | </el-row> | 199 | <el-col :span="8"> |
177 | <el-row :gutter="10"> | 200 | <el-form-item label="规划用途:"> |
178 | <!-- <el-col :span="8"> | 201 | <el-select v-model="ruleForm.fdcq2.ghyt"> |
179 | <el-form-item label="权利类型:"> | 202 | <el-option |
180 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | 203 | v-for="item in dictData['A17']" |
204 | :key="item.dcode" | ||
205 | :label="item.dname" | ||
206 | :value="item.dcode"> | ||
207 | </el-option> | ||
208 | </el-select> | ||
181 | </el-form-item> | 209 | </el-form-item> |
182 | </el-col> --> | 210 | </el-col> |
183 | <!-- <el-col :span="8"> | 211 | <el-col :span="8"> |
184 | <el-form-item label="登记原因:"> | 212 | <el-form-item label="批准用途:"> |
185 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | 213 | <el-input v-model="ruleForm.fdcq2.pzyt"></el-input> |
186 | </el-form-item> | 214 | </el-form-item> |
187 | </el-col> --> | 215 | </el-col> |
216 | <el-col :span="8"> | ||
217 | <el-form-item label="实际用途:"> | ||
218 | <el-input v-model="ruleForm.fdcq2.sjyt"></el-input> | ||
219 | </el-form-item> | ||
220 | </el-col> | ||
221 | <el-col :span="8"> | ||
222 | <el-form-item label="房屋性质:"> | ||
223 | <el-select v-model="ruleForm.fdcq2.fwxz"> | ||
224 | <el-option | ||
225 | v-for="item in dictData['A19']" | ||
226 | :key="item.dcode" | ||
227 | :label="item.dname" | ||
228 | :value="item.dcode"> | ||
229 | </el-option> | ||
230 | </el-select> | ||
231 | </el-form-item> | ||
232 | </el-col> | ||
188 | <el-col :span="8"> | 233 | <el-col :span="8"> |
189 | <el-form-item | 234 | <el-form-item |
190 | label="登记类型:" | 235 | label="房屋结构:" |
191 | prop="qlxx.djlx" | 236 | prop="fdcq2.fwjg" |
192 | :rules="rules.djlxrules"> | 237 | :rules="rules.fwjgrules"> |
193 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | 238 | <el-select v-model="ruleForm.fdcq2.fwjg"> |
194 | <el-option | 239 | <el-option |
195 | v-for="item in djlxlist" | 240 | v-for="item in dictData['A46']" |
196 | :key="item.dcode" | 241 | :key="item.dcode" |
197 | :label="item.dname" | 242 | :label="item.dname" |
198 | :value="item.dcode"> | 243 | :value="item.dcode"> |
... | @@ -200,11 +245,80 @@ | ... | @@ -200,11 +245,80 @@ |
200 | </el-select> | 245 | </el-select> |
201 | </el-form-item> | 246 | </el-form-item> |
202 | </el-col> | 247 | </el-col> |
203 | <!-- <el-col :span="8"> | 248 | <el-col :span="8"> |
204 | <el-form-item label="不动产坐落:"> | 249 | <el-form-item label="所在层:"> |
205 | <el-input v-model="ruleForm.qlxx.zl"></el-input> | 250 | <el-input v-model="ruleForm.fdcq2.szc"></el-input> |
206 | </el-form-item> | 251 | </el-form-item> |
207 | </el-col> --> | 252 | </el-col> |
253 | <el-col :span="8"> | ||
254 | <el-form-item label="总层数:"> | ||
255 | <el-input v-model="ruleForm.fdcq2.zcs"></el-input> | ||
256 | </el-form-item> | ||
257 | </el-col> | ||
258 | <el-col :span="8"> | ||
259 | <el-form-item label="建筑面积:"> | ||
260 | <div class="flex"> | ||
261 | <el-input | ||
262 | v-model="ruleForm.fdcq2.jzmj" | ||
263 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
264 | <el-select disabled v-model="mjdw" style="width: 20%"> | ||
265 | <el-option | ||
266 | v-for="item in dictData['A7']" | ||
267 | :key="item.dcode" | ||
268 | :label="item.dname" | ||
269 | :value="item.dcode"> | ||
270 | </el-option> | ||
271 | </el-select> | ||
272 | </div> | ||
273 | </el-form-item> | ||
274 | </el-col> | ||
275 | <el-col :span="8"> | ||
276 | <el-form-item label="专有建筑面积:"> | ||
277 | <div class="flex"> | ||
278 | <el-input | ||
279 | v-model="ruleForm.fdcq2.zyjzmj" | ||
280 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
281 | <el-select disabled v-model="mjdw" style="width: 20%"> | ||
282 | <el-option | ||
283 | v-for="item in dictData['A7']" | ||
284 | :key="item.dcode" | ||
285 | :label="item.dname" | ||
286 | :value="item.dcode"> | ||
287 | </el-option> | ||
288 | </el-select> | ||
289 | </div> | ||
290 | </el-form-item> | ||
291 | </el-col> | ||
292 | <el-col :span="8"> | ||
293 | <el-form-item label="分摊建筑面积:"> | ||
294 | <div class="flex"> | ||
295 | <el-input | ||
296 | v-model="ruleForm.fdcq2.ftjzmj" | ||
297 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
298 | <el-select disabled v-model="mjdw" style="width: 20%"> | ||
299 | <el-option | ||
300 | v-for="item in dictData['A7']" | ||
301 | :key="item.dcode" | ||
302 | :label="item.dname" | ||
303 | :value="item.dcode"> | ||
304 | </el-option> | ||
305 | </el-select> | ||
306 | </div> | ||
307 | </el-form-item> | ||
308 | </el-col> | ||
309 | <el-col :span="8"> | ||
310 | <el-form-item label="竣工时间:"> | ||
311 | <el-date-picker | ||
312 | v-model="ruleForm.fdcq2.jgsj" | ||
313 | class="width100" | ||
314 | type="date" | ||
315 | placeholder="选择日期" | ||
316 | value-format="yyyy-MM-dd HH:mm:ss" | ||
317 | format="yyyy-MM-dd"> | ||
318 | </el-date-picker> | ||
319 | </el-form-item> | ||
320 | </el-col> | ||
321 | |||
208 | <el-col :span="8"> | 322 | <el-col :span="8"> |
209 | <el-form-item | 323 | <el-form-item |
210 | label="不动产权证号:" | 324 | label="不动产权证号:" |
... | @@ -214,7 +328,11 @@ | ... | @@ -214,7 +328,11 @@ |
214 | </el-form-item> | 328 | </el-form-item> |
215 | </el-col> | 329 | </el-col> |
216 | <!-- <el-col :span="8"> | 330 | <!-- <el-col :span="8"> |
217 | <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules"> | 331 | <el-form-item |
332 | label="区县代码:" | ||
333 | prop="qlxx.qxdm" | ||
334 | :rules="rules.qxdmrules" | ||
335 | > | ||
218 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | 336 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> |
219 | </el-form-item> | 337 | </el-form-item> |
220 | </el-col> --> | 338 | </el-col> --> |
... | @@ -241,71 +359,38 @@ | ... | @@ -241,71 +359,38 @@ |
241 | :rules="rules.djsjrules"> | 359 | :rules="rules.djsjrules"> |
242 | <el-date-picker | 360 | <el-date-picker |
243 | v-model="ruleForm.qlxx.djsj" | 361 | v-model="ruleForm.qlxx.djsj" |
244 | class="width100" | ||
245 | type="date" | 362 | type="date" |
363 | class="width100" | ||
246 | placeholder="选择日期" | 364 | placeholder="选择日期" |
247 | value-format="yyyy-MM-dd HH:mm:ss" | 365 | value-format="yyyy-MM-dd HH:mm:ss" |
248 | format="yyyy-MM-dd"> | 366 | format="yyyy-MM-dd"> |
249 | </el-date-picker> | 367 | </el-date-picker> |
250 | </el-form-item> | 368 | </el-form-item> |
251 | </el-col> | 369 | </el-col> |
252 | <el-col :span="8"> | 370 | </el-row> |
253 | <el-form-item label="权属状态:"> | 371 | <el-row> |
254 | <el-select v-model="ruleForm.qlxx.qszt"> | 372 | <el-col :span="24"> |
255 | <el-option | 373 | <el-form-item label="登记原因:"> |
256 | v-for="item in qsztlist" | 374 | <el-input v-model="ruleForm.fdcq2.djyy"></el-input> |
257 | :key="item.dcode" | ||
258 | :label="item.dname" | ||
259 | :value="item.dcode"> | ||
260 | </el-option> | ||
261 | </el-select> | ||
262 | </el-form-item> | ||
263 | </el-col> | ||
264 | |||
265 | <el-col :span="8"> | ||
266 | <el-form-item label="异议事项:" prop="yydj.yysx" :rules="rules.yysxrules"> | ||
267 | <el-input v-model="ruleForm.yydj.yysx"></el-input> | ||
268 | </el-form-item> | ||
269 | </el-col> | ||
270 | <el-col :span="8"> | ||
271 | <el-form-item label="不动产登记证明号:"> | ||
272 | <el-input v-model="ruleForm.yydj.bdcdjzmh"></el-input> | ||
273 | </el-form-item> | 375 | </el-form-item> |
274 | </el-col> | 376 | </el-col> |
377 | </el-row> | ||
378 | <el-row> | ||
275 | <el-col :span="24"> | 379 | <el-col :span="24"> |
276 | <el-form-item label="附记:"> | 380 | <el-form-item label="附记:"> |
277 | <el-input v-model="ruleForm.yydj.fj"></el-input> | 381 | <el-input v-model="ruleForm.fdcq2.fj"></el-input> |
278 | </el-form-item> | ||
279 | </el-col> | ||
280 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | ||
281 | <el-form-item label="注销异议业务号:"> | ||
282 | <el-input v-model="ruleForm.yydj.zxyyywh"></el-input> | ||
283 | </el-form-item> | ||
284 | </el-col> | ||
285 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | ||
286 | <el-form-item label="注销异议原因:"> | ||
287 | <el-input v-model="ruleForm.yydj.zxyyyy"></el-input> | ||
288 | </el-form-item> | ||
289 | </el-col> | ||
290 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | ||
291 | <el-form-item label="注销异议登簿人:"> | ||
292 | <el-input v-model="ruleForm.yydj.zxyydbr"></el-input> | ||
293 | </el-form-item> | ||
294 | </el-col> | ||
295 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | ||
296 | <el-form-item label="注销异议登记时间:"> | ||
297 | <el-date-picker | ||
298 | v-model="ruleForm.yydj.zxyydjsj" | ||
299 | class="width100" | ||
300 | type="date" | ||
301 | placeholder="选择日期" | ||
302 | value-format="yyyy-MM-dd HH:mm:ss" | ||
303 | format="yyyy-MM-dd"> | ||
304 | </el-date-picker> | ||
305 | </el-form-item> | 382 | </el-form-item> |
306 | </el-col> | 383 | </el-col> |
307 | </el-row> | 384 | </el-row> |
308 | <div class="slxx_title title-block"> | 385 | <div class="slxx_title title-block"> |
386 | 土地用途 | ||
387 | <div class="triangle"></div> | ||
388 | </div> | ||
389 | <tdytTable | ||
390 | :tableData="ruleForm.tdytqxList" | ||
391 | @upDateTdytxxList="upDateTdytxxList" | ||
392 | :ableOperation="ableOperation" /> | ||
393 | <div class="slxx_title title-block"> | ||
309 | 权利人信息 | 394 | 权利人信息 |
310 | <div class="triangle"></div> | 395 | <div class="triangle"></div> |
311 | </div> | 396 | </div> |
... | @@ -314,7 +399,7 @@ | ... | @@ -314,7 +399,7 @@ |
314 | <el-form-item label="共有方式:"> | 399 | <el-form-item label="共有方式:"> |
315 | <el-radio-group | 400 | <el-radio-group |
316 | :disabled="!ableOperation" | 401 | :disabled="!ableOperation" |
317 | v-model="ruleForm.sldy.gyfs"> | 402 | v-model="ruleForm.qlxx.gyfs"> |
318 | <el-radio label="0">单独所有</el-radio> | 403 | <el-radio label="0">单独所有</el-radio> |
319 | <el-radio label="1">共同共有</el-radio> | 404 | <el-radio label="1">共同共有</el-radio> |
320 | <el-radio label="2">按份所有</el-radio> | 405 | <el-radio label="2">按份所有</el-radio> |
... | @@ -322,10 +407,10 @@ | ... | @@ -322,10 +407,10 @@ |
322 | </el-radio-group> | 407 | </el-radio-group> |
323 | </el-form-item> | 408 | </el-form-item> |
324 | </el-col> | 409 | </el-col> |
325 | <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> | 410 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> |
326 | <el-form-item label="是否分别持证:"> | 411 | <el-form-item label="是否分别持证:"> |
327 | <el-radio-group | 412 | <el-radio-group |
328 | v-model="ruleForm.sldy.sqfbcz" | 413 | v-model="ruleForm.qlxx.sqfbcz" |
329 | :disabled="!ableOperation"> | 414 | :disabled="!ableOperation"> |
330 | <el-radio :label="1">是</el-radio> | 415 | <el-radio :label="1">是</el-radio> |
331 | <el-radio :label="0">否</el-radio> | 416 | <el-radio :label="0">否</el-radio> |
... | @@ -334,7 +419,7 @@ | ... | @@ -334,7 +419,7 @@ |
334 | </el-col> | 419 | </el-col> |
335 | <el-col | 420 | <el-col |
336 | :span="6" | 421 | :span="6" |
337 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 422 | v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'"> |
338 | <el-form-item label="持证人:"> | 423 | <el-form-item label="持证人:"> |
339 | <el-select | 424 | <el-select |
340 | v-model="ruleForm.czr" | 425 | v-model="ruleForm.czr" |
... | @@ -353,21 +438,9 @@ | ... | @@ -353,21 +438,9 @@ |
353 | <qlrCommonTable | 438 | <qlrCommonTable |
354 | :tableData="ruleForm.qlrData" | 439 | :tableData="ruleForm.qlrData" |
355 | @upDateQlrxxList="upDateQlrxxList" | 440 | @upDateQlrxxList="upDateQlrxxList" |
356 | :key="key" | ||
357 | :ableOperation="ableOperation" | 441 | :ableOperation="ableOperation" |
442 | :key="key" | ||
358 | :gyfs="ruleForm.qlxx.gyfs" /> | 443 | :gyfs="ruleForm.qlxx.gyfs" /> |
359 | <div v-if="ruleForm.ywrData"> | ||
360 | <div class="slxx_title title-block"> | ||
361 | 义务人信息 | ||
362 | <div class="triangle"></div> | ||
363 | </div> | ||
364 | <ywrCommonTable | ||
365 | v-if="ruleForm.ywrData" | ||
366 | :tableData="ruleForm.ywrData" | ||
367 | :key="key" | ||
368 | :ableOperation="ableOperation" | ||
369 | @upDateQlrxxList="upDateYwrxxList" /> | ||
370 | </div> | ||
371 | </div> | 444 | </div> |
372 | <el-row class="btn" v-if="ableOperation"> | 445 | <el-row class="btn" v-if="ableOperation"> |
373 | <el-form-item> | 446 | <el-form-item> |
... | @@ -380,14 +453,13 @@ | ... | @@ -380,14 +453,13 @@ |
380 | <script> | 453 | <script> |
381 | import { mapGetters } from "vuex"; | 454 | import { mapGetters } from "vuex"; |
382 | import ywmix from "@/views/ywbl/mixin/index"; | 455 | import ywmix from "@/views/ywbl/mixin/index"; |
383 | import { init, getSsQlxx, getZtQlxx, save } from "@/api/djbRepair.js"; | 456 | import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; |
384 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 457 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
385 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | ||
386 | import tdytTable from "@/views/workflow/components/tdytTable"; | ||
387 | import selectTable from "@/components/selectTable/index.vue"; | 458 | import selectTable from "@/components/selectTable/index.vue"; |
459 | import tdytTable from "@/views/workflow/components/tdytTable"; | ||
388 | export default { | 460 | export default { |
389 | mixins: [ywmix], | 461 | mixins: [ywmix], |
390 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, | 462 | components: { qlrCommonTable, tdytTable, selectTable }, |
391 | computed: { | 463 | computed: { |
392 | ...mapGetters(["dictData", "flag"]), | 464 | ...mapGetters(["dictData", "flag"]), |
393 | // 根据流程判断表单是否为只读 | 465 | // 根据流程判断表单是否为只读 |
... | @@ -401,20 +473,26 @@ | ... | @@ -401,20 +473,26 @@ |
401 | }, | 473 | }, |
402 | data () { | 474 | data () { |
403 | return { | 475 | return { |
476 | mjdw: "1", | ||
404 | ssqlxxshow: true, | 477 | ssqlxxshow: true, |
405 | props: { | 478 | props: { |
406 | label: "bdcqzh", | 479 | label: "bdcqzh", |
407 | value: "bdcdyid", | 480 | value: "bdcdyid", |
408 | }, | 481 | }, |
482 | // 键名转换,方法默认是label和children进行树状渲染 | ||
483 | normalizer (node) { | ||
484 | //方法 | ||
485 | if (node.children == null || node.children == "null") { | ||
486 | delete node.children; | ||
487 | } | ||
488 | return { | ||
489 | id: node.dcode, | ||
490 | label: node.dname, | ||
491 | }; | ||
492 | }, | ||
493 | |||
409 | //表单是否可操作 | 494 | //表单是否可操作 |
410 | propsParam: this.$attrs, | 495 | propsParam: this.$attrs, |
411 | key: 0, | ||
412 | isShow: false, | ||
413 | disabled: true, | ||
414 | czrOptions: [], | ||
415 | ssQlxxList: [], | ||
416 | ztQlxxList: [], | ||
417 | ruleForm: {}, | ||
418 | // 登记类型 | 496 | // 登记类型 |
419 | djlxlist: [ | 497 | djlxlist: [ |
420 | { | 498 | { |
... | @@ -454,44 +532,43 @@ | ... | @@ -454,44 +532,43 @@ |
454 | dname: "历史", | 532 | dname: "历史", |
455 | }, | 533 | }, |
456 | ], | 534 | ], |
535 | key: 0, | ||
536 | tdxz: null, | ||
537 | isShow: false, | ||
538 | disabled: true, | ||
539 | czrOptions: [], | ||
540 | ssQlxxList: [], | ||
541 | ruleForm: { | ||
542 | fdcq2: { | ||
543 | ftjzmj: "", | ||
544 | }, | ||
545 | }, | ||
546 | ableOperation: false, | ||
457 | //传递参数\ | 547 | //传递参数\ |
458 | rules: { | 548 | rules: { |
459 | ssQlxxrules: [ | 549 | ssQlxxrules: [ |
460 | { required: true, message: "上手权利信息", trigger: "blur" }, | 550 | { required: true, message: "上手权利信息", trigger: "blur" }, |
461 | ], | 551 | ], |
462 | ztQlxxrules: [ | ||
463 | { required: true, message: "抵押不动产信息", trigger: "blur" }, | ||
464 | ], | ||
465 | bdcqzhrules: [ | 552 | bdcqzhrules: [ |
466 | { required: true, message: "不动产登记证明号", trigger: "blur" }, | 553 | { required: true, message: "不动产权证号:", trigger: "blur" }, |
467 | ], | 554 | ], |
468 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 555 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
469 | djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], | 556 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
470 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 557 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
471 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | 558 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
559 | fwjgrules: [{ required: true, message: "房屋结构", trigger: "change" }], | ||
472 | djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], | 560 | djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], |
473 | ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], | 561 | ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], |
474 | yysxrules: [{ required: true, message: "异议事项", trigger: "blur" }], | ||
475 | }, | 562 | }, |
476 | ableOperation: false, | ||
477 | }; | 563 | }; |
478 | }, | 564 | }, |
479 | created () { | 565 | created () { }, |
480 | this.loadData(); | ||
481 | }, | ||
482 | mounted () { | 566 | mounted () { |
567 | this.loadData(); | ||
483 | this.ableOperation = this.$parent.ableOperation; | 568 | this.ableOperation = this.$parent.ableOperation; |
484 | }, | 569 | }, |
485 | methods: { | 570 | methods: { |
486 | /** | 571 | /** |
487 | * @description: ztQlxxchange | ||
488 | * @param {*} val | ||
489 | * @author: renchao | ||
490 | */ | ||
491 | ztQlxxchange (val) { | ||
492 | this.ruleForm.ztQlxx = val; | ||
493 | }, | ||
494 | /** | ||
495 | * @description: ssQlxxchange | 572 | * @description: ssQlxxchange |
496 | * @param {*} val | 573 | * @param {*} val |
497 | * @author: renchao | 574 | * @author: renchao |
... | @@ -503,27 +580,61 @@ | ... | @@ -503,27 +580,61 @@ |
503 | }, | 580 | }, |
504 | // 弹框事件 | 581 | // 弹框事件 |
505 | ssQlxxchangediolog (val) { | 582 | ssQlxxchangediolog (val) { |
506 | console.log("确定了", this.ruleForm); | ||
507 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | 583 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
508 | iconClass: "el-icon-question", //自定义图标样式 | 584 | iconClass: "el-icon-question", //自定义图标样式 |
509 | confirmButtonText: "确认", //确认按钮文字更换 | 585 | confirmButtonText: "确认", //确认按钮文字更换 |
510 | cancelButtonText: "取消", //取消按钮文字更换 | 586 | cancelButtonText: "取消", //取消按钮文字更换 |
511 | showClose: true, //是否显示右上角关闭按钮 | 587 | showClose: true, //是否显示右上角关闭按钮 |
512 | type: "warning", | 588 | type: "warning", |
513 | }) | 589 | |
514 | .then(() => { | 590 | |
515 | // this.ruleForm.qlxx.ssywh = "1111111111111"; | 591 | }).then(() => { |
516 | this.$message({ | 592 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
517 | type: "success", | 593 | if (res.code == 200) { |
518 | message: "同步成功!", | 594 | this.nowlist = res.result; |
519 | }); | 595 | for (var key in this.ruleForm.fdcq2) { |
520 | }) | 596 | if ( |
521 | .catch(() => { | 597 | this.ruleForm.fdcq2[key] == "" || |
522 | this.$message({ | 598 | this.ruleForm.fdcq2[key] == null |
523 | type: "info", | 599 | ) { |
524 | message: "已取消同步", | 600 | this.ruleForm.fdcq2[key] = this.nowlist.fdcq2[key]; |
525 | }); | 601 | } |
602 | } | ||
603 | for (var key in this.ruleForm.qlxx) { | ||
604 | if ( | ||
605 | this.ruleForm.qlxx[key] == "" || | ||
606 | this.ruleForm.qlxx[key] == null && | ||
607 | key != "ywh" && | ||
608 | key != "dbr" && | ||
609 | key != "djsj" && | ||
610 | key != "ssywh" && | ||
611 | key != "ssywh" && | ||
612 | key != "bdcqzh") { | ||
613 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | ||
614 | |||
615 | } | ||
616 | } | ||
617 | if (!this.ruleForm.tdytqxList.length) { | ||
618 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | ||
619 | } | ||
620 | if (!this.ruleForm.qlrData.length) { | ||
621 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
622 | } | ||
623 | if (!this.ruleForm.ywrData.length) { | ||
624 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
625 | } | ||
626 | this.$message({ | ||
627 | type: "success", | ||
628 | message: "同步成功!", | ||
629 | }); | ||
630 | } | ||
631 | }); | ||
632 | }).catch(() => { | ||
633 | this.$message({ | ||
634 | type: "info", | ||
635 | message: "已取消同步", | ||
526 | }); | 636 | }); |
637 | }); | ||
527 | }, | 638 | }, |
528 | /** | 639 | /** |
529 | * @description: djlxchange | 640 | * @description: djlxchange |
... | @@ -531,11 +642,11 @@ | ... | @@ -531,11 +642,11 @@ |
531 | * @author: renchao | 642 | * @author: renchao |
532 | */ | 643 | */ |
533 | djlxchange (val) { | 644 | djlxchange (val) { |
534 | // if (val == null || val == 100) { | 645 | if (val == null || val == 100) { |
535 | // this.ssqlxxshow = false; | 646 | this.ssqlxxshow = false; |
536 | // } else { | 647 | } else { |
537 | // this.ssqlxxshow = true; | 648 | this.ssqlxxshow = true; |
538 | // } | 649 | } |
539 | }, | 650 | }, |
540 | /** | 651 | /** |
541 | * @description: loadData | 652 | * @description: loadData |
... | @@ -551,9 +662,14 @@ | ... | @@ -551,9 +662,14 @@ |
551 | if (djlx == null || djlx == 100) { | 662 | if (djlx == null || djlx == 100) { |
552 | this.ssqlxxshow = false; | 663 | this.ssqlxxshow = false; |
553 | } | 664 | } |
665 | this.ruleForm.fdcq2.jedw = "1"; | ||
554 | this.$endLoading(); | 666 | this.$endLoading(); |
667 | if (this.ruleForm.tdytqxList.length > 0) { | ||
668 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | ||
669 | } else { | ||
670 | this.tdxz = null; | ||
671 | } | ||
555 | this.isShow = true; | 672 | this.isShow = true; |
556 | |||
557 | //获取主体信息 | 673 | //获取主体信息 |
558 | getSsQlxx({ | 674 | getSsQlxx({ |
559 | bdcdyid: this.propsParam.bdcdyid, | 675 | bdcdyid: this.propsParam.bdcdyid, |
... | @@ -564,15 +680,6 @@ | ... | @@ -564,15 +680,6 @@ |
564 | this.ssQlxxList = res.result; | 680 | this.ssQlxxList = res.result; |
565 | } | 681 | } |
566 | }); | 682 | }); |
567 | //获取上手信息 | ||
568 | getZtQlxx({ | ||
569 | bdcdyid: this.propsParam.bdcdyid, | ||
570 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
571 | }).then((res) => { | ||
572 | if (res.code == 200) { | ||
573 | this.ztQlxxList = res.result; | ||
574 | } | ||
575 | }); | ||
576 | } | 683 | } |
577 | }); | 684 | }); |
578 | }, | 685 | }, | ... | ... |
... | @@ -90,16 +90,19 @@ export default { | ... | @@ -90,16 +90,19 @@ export default { |
90 | tableData: [{ jdmc: "初审" }, { jdmc: "复审" }, { jdmc: "核定" }], | 90 | tableData: [{ jdmc: "初审" }, { jdmc: "复审" }, { jdmc: "核定" }], |
91 | falg: false, | 91 | falg: false, |
92 | falg1: false, | 92 | falg1: false, |
93 | monitor:true | ||
93 | }; | 94 | }; |
94 | }, | 95 | }, |
95 | 96 | ||
96 | watch: { | 97 | watch: { |
97 | yjsqOptions: { | 98 | yjsqOptions: { |
98 | handler(val) { | 99 | handler(val) { |
99 | console.log("val", val); | 100 | if(this.monitor){ |
100 | console.log("this.tableData[this.currentindex]",this.tableData[this.currentindex]); | 101 | this.add(val); |
101 | 102 | this.monitor=false | |
102 | this.add(val); | 103 | }else{ |
104 | this.add(val); | ||
105 | } | ||
103 | }, | 106 | }, |
104 | deep: true, | 107 | deep: true, |
105 | immediate: true, | 108 | immediate: true, | ... | ... |
... | @@ -82,7 +82,7 @@ | ... | @@ -82,7 +82,7 @@ |
82 | </el-col> | 82 | </el-col> |
83 | <el-col :span="8"> | 83 | <el-col :span="8"> |
84 | <el-form-item label="坐落:"> | 84 | <el-form-item label="坐落:"> |
85 | <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input> | 85 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
86 | </el-form-item> | 86 | </el-form-item> |
87 | </el-col> | 87 | </el-col> |
88 | </el-row> | 88 | </el-row> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 房屋多幢受理信息 | 2 | * @Description: 房屋多幢受理信息 |
3 | * @Autor: ssq | 3 | * @Autor: ssq |
4 | * @LastEditTime: 2023-08-04 15:45:27 | 4 | * @LastEditTime: 2023-08-04 16:33:46 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -58,7 +58,7 @@ | ... | @@ -58,7 +58,7 @@ |
58 | </el-col> | 58 | </el-col> |
59 | <el-col :span="16"> | 59 | <el-col :span="16"> |
60 | <el-form-item label="坐落:"> | 60 | <el-form-item label="坐落:"> |
61 | <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> | 61 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
62 | </el-form-item> | 62 | </el-form-item> |
63 | </el-col> | 63 | </el-col> |
64 | </el-row> | 64 | </el-row> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-02 08:53:43 | 4 | * @LastEditTime: 2023-08-04 16:32:05 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -58,7 +58,7 @@ | ... | @@ -58,7 +58,7 @@ |
58 | </el-col> | 58 | </el-col> |
59 | <el-col :span="16"> | 59 | <el-col :span="16"> |
60 | <el-form-item label="坐落:"> | 60 | <el-form-item label="坐落:"> |
61 | <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> | 61 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
62 | </el-form-item> | 62 | </el-form-item> |
63 | </el-col> | 63 | </el-col> |
64 | </el-row> | 64 | </el-row> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 15:45:38 | 4 | * @LastEditTime: 2023-08-04 16:32:08 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -60,7 +60,7 @@ | ... | @@ -60,7 +60,7 @@ |
60 | </el-col> | 60 | </el-col> |
61 | <el-col :span="16"> | 61 | <el-col :span="16"> |
62 | <el-form-item label="坐落:"> | 62 | <el-form-item label="坐落:"> |
63 | <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> | 63 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
64 | </el-form-item> | 64 | </el-form-item> |
65 | </el-col> | 65 | </el-col> |
66 | </el-row> | 66 | </el-row> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 15:54:00 | 4 | * @LastEditTime: 2023-08-04 16:31:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -113,7 +113,7 @@ | ... | @@ -113,7 +113,7 @@ |
113 | 113 | ||
114 | <el-col :span="16"> | 114 | <el-col :span="16"> |
115 | <el-form-item label="坐落:"> | 115 | <el-form-item label="坐落:"> |
116 | <el-input v-model="ruleForm.zdjbxx.zl"></el-input> | 116 | <el-input v-model="ruleForm.sldy.zl"></el-input> |
117 | </el-form-item> | 117 | </el-form-item> |
118 | </el-col> | 118 | </el-col> |
119 | </el-row> | 119 | </el-row> | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | <!-- | 2 | <!-- |
3 | * @Description: | 3 | * @Description: |
4 | * @Autor: renchao | 4 | * @Autor: renchao |
5 | * @LastEditTime: 2023-08-04 15:46:02 | 5 | * @LastEditTime: 2023-08-04 16:32:14 |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
8 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
... | @@ -116,7 +116,7 @@ | ... | @@ -116,7 +116,7 @@ |
116 | 116 | ||
117 | <el-col :span="16"> | 117 | <el-col :span="16"> |
118 | <el-form-item label="坐落:"> | 118 | <el-form-item label="坐落:"> |
119 | <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> | 119 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
120 | </el-form-item> | 120 | </el-form-item> |
121 | </el-col> | 121 | </el-col> |
122 | </el-row> | 122 | </el-row> | ... | ... |
... | @@ -63,7 +63,7 @@ | ... | @@ -63,7 +63,7 @@ |
63 | </el-col> | 63 | </el-col> |
64 | <el-col :span="16"> | 64 | <el-col :span="16"> |
65 | <el-form-item label="坐落:"> | 65 | <el-form-item label="坐落:"> |
66 | <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> | 66 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
67 | </el-form-item> | 67 | </el-form-item> |
68 | </el-col> | 68 | </el-col> |
69 | </el-row> | 69 | </el-row> | ... | ... |
... | @@ -83,7 +83,7 @@ | ... | @@ -83,7 +83,7 @@ |
83 | <el-row :gutter="10"> | 83 | <el-row :gutter="10"> |
84 | <el-col :span="16"> | 84 | <el-col :span="16"> |
85 | <el-form-item label="坐落:"> | 85 | <el-form-item label="坐落:"> |
86 | <el-input disabled v-model="ruleForm.zdjbxx.zl"></el-input> | 86 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
87 | </el-form-item> | 87 | </el-form-item> |
88 | </el-col> | 88 | </el-col> |
89 | </el-row> | 89 | </el-row> | ... | ... |
... | @@ -83,7 +83,7 @@ | ... | @@ -83,7 +83,7 @@ |
83 | <el-row :gutter="10"> | 83 | <el-row :gutter="10"> |
84 | <el-col :span="16"> | 84 | <el-col :span="16"> |
85 | <el-form-item label="坐落:"> | 85 | <el-form-item label="坐落:"> |
86 | <el-input disabled v-model="ruleForm.zdjbxx.zl"></el-input> | 86 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
87 | </el-form-item> | 87 | </el-form-item> |
88 | </el-col> | 88 | </el-col> |
89 | </el-row> | 89 | </el-row> | ... | ... |
... | @@ -54,7 +54,7 @@ | ... | @@ -54,7 +54,7 @@ |
54 | </el-col> | 54 | </el-col> |
55 | <el-col :span="16"> | 55 | <el-col :span="16"> |
56 | <el-form-item label="坐落:"> | 56 | <el-form-item label="坐落:"> |
57 | <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> | 57 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
58 | </el-form-item> | 58 | </el-form-item> |
59 | </el-col> | 59 | </el-col> |
60 | </el-row> | 60 | </el-row> | ... | ... |
... | @@ -56,7 +56,7 @@ | ... | @@ -56,7 +56,7 @@ |
56 | </el-col> | 56 | </el-col> |
57 | <el-col :span="16"> | 57 | <el-col :span="16"> |
58 | <el-form-item label="坐落:"> | 58 | <el-form-item label="坐落:"> |
59 | <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> | 59 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
60 | </el-form-item> | 60 | </el-form-item> |
61 | </el-col> | 61 | </el-col> |
62 | </el-row> | 62 | </el-row> | ... | ... |
... | @@ -93,7 +93,7 @@ | ... | @@ -93,7 +93,7 @@ |
93 | </el-col> | 93 | </el-col> |
94 | <el-col :span="8"> | 94 | <el-col :span="8"> |
95 | <el-form-item label="坐落:"> | 95 | <el-form-item label="坐落:"> |
96 | <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> | 96 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
97 | </el-form-item> | 97 | </el-form-item> |
98 | </el-col> | 98 | </el-col> |
99 | </el-row> | 99 | </el-row> | ... | ... |
-
Please register or sign in to post a comment