Merge branch 'dev'
Showing
27 changed files
with
1123 additions
and
1084 deletions
... | @@ -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 | 补录信息 |
... | @@ -47,28 +46,24 @@ | ... | @@ -47,28 +46,24 @@ |
47 | </div> | 46 | </div> |
48 | <el-row :gutter="10"> | 47 | <el-row :gutter="10"> |
49 | <el-col :span="8"> | 48 | <el-col :span="8"> |
50 | <el-form-item label="查封不动产权信息:" prop="ztQlxx.bdcqzh" :rules="rules.ztQlxxrules"> | 49 | <el-form-item label="查封不动产权信息:" prop="ztQlxx.bdcqzh" :rules="rules.ztQlxxrules"> |
51 | <select-table | 50 | <select-table |
52 | v-model="ruleForm.ztQlxx" | 51 | v-model="ruleForm.ztQlxx" |
53 | :table-width="550" | 52 | :table-width="550" |
54 | :tableData="ztQlxxList" | 53 | :tableData="ztQlxxList" |
55 | :props="props" | 54 | :props="props" |
56 | @change="ztQlxxchange" | 55 | @change="ztQlxxchange"> |
57 | > | ||
58 | <el-table-column | 56 | <el-table-column |
59 | prop="qllxmc" | 57 | prop="qllxmc" |
60 | width="130" | 58 | width="130" |
61 | label="权利类型" | 59 | label="权利类型"></el-table-column> |
62 | ></el-table-column> | ||
63 | <el-table-column | 60 | <el-table-column |
64 | prop="bdcqzh" | 61 | prop="bdcqzh" |
65 | width="160" | 62 | width="160" |
66 | label="不动产权证书" | 63 | label="不动产权证书"></el-table-column> |
67 | ></el-table-column> | ||
68 | <el-table-column | 64 | <el-table-column |
69 | prop="qlrmc" | 65 | prop="qlrmc" |
70 | label="被执行人" | 66 | label="被执行人"></el-table-column> |
71 | ></el-table-column> | ||
72 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 67 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
73 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 68 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
74 | <el-table-column prop="zl" label="坐落"></el-table-column> | 69 | <el-table-column prop="zl" label="坐落"></el-table-column> |
... | @@ -83,18 +78,15 @@ | ... | @@ -83,18 +78,15 @@ |
83 | :table-width="550" | 78 | :table-width="550" |
84 | :tableData="ssQlxxList" | 79 | :tableData="ssQlxxList" |
85 | :props="props" | 80 | :props="props" |
86 | @change="ssQlxxchange" | 81 | @change="ssQlxxchange"> |
87 | > | ||
88 | <el-table-column | 82 | <el-table-column |
89 | prop="qllxmc" | 83 | prop="qllxmc" |
90 | width="130" | 84 | width="130" |
91 | label="权利类型" | 85 | label="权利类型"></el-table-column> |
92 | ></el-table-column> | ||
93 | <el-table-column | 86 | <el-table-column |
94 | prop="bdcqzh" | 87 | prop="bdcqzh" |
95 | width="160" | 88 | width="160" |
96 | label="不动产权证书" | 89 | label="不动产权证书"></el-table-column> |
97 | ></el-table-column> | ||
98 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | 90 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> |
99 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 91 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
100 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 92 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
... | @@ -190,8 +182,7 @@ | ... | @@ -190,8 +182,7 @@ |
190 | v-for="item in sfbxflist" | 182 | v-for="item in sfbxflist" |
191 | :key="item.dcode" | 183 | :key="item.dcode" |
192 | :label="item.dname" | 184 | :label="item.dname" |
193 | :value="item.dcode" | 185 | :value="item.dcode"></el-option> |
194 | ></el-option> | ||
195 | </el-select> | 186 | </el-select> |
196 | </el-form-item> | 187 | </el-form-item> |
197 | </el-col> | 188 | </el-col> |
... | @@ -207,8 +198,7 @@ | ... | @@ -207,8 +198,7 @@ |
207 | v-for="item in qsztlist" | 198 | v-for="item in qsztlist" |
208 | :key="item.dcode" | 199 | :key="item.dcode" |
209 | :label="item.dname" | 200 | :label="item.dname" |
210 | :value="item.dcode" | 201 | :value="item.dcode"></el-option> |
211 | ></el-option> | ||
212 | </el-select> | 202 | </el-select> |
213 | </el-form-item> | 203 | </el-form-item> |
214 | </el-col> | 204 | </el-col> |
... | @@ -233,8 +223,7 @@ | ... | @@ -233,8 +223,7 @@ |
233 | v-for="item in dictData['A32']" | 223 | v-for="item in dictData['A32']" |
234 | :key="item.dcode" | 224 | :key="item.dcode" |
235 | :label="item.dname" | 225 | :label="item.dname" |
236 | :value="item.dcode" | 226 | :value="item.dcode"></el-option> |
237 | ></el-option> | ||
238 | </el-select> | 227 | </el-select> |
239 | </el-form-item> | 228 | </el-form-item> |
240 | </el-col> | 229 | </el-col> |
... | @@ -251,8 +240,7 @@ | ... | @@ -251,8 +240,7 @@ |
251 | type="date" | 240 | type="date" |
252 | placeholder="选择日期" | 241 | placeholder="选择日期" |
253 | value-format="yyyy-MM-dd HH:mm:ss" | 242 | value-format="yyyy-MM-dd HH:mm:ss" |
254 | format="yyyy-MM-dd" | 243 | format="yyyy-MM-dd"></el-date-picker> |
255 | ></el-date-picker> | ||
256 | </el-form-item> | 244 | </el-form-item> |
257 | </el-col> | 245 | </el-col> |
258 | <el-col :span="8"> | 246 | <el-col :span="8"> |
... | @@ -263,8 +251,7 @@ | ... | @@ -263,8 +251,7 @@ |
263 | type="date" | 251 | type="date" |
264 | placeholder="选择日期" | 252 | placeholder="选择日期" |
265 | value-format="yyyy-MM-dd HH:mm:ss" | 253 | value-format="yyyy-MM-dd HH:mm:ss" |
266 | format="yyyy-MM-dd" | 254 | format="yyyy-MM-dd"></el-date-picker> |
267 | ></el-date-picker> | ||
268 | </el-form-item> | 255 | </el-form-item> |
269 | </el-col> | 256 | </el-col> |
270 | <el-col :span="8"> | 257 | <el-col :span="8"> |
... | @@ -290,8 +277,7 @@ | ... | @@ -290,8 +277,7 @@ |
290 | <el-form-item | 277 | <el-form-item |
291 | label="登记机构:" | 278 | label="登记机构:" |
292 | prop="qlxx.djjg" | 279 | prop="qlxx.djjg" |
293 | :rules="rules.djjgrules" | 280 | :rules="rules.djjgrules"> |
294 | > | ||
295 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 281 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
296 | </el-form-item> | 282 | </el-form-item> |
297 | </el-col> | 283 | </el-col> |
... | @@ -300,8 +286,7 @@ | ... | @@ -300,8 +286,7 @@ |
300 | <el-form-item | 286 | <el-form-item |
301 | label="登簿人:" | 287 | label="登簿人:" |
302 | prop="qlxx.dbr" | 288 | prop="qlxx.dbr" |
303 | :rules="rules.dbrrules" | 289 | :rules="rules.dbrrules"> |
304 | > | ||
305 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> | 290 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> |
306 | </el-form-item> | 291 | </el-form-item> |
307 | </el-col> | 292 | </el-col> |
... | @@ -309,16 +294,14 @@ | ... | @@ -309,16 +294,14 @@ |
309 | <el-form-item | 294 | <el-form-item |
310 | label="登记时间:" | 295 | label="登记时间:" |
311 | prop="qlxx.djsj" | 296 | prop="qlxx.djsj" |
312 | :rules="rules.djsjrules" | 297 | :rules="rules.djsjrules"> |
313 | > | ||
314 | <el-date-picker | 298 | <el-date-picker |
315 | v-model="ruleForm.qlxx.djsj" | 299 | v-model="ruleForm.qlxx.djsj" |
316 | type="date" | 300 | type="date" |
317 | placeholder="选择日期" | 301 | placeholder="选择日期" |
318 | class="width100" | 302 | class="width100" |
319 | value-format="yyyy-MM-dd HH:mm:ss" | 303 | value-format="yyyy-MM-dd HH:mm:ss" |
320 | format="yyyy-MM-dd" | 304 | format="yyyy-MM-dd"> |
321 | > | ||
322 | </el-date-picker> | 305 | </el-date-picker> |
323 | </el-form-item> | 306 | </el-form-item> |
324 | </el-col> | 307 | </el-col> |
... | @@ -356,14 +339,13 @@ | ... | @@ -356,14 +339,13 @@ |
356 | </el-col> | 339 | </el-col> |
357 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | 340 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> |
358 | <el-form-item label="解封登记时间:"> | 341 | <el-form-item label="解封登记时间:"> |
359 | <el-date-picker | 342 | <el-date-picker |
360 | v-model="ruleForm.cfdj.jfdjsj" | 343 | v-model="ruleForm.cfdj.jfdjsj" |
361 | class="width100" | 344 | class="width100" |
362 | type="date" | 345 | type="date" |
363 | placeholder="选择日期" | 346 | placeholder="选择日期" |
364 | value-format="yyyy-MM-dd HH:mm:ss" | 347 | value-format="yyyy-MM-dd HH:mm:ss" |
365 | format="yyyy-MM-dd" | 348 | format="yyyy-MM-dd"> |
366 | > | ||
367 | </el-date-picker> | 349 | </el-date-picker> |
368 | </el-form-item> | 350 | </el-form-item> |
369 | </el-col> | 351 | </el-col> |
... | @@ -378,267 +360,265 @@ | ... | @@ -378,267 +360,265 @@ |
378 | </div> | 360 | </div> |
379 | </template> | 361 | </template> |
380 | <script> | 362 | <script> |
381 | import { mapGetters } from "vuex"; | 363 | import { mapGetters } from "vuex"; |
382 | import { init, getSsQlxx, getZtQlxx, save } from "@/api/djbRepair.js"; | 364 | import { init, getSsQlxx, getZtQlxx, save } from "@/api/djbRepair.js"; |
383 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 365 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
384 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | 366 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
385 | import tdytTable from "@/views/workflow/components/tdytTable"; | 367 | import tdytTable from "@/views/workflow/components/tdytTable"; |
386 | import selectTable from "@/components/selectTable/index.vue"; | 368 | import selectTable from "@/components/selectTable/index.vue"; |
387 | export default { | 369 | export default { |
388 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, | 370 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, |
389 | computed: { | 371 | computed: { |
390 | ...mapGetters(["dictData", "flag"]), | 372 | ...mapGetters(["dictData", "flag"]), |
391 | // 根据流程判断表单是否为只读 | 373 | // 根据流程判断表单是否为只读 |
392 | editDisabled() { | 374 | editDisabled () { |
393 | if (!this.ableOperation) { | 375 | if (!this.ableOperation) { |
394 | //只读状态 | 376 | //只读状态 |
395 | return true; | 377 | return true; |
396 | } | 378 | } |
397 | return false; | 379 | return false; |
398 | }, | ||
399 | }, | ||
400 | data() { | ||
401 | return { | ||
402 | //表单是否可操作 | ||
403 | props: { | ||
404 | label: "bdcqzh", | ||
405 | value: "bdcdyid", | ||
406 | }, | 380 | }, |
407 | propsParam: this.$attrs, | 381 | }, |
408 | key: 0, | 382 | data () { |
409 | isShow: false, | 383 | return { |
410 | ssqlxxshow: true, | 384 | //表单是否可操作 |
411 | disabled: true, | 385 | props: { |
412 | czrOptions: [], | 386 | label: "bdcqzh", |
413 | ruleForm: {}, | 387 | value: "bdcdyid", |
414 | rules: {}, | ||
415 | // 登记类型 | ||
416 | djlxlist: [ | ||
417 | { | ||
418 | dcode: "100", | ||
419 | dname: "首次登记", | ||
420 | }, | ||
421 | { | ||
422 | dcode: "200", | ||
423 | dname: "转移登记", | ||
424 | }, | ||
425 | { | ||
426 | dcode: "300", | ||
427 | dname: "变更登记", | ||
428 | }, | ||
429 | { | ||
430 | dcode: "500", | ||
431 | dname: "更正登记", | ||
432 | }, | ||
433 | |||
434 | { | ||
435 | dcode: "901", | ||
436 | dname: "补证", | ||
437 | }, | ||
438 | { | ||
439 | dcode: "902", | ||
440 | dname: "换证", | ||
441 | }, | 388 | }, |
442 | ], | 389 | propsParam: this.$attrs, |
390 | key: 0, | ||
391 | isShow: false, | ||
392 | ssqlxxshow: true, | ||
393 | disabled: true, | ||
394 | czrOptions: [], | ||
395 | ruleForm: {}, | ||
396 | rules: {}, | ||
397 | // 登记类型 | ||
398 | djlxlist: [ | ||
399 | { | ||
400 | dcode: "100", | ||
401 | dname: "首次登记", | ||
402 | }, | ||
403 | { | ||
404 | dcode: "200", | ||
405 | dname: "转移登记", | ||
406 | }, | ||
407 | { | ||
408 | dcode: "300", | ||
409 | dname: "变更登记", | ||
410 | }, | ||
411 | { | ||
412 | dcode: "500", | ||
413 | dname: "更正登记", | ||
414 | }, | ||
443 | 415 | ||
444 | // 权属状态 | 416 | { |
445 | qsztlist: [ | 417 | dcode: "901", |
446 | { | 418 | dname: "补证", |
447 | dcode: "1", | 419 | }, |
448 | dname: "现势", | 420 | { |
449 | }, | 421 | dcode: "902", |
450 | { | 422 | dname: "换证", |
451 | dcode: "2", | 423 | }, |
452 | dname: "历史", | 424 | ], |
453 | }, | ||
454 | ], | ||
455 | // 是否被续封 | ||
456 | sfbxflist: [ | ||
457 | { | ||
458 | dcode: "0", | ||
459 | dname: "否", | ||
460 | }, | ||
461 | { | ||
462 | dcode: "1", | ||
463 | dname: "是", | ||
464 | }, | ||
465 | ], | ||
466 | ableOperation: false, | ||
467 | //传递参数\ | ||
468 | 425 | ||
469 | ssQlxxList: [], | 426 | // 权属状态 |
470 | ztQlxxList: [], | 427 | qsztlist: [ |
471 | rules: { | 428 | { |
472 | ztQlxxrules: [ | 429 | dcode: "1", |
473 | { required: true, message: "抵押不动产信息", trigger: "change" }, | 430 | dname: "现势", |
431 | }, | ||
432 | { | ||
433 | dcode: "2", | ||
434 | dname: "历史", | ||
435 | }, | ||
474 | ], | 436 | ], |
475 | bdcqzhrules: [ | 437 | // 是否被续封 |
476 | { required: true, message: "不动产登记证明号", trigger: "blur" }, | 438 | sfbxflist: [ |
439 | { | ||
440 | dcode: "0", | ||
441 | dname: "否", | ||
442 | }, | ||
443 | { | ||
444 | dcode: "1", | ||
445 | dname: "是", | ||
446 | }, | ||
477 | ], | 447 | ], |
478 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | 448 | ableOperation: false, |
479 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 449 | //传递参数\ |
480 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | ||
481 | sfbxfrules: [{ required: true, message: "是否被续封", trigger: "change" }], | ||
482 | 450 | ||
483 | }, | 451 | ssQlxxList: [], |
484 | }; | 452 | ztQlxxList: [], |
485 | }, | 453 | rules: { |
486 | created() { | 454 | ztQlxxrules: [ |
487 | this.loadData(); | 455 | { required: true, message: "抵押不动产信息", trigger: "change" }, |
488 | }, | 456 | ], |
489 | mounted() { | 457 | bdcqzhrules: [ |
490 | this.ableOperation = this.$parent.ableOperation; | 458 | { required: true, message: "不动产登记证明号", trigger: "blur" }, |
491 | }, | 459 | ], |
492 | methods: { | 460 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
493 | /** | 461 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
494 | * @description: ztQlxxchange | 462 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
495 | * @param {*} val | 463 | sfbxfrules: [{ required: true, message: "是否被续封", trigger: "change" }] |
496 | * @author: renchao | 464 | } |
497 | */ | ||
498 | ztQlxxchange(val) { | ||
499 | this.ruleForm.ztQlxx = val; | ||
500 | }, | ||
501 | /** | ||
502 | * @description: ssQlxxchange | ||
503 | * @param {*} val | ||
504 | * @author: renchao | ||
505 | */ | ||
506 | ssQlxxchange(val) { | ||
507 | this.ruleForm.ssQlxx = val; | ||
508 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
509 | }, | ||
510 | /** | ||
511 | * @description: djlxchange | ||
512 | * @param {*} val | ||
513 | * @author: renchao | ||
514 | */ | ||
515 | djlxchange(val) { | ||
516 | if (val == null || val == 100) { | ||
517 | this.ssqlxxshow = false; | ||
518 | } else { | ||
519 | this.ssqlxxshow = true; | ||
520 | } | 465 | } |
521 | }, | 466 | }, |
522 | /** | 467 | created () { |
523 | * @description: loadData | 468 | this.loadData(); |
524 | * @author: renchao | ||
525 | */ | ||
526 | loadData() { | ||
527 | this.$startLoading(); | ||
528 | this.propsParam.isEdit = this.$parent.isEdit; | ||
529 | init(this.propsParam).then((res) => { | ||
530 | if (res.code == 200) { | ||
531 | this.ruleForm = res.result; | ||
532 | this.isShow = true; | ||
533 | let djlx = this.ruleForm.qlxx.djlx; | ||
534 | this.$endLoading(); | ||
535 | if (djlx == null || djlx == 100) { | ||
536 | this.ssqlxxshow = false; | ||
537 | } | ||
538 | } | ||
539 | }); | ||
540 | //获取主体信息 | ||
541 | getSsQlxx({ | ||
542 | bdcdyid: this.propsParam.bdcdyid, | ||
543 | qllx: this.propsParam.qllx, | ||
544 | }).then((res) => { | ||
545 | if (res.code == 200) { | ||
546 | this.ssQlxxList = res.result; | ||
547 | } | ||
548 | }); | ||
549 | //获取上手信息 | ||
550 | getZtQlxx({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | ||
551 | if (res.code == 200) { | ||
552 | this.ztQlxxList = res.result; | ||
553 | } | ||
554 | }); | ||
555 | }, | 469 | }, |
556 | // // 更新土地用途信息 | 470 | mounted () { |
557 | // upDateTdytxxList(val) { | 471 | this.ableOperation = this.$parent.ableOperation; |
558 | // this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 472 | }, |
559 | // this.key++; | 473 | methods: { |
560 | // }, | 474 | /** |
561 | // // 更新权利人信息 | 475 | * @description: ztQlxxchange |
562 | // upDateQlrxxList(val) { | 476 | * @param {*} val |
563 | // this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | 477 | * @author: renchao |
564 | // this.czrOptions = this.ruleForm.qlrData; | 478 | */ |
565 | // this.key++; | 479 | ztQlxxchange (val) { |
566 | // }, | 480 | this.ruleForm.ztQlxx = val; |
567 | // // 更新义务人信息 | 481 | }, |
568 | // upDateYwrxxList(val) { | 482 | /** |
569 | // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | 483 | * @description: ssQlxxchange |
570 | // this.key++; | 484 | * @param {*} val |
571 | // }, | 485 | * @author: renchao |
572 | /** | 486 | */ |
573 | * @description: onSubmit | 487 | ssQlxxchange (val) { |
574 | * @author: renchao | 488 | this.ruleForm.ssQlxx = val; |
575 | */ | 489 | this.ruleForm.qlxx.ssywh = val.ywh; |
576 | onSubmit() { | 490 | }, |
577 | this.$refs.ruleForm.validate((valid) => { | 491 | /** |
578 | console.log("valid", valid); | 492 | * @description: djlxchange |
579 | if (valid) { | 493 | * @param {*} val |
580 | // if (this.ruleForm.qlrData.length == 0) { | 494 | * @author: renchao |
581 | // this.$message({ | 495 | */ |
582 | // showClose: true, | 496 | djlxchange (val) { |
583 | // message: "请确认权利人信息", | 497 | if (val == null || val == 100) { |
584 | // type: "error", | 498 | this.ssqlxxshow = false; |
585 | // }); | ||
586 | // return false; | ||
587 | // } | ||
588 | |||
589 | // if (this.ruleForm.qlxx.gyfs == "0") { | ||
590 | // if (this.ruleForm.qlrData.length > 1) { | ||
591 | // this.$message({ | ||
592 | // showClose: true, | ||
593 | // message: "共有方式:单独所有,权利人只能是一个人", | ||
594 | // type: "error", | ||
595 | // }); | ||
596 | // return false; | ||
597 | // } | ||
598 | // this.ruleForm.qlrData[0].sfczr = "1"; | ||
599 | // } | ||
600 | // if (this.ruleForm.qlxx.gyfs == "1") { | ||
601 | // //是否分别持证 | ||
602 | // if (this.ruleForm.qlxx.sqfbcz == "1") { | ||
603 | // //是 | ||
604 | // this.ruleForm.qlrData.forEach((item, index) => { | ||
605 | // item.sfczr = "1"; | ||
606 | // }); | ||
607 | // } else { | ||
608 | // this.ruleForm.qlrData.forEach((item, index) => { | ||
609 | // if (item.zjh == this.ruleForm.czr) { | ||
610 | // item.sfczr = "1"; | ||
611 | // } else { | ||
612 | // item.sfczr = "0"; | ||
613 | // } | ||
614 | // }); | ||
615 | // } | ||
616 | // } | ||
617 | save(this.ruleForm).then((res) => { | ||
618 | if (res.code === 200) { | ||
619 | this.$message({ | ||
620 | showClose: true, | ||
621 | message: "保存成功!", | ||
622 | type: "success", | ||
623 | }); | ||
624 | this.$store.dispatch("user/refreshPage", true); | ||
625 | } else { | ||
626 | this.$message({ | ||
627 | showClose: true, | ||
628 | message: res.message, | ||
629 | type: "error", | ||
630 | }); | ||
631 | } | ||
632 | }); | ||
633 | } else { | 499 | } else { |
634 | return false; | 500 | this.ssqlxxshow = true; |
635 | } | 501 | } |
636 | }); | 502 | }, |
503 | /** | ||
504 | * @description: loadData | ||
505 | * @author: renchao | ||
506 | */ | ||
507 | loadData () { | ||
508 | this.$startLoading(); | ||
509 | this.propsParam.isEdit = this.$parent.isEdit; | ||
510 | init(this.propsParam).then((res) => { | ||
511 | if (res.code == 200) { | ||
512 | this.ruleForm = res.result; | ||
513 | this.isShow = true; | ||
514 | let djlx = this.ruleForm.qlxx.djlx; | ||
515 | this.$endLoading(); | ||
516 | if (djlx == null || djlx == 100) { | ||
517 | this.ssqlxxshow = false; | ||
518 | } | ||
519 | } | ||
520 | }); | ||
521 | //获取主体信息 | ||
522 | getSsQlxx({ | ||
523 | bdcdyid: this.propsParam.bdcdyid, | ||
524 | qllx: this.propsParam.qllx, | ||
525 | }).then((res) => { | ||
526 | if (res.code == 200) { | ||
527 | this.ssQlxxList = res.result; | ||
528 | } | ||
529 | }); | ||
530 | //获取上手信息 | ||
531 | getZtQlxx({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | ||
532 | if (res.code == 200) { | ||
533 | this.ztQlxxList = res.result; | ||
534 | } | ||
535 | }); | ||
536 | }, | ||
537 | // // 更新土地用途信息 | ||
538 | // upDateTdytxxList(val) { | ||
539 | // this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
540 | // this.key++; | ||
541 | // }, | ||
542 | // // 更新权利人信息 | ||
543 | // upDateQlrxxList(val) { | ||
544 | // this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
545 | // this.czrOptions = this.ruleForm.qlrData; | ||
546 | // this.key++; | ||
547 | // }, | ||
548 | // // 更新义务人信息 | ||
549 | // upDateYwrxxList(val) { | ||
550 | // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | ||
551 | // this.key++; | ||
552 | // }, | ||
553 | /** | ||
554 | * @description: onSubmit | ||
555 | * @author: renchao | ||
556 | */ | ||
557 | onSubmit () { | ||
558 | this.$refs.ruleForm.validate((valid) => { | ||
559 | if (valid) { | ||
560 | // if (this.ruleForm.qlrData.length == 0) { | ||
561 | // this.$message({ | ||
562 | // showClose: true, | ||
563 | // message: "请确认权利人信息", | ||
564 | // type: "error", | ||
565 | // }); | ||
566 | // return false; | ||
567 | // } | ||
568 | |||
569 | // if (this.ruleForm.qlxx.gyfs == "0") { | ||
570 | // if (this.ruleForm.qlrData.length > 1) { | ||
571 | // this.$message({ | ||
572 | // showClose: true, | ||
573 | // message: "共有方式:单独所有,权利人只能是一个人", | ||
574 | // type: "error", | ||
575 | // }); | ||
576 | // return false; | ||
577 | // } | ||
578 | // this.ruleForm.qlrData[0].sfczr = "1"; | ||
579 | // } | ||
580 | // if (this.ruleForm.qlxx.gyfs == "1") { | ||
581 | // //是否分别持证 | ||
582 | // if (this.ruleForm.qlxx.sqfbcz == "1") { | ||
583 | // //是 | ||
584 | // this.ruleForm.qlrData.forEach((item, index) => { | ||
585 | // item.sfczr = "1"; | ||
586 | // }); | ||
587 | // } else { | ||
588 | // this.ruleForm.qlrData.forEach((item, index) => { | ||
589 | // if (item.zjh == this.ruleForm.czr) { | ||
590 | // item.sfczr = "1"; | ||
591 | // } else { | ||
592 | // item.sfczr = "0"; | ||
593 | // } | ||
594 | // }); | ||
595 | // } | ||
596 | // } | ||
597 | save(this.ruleForm).then((res) => { | ||
598 | if (res.code === 200) { | ||
599 | this.$message({ | ||
600 | showClose: true, | ||
601 | message: "保存成功!", | ||
602 | type: "success", | ||
603 | }); | ||
604 | this.$store.dispatch("user/refreshPage", true); | ||
605 | } else { | ||
606 | this.$message({ | ||
607 | showClose: true, | ||
608 | message: res.message, | ||
609 | type: "error", | ||
610 | }); | ||
611 | } | ||
612 | }); | ||
613 | } else { | ||
614 | return false; | ||
615 | } | ||
616 | }); | ||
617 | }, | ||
637 | }, | 618 | }, |
638 | }, | 619 | }; |
639 | }; | ||
640 | </script> | 620 | </script> |
641 | <style scoped lang="scss"> | 621 | <style scoped lang="scss"> |
642 | @import "~@/styles/public.scss"; | 622 | @import "~@/styles/public.scss"; |
643 | @import "~@/styles/slxx/slxx.scss"; | 623 | @import "~@/styles/slxx/slxx.scss"; |
644 | </style> | 624 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-06-25 15:52:42 | 4 | * @LastEditTime: 2023-07-31 10:02:35 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -14,8 +14,7 @@ | ... | @@ -14,8 +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="145px" | 17 | label-width="145px"> |
18 | > | ||
19 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 18 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
20 | <div class="slxx_title title-block"> | 19 | <div class="slxx_title title-block"> |
21 | 补录信息 | 20 | 补录信息 |
... | @@ -42,26 +41,23 @@ | ... | @@ -42,26 +41,23 @@ |
42 | 建设用地、宅基地使用权信息 | 41 | 建设用地、宅基地使用权信息 |
43 | <div class="triangle"></div> | 42 | <div class="triangle"></div> |
44 | </div> | 43 | </div> |
45 | <el-row :gutter="10"> | 44 | <el-row :gutter="10"> |
46 | <el-col :span="8" v-if="ssqlxxshow"> | 45 | <el-col :span="8" v-if="ssqlxxshow"> |
47 | <el-form-item label="上手权利信息:"> | 46 | <el-form-item label="上手权利信息:"> |
48 | <select-table | 47 | <select-table |
49 | v-model="ruleForm.ssQlxx" | 48 | v-model="ruleForm.ssQlxx" |
50 | :table-width="550" | 49 | :table-width="550" |
51 | :tableData="ssQlxxList" | 50 | :tableData="ssQlxxList" |
52 | :props="props" | 51 | :props="props" |
53 | @change="ssQlxxchange" | 52 | @change="ssQlxxchange"> |
54 | > | ||
55 | <el-table-column | 53 | <el-table-column |
56 | prop="qllxmc" | 54 | prop="qllxmc" |
57 | width="130" | 55 | width="130" |
58 | label="权利类型" | 56 | label="权利类型"></el-table-column> |
59 | ></el-table-column> | ||
60 | <el-table-column | 57 | <el-table-column |
61 | prop="bdcqzh" | 58 | prop="bdcqzh" |
62 | width="160" | 59 | width="160" |
63 | label="不动产权证书" | 60 | label="不动产权证书"></el-table-column> |
64 | ></el-table-column> | ||
65 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | 61 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> |
66 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 62 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
67 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 63 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
... | @@ -90,14 +86,13 @@ | ... | @@ -90,14 +86,13 @@ |
90 | </el-form-item> | 86 | </el-form-item> |
91 | </el-col> | 87 | </el-col> |
92 | <el-col :span="8"> | 88 | <el-col :span="8"> |
93 | <el-form-item label="登记类型:" prop="qlxx.djlx" :rules="rules.djlxrules"> | 89 | <el-form-item label="登记类型:" prop="qlxx.djlx" :rules="rules.djlxrules"> |
94 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | 90 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> |
95 | <el-option | 91 | <el-option |
96 | v-for="item in djlxlist" | 92 | v-for="item in djlxlist" |
97 | :key="item.dcode" | 93 | :key="item.dcode" |
98 | :label="item.dname" | 94 | :label="item.dname" |
99 | :value="item.dcode" | 95 | :value="item.dcode"> |
100 | > | ||
101 | </el-option> | 96 | </el-option> |
102 | </el-select> | 97 | </el-select> |
103 | </el-form-item> | 98 | </el-form-item> |
... | @@ -109,8 +104,7 @@ | ... | @@ -109,8 +104,7 @@ |
109 | v-for="item in qsztlist" | 104 | v-for="item in qsztlist" |
110 | :key="item.dcode" | 105 | :key="item.dcode" |
111 | :label="item.dname" | 106 | :label="item.dname" |
112 | :value="item.dcode" | 107 | :value="item.dcode"> |
113 | > | ||
114 | </el-option> | 108 | </el-option> |
115 | </el-select> | 109 | </el-select> |
116 | </el-form-item> | 110 | </el-form-item> |
... | @@ -129,8 +123,8 @@ | ... | @@ -129,8 +123,8 @@ |
129 | <el-col :span="8"> | 123 | <el-col :span="8"> |
130 | <el-form-item label="使用权面积:"> | 124 | <el-form-item label="使用权面积:"> |
131 | <div class="flex"> | 125 | <div class="flex"> |
132 | <el-input v-model="ruleForm.jsydsyq.syqmj" | 126 | <el-input v-model="ruleForm.jsydsyq.syqmj" |
133 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 127 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
134 | <el-select | 128 | <el-select |
135 | disabled | 129 | disabled |
136 | v-model="mjdw" | 130 | v-model="mjdw" |
... | @@ -142,7 +136,7 @@ | ... | @@ -142,7 +136,7 @@ |
142 | :value="item.dcode"> | 136 | :value="item.dcode"> |
143 | </el-option> | 137 | </el-option> |
144 | </el-select> | 138 | </el-select> |
145 | </div> | 139 | </div> |
146 | </el-form-item> | 140 | </el-form-item> |
147 | </el-col> | 141 | </el-col> |
148 | <el-col :span="8"> | 142 | <el-col :span="8"> |
... | @@ -170,15 +164,13 @@ | ... | @@ -170,15 +164,13 @@ |
170 | <div style="display: flex"> | 164 | <div style="display: flex"> |
171 | <el-input | 165 | <el-input |
172 | v-model="ruleForm.jsydsyq.qdjg" | 166 | v-model="ruleForm.jsydsyq.qdjg" |
173 | style="width: 500%" | 167 | style="width: 500%"></el-input> |
174 | ></el-input> | ||
175 | <el-select v-model="ruleForm.jsydsyq.jedw"> | 168 | <el-select v-model="ruleForm.jsydsyq.jedw"> |
176 | <el-option | 169 | <el-option |
177 | v-for="item in dictData['A57']" | 170 | v-for="item in dictData['A57']" |
178 | :key="item.dcode" | 171 | :key="item.dcode" |
179 | :label="item.dname" | 172 | :label="item.dname" |
180 | :value="item.dcode" | 173 | :value="item.dcode"> |
181 | > | ||
182 | </el-option> | 174 | </el-option> |
183 | </el-select> | 175 | </el-select> |
184 | </div> | 176 | </div> |
... | @@ -189,8 +181,7 @@ | ... | @@ -189,8 +181,7 @@ |
189 | <el-form-item | 181 | <el-form-item |
190 | label="不动产权证号:" | 182 | label="不动产权证号:" |
191 | prop="qlxx.bdcqzh" | 183 | prop="qlxx.bdcqzh" |
192 | :rules="rules.bdcqzhrules" | 184 | :rules="rules.bdcqzhrules"> |
193 | > | ||
194 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 185 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
195 | </el-form-item> | 186 | </el-form-item> |
196 | </el-col> | 187 | </el-col> |
... | @@ -207,8 +198,7 @@ | ... | @@ -207,8 +198,7 @@ |
207 | <el-form-item | 198 | <el-form-item |
208 | label="登记机构:" | 199 | label="登记机构:" |
209 | prop="qlxx.djjg" | 200 | prop="qlxx.djjg" |
210 | :rules="rules.djjgrules" | 201 | :rules="rules.djjgrules"> |
211 | > | ||
212 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 202 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
213 | </el-form-item> | 203 | </el-form-item> |
214 | </el-col> | 204 | </el-col> |
... | @@ -216,8 +206,7 @@ | ... | @@ -216,8 +206,7 @@ |
216 | <el-form-item | 206 | <el-form-item |
217 | label="登簿人:" | 207 | label="登簿人:" |
218 | prop="qlxx.dbr" | 208 | prop="qlxx.dbr" |
219 | :rules="rules.dbrrules" | 209 | :rules="rules.dbrrules"> |
220 | > | ||
221 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> | 210 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> |
222 | </el-form-item> | 211 | </el-form-item> |
223 | </el-col> | 212 | </el-col> |
... | @@ -225,16 +214,14 @@ | ... | @@ -225,16 +214,14 @@ |
225 | <el-form-item | 214 | <el-form-item |
226 | label="登记时间:" | 215 | label="登记时间:" |
227 | prop="qlxx.djsj" | 216 | prop="qlxx.djsj" |
228 | :rules="rules.djsjrules" | 217 | :rules="rules.djsjrules"> |
229 | > | 218 | <el-date-picker |
230 | <el-date-picker | ||
231 | v-model="ruleForm.qlxx.djsj" | 219 | v-model="ruleForm.qlxx.djsj" |
232 | type="date" | 220 | type="date" |
233 | class="width100" | 221 | class="width100" |
234 | placeholder="选择日期" | 222 | placeholder="选择日期" |
235 | value-format="yyyy-MM-dd HH:mm:ss" | 223 | value-format="yyyy-MM-dd HH:mm:ss" |
236 | format="yyyy-MM-dd" | 224 | format="yyyy-MM-dd"> |
237 | > | ||
238 | </el-date-picker> | 225 | </el-date-picker> |
239 | </el-form-item> | 226 | </el-form-item> |
240 | </el-col> | 227 | </el-col> |
... | @@ -253,8 +240,7 @@ | ... | @@ -253,8 +240,7 @@ |
253 | <tdytTable | 240 | <tdytTable |
254 | :tableData="ruleForm.tdytqxList" | 241 | :tableData="ruleForm.tdytqxList" |
255 | @upDateTdytxxList="upDateTdytxxList" | 242 | @upDateTdytxxList="upDateTdytxxList" |
256 | :ableOperation="ableOperation" | 243 | :ableOperation="ableOperation" /> |
257 | /> | ||
258 | <div class="slxx_title title-block"> | 244 | <div class="slxx_title title-block"> |
259 | 权利人信息 | 245 | 权利人信息 |
260 | <div class="triangle"></div> | 246 | <div class="triangle"></div> |
... | @@ -262,10 +248,9 @@ | ... | @@ -262,10 +248,9 @@ |
262 | <el-row :gutter="10"> | 248 | <el-row :gutter="10"> |
263 | <el-col :span="12"> | 249 | <el-col :span="12"> |
264 | <el-form-item label="共有方式:"> | 250 | <el-form-item label="共有方式:"> |
265 | <el-radio-group | 251 | <el-radio-group |
266 | :disabled="!ableOperation" | 252 | :disabled="!ableOperation" |
267 | v-model="ruleForm.qlxx.gyfs" | 253 | v-model="ruleForm.qlxx.gyfs"> |
268 | > | ||
269 | <el-radio label="0">单独所有</el-radio> | 254 | <el-radio label="0">单独所有</el-radio> |
270 | <el-radio label="1">共同共有</el-radio> | 255 | <el-radio label="1">共同共有</el-radio> |
271 | <el-radio label="2">按份所有</el-radio> | 256 | <el-radio label="2">按份所有</el-radio> |
... | @@ -279,8 +264,7 @@ | ... | @@ -279,8 +264,7 @@ |
279 | @upDateQlrxxList="upDateQlrxxList" | 264 | @upDateQlrxxList="upDateQlrxxList" |
280 | :key="key" | 265 | :key="key" |
281 | :ableOperation="ableOperation" | 266 | :ableOperation="ableOperation" |
282 | :gyfs="ruleForm.qlxx.gyfs" | 267 | :gyfs="ruleForm.qlxx.gyfs" /> |
283 | /> | ||
284 | 268 | ||
285 | </div> | 269 | </div> |
286 | <el-row class="btn" v-if="ableOperation"> | 270 | <el-row class="btn" v-if="ableOperation"> |
... | @@ -292,269 +276,269 @@ | ... | @@ -292,269 +276,269 @@ |
292 | </div> | 276 | </div> |
293 | </template> | 277 | </template> |
294 | <script> | 278 | <script> |
295 | import store from "@/store/index.js"; | 279 | import store from "@/store/index.js"; |
296 | import { mapGetters } from "vuex"; | 280 | import { mapGetters } from "vuex"; |
297 | import { init,getSsQlxx, save } from "@/api/djbRepair.js"; | 281 | import { init, getSsQlxx, save } from "@/api/djbRepair.js"; |
298 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 282 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
299 | import selectTable from "@/components/selectTable/index.vue"; | 283 | import selectTable from "@/components/selectTable/index.vue"; |
300 | import tdytTable from "@/views/workflow/components/tdytTable"; | 284 | import tdytTable from "@/views/workflow/components/tdytTable"; |
301 | export default { | 285 | import selectTable from "@/components/selectTable/index.vue"; |
302 | components: { qlrCommonTable, tdytTable,selectTable }, | 286 | export default { |
303 | computed: { | 287 | components: { qlrCommonTable, tdytTable, selectTable }, |
304 | ...mapGetters(["dictData", "flag"]), | 288 | computed: { |
305 | // 根据流程判断表单是否为只读 | 289 | ...mapGetters(["dictData", "flag"]), |
306 | editDisabled() { | 290 | // 根据流程判断表单是否为只读 |
307 | if (!this.ableOperation) { | 291 | editDisabled () { |
308 | //只读状态 | 292 | if (!this.ableOperation) { |
309 | console.log("只读"); | 293 | //只读状态 |
310 | return true; | 294 | console.log("只读"); |
311 | } | 295 | return true; |
312 | return false; | ||
313 | }, | ||
314 | }, | ||
315 | data() { | ||
316 | return { | ||
317 | mjdw:"1", | ||
318 | ssqlxxshow:true, | ||
319 | props: { | ||
320 | label: "bdcqzh", | ||
321 | value: "bdcdyid", | ||
322 | }, | ||
323 | // 键名转换,方法默认是label和children进行树状渲染 | ||
324 | normalizer(node) { | ||
325 | //方法 | ||
326 | if (node.children == null || node.children == "null") { | ||
327 | delete node.children; | ||
328 | } | 296 | } |
329 | return { | 297 | return false; |
330 | id: node.dcode, | ||
331 | label: node.dname, | ||
332 | }; | ||
333 | }, | 298 | }, |
334 | //表单是否可操作 | 299 | }, |
335 | propsParam: this.$attrs, | 300 | data () { |
336 | ableOperation:false, | 301 | return { |
337 | key: 0, | 302 | mjdw: "1", |
338 | ssQlxxList: [], | 303 | ssqlxxshow: true, |
339 | // 登记类型 | 304 | props: { |
340 | djlxlist: [ | 305 | label: "bdcqzh", |
341 | { | 306 | value: "bdcdyid", |
342 | dcode: "100", | ||
343 | dname: "首次登记", | ||
344 | }, | ||
345 | { | ||
346 | dcode: "200", | ||
347 | dname: "转移登记", | ||
348 | }, | ||
349 | { | ||
350 | dcode: "300", | ||
351 | dname: "变更登记", | ||
352 | }, | 307 | }, |
353 | { | 308 | // 键名转换,方法默认是label和children进行树状渲染 |
354 | dcode: "500", | 309 | normalizer (node) { |
355 | dname: "更正登记", | 310 | //方法 |
311 | if (node.children == null || node.children == "null") { | ||
312 | delete node.children; | ||
313 | } | ||
314 | return { | ||
315 | id: node.dcode, | ||
316 | label: node.dname, | ||
317 | }; | ||
356 | }, | 318 | }, |
319 | //表单是否可操作 | ||
320 | propsParam: this.$attrs, | ||
321 | ableOperation: false, | ||
322 | key: 0, | ||
323 | ssQlxxList: [], | ||
324 | // 登记类型 | ||
325 | djlxlist: [ | ||
326 | { | ||
327 | dcode: "100", | ||
328 | dname: "首次登记", | ||
329 | }, | ||
330 | { | ||
331 | dcode: "200", | ||
332 | dname: "转移登记", | ||
333 | }, | ||
334 | { | ||
335 | dcode: "300", | ||
336 | dname: "变更登记", | ||
337 | }, | ||
338 | { | ||
339 | dcode: "500", | ||
340 | dname: "更正登记", | ||
341 | }, | ||
357 | 342 | ||
358 | { | 343 | { |
359 | dcode: "901", | 344 | dcode: "901", |
360 | dname: "补证", | 345 | dname: "补证", |
361 | }, | 346 | }, |
362 | { | 347 | { |
363 | dcode: "902", | 348 | dcode: "902", |
364 | dname: "换证", | 349 | dname: "换证", |
365 | }, | 350 | }, |
366 | ], | ||
367 | // 权属状态 | ||
368 | qsztlist: [ | ||
369 | { | ||
370 | dcode: "1", | ||
371 | dname: "现势", | ||
372 | }, | ||
373 | { | ||
374 | dcode: "2", | ||
375 | dname: "历史", | ||
376 | }, | ||
377 | ], | ||
378 | tdxz: null, | ||
379 | isShow: false, | ||
380 | disabled: true, | ||
381 | czrOptions: [], | ||
382 | ruleForm: {}, | ||
383 | //传递参数\ | ||
384 | rules: { | ||
385 | bdcqzhrules: [ | ||
386 | { required: true, message: "不动产权证号:", trigger: "blur" }, | ||
387 | ], | 351 | ], |
388 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 352 | // 权属状态 |
389 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | 353 | qsztlist: [ |
390 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 354 | { |
391 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | 355 | dcode: "1", |
392 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], | 356 | dname: "现势", |
393 | }, | 357 | }, |
394 | }; | 358 | { |
395 | }, | 359 | dcode: "2", |
396 | created() { | 360 | dname: "历史", |
397 | this.loadData(); | 361 | }, |
398 | }, | 362 | ], |
399 | mounted() { | 363 | tdxz: null, |
400 | this.ableOperation=this.$parent.ableOperation | 364 | isShow: false, |
401 | }, | 365 | disabled: true, |
402 | methods: { | 366 | czrOptions: [], |
403 | /** | 367 | ruleForm: {}, |
404 | * @description: ssQlxxchange | 368 | //传递参数\ |
405 | * @param {*} val | 369 | rules: { |
406 | * @author: renchao | 370 | bdcqzhrules: [ |
407 | */ | 371 | { required: true, message: "不动产权证号:", trigger: "blur" }, |
408 | ssQlxxchange(val) { | 372 | ], |
409 | this.ruleForm.ssQlxx = val; | 373 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
410 | this.ruleForm.qlxx.ssywh = val.ywh; | 374 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
375 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | ||
376 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | ||
377 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], | ||
378 | }, | ||
379 | }; | ||
411 | }, | 380 | }, |
412 | /** | 381 | created () { |
413 | * @description: djlxchange | 382 | this.loadData(); |
414 | * @param {*} val | ||
415 | * @author: renchao | ||
416 | */ | ||
417 | djlxchange(val) { | ||
418 | console.log("val",val); | ||
419 | if (val == null || val == 100) { | ||
420 | this.ssqlxxshow = false; | ||
421 | } else { | ||
422 | this.ssqlxxshow = true; | ||
423 | } | ||
424 | }, | 383 | }, |
425 | // 字典 | 384 | mounted () { |
426 | /** | 385 | this.ableOperation = this.$parent.ableOperation |
427 | * @description: 字典 | ||
428 | * @param {*} val | ||
429 | * @author: renchao | ||
430 | */ | ||
431 | getDictData(val) { | ||
432 | return store.getters.dictData[val]; | ||
433 | }, | 386 | }, |
434 | /** | 387 | methods: { |
435 | * @description: loadData | 388 | /** |
436 | * @author: renchao | 389 | * @description: ssQlxxchange |
437 | */ | 390 | * @param {*} val |
438 | loadData() { | 391 | * @author: renchao |
392 | */ | ||
393 | ssQlxxchange (val) { | ||
394 | this.ruleForm.ssQlxx = val; | ||
395 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
396 | }, | ||
397 | /** | ||
398 | * @description: djlxchange | ||
399 | * @param {*} val | ||
400 | * @author: renchao | ||
401 | */ | ||
402 | djlxchange (val) { | ||
403 | console.log("val", val); | ||
404 | if (val == null || val == 100) { | ||
405 | this.ssqlxxshow = false; | ||
406 | } else { | ||
407 | this.ssqlxxshow = true; | ||
408 | } | ||
409 | }, | ||
410 | // 字典 | ||
411 | /** | ||
412 | * @description: 字典 | ||
413 | * @param {*} val | ||
414 | * @author: renchao | ||
415 | */ | ||
416 | getDictData (val) { | ||
417 | return store.getters.dictData[val]; | ||
418 | }, | ||
419 | /** | ||
420 | * @description: loadData | ||
421 | * @author: renchao | ||
422 | */ | ||
423 | loadData () { | ||
439 | this.$startLoading(); | 424 | this.$startLoading(); |
440 | this.propsParam.isEdit = this.$parent.isEdit; | 425 | this.propsParam.isEdit = this.$parent.isEdit; |
441 | init(this.propsParam).then((res) => { | 426 | init(this.propsParam).then((res) => { |
442 | if (res.code == 200) { | 427 | if (res.code == 200) { |
443 | this.ruleForm = res.result; | 428 | this.ruleForm = res.result; |
444 | let djlx = this.ruleForm.qlxx.djlx; | 429 | let djlx = this.ruleForm.qlxx.djlx; |
445 | if (djlx == null || djlx == 100) { | 430 | if (djlx == null || djlx == 100) { |
446 | this.ssqlxxshow = false; | 431 | this.ssqlxxshow = false; |
447 | } | 432 | } |
448 | this.$endLoading(); | 433 | this.$endLoading(); |
449 | if (this.ruleForm.tdytqxList.length > 0) { | 434 | if (this.ruleForm.tdytqxList.length > 0) { |
450 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | 435 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; |
451 | } else { | 436 | } else { |
452 | this.tdxz = null; | 437 | this.tdxz = null; |
438 | } | ||
439 | this.isShow = true; | ||
453 | } | 440 | } |
454 | this.isShow = true; | 441 | }); |
455 | } | 442 | //获取主体信息 |
456 | }); | 443 | getSsQlxx({ |
457 | //获取主体信息 | 444 | bdcdyid: this.propsParam.bdcdyid, |
458 | getSsQlxx({ | 445 | qllx: this.propsParam.qllx, |
459 | bdcdyid: this.propsParam.bdcdyid, | 446 | }).then((res) => { |
460 | qllx: this.propsParam.qllx, | 447 | if (res.code == 200) { |
461 | }).then((res) => { | 448 | this.ssQlxxList = res.result; |
462 | if (res.code == 200) { | ||
463 | this.ssQlxxList = res.result; | ||
464 | } | ||
465 | }); | ||
466 | }, | ||
467 | // 更新土地用途信息 | ||
468 | /** | ||
469 | * @description: 更新土地用途信息 | ||
470 | * @param {*} val | ||
471 | * @author: renchao | ||
472 | */ | ||
473 | upDateTdytxxList(val) { | ||
474 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
475 | this.key++; | ||
476 | }, | ||
477 | // 更新权利人信息 | ||
478 | /** | ||
479 | * @description: 更新权利人信息 | ||
480 | * @param {*} val | ||
481 | * @author: renchao | ||
482 | */ | ||
483 | upDateQlrxxList(val) { | ||
484 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
485 | this.czrOptions = this.ruleForm.qlrData; | ||
486 | this.key++; | ||
487 | }, | ||
488 | |||
489 | /** | ||
490 | * @description: onSubmit | ||
491 | * @author: renchao | ||
492 | */ | ||
493 | onSubmit() { | ||
494 | this.$refs.ruleForm.validate((valid) => { | ||
495 | if (valid) { | ||
496 | if (this.ruleForm.qlrData.length == 0) { | ||
497 | this.$message({ | ||
498 | showClose: true, | ||
499 | message: "请确认权利人信息", | ||
500 | type: "error", | ||
501 | }); | ||
502 | return false; | ||
503 | } | 449 | } |
504 | 450 | }); | |
505 | if (this.ruleForm.qlxx.gyfs == "0") { | 451 | }, |
506 | if (this.ruleForm.qlrData.length > 1) { | 452 | // 更新土地用途信息 |
453 | /** | ||
454 | * @description: 更新土地用途信息 | ||
455 | * @param {*} val | ||
456 | * @author: renchao | ||
457 | */ | ||
458 | upDateTdytxxList (val) { | ||
459 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
460 | this.key++; | ||
461 | }, | ||
462 | // 更新权利人信息 | ||
463 | /** | ||
464 | * @description: 更新权利人信息 | ||
465 | * @param {*} val | ||
466 | * @author: renchao | ||
467 | */ | ||
468 | upDateQlrxxList (val) { | ||
469 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
470 | this.czrOptions = this.ruleForm.qlrData; | ||
471 | this.key++; | ||
472 | }, | ||
473 | /** | ||
474 | * @description: 保存 | ||
475 | * @author: renchao | ||
476 | */ | ||
477 | onSubmit () { | ||
478 | this.$refs.ruleForm.validate((valid) => { | ||
479 | if (valid) { | ||
480 | if (this.ruleForm.qlrData.length == 0) { | ||
507 | this.$message({ | 481 | this.$message({ |
508 | showClose: true, | 482 | showClose: true, |
509 | message: "共有方式:单独所有,权利人只能是一个人", | 483 | message: "请确认权利人信息", |
510 | type: "error", | 484 | type: "error", |
511 | }); | 485 | }); |
512 | return false; | 486 | return false; |
513 | } | 487 | } |
514 | this.ruleForm.qlrData[0].sfczr = "1"; | 488 | |
515 | } | 489 | if (this.ruleForm.qlxx.gyfs == "0") { |
516 | if (this.ruleForm.qlxx.gyfs == "1") { | 490 | if (this.ruleForm.qlrData.length > 1) { |
517 | //是否分别持证 | 491 | this.$message({ |
518 | if (this.ruleForm.qlxx.sqfbcz == "1") { | 492 | showClose: true, |
519 | //是 | 493 | message: "共有方式:单独所有,权利人只能是一个人", |
520 | this.ruleForm.qlrData.forEach((item, index) => { | 494 | type: "error", |
521 | item.sfczr = "1"; | 495 | }); |
522 | }); | 496 | return false; |
523 | } else { | 497 | } |
524 | this.ruleForm.qlrData.forEach((item, index) => { | 498 | this.ruleForm.qlrData[0].sfczr = "1"; |
525 | if (item.zjh == this.ruleForm.czr) { | 499 | } |
500 | if (this.ruleForm.qlxx.gyfs == "1") { | ||
501 | //是否分别持证 | ||
502 | if (this.ruleForm.qlxx.sqfbcz == "1") { | ||
503 | //是 | ||
504 | this.ruleForm.qlrData.forEach((item, index) => { | ||
526 | item.sfczr = "1"; | 505 | item.sfczr = "1"; |
527 | } else { | 506 | }); |
528 | item.sfczr = "0"; | 507 | } else { |
529 | } | 508 | this.ruleForm.qlrData.forEach((item, index) => { |
530 | }); | 509 | if (item.zjh == this.ruleForm.czr) { |
510 | item.sfczr = "1"; | ||
511 | } else { | ||
512 | item.sfczr = "0"; | ||
513 | } | ||
514 | }); | ||
515 | } | ||
531 | } | 516 | } |
517 | save(this.ruleForm).then((res) => { | ||
518 | if (res.code === 200) { | ||
519 | this.$message({ | ||
520 | showClose: true, | ||
521 | message: "保存成功!", | ||
522 | type: "success", | ||
523 | }); | ||
524 | this.$store.dispatch("user/refreshPage", true); | ||
525 | } else { | ||
526 | this.$message({ | ||
527 | showClose: true, | ||
528 | message: res.message, | ||
529 | type: "error", | ||
530 | }); | ||
531 | } | ||
532 | }); | ||
533 | } else { | ||
534 | return false; | ||
532 | } | 535 | } |
533 | save(this.ruleForm).then((res) => { | 536 | }); |
534 | if (res.code === 200) { | 537 | }, |
535 | this.$message({ | ||
536 | showClose: true, | ||
537 | message: "保存成功!", | ||
538 | type: "success", | ||
539 | }); | ||
540 | this.$store.dispatch("user/refreshPage", true); | ||
541 | } else { | ||
542 | this.$message({ | ||
543 | showClose: true, | ||
544 | message: res.message, | ||
545 | type: "error", | ||
546 | }); | ||
547 | } | ||
548 | }); | ||
549 | } else { | ||
550 | return false; | ||
551 | } | ||
552 | }); | ||
553 | }, | 538 | }, |
554 | }, | 539 | }; |
555 | }; | ||
556 | </script> | 540 | </script> |
557 | <style scoped lang="scss"> | 541 | <style scoped lang="scss"> |
558 | @import "~@/styles/public.scss"; | 542 | @import "~@/styles/public.scss"; |
559 | @import "~@/styles/slxx/slxx.scss"; | 543 | @import "~@/styles/slxx/slxx.scss"; |
560 | </style> | 544 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-06-25 15:52:42 | 4 | * @LastEditTime: 2023-07-31 10:03:05 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -15,8 +15,7 @@ | ... | @@ -15,8 +15,7 @@ |
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="120px"> |
19 | > | ||
20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 19 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
21 | <div class="slxx_title title-block"> | 20 | <div class="slxx_title title-block"> |
22 | 补录信息 | 21 | 补录信息 |
... | @@ -44,25 +43,22 @@ | ... | @@ -44,25 +43,22 @@ |
44 | <div class="triangle"></div> | 43 | <div class="triangle"></div> |
45 | </div> | 44 | </div> |
46 | <el-row :gutter="10"> | 45 | <el-row :gutter="10"> |
47 | <el-col :span="8" v-if="ssqlxxshow"> | 46 | <el-col :span="8" v-if="ssqlxxshow"> |
48 | <el-form-item label="上手权利信息:"> | 47 | <el-form-item label="上手权利信息:"> |
49 | <select-table | 48 | <select-table |
50 | v-model="ruleForm.ssQlxx" | 49 | v-model="ruleForm.ssQlxx" |
51 | :table-width="550" | 50 | :table-width="550" |
52 | :tableData="ssQlxxList" | 51 | :tableData="ssQlxxList" |
53 | :props="props" | 52 | :props="props" |
54 | @change="ssQlxxchange" | 53 | @change="ssQlxxchange"> |
55 | > | ||
56 | <el-table-column | 54 | <el-table-column |
57 | prop="qllxmc" | 55 | prop="qllxmc" |
58 | width="130" | 56 | width="130" |
59 | label="权利类型" | 57 | label="权利类型"></el-table-column> |
60 | ></el-table-column> | ||
61 | <el-table-column | 58 | <el-table-column |
62 | prop="bdcqzh" | 59 | prop="bdcqzh" |
63 | width="160" | 60 | width="160" |
64 | label="不动产权证书" | 61 | label="不动产权证书"></el-table-column> |
65 | ></el-table-column> | ||
66 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | 62 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> |
67 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 63 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
68 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 64 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
... | @@ -71,50 +67,48 @@ | ... | @@ -71,50 +67,48 @@ |
71 | </el-form-item> | 67 | </el-form-item> |
72 | </el-col> | 68 | </el-col> |
73 | <el-col :span="8"> | 69 | <el-col :span="8"> |
74 | <el-form-item label="不动产单元号:"> | ||
75 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> | ||
76 | </el-form-item> | ||
77 | </el-col> | ||
78 | <el-col :span="8"> | ||
79 | <el-form-item label="业务号:"> | ||
80 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | ||
81 | </el-form-item> | ||
82 | </el-col> | ||
83 | <el-col :span="8"> | ||
84 | <el-form-item label="上手业务号:"> | 70 | <el-form-item label="上手业务号:"> |
85 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | 71 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
86 | </el-form-item> | 72 | </el-form-item> |
87 | </el-col> | 73 | </el-col> |
88 | </el-row> | ||
89 | <el-row :gutter="10"> | ||
90 | <el-col :span="8"> | ||
91 | <el-form-item label="权利类型:"> | ||
92 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | ||
93 | </el-form-item> | ||
94 | </el-col> | ||
95 | <el-col :span="8"> | 74 | <el-col :span="8"> |
96 | <el-form-item | 75 | <el-form-item |
97 | label="登记类型:" | 76 | label="登记类型:" |
98 | prop="qlxx.djlx" | 77 | prop="qlxx.djlx" |
99 | :rules="rules.djlxrules" | 78 | :rules="rules.djlxrules"> |
100 | > | ||
101 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | 79 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> |
102 | <el-option | 80 | <el-option |
103 | v-for="item in djlxlist" | 81 | v-for="item in djlxlist" |
104 | :key="item.dcode" | 82 | :key="item.dcode" |
105 | :label="item.dname" | 83 | :label="item.dname" |
106 | :value="item.dcode" | 84 | :value="item.dcode"> |
107 | > | ||
108 | </el-option> | 85 | </el-option> |
109 | </el-select> | 86 | </el-select> |
110 | </el-form-item> | 87 | </el-form-item> |
111 | </el-col> | 88 | </el-col> |
89 | </el-row> | ||
90 | <el-row :gutter="10"> | ||
91 | <el-col :span="8"> | ||
92 | <el-form-item label="不动产单元号:"> | ||
93 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> | ||
94 | </el-form-item> | ||
95 | </el-col> | ||
96 | <el-col :span="8"> | ||
97 | <el-form-item label="业务号:"> | ||
98 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | ||
99 | </el-form-item> | ||
100 | </el-col> | ||
101 | <el-col :span="8"> | ||
102 | <el-form-item label="权利类型:"> | ||
103 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | ||
104 | </el-form-item> | ||
105 | </el-col> | ||
106 | |||
112 | <el-col :span="8"> | 107 | <el-col :span="8"> |
113 | <el-form-item | 108 | <el-form-item |
114 | label="登簿人:" | 109 | label="登簿人:" |
115 | prop="qlxx.dbr" | 110 | prop="qlxx.dbr" |
116 | :rules="rules.dbrrules" | 111 | :rules="rules.dbrrules"> |
117 | > | ||
118 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> | 112 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> |
119 | </el-form-item> | 113 | </el-form-item> |
120 | </el-col> | 114 | </el-col> |
... | @@ -122,8 +116,7 @@ | ... | @@ -122,8 +116,7 @@ |
122 | <el-form-item | 116 | <el-form-item |
123 | label="登记机构:" | 117 | label="登记机构:" |
124 | prop="qlxx.djjg" | 118 | prop="qlxx.djjg" |
125 | :rules="rules.djjgrules" | 119 | :rules="rules.djjgrules"> |
126 | > | ||
127 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 120 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
128 | </el-form-item> | 121 | </el-form-item> |
129 | </el-col> | 122 | </el-col> |
... | @@ -140,8 +133,7 @@ | ... | @@ -140,8 +133,7 @@ |
140 | <el-form-item | 133 | <el-form-item |
141 | label="不动产权证号:" | 134 | label="不动产权证号:" |
142 | prop="qlxx.bdcqzh" | 135 | prop="qlxx.bdcqzh" |
143 | :rules="rules.bdcqzhrules" | 136 | :rules="rules.bdcqzhrules"> |
144 | > | ||
145 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 137 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
146 | </el-form-item> | 138 | </el-form-item> |
147 | </el-col> | 139 | </el-col> |
... | @@ -152,8 +144,7 @@ | ... | @@ -152,8 +144,7 @@ |
152 | v-for="item in qsztlist" | 144 | v-for="item in qsztlist" |
153 | :key="item.dcode" | 145 | :key="item.dcode" |
154 | :label="item.dname" | 146 | :label="item.dname" |
155 | :value="item.dcode" | 147 | :value="item.dcode"> |
156 | > | ||
157 | </el-option> | 148 | </el-option> |
158 | </el-select> | 149 | </el-select> |
159 | </el-form-item> | 150 | </el-form-item> |
... | @@ -172,19 +163,16 @@ | ... | @@ -172,19 +163,16 @@ |
172 | <el-input | 163 | <el-input |
173 | v-model="ruleForm.tdsyq.nydmj" | 164 | v-model="ruleForm.tdsyq.nydmj" |
174 | :disabled="!ableOperation" | 165 | :disabled="!ableOperation" |
175 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 166 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> |
176 | ></el-input> | ||
177 | <el-select | 167 | <el-select |
178 | v-model="ruleForm.tdsyq.mjdw" | 168 | v-model="ruleForm.tdsyq.mjdw" |
179 | :disabled="!ableOperation" | 169 | :disabled="!ableOperation" |
180 | style="width: 20%" | 170 | style="width: 20%"> |
181 | > | ||
182 | <el-option | 171 | <el-option |
183 | v-for="item in dictData['A7']" | 172 | v-for="item in dictData['A7']" |
184 | :key="item.dcode" | 173 | :key="item.dcode" |
185 | :label="item.dname" | 174 | :label="item.dname" |
186 | :value="item.dcode" | 175 | :value="item.dcode"> |
187 | > | ||
188 | </el-option> | 176 | </el-option> |
189 | </el-select> | 177 | </el-select> |
190 | </div> | 178 | </div> |
... | @@ -196,19 +184,16 @@ | ... | @@ -196,19 +184,16 @@ |
196 | <el-input | 184 | <el-input |
197 | v-model="ruleForm.tdsyq.gdmj" | 185 | v-model="ruleForm.tdsyq.gdmj" |
198 | :disabled="!ableOperation" | 186 | :disabled="!ableOperation" |
199 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 187 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> |
200 | ></el-input> | ||
201 | <el-select | 188 | <el-select |
202 | v-model="ruleForm.tdsyq.mjdw" | 189 | v-model="ruleForm.tdsyq.mjdw" |
203 | :disabled="!ableOperation" | 190 | :disabled="!ableOperation" |
204 | style="width: 20%" | 191 | style="width: 20%"> |
205 | > | ||
206 | <el-option | 192 | <el-option |
207 | v-for="item in dictData['A7']" | 193 | v-for="item in dictData['A7']" |
208 | :key="item.dcode" | 194 | :key="item.dcode" |
209 | :label="item.dname" | 195 | :label="item.dname" |
210 | :value="item.dcode" | 196 | :value="item.dcode"> |
211 | > | ||
212 | </el-option> | 197 | </el-option> |
213 | </el-select> | 198 | </el-select> |
214 | </div> | 199 | </div> |
... | @@ -220,19 +205,16 @@ | ... | @@ -220,19 +205,16 @@ |
220 | <el-input | 205 | <el-input |
221 | v-model="ruleForm.tdsyq.ldmj" | 206 | v-model="ruleForm.tdsyq.ldmj" |
222 | :disabled="!ableOperation" | 207 | :disabled="!ableOperation" |
223 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 208 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> |
224 | ></el-input> | ||
225 | <el-select | 209 | <el-select |
226 | v-model="ruleForm.tdsyq.mjdw" | 210 | v-model="ruleForm.tdsyq.mjdw" |
227 | :disabled="!ableOperation" | 211 | :disabled="!ableOperation" |
228 | style="width: 20%" | 212 | style="width: 20%"> |
229 | > | ||
230 | <el-option | 213 | <el-option |
231 | v-for="item in dictData['A7']" | 214 | v-for="item in dictData['A7']" |
232 | :key="item.dcode" | 215 | :key="item.dcode" |
233 | :label="item.dname" | 216 | :label="item.dname" |
234 | :value="item.dcode" | 217 | :value="item.dcode"> |
235 | > | ||
236 | </el-option> | 218 | </el-option> |
237 | </el-select> | 219 | </el-select> |
238 | </div> | 220 | </div> |
... | @@ -246,19 +228,16 @@ | ... | @@ -246,19 +228,16 @@ |
246 | <el-input | 228 | <el-input |
247 | v-model="ruleForm.tdsyq.cdmj" | 229 | v-model="ruleForm.tdsyq.cdmj" |
248 | :disabled="!ableOperation" | 230 | :disabled="!ableOperation" |
249 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" | 231 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
250 | ></el-input> | ||
251 | <el-select | 232 | <el-select |
252 | v-model="ruleForm.tdsyq.mjdw" | 233 | v-model="ruleForm.tdsyq.mjdw" |
253 | :disabled="!ableOperation" | 234 | :disabled="!ableOperation" |
254 | style="width: 20%" | 235 | style="width: 20%"> |
255 | > | ||
256 | <el-option | 236 | <el-option |
257 | v-for="item in dictData['A7']" | 237 | v-for="item in dictData['A7']" |
258 | :key="item.dcode" | 238 | :key="item.dcode" |
259 | :label="item.dname" | 239 | :label="item.dname" |
260 | :value="item.dcode" | 240 | :value="item.dcode"> |
261 | > | ||
262 | </el-option> | 241 | </el-option> |
263 | </el-select> | 242 | </el-select> |
264 | </div> | 243 | </div> |
... | @@ -270,19 +249,16 @@ | ... | @@ -270,19 +249,16 @@ |
270 | <el-input | 249 | <el-input |
271 | v-model="ruleForm.tdsyq.qtnydmj" | 250 | v-model="ruleForm.tdsyq.qtnydmj" |
272 | :disabled="!ableOperation" | 251 | :disabled="!ableOperation" |
273 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 252 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> |
274 | ></el-input> | ||
275 | <el-select | 253 | <el-select |
276 | v-model="ruleForm.tdsyq.mjdw" | 254 | v-model="ruleForm.tdsyq.mjdw" |
277 | :disabled="!ableOperation" | 255 | :disabled="!ableOperation" |
278 | style="width: 20%" | 256 | style="width: 20%"> |
279 | > | ||
280 | <el-option | 257 | <el-option |
281 | v-for="item in dictData['A7']" | 258 | v-for="item in dictData['A7']" |
282 | :key="item.dcode" | 259 | :key="item.dcode" |
283 | :label="item.dname" | 260 | :label="item.dname" |
284 | :value="item.dcode" | 261 | :value="item.dcode"> |
285 | > | ||
286 | </el-option> | 262 | </el-option> |
287 | </el-select> | 263 | </el-select> |
288 | </div> | 264 | </div> |
... | @@ -294,19 +270,16 @@ | ... | @@ -294,19 +270,16 @@ |
294 | <el-input | 270 | <el-input |
295 | v-model="ruleForm.tdsyq.jsydmj" | 271 | v-model="ruleForm.tdsyq.jsydmj" |
296 | :disabled="!ableOperation" | 272 | :disabled="!ableOperation" |
297 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 273 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> |
298 | ></el-input> | ||
299 | <el-select | 274 | <el-select |
300 | v-model="ruleForm.tdsyq.mjdw" | 275 | v-model="ruleForm.tdsyq.mjdw" |
301 | :disabled="!ableOperation" | 276 | :disabled="!ableOperation" |
302 | style="width: 20%" | 277 | style="width: 20%"> |
303 | > | ||
304 | <el-option | 278 | <el-option |
305 | v-for="item in dictData['A7']" | 279 | v-for="item in dictData['A7']" |
306 | :key="item.dcode" | 280 | :key="item.dcode" |
307 | :label="item.dname" | 281 | :label="item.dname" |
308 | :value="item.dcode" | 282 | :value="item.dcode"> |
309 | > | ||
310 | </el-option> | 283 | </el-option> |
311 | </el-select> | 284 | </el-select> |
312 | </div> | 285 | </div> |
... | @@ -320,19 +293,16 @@ | ... | @@ -320,19 +293,16 @@ |
320 | <el-input | 293 | <el-input |
321 | v-model="ruleForm.tdsyq.wlydmj" | 294 | v-model="ruleForm.tdsyq.wlydmj" |
322 | :disabled="!ableOperation" | 295 | :disabled="!ableOperation" |
323 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 296 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> |
324 | ></el-input> | ||
325 | <el-select | 297 | <el-select |
326 | v-model="ruleForm.tdsyq.mjdw" | 298 | v-model="ruleForm.tdsyq.mjdw" |
327 | :disabled="!ableOperation" | 299 | :disabled="!ableOperation" |
328 | style="width: 20%" | 300 | style="width: 20%"> |
329 | > | ||
330 | <el-option | 301 | <el-option |
331 | v-for="item in dictData['A7']" | 302 | v-for="item in dictData['A7']" |
332 | :key="item.dcode" | 303 | :key="item.dcode" |
333 | :label="item.dname" | 304 | :label="item.dname" |
334 | :value="item.dcode" | 305 | :value="item.dcode"> |
335 | > | ||
336 | </el-option> | 306 | </el-option> |
337 | </el-select> | 307 | </el-select> |
338 | </div> | 308 | </div> |
... | @@ -342,16 +312,14 @@ | ... | @@ -342,16 +312,14 @@ |
342 | <el-form-item | 312 | <el-form-item |
343 | label="登记时间:" | 313 | label="登记时间:" |
344 | prop="qlxx.djsj" | 314 | prop="qlxx.djsj" |
345 | :rules="rules.djsjrules" | 315 | :rules="rules.djsjrules"> |
346 | > | ||
347 | <el-date-picker | 316 | <el-date-picker |
348 | v-model="ruleForm.qlxx.djsj" | 317 | v-model="ruleForm.qlxx.djsj" |
349 | type="date" | 318 | type="date" |
350 | class="width100" | 319 | class="width100" |
351 | placeholder="选择日期" | 320 | placeholder="选择日期" |
352 | value-format="yyyy-MM-dd HH:mm:ss" | 321 | value-format="yyyy-MM-dd HH:mm:ss" |
353 | format="yyyy-MM-dd" | 322 | format="yyyy-MM-dd"> |
354 | > | ||
355 | </el-date-picker> | 323 | </el-date-picker> |
356 | </el-form-item> | 324 | </el-form-item> |
357 | </el-col> | 325 | </el-col> |
... | @@ -370,8 +338,7 @@ | ... | @@ -370,8 +338,7 @@ |
370 | <tdytTable | 338 | <tdytTable |
371 | :tableData="ruleForm.tdytqxList" | 339 | :tableData="ruleForm.tdytqxList" |
372 | @upDateTdytxxList="upDateTdytxxList" | 340 | @upDateTdytxxList="upDateTdytxxList" |
373 | :ableOperation="ableOperation" | 341 | :ableOperation="ableOperation" /> |
374 | /> | ||
375 | <div class="slxx_title title-block"> | 342 | <div class="slxx_title title-block"> |
376 | 权利人信息 | 343 | 权利人信息 |
377 | <div class="triangle"></div> | 344 | <div class="triangle"></div> |
... | @@ -381,8 +348,7 @@ | ... | @@ -381,8 +348,7 @@ |
381 | <el-form-item label="共有方式:"> | 348 | <el-form-item label="共有方式:"> |
382 | <el-radio-group | 349 | <el-radio-group |
383 | :disabled="!ableOperation" | 350 | :disabled="!ableOperation" |
384 | v-model="ruleForm.qlxx.gyfs" | 351 | v-model="ruleForm.qlxx.gyfs"> |
385 | > | ||
386 | <el-radio label="0">单独所有</el-radio> | 352 | <el-radio label="0">单独所有</el-radio> |
387 | <el-radio label="1">共同共有</el-radio> | 353 | <el-radio label="1">共同共有</el-radio> |
388 | <el-radio label="2">按份所有</el-radio> | 354 | <el-radio label="2">按份所有</el-radio> |
... | @@ -396,8 +362,7 @@ | ... | @@ -396,8 +362,7 @@ |
396 | @upDateQlrxxList="upDateQlrxxList" | 362 | @upDateQlrxxList="upDateQlrxxList" |
397 | :key="key" | 363 | :key="key" |
398 | :ableOperation="ableOperation" | 364 | :ableOperation="ableOperation" |
399 | :gyfs="ruleForm.qlxx.gyfs" | 365 | :gyfs="ruleForm.qlxx.gyfs" /> |
400 | /> | ||
401 | </div> | 366 | </div> |
402 | <el-row class="btn" v-if="ableOperation"> | 367 | <el-row class="btn" v-if="ableOperation"> |
403 | <el-form-item> | 368 | <el-form-item> |
... | @@ -408,338 +373,337 @@ | ... | @@ -408,338 +373,337 @@ |
408 | </div> | 373 | </div> |
409 | </template> | 374 | </template> |
410 | <script> | 375 | <script> |
411 | import store from "@/store/index.js"; | 376 | import store from "@/store/index.js"; |
412 | import { mapGetters } from "vuex"; | 377 | import { mapGetters } from "vuex"; |
413 | import { init, getSsQlxx, save } from "@/api/djbRepair.js"; | 378 | import { init, getSsQlxx, save } from "@/api/djbRepair.js"; |
414 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 379 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
415 | import selectTable from "@/components/selectTable/index.vue"; | 380 | import selectTable from "@/components/selectTable/index.vue"; |
416 | import tdytTable from "@/views/workflow/components/tdytTable"; | 381 | import tdytTable from "@/views/workflow/components/tdytTable"; |
417 | export default { | 382 | export default { |
418 | components: { qlrCommonTable, tdytTable, selectTable }, | 383 | components: { qlrCommonTable, tdytTable, selectTable }, |
419 | computed: { | 384 | computed: { |
420 | ...mapGetters(["dictData", "flag"]), | 385 | ...mapGetters(["dictData", "flag"]), |
421 | // 根据流程判断表单是否为只读 | 386 | // 根据流程判断表单是否为只读 |
422 | editDisabled() { | 387 | editDisabled () { |
423 | if (!this.ableOperation) { | 388 | if (!this.ableOperation) { |
424 | //只读状态 | 389 | //只读状态 |
425 | console.log("只读"); | 390 | console.log("只读"); |
426 | return true; | 391 | return true; |
427 | } | ||
428 | return false; | ||
429 | }, | ||
430 | }, | ||
431 | data() { | ||
432 | return { | ||
433 | ssqlxxshow: true, | ||
434 | props: { | ||
435 | label: "bdcqzh", | ||
436 | value: "bdcdyid", | ||
437 | }, | ||
438 | // 键名转换,方法默认是label和children进行树状渲染 | ||
439 | normalizer(node) { | ||
440 | //方法 | ||
441 | if (node.children == null || node.children == "null") { | ||
442 | delete node.children; | ||
443 | } | 392 | } |
444 | return { | 393 | return false; |
445 | id: node.dcode, | ||
446 | label: node.dname, | ||
447 | }; | ||
448 | }, | 394 | }, |
449 | //表单是否可操作 | 395 | }, |
450 | propsParam: this.$attrs, | 396 | data () { |
451 | key: 0, | 397 | return { |
452 | // 登记类型 | 398 | ssqlxxshow: true, |
453 | djlxlist: [ | 399 | props: { |
454 | { | 400 | label: "bdcqzh", |
455 | dcode: "100", | 401 | value: "bdcdyid", |
456 | dname: "首次登记", | ||
457 | }, | ||
458 | { | ||
459 | dcode: "200", | ||
460 | dname: "转移登记", | ||
461 | }, | ||
462 | { | ||
463 | dcode: "300", | ||
464 | dname: "变更登记", | ||
465 | }, | 402 | }, |
466 | { | 403 | // 键名转换,方法默认是label和children进行树状渲染 |
467 | dcode: "500", | 404 | normalizer (node) { |
468 | dname: "更正登记", | 405 | //方法 |
406 | if (node.children == null || node.children == "null") { | ||
407 | delete node.children; | ||
408 | } | ||
409 | return { | ||
410 | id: node.dcode, | ||
411 | label: node.dname, | ||
412 | }; | ||
469 | }, | 413 | }, |
414 | //表单是否可操作 | ||
415 | propsParam: this.$attrs, | ||
416 | key: 0, | ||
417 | // 登记类型 | ||
418 | djlxlist: [ | ||
419 | { | ||
420 | dcode: "100", | ||
421 | dname: "首次登记", | ||
422 | }, | ||
423 | { | ||
424 | dcode: "200", | ||
425 | dname: "转移登记", | ||
426 | }, | ||
427 | { | ||
428 | dcode: "300", | ||
429 | dname: "变更登记", | ||
430 | }, | ||
431 | { | ||
432 | dcode: "500", | ||
433 | dname: "更正登记", | ||
434 | }, | ||
470 | 435 | ||
471 | { | 436 | { |
472 | dcode: "901", | 437 | dcode: "901", |
473 | dname: "补证", | 438 | dname: "补证", |
474 | }, | 439 | }, |
475 | { | 440 | { |
476 | dcode: "902", | 441 | dcode: "902", |
477 | dname: "换证", | 442 | dname: "换证", |
478 | }, | 443 | }, |
479 | ], | ||
480 | // 权属状态 | ||
481 | qsztlist: [ | ||
482 | { | ||
483 | dcode: "1", | ||
484 | dname: "现势", | ||
485 | }, | ||
486 | { | ||
487 | dcode: "2", | ||
488 | dname: "历史", | ||
489 | }, | ||
490 | ], | ||
491 | isShow: false, | ||
492 | disabled: true, | ||
493 | czrOptions: [], | ||
494 | ssQlxxList: [], | ||
495 | ruleForm: {}, | ||
496 | ableOperation: false, | ||
497 | //传递参数\ | ||
498 | rules: { | ||
499 | bdcqzhrules: [ | ||
500 | { required: true, message: "不动产权证号:", trigger: "blur" }, | ||
501 | ], | 444 | ], |
502 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 445 | // 权属状态 |
503 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | 446 | qsztlist: [ |
504 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 447 | { |
505 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | 448 | dcode: "1", |
506 | djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], | 449 | dname: "现势", |
507 | }, | 450 | }, |
508 | }; | 451 | { |
509 | }, | 452 | dcode: "2", |
510 | created() {}, | 453 | dname: "历史", |
511 | mounted() { | 454 | }, |
512 | this.loadData(); | 455 | ], |
513 | this.ableOperation = this.$parent.ableOperation; | 456 | isShow: false, |
514 | }, | 457 | disabled: true, |
515 | methods: { | 458 | czrOptions: [], |
516 | /** | 459 | ssQlxxList: [], |
517 | * @description: ssQlxxchange | 460 | ruleForm: {}, |
518 | * @param {*} val | 461 | ableOperation: false, |
519 | * @author: renchao | 462 | //传递参数\ |
520 | */ | 463 | rules: { |
521 | ssQlxxchange(val) { | 464 | bdcqzhrules: [ |
522 | this.ruleForm.ssQlxx = val; | 465 | { required: true, message: "不动产权证号:", trigger: "blur" }, |
523 | this.ruleForm.qlxx.ssywh = val.ywh; | 466 | ], |
524 | }, | 467 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
525 | /** | 468 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
526 | * @description: djlxchange | 469 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
527 | * @param {*} val | 470 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
528 | * @author: renchao | 471 | djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], |
529 | */ | 472 | }, |
530 | djlxchange(val) { | 473 | }; |
531 | console.log("val", val); | ||
532 | if (val == null || val == 100) { | ||
533 | this.ssqlxxshow = false; | ||
534 | } else { | ||
535 | this.ssqlxxshow = true; | ||
536 | } | ||
537 | }, | 474 | }, |
538 | 475 | created () { }, | |
539 | // 字典 | 476 | mounted () { |
540 | /** | 477 | this.loadData(); |
541 | * @description: 字典 | 478 | this.ableOperation = this.$parent.ableOperation; |
542 | * @param {*} val | ||
543 | * @author: renchao | ||
544 | */ | ||
545 | getDictData(val) { | ||
546 | return store.getters.dictData[val]; | ||
547 | }, | 479 | }, |
548 | /** | 480 | methods: { |
549 | * @description: loadData | 481 | /** |
550 | * @author: renchao | 482 | * @description: ssQlxxchange |
551 | */ | 483 | * @param {*} val |
552 | loadData() { | 484 | * @author: renchao |
553 | this.$startLoading(); | 485 | */ |
554 | this.propsParam.isEdit = this.$parent.isEdit; | 486 | ssQlxxchange (val) { |
555 | init(this.propsParam).then((res) => { | 487 | this.ruleForm.ssQlxx = val; |
556 | if (res.code == 200) { | 488 | this.ruleForm.qlxx.ssywh = val.ywh; |
557 | this.ruleForm = res.result; | 489 | }, |
558 | let djlx = this.ruleForm.qlxx.djlx; | 490 | /** |
559 | if (djlx == null || djlx == 100) { | 491 | * @description: djlxchange |
560 | this.ssqlxxshow = false; | 492 | * @param {*} val |
561 | } | 493 | * @author: renchao |
562 | this.$endLoading(); | 494 | */ |
563 | // if (this.ruleForm.tdytqxList.length > 0) { | 495 | djlxchange (val) { |
564 | // this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | 496 | console.log("val", val); |
565 | // } else { | 497 | if (val == null || val == 100) { |
566 | // this.tdxz = null; | 498 | this.ssqlxxshow = false; |
567 | // } | 499 | } else { |
568 | this.isShow = true; | 500 | this.ssqlxxshow = true; |
569 | } | ||
570 | }); | ||
571 | //获取主体信息 | ||
572 | getSsQlxx({ | ||
573 | bdcdyid: this.propsParam.bdcdyid, | ||
574 | qllx: this.propsParam.qllx, | ||
575 | }).then((res) => { | ||
576 | if (res.code == 200) { | ||
577 | this.ssQlxxList = res.result; | ||
578 | } | 501 | } |
579 | }); | 502 | }, |
580 | }, | ||
581 | // 更新土地用途信息 | ||
582 | /** | ||
583 | * @description: 更新土地用途信息 | ||
584 | * @param {*} val | ||
585 | * @author: renchao | ||
586 | */ | ||
587 | upDateTdytxxList(val) { | ||
588 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
589 | this.key++; | ||
590 | }, | ||
591 | // 更新权利人信息 | ||
592 | /** | ||
593 | * @description: 更新权利人信息 | ||
594 | * @param {*} val | ||
595 | * @author: renchao | ||
596 | */ | ||
597 | upDateQlrxxList(val) { | ||
598 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
599 | this.czrOptions = this.ruleForm.qlrData; | ||
600 | this.key++; | ||
601 | }, | ||
602 | 503 | ||
603 | /** | 504 | // 字典 |
604 | * @description: onSubmit | 505 | /** |
605 | * @author: renchao | 506 | * @description: 字典 |
606 | */ | 507 | * @param {*} val |
607 | onSubmit() { | 508 | * @author: renchao |
608 | this.$refs.ruleForm.validate((valid) => { | 509 | */ |
609 | if (valid) { | 510 | getDictData (val) { |
610 | if (this.ruleForm.qlrData.length == 0) { | 511 | return store.getters.dictData[val]; |
611 | this.$message({ | 512 | }, |
612 | showClose: true, | 513 | /** |
613 | message: "请确认权利人信息", | 514 | * @description: loadData |
614 | type: "error", | 515 | * @author: renchao |
615 | }); | 516 | */ |
616 | return false; | 517 | loadData () { |
518 | this.$startLoading(); | ||
519 | this.propsParam.isEdit = this.$parent.isEdit; | ||
520 | init(this.propsParam).then((res) => { | ||
521 | if (res.code == 200) { | ||
522 | this.ruleForm = res.result; | ||
523 | let djlx = this.ruleForm.qlxx.djlx; | ||
524 | if (djlx == null || djlx == 100) { | ||
525 | this.ssqlxxshow = false; | ||
526 | } | ||
527 | this.$endLoading(); | ||
528 | // if (this.ruleForm.tdytqxList.length > 0) { | ||
529 | // this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | ||
530 | // } else { | ||
531 | // this.tdxz = null; | ||
532 | // } | ||
533 | this.isShow = true; | ||
617 | } | 534 | } |
618 | 535 | }); | |
619 | if (this.ruleForm.qlxx.gyfs == "0") { | 536 | //获取主体信息 |
620 | if (this.ruleForm.qlrData.length > 1) { | 537 | getSsQlxx({ |
538 | bdcdyid: this.propsParam.bdcdyid, | ||
539 | qllx: this.propsParam.qllx, | ||
540 | }).then((res) => { | ||
541 | if (res.code == 200) { | ||
542 | this.ssQlxxList = res.result; | ||
543 | } | ||
544 | }); | ||
545 | }, | ||
546 | // 更新土地用途信息 | ||
547 | /** | ||
548 | * @description: 更新土地用途信息 | ||
549 | * @param {*} val | ||
550 | * @author: renchao | ||
551 | */ | ||
552 | upDateTdytxxList (val) { | ||
553 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
554 | this.key++; | ||
555 | }, | ||
556 | // 更新权利人信息 | ||
557 | /** | ||
558 | * @description: 更新权利人信息 | ||
559 | * @param {*} val | ||
560 | * @author: renchao | ||
561 | */ | ||
562 | upDateQlrxxList (val) { | ||
563 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
564 | this.czrOptions = this.ruleForm.qlrData; | ||
565 | this.key++; | ||
566 | }, | ||
567 | /** | ||
568 | * @description: onSubmit | ||
569 | * @author: renchao | ||
570 | */ | ||
571 | onSubmit () { | ||
572 | this.$refs.ruleForm.validate((valid) => { | ||
573 | if (valid) { | ||
574 | if (this.ruleForm.qlrData.length == 0) { | ||
621 | this.$message({ | 575 | this.$message({ |
622 | showClose: true, | 576 | showClose: true, |
623 | message: "共有方式:单独所有,权利人只能是一个人", | 577 | message: "请确认权利人信息", |
624 | type: "error", | 578 | type: "error", |
625 | }); | 579 | }); |
626 | return false; | 580 | return false; |
627 | } | 581 | } |
628 | this.ruleForm.qlrData[0].sfczr = "1"; | 582 | |
629 | } | 583 | if (this.ruleForm.qlxx.gyfs == "0") { |
630 | if (this.ruleForm.qlxx.gyfs == "1") { | 584 | if (this.ruleForm.qlrData.length > 1) { |
631 | //是否分别持证 | 585 | this.$message({ |
632 | if (this.ruleForm.qlxx.sqfbcz == "1") { | 586 | showClose: true, |
633 | //是 | 587 | message: "共有方式:单独所有,权利人只能是一个人", |
634 | this.ruleForm.qlrData.forEach((item, index) => { | 588 | type: "error", |
635 | item.sfczr = "1"; | 589 | }); |
636 | }); | 590 | return false; |
637 | } else { | 591 | } |
638 | this.ruleForm.qlrData.forEach((item, index) => { | 592 | this.ruleForm.qlrData[0].sfczr = "1"; |
639 | if (item.zjh == this.ruleForm.czr) { | 593 | } |
594 | if (this.ruleForm.qlxx.gyfs == "1") { | ||
595 | //是否分别持证 | ||
596 | if (this.ruleForm.qlxx.sqfbcz == "1") { | ||
597 | //是 | ||
598 | this.ruleForm.qlrData.forEach((item, index) => { | ||
640 | item.sfczr = "1"; | 599 | item.sfczr = "1"; |
641 | } else { | 600 | }); |
642 | item.sfczr = "0"; | 601 | } else { |
643 | } | 602 | this.ruleForm.qlrData.forEach((item, index) => { |
644 | }); | 603 | if (item.zjh == this.ruleForm.czr) { |
604 | item.sfczr = "1"; | ||
605 | } else { | ||
606 | item.sfczr = "0"; | ||
607 | } | ||
608 | }); | ||
609 | } | ||
645 | } | 610 | } |
611 | save(this.ruleForm).then((res) => { | ||
612 | if (res.code === 200) { | ||
613 | this.$message({ | ||
614 | showClose: true, | ||
615 | message: "保存成功!", | ||
616 | type: "success", | ||
617 | }); | ||
618 | this.$store.dispatch("user/refreshPage", true); | ||
619 | } else { | ||
620 | this.$message({ | ||
621 | showClose: true, | ||
622 | message: res.message, | ||
623 | type: "error", | ||
624 | }); | ||
625 | } | ||
626 | }); | ||
627 | } else { | ||
628 | return false; | ||
646 | } | 629 | } |
647 | save(this.ruleForm).then((res) => { | 630 | }) |
648 | if (res.code === 200) { | 631 | } |
649 | this.$message({ | 632 | } |
650 | showClose: true, | 633 | } |
651 | message: "保存成功!", | ||
652 | type: "success", | ||
653 | }); | ||
654 | this.$store.dispatch("user/refreshPage", true); | ||
655 | } else { | ||
656 | this.$message({ | ||
657 | showClose: true, | ||
658 | message: res.message, | ||
659 | type: "error", | ||
660 | }); | ||
661 | } | ||
662 | }); | ||
663 | } else { | ||
664 | return false; | ||
665 | } | ||
666 | }); | ||
667 | }, | ||
668 | }, | ||
669 | }; | ||
670 | </script> | 634 | </script> |
671 | <style scoped lang="scss"> | 635 | <style scoped lang="scss"> |
672 | @import "~@/styles/public.scss"; | 636 | @import "~@/styles/public.scss"; |
673 | @import "~@/styles/slxx/slxx.scss"; | 637 | @import "~@/styles/slxx/slxx.scss"; |
674 | /deep/.el-form { | 638 | /deep/.el-form { |
675 | display: flex; | 639 | display: flex; |
676 | flex-direction: column; | 640 | flex-direction: column; |
677 | height: calc(100vh - 130px); | 641 | height: calc(100vh - 130px); |
678 | } | 642 | } |
679 | 643 | ||
680 | /deep/.el-form-item__label { | 644 | /deep/.el-form-item__label { |
681 | padding: 0; | 645 | padding: 0; |
682 | } | 646 | } |
683 | 647 | ||
684 | /deep/.el-radio { | 648 | /deep/.el-radio { |
685 | margin-right: 10px; | 649 | margin-right: 10px; |
686 | } | 650 | } |
687 | 651 | ||
688 | /deep/.el-select { | 652 | /deep/.el-select { |
689 | width: 100%; | 653 | width: 100%; |
690 | } | 654 | } |
691 | 655 | ||
692 | /deep/.el-form-item { | 656 | /deep/.el-form-item { |
693 | margin-bottom: 8px; | 657 | margin-bottom: 8px; |
694 | } | 658 | } |
695 | 659 | ||
696 | .marginBot0 { | 660 | .marginBot0 { |
697 | margin-bottom: 0 !important; | 661 | margin-bottom: 0 !important; |
698 | } | 662 | } |
699 | 663 | ||
700 | .slxx { | 664 | .slxx { |
701 | box-sizing: border-box; | 665 | box-sizing: border-box; |
702 | } | 666 | } |
703 | 667 | ||
704 | .slxx_con { | 668 | .slxx_con { |
705 | flex: 1; | 669 | flex: 1; |
706 | height: 100%; | 670 | height: 100%; |
707 | background-color: #ffffff; | 671 | background-color: #ffffff; |
708 | overflow-y: auto; | 672 | overflow-y: auto; |
709 | padding-right: 3px; | 673 | padding-right: 3px; |
710 | overflow-x: hidden; | 674 | overflow-x: hidden; |
711 | } | 675 | } |
712 | 676 | ||
713 | .submit_btn { | 677 | .submit_btn { |
714 | height: 50px; | 678 | height: 50px; |
715 | } | 679 | } |
716 | 680 | ||
717 | .slxx_title { | 681 | .slxx_title { |
718 | border-bottom: 1px solid $borderColor; | 682 | border-bottom: 1px solid $borderColor; |
719 | padding-left: 10px; | 683 | padding-left: 10px; |
720 | padding-bottom: 5px; | 684 | padding-bottom: 5px; |
721 | margin-bottom: 10px; | 685 | margin-bottom: 10px; |
722 | margin-top: 5px; | 686 | margin-top: 5px; |
723 | font-size: 16px; | 687 | font-size: 16px; |
724 | font-weight: 500; | 688 | font-weight: 500; |
725 | color: #4a4a4a; | 689 | color: #4a4a4a; |
726 | } | 690 | } |
727 | 691 | ||
728 | .btn { | 692 | .btn { |
729 | text-align: center; | 693 | text-align: center; |
730 | padding-top: 10px; | 694 | padding-top: 10px; |
731 | height: 36px; | 695 | height: 36px; |
732 | background-color: #ffffff; | 696 | background-color: #ffffff; |
733 | padding: 5px 0; | 697 | padding: 5px 0; |
734 | } | 698 | } |
735 | 699 | ||
736 | .textArea { | 700 | .textArea { |
737 | /deep/.el-textarea__inner { | 701 | /deep/.el-textarea__inner { |
738 | min-height: 90px !important; | 702 | min-height: 90px !important; |
703 | } | ||
739 | } | 704 | } |
740 | } | ||
741 | 705 | ||
742 | /deep/.el-form-item__label { | 706 | /deep/.el-form-item__label { |
743 | padding-bottom: 0px; | 707 | padding-bottom: 0px; |
744 | } | 708 | } |
745 | </style> | 709 | </style> | ... | ... |
... | @@ -72,6 +72,30 @@ | ... | @@ -72,6 +72,30 @@ |
72 | </select-table> | 72 | </select-table> |
73 | </el-form-item> | 73 | </el-form-item> |
74 | </el-col> | 74 | </el-col> |
75 | <el-col :span="8"> | ||
76 | <el-form-item label="上手业务号:"> | ||
77 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | ||
78 | </el-form-item> | ||
79 | </el-col> | ||
80 | <el-col :span="8"> | ||
81 | <el-form-item | ||
82 | label="登记类型:" | ||
83 | prop="qlxx.djlx" | ||
84 | :rules="rules.djlxrules" | ||
85 | > | ||
86 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | ||
87 | <el-option | ||
88 | v-for="item in djlxlist" | ||
89 | :key="item.dcode" | ||
90 | :label="item.dname" | ||
91 | :value="item.dcode" | ||
92 | > | ||
93 | </el-option> | ||
94 | </el-select> | ||
95 | </el-form-item> | ||
96 | </el-col> | ||
97 | </el-row> | ||
98 | <el-row> | ||
75 | <el-col :span="8"> | 99 | <el-col :span="8"> |
76 | <el-form-item label="不动产单元号:"> | 100 | <el-form-item label="不动产单元号:"> |
77 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> | 101 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> |
... | @@ -83,11 +107,6 @@ | ... | @@ -83,11 +107,6 @@ |
83 | </el-form-item> | 107 | </el-form-item> |
84 | </el-col> | 108 | </el-col> |
85 | <el-col :span="8"> | 109 | <el-col :span="8"> |
86 | <el-form-item label="上手业务号:"> | ||
87 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | ||
88 | </el-form-item> | ||
89 | </el-col> | ||
90 | <el-col :span="8"> | ||
91 | <el-form-item label="权利类型:"> | 110 | <el-form-item label="权利类型:"> |
92 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | 111 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> |
93 | </el-form-item> | 112 | </el-form-item> |
... | @@ -98,19 +117,6 @@ | ... | @@ -98,19 +117,6 @@ |
98 | </el-form-item> | 117 | </el-form-item> |
99 | </el-col> | 118 | </el-col> |
100 | <el-col :span="8"> | 119 | <el-col :span="8"> |
101 | <el-form-item label="登记类型:" prop="qlxx.djlx" :rules="rules.djlxrules"> | ||
102 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | ||
103 | <el-option | ||
104 | v-for="item in djlxlist" | ||
105 | :key="item.dcode" | ||
106 | :label="item.dname" | ||
107 | :value="item.dcode" | ||
108 | > | ||
109 | </el-option> | ||
110 | </el-select> | ||
111 | </el-form-item> | ||
112 | </el-col> | ||
113 | <el-col :span="8"> | ||
114 | <el-form-item label="不动产坐落:"> | 120 | <el-form-item label="不动产坐落:"> |
115 | <el-input v-model="ruleForm.qlxx.zl"></el-input> | 121 | <el-input v-model="ruleForm.qlxx.zl"></el-input> |
116 | </el-form-item> | 122 | </el-form-item> | ... | ... |
1 | /* | 1 | /* |
2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 | 2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-07-20 15:37:23 | 4 | * @LastEditTime: 2023-07-31 10:03:23 |
5 | */ | 5 | */ |
6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; | 7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; |
... | @@ -18,7 +18,7 @@ import { | ... | @@ -18,7 +18,7 @@ import { |
18 | unClaimTask | 18 | unClaimTask |
19 | } from "@/api/workFlow.js"; | 19 | } from "@/api/workFlow.js"; |
20 | export default { | 20 | export default { |
21 | data() { | 21 | data () { |
22 | return { | 22 | return { |
23 | //是否开启材料分屏 | 23 | //是否开启材料分屏 |
24 | splitScreen: false, | 24 | splitScreen: false, |
... | @@ -39,7 +39,7 @@ export default { | ... | @@ -39,7 +39,7 @@ export default { |
39 | 39 | ||
40 | } | 40 | } |
41 | }, | 41 | }, |
42 | mounted() { | 42 | mounted () { |
43 | this.flowInitParam(); | 43 | this.flowInitParam(); |
44 | }, | 44 | }, |
45 | methods: { | 45 | methods: { |
... | @@ -48,7 +48,7 @@ export default { | ... | @@ -48,7 +48,7 @@ export default { |
48 | * @description: 加载流程初始参数 | 48 | * @description: 加载流程初始参数 |
49 | * @author: renchao | 49 | * @author: renchao |
50 | */ | 50 | */ |
51 | flowInitParam() { | 51 | flowInitParam () { |
52 | var formdata = new FormData(); | 52 | var formdata = new FormData(); |
53 | 53 | ||
54 | formdata.append("bsmSlsq", this.bsmSlsq); | 54 | formdata.append("bsmSlsq", this.bsmSlsq); |
... | @@ -59,7 +59,7 @@ export default { | ... | @@ -59,7 +59,7 @@ export default { |
59 | stepExpandInfo(formdata).then((res) => { | 59 | stepExpandInfo(formdata).then((res) => { |
60 | if (res.code === 200) { | 60 | if (res.code === 200) { |
61 | this.leftButtonList = res.result.button; | 61 | this.leftButtonList = res.result.button; |
62 | if (res.result.properties&&res.result.properties.length) { | 62 | if (res.result.properties && res.result.properties.length) { |
63 | this.showidea = res.result.properties[0].value | 63 | this.showidea = res.result.properties[0].value |
64 | } | 64 | } |
65 | 65 | ||
... | @@ -67,16 +67,12 @@ export default { | ... | @@ -67,16 +67,12 @@ export default { |
67 | let arr = this.rightButtonList.filter((item) => { | 67 | let arr = this.rightButtonList.filter((item) => { |
68 | return item.name == "删除" | 68 | return item.name == "删除" |
69 | }) | 69 | }) |
70 | 70 | this.$refs.Menu.getleftMenubl(); | |
71 | if (arr.length) { | 71 | if (!arr.length) { |
72 | this.$refs.Menu.getleftMenubl(); | 72 | this.isEdit = false |
73 | } else { | ||
74 | this.ableOperation = false | ||
75 | this.$refs.Menu.getleftMenubl(); | ||
76 | } | 73 | } |
77 | } | 74 | } |
78 | }) | 75 | }) |
79 | |||
80 | }, | 76 | }, |
81 | //流程环节操作按钮 | 77 | //流程环节操作按钮 |
82 | /** | 78 | /** |
... | @@ -84,7 +80,7 @@ export default { | ... | @@ -84,7 +80,7 @@ export default { |
84 | * @param {*} item | 80 | * @param {*} item |
85 | * @author: renchao | 81 | * @author: renchao |
86 | */ | 82 | */ |
87 | operation(item) { | 83 | operation (item) { |
88 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 | 84 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 |
89 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout | 85 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout |
90 | let that = this; | 86 | let that = this; |
... | @@ -294,7 +290,7 @@ export default { | ... | @@ -294,7 +290,7 @@ export default { |
294 | * @description: del | 290 | * @description: del |
295 | * @author: renchao | 291 | * @author: renchao |
296 | */ | 292 | */ |
297 | del() { | 293 | del () { |
298 | let formdata = new FormData(); | 294 | let formdata = new FormData(); |
299 | formdata.append("bsmSlsq", this.bsmSlsq); | 295 | formdata.append("bsmSlsq", this.bsmSlsq); |
300 | this.$confirm("确定要删除吗, 是否继续?", "提示", { | 296 | this.$confirm("确定要删除吗, 是否继续?", "提示", { |
... | @@ -329,7 +325,7 @@ export default { | ... | @@ -329,7 +325,7 @@ export default { |
329 | * @param {*} obj | 325 | * @param {*} obj |
330 | * @author: renchao | 326 | * @author: renchao |
331 | */ | 327 | */ |
332 | sendToNext(obj) { | 328 | sendToNext (obj) { |
333 | this.$popupDialog("转出", "djbworkflow/components/zc", { | 329 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
334 | obj: obj, | 330 | obj: obj, |
335 | bsmSlsq: this.bsmSlsq, | 331 | bsmSlsq: this.bsmSlsq, |
... | @@ -342,7 +338,7 @@ export default { | ... | @@ -342,7 +338,7 @@ export default { |
342 | * @description: 转出最后一个流程 | 338 | * @description: 转出最后一个流程 |
343 | * @author: renchao | 339 | * @author: renchao |
344 | */ | 340 | */ |
345 | sendToEnd() { | 341 | sendToEnd () { |
346 | this.$popupDialog("转出", "djbworkflow/components/zc", { | 342 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
347 | obj: "", | 343 | obj: "", |
348 | bsmSlsq: this.bsmSlsq, | 344 | bsmSlsq: this.bsmSlsq, |
... | @@ -357,7 +353,7 @@ export default { | ... | @@ -357,7 +353,7 @@ export default { |
357 | * @description: 批量操作 | 353 | * @description: 批量操作 |
358 | * @author: renchao | 354 | * @author: renchao |
359 | */ | 355 | */ |
360 | handleBatchDel() { | 356 | handleBatchDel () { |
361 | this.$popupDialog("批量删除", "workflow/components/batchDel", { | 357 | this.$popupDialog("批量删除", "workflow/components/batchDel", { |
362 | width: "50%", | 358 | width: "50%", |
363 | btnShow: false, | 359 | btnShow: false, |
... | @@ -371,7 +367,7 @@ export default { | ... | @@ -371,7 +367,7 @@ export default { |
371 | * @param {*} file | 367 | * @param {*} file |
372 | * @author: renchao | 368 | * @author: renchao |
373 | */ | 369 | */ |
374 | handleChange(file) { | 370 | handleChange (file) { |
375 | var formdata = new FormData(); | 371 | var formdata = new FormData(); |
376 | formdata.append("file", file.raw); | 372 | formdata.append("file", file.raw); |
377 | formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); | 373 | formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); |
... | @@ -390,7 +386,7 @@ export default { | ... | @@ -390,7 +386,7 @@ export default { |
390 | * @param {*} file | 386 | * @param {*} file |
391 | * @author: renchao | 387 | * @author: renchao |
392 | */ | 388 | */ |
393 | beforeUpload(file) { | 389 | beforeUpload (file) { |
394 | return true; | 390 | return true; |
395 | } | 391 | } |
396 | } | 392 | } | ... | ... |
... | @@ -126,7 +126,7 @@ | ... | @@ -126,7 +126,7 @@ |
126 | </el-col> | 126 | </el-col> |
127 | <el-col :span="8"> | 127 | <el-col :span="8"> |
128 | <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> | 128 | <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> |
129 | <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!ableOperation"> | 129 | <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!ableOperation|| isJfOperation"> |
130 | <el-radio label="1">启用</el-radio> | 130 | <el-radio label="1">启用</el-radio> |
131 | <el-radio label="0">禁用</el-radio> | 131 | <el-radio label="0">禁用</el-radio> |
132 | </el-radio-group> | 132 | </el-radio-group> |
... | @@ -138,8 +138,8 @@ | ... | @@ -138,8 +138,8 @@ |
138 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> | 138 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> |
139 | <el-form-item label="被担保主债权数额:"> | 139 | <el-form-item label="被担保主债权数额:"> |
140 | <div style="display:flex"> | 140 | <div style="display:flex"> |
141 | <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation" style="width:500%"></el-input> | 141 | <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation|| isJfOperation" style="width:500%"></el-input> |
142 | <el-select v-model="ruleForm.diyaq.jedw" :disabled="!ableOperation"> | 142 | <el-select v-model="ruleForm.diyaq.jedw" :disabled="!ableOperation|| isJfOperation"> |
143 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 143 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
144 | </el-option> | 144 | </el-option> |
145 | </el-select> | 145 | </el-select> |
... | @@ -149,19 +149,19 @@ | ... | @@ -149,19 +149,19 @@ |
149 | 149 | ||
150 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> | 150 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> |
151 | <el-form-item label="最高债权额:"> | 151 | <el-form-item label="最高债权额:"> |
152 | <el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!ableOperation"></el-input> | 152 | <el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!ableOperation|| isJfOperation"></el-input> |
153 | </el-form-item> | 153 | </el-form-item> |
154 | </el-col> | 154 | </el-col> |
155 | 155 | ||
156 | <el-col :span="8"> | 156 | <el-col :span="8"> |
157 | <el-form-item label="债务履行起始时间:"> | 157 | <el-form-item label="债务履行起始时间:"> |
158 | <el-date-picker v-model="ruleForm.diyaq.zwlxqssj" :disabled="!ableOperation" type="date"> | 158 | <el-date-picker v-model="ruleForm.diyaq.zwlxqssj" :disabled="!ableOperation|| isJfOperation" type="date"> |
159 | </el-date-picker> | 159 | </el-date-picker> |
160 | </el-form-item> | 160 | </el-form-item> |
161 | </el-col> | 161 | </el-col> |
162 | <el-col :span="8"> | 162 | <el-col :span="8"> |
163 | <el-form-item label="债务履行结束时间:"> | 163 | <el-form-item label="债务履行结束时间:"> |
164 | <el-date-picker v-model="ruleForm.diyaq.zwlxjssj" :disabled="!ableOperation" type="date"> | 164 | <el-date-picker v-model="ruleForm.diyaq.zwlxjssj" :disabled="!ableOperation|| isJfOperation" type="date"> |
165 | </el-date-picker> | 165 | </el-date-picker> |
166 | </el-form-item> | 166 | </el-form-item> |
167 | </el-col> | 167 | </el-col> |
... | @@ -170,21 +170,21 @@ | ... | @@ -170,21 +170,21 @@ |
170 | <el-col :span="24"> | 170 | <el-col :span="24"> |
171 | <el-form-item label="担保范围:"> | 171 | <el-form-item label="担保范围:"> |
172 | <el-input v-model="ruleForm.diyaq.dbfw" | 172 | <el-input v-model="ruleForm.diyaq.dbfw" |
173 | :disabled="ruleForm.sldy.djlx == '300'&& !ableOperation"></el-input> | 173 | :disabled="ruleForm.sldy.djlx == '300'&& !ableOperation|| isJfOperation"></el-input> |
174 | </el-form-item> | 174 | </el-form-item> |
175 | </el-col> | 175 | </el-col> |
176 | </el-row> | 176 | </el-row> |
177 | <el-row> | 177 | <el-row> |
178 | <el-col :span="24"> | 178 | <el-col :span="24"> |
179 | <el-form-item label="最高债权确定事实和数额:"> | 179 | <el-form-item label="最高债权确定事实和数额:"> |
180 | <el-input v-model="ruleForm.diyaq.zgzqqdss" :disabled="!ableOperation"></el-input> | 180 | <el-input v-model="ruleForm.diyaq.zgzqqdss" :disabled="!ableOperation|| isJfOperation"></el-input> |
181 | </el-form-item> | 181 | </el-form-item> |
182 | </el-col> | 182 | </el-col> |
183 | </el-row> | 183 | </el-row> |
184 | <el-row> | 184 | <el-row> |
185 | <el-col> | 185 | <el-col> |
186 | <el-form-item label="附记:" prop="fj"> | 186 | <el-form-item label="附记:" prop="fj"> |
187 | <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!ableOperation"></el-input> | 187 | <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!ableOperation|| isJfOperation"></el-input> |
188 | </el-form-item> | 188 | </el-form-item> |
189 | </el-col> | 189 | </el-col> |
190 | </el-row> | 190 | </el-row> |
... | @@ -267,6 +267,9 @@ | ... | @@ -267,6 +267,9 @@ |
267 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 267 | this.ableOperation = this.$parent.currentSelectTab.ableOperation |
268 | this.propsParam = this.$attrs; | 268 | this.propsParam = this.$attrs; |
269 | var formdata = new FormData(); | 269 | var formdata = new FormData(); |
270 | if (this.propsParam.djlx == '400') { | ||
271 | this.isJfOperation = true; | ||
272 | } | ||
270 | this.$startLoading(); | 273 | this.$startLoading(); |
271 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 274 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
272 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | 275 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
... | @@ -296,6 +299,7 @@ | ... | @@ -296,6 +299,7 @@ |
296 | diyaq: {}, | 299 | diyaq: {}, |
297 | gyfs: "", | 300 | gyfs: "", |
298 | }, | 301 | }, |
302 | isJfOperation: false, | ||
299 | //传递参数 | 303 | //传递参数 |
300 | propsParam: {}, | 304 | propsParam: {}, |
301 | rules: {}, | 305 | rules: {}, | ... | ... |
... | @@ -66,41 +66,78 @@ | ... | @@ -66,41 +66,78 @@ |
66 | </el-col> | 66 | </el-col> |
67 | <el-col :span="8"> | 67 | <el-col :span="8"> |
68 | <el-form-item label="规划用途:"> | 68 | <el-form-item label="规划用途:"> |
69 | <el-input disabled v-model="ruleForm.ygdj.ytmc"></el-input> | 69 | <el-select v-model="ruleForm.ygdj.ghyt"> |
70 | <el-option | ||
71 | v-for="item in dictData['A17']" | ||
72 | :key="item.dcode" | ||
73 | :label="item.dname" | ||
74 | :value="item.dcode" | ||
75 | > | ||
76 | </el-option> | ||
77 | </el-select> | ||
70 | </el-form-item> | 78 | </el-form-item> |
71 | </el-col> | 79 | </el-col> |
72 | <el-col :span="8"> | 80 | <el-col :span="8"> |
73 | <el-form-item label="房屋性质:"> | 81 | <el-form-item label="房屋性质:"> |
74 | <el-input disabled v-model="ruleForm.ygdj.fwxzmc"></el-input> | 82 | <el-select v-model="ruleForm.ygdj.fwxz"> |
83 | <el-option | ||
84 | v-for="item in dictData['A19']" | ||
85 | :key="item.dcode" | ||
86 | :label="item.dname" | ||
87 | :value="item.dcode" | ||
88 | > | ||
89 | </el-option> | ||
90 | </el-select> | ||
75 | </el-form-item> | 91 | </el-form-item> |
76 | </el-col> | 92 | </el-col> |
77 | </el-row> | 93 | </el-row> |
78 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | 94 | <el-row :gutter="10" v-if="ruleForm.qlxx"> |
79 | <el-col :span="8"> | 95 | <el-col :span="8"> |
80 | <el-form-item label="房屋结构:"> | 96 | <el-form-item label="房屋结构:"> |
81 | <el-input disabled v-model="ruleForm.ygdj.fwjgmc"></el-input> | 97 | <el-select v-model="ruleForm.ygdj.fwjg"> |
98 | <el-option | ||
99 | v-for="item in dictData['A46']" | ||
100 | :key="item.dcode" | ||
101 | :label="item.dname" | ||
102 | :value="item.dcode" | ||
103 | > | ||
104 | </el-option> | ||
105 | </el-select> | ||
82 | </el-form-item> | 106 | </el-form-item> |
83 | </el-col> | 107 | </el-col> |
84 | <el-col :span="8"> | 108 | <el-col :span="8"> |
85 | <el-form-item label="建筑面积:"> | 109 | <el-form-item label="建筑面积:"> |
86 | <el-input disabled v-model="ruleForm.ygdj.jzmj"></el-input> | 110 | <el-input v-model="ruleForm.ygdj.jzmj"></el-input> |
87 | </el-form-item> | 111 | </el-form-item> |
88 | </el-col> | 112 | </el-col> |
89 | <el-col :span="8"> | 113 | <el-col :span="8"> |
90 | <el-form-item label="取得价格:"> | 114 | <el-form-item label="取得价格:"> |
91 | <el-input disabled v-model="ruleForm.ygdj.qdjg"></el-input> | 115 | <div class="flex"> |
116 | <el-input v-model="ruleForm.ygdj.qdjg"></el-input> | ||
117 | <el-select | ||
118 | v-model="ruleForm.ygdj.jedw" | ||
119 | :disabled="!ableOperation" | ||
120 | style="width: 20%"> | ||
121 | <el-option | ||
122 | v-for="item in dictData['A57']" | ||
123 | :key="item.dcode" | ||
124 | :label="item.dname" | ||
125 | :value="item.dcode"> | ||
126 | </el-option> | ||
127 | </el-select> | ||
128 | </div> | ||
92 | </el-form-item> | 129 | </el-form-item> |
93 | </el-col> | 130 | </el-col> |
94 | </el-row> | 131 | </el-row> |
95 | <el-row :gutter="10"> | 132 | <el-row :gutter="10"> |
96 | <el-col :span="8"> | 133 | <el-col :span="8"> |
97 | <el-form-item label="所在层:"> | 134 | <el-form-item label="所在层:"> |
98 | <el-input disabled v-model="ruleForm.ygdj.szc"></el-input> | 135 | <el-input v-model="ruleForm.ygdj.szc"></el-input> |
99 | </el-form-item> | 136 | </el-form-item> |
100 | </el-col> | 137 | </el-col> |
101 | <el-col :span="8"> | 138 | <el-col :span="8"> |
102 | <el-form-item label="总层数:"> | 139 | <el-form-item label="总层数:"> |
103 | <el-input disabled v-model="ruleForm.ygdj.zcs"></el-input> | 140 | <el-input v-model="ruleForm.ygdj.zcs"></el-input> |
104 | </el-form-item> | 141 | </el-form-item> |
105 | </el-col> | 142 | </el-col> |
106 | </el-row> | 143 | </el-row> | ... | ... |
... | @@ -43,80 +43,93 @@ | ... | @@ -43,80 +43,93 @@ |
43 | </el-col> | 43 | </el-col> |
44 | </el-row> | 44 | </el-row> |
45 | <div class="slxx_title title-block"> | 45 | <div class="slxx_title title-block"> |
46 | 不动产情况 | 46 | 预告买卖登记情况 |
47 | <div class="triangle"></div> | 47 | <div class="triangle"></div> |
48 | </div> | 48 | </div> |
49 | <el-row :gutter="10"> | 49 | <el-row :gutter="10"> |
50 | <el-col :span="8"> | 50 | <el-col :span="8"> |
51 | <el-form-item label="权利类型:"> | 51 | <el-form-item label="权利类型:"> |
52 | <el-input disabled v-model="ruleForm.ssQlxx.qllxmc"></el-input> | 52 | <el-input disabled v-model="ruleForm.ztQlxx.qllxmc"></el-input> |
53 | </el-form-item> | 53 | </el-form-item> |
54 | </el-col> | 54 | </el-col> |
55 | <el-col :span="8"> | 55 | <el-col :span="8"> |
56 | <el-form-item label="不动产权证号:"> | 56 | <el-form-item label="不动产权证号:"> |
57 | <el-input disabled v-model="ruleForm.ssQlxx.bdcqzh"></el-input> | 57 | <el-input disabled v-model="ruleForm.ztQlxx.bdcqzh"></el-input> |
58 | </el-form-item> | 58 | </el-form-item> |
59 | </el-col> | 59 | </el-col> |
60 | <el-col :span="8"> | 60 | <el-col :span="8"> |
61 | <el-form-item label="不动产单元号:"> | 61 | <el-form-item label="不动产单元号:"> |
62 | <el-input disabled v-model="ruleForm.ssQlxx.bdcdyh"></el-input> | 62 | <el-input disabled v-model="ruleForm.ztQlxx.bdcdyh"></el-input> |
63 | </el-form-item> | 63 | </el-form-item> |
64 | </el-col> | 64 | </el-col> |
65 | </el-row> | 65 | </el-row> |
66 | <el-row :gutter="10"> | 66 | <el-row :gutter="10"> |
67 | <el-col :span="8"> | 67 | <el-col :span="8"> |
68 | <el-form-item label="权利人:"> | 68 | <el-form-item label="权利人:"> |
69 | <el-input disabled v-model="ruleForm.ssQlxx.qlrmc"></el-input> | 69 | <el-input disabled v-model="ruleForm.ztQlxx.qlrmc"></el-input> |
70 | </el-form-item> | 70 | </el-form-item> |
71 | </el-col> | 71 | </el-col> |
72 | <el-col :span="8"> | 72 | <el-col :span="8"> |
73 | <el-form-item label="证件种类:"> | 73 | <el-form-item label="证件种类:"> |
74 | <el-input disabled v-model="ruleForm.ssQlxx.qlrzjzl"></el-input> | 74 | <el-input disabled v-model="ruleForm.ztQlxx.qlrzjzl"></el-input> |
75 | </el-form-item> | 75 | </el-form-item> |
76 | </el-col> | 76 | </el-col> |
77 | <el-col :span="8"> | 77 | <el-col :span="8"> |
78 | <el-form-item label="证件号:"> | 78 | <el-form-item label="证件号:"> |
79 | <el-input disabled v-model="ruleForm.ssQlxx.qlrzjhm"></el-input> | 79 | <el-input disabled v-model="ruleForm.ztQlxx.qlrzjhm"></el-input> |
80 | </el-form-item> | 80 | </el-form-item> |
81 | </el-col> | 81 | </el-col> |
82 | </el-row> | 82 | </el-row> |
83 | <el-row :gutter="10"> | 83 | <el-row :gutter="10"> |
84 | <el-col :span="8"> | 84 | <el-col :span="8"> |
85 | <el-form-item label="房屋面积:"> | 85 | <el-form-item label="房屋面积:"> |
86 | <el-input disabled v-model="ruleForm.ssQlxx.mjmc"></el-input> | 86 | <el-input disabled v-model="ruleForm.ztQlxx.mjmc"></el-input> |
87 | </el-form-item> | 87 | </el-form-item> |
88 | </el-col> | 88 | </el-col> |
89 | <el-col :span="8"> | 89 | <el-col :span="8"> |
90 | <el-form-item label="房屋用途:"> | 90 | <el-form-item label="房屋用途:"> |
91 | <el-input disabled v-model="ruleForm.ssQlxx.ytmc"></el-input> | 91 | <el-input disabled v-model="ruleForm.ztQlxx.ytmc"></el-input> |
92 | </el-form-item> | 92 | </el-form-item> |
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.ssQlxx.qlxzmc"></el-input> | 96 | <el-input disabled v-model="ruleForm.ztQlxx.qlxzmc"></el-input> |
97 | </el-form-item> | 97 | </el-form-item> |
98 | </el-col> | 98 | </el-col> |
99 | </el-row> | 99 | </el-row> |
100 | <el-row :gutter="10"> | 100 | <el-row :gutter="10"> |
101 | <el-col :span="8"> | 101 | <el-col :span="8"> |
102 | <el-form-item label="房屋取得价格:"> | 102 | <el-form-item label="房屋取得价格:"> |
103 | <el-input disabled v-model="ruleForm.ssQlxx.qdjg"></el-input> | 103 | <el-input disabled v-model="ruleForm.ztQlxx.qdjgmc"></el-input> |
104 | </el-form-item> | 104 | </el-form-item> |
105 | </el-col> | 105 | </el-col> |
106 | <el-col :span="16"> | 106 | <el-col :span="16"> |
107 | <el-form-item label="不动产坐落:"> | 107 | <el-form-item label="不动产坐落:"> |
108 | <el-input disabled v-model="ruleForm.ssQlxx.zl"></el-input> | 108 | <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input> |
109 | </el-form-item> | 109 | </el-form-item> |
110 | </el-col> | 110 | </el-col> |
111 | </el-row> | 111 | </el-row> |
112 | <div class="slxx_title title-block"> | 112 | <div class="slxx_title title-block"> |
113 | 抵押情况 | 113 | 预告抵押情况 |
114 | <div class="triangle"></div> | 114 | <div class="triangle"></div> |
115 | </div> | 115 | </div> |
116 | <el-row :gutter="10"> | 116 | <el-row :gutter="10"> |
117 | <el-col :span="8"> | 117 | <el-col :span="8"> |
118 | <el-form-item label="被担保主债权数额:"> | 118 | <el-form-item label="被担保主债权数额:"> |
119 | <div class="flex"> | ||
119 | <el-input v-model="ruleForm.ygdj.qdjg" :disabled="!ableOperation"></el-input> | 120 | <el-input v-model="ruleForm.ygdj.qdjg" :disabled="!ableOperation"></el-input> |
121 | <el-select | ||
122 | v-model="ruleForm.ygdj.jedw" | ||
123 | :disabled="!ableOperation" | ||
124 | style="width: 20%"> | ||
125 | <el-option | ||
126 | v-for="item in dictData['A57']" | ||
127 | :key="item.dcode" | ||
128 | :label="item.dname" | ||
129 | :value="item.dcode"> | ||
130 | </el-option> | ||
131 | </el-select> | ||
132 | </div> | ||
120 | </el-form-item> | 133 | </el-form-item> |
121 | </el-col> | 134 | </el-col> |
122 | <el-col :span="8"> | 135 | <el-col :span="8"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 11:17:58 | 4 | * @LastEditTime: 2023-07-31 09:11:52 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -41,7 +41,6 @@ | ... | @@ -41,7 +41,6 @@ |
41 | <el-col :span="3" class="btnColRight"> | 41 | <el-col :span="3" class="btnColRight"> |
42 | <el-form-item> | 42 | <el-form-item> |
43 | <el-button type="primary" @click="queryClick">查询</el-button> | 43 | <el-button type="primary" @click="queryClick">查询</el-button> |
44 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> | ||
45 | </el-form-item> | 44 | </el-form-item> |
46 | </el-col> | 45 | </el-col> |
47 | </el-row> | 46 | </el-row> |
... | @@ -65,7 +64,7 @@ | ... | @@ -65,7 +64,7 @@ |
65 | </div> | 64 | </div> |
66 | <div class="submit_button"> | 65 | <div class="submit_button"> |
67 | <el-button @click="$popupCacel">取消</el-button> | 66 | <el-button @click="$popupCacel">取消</el-button> |
68 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 67 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
69 | </div> | 68 | </div> |
70 | </div> | 69 | </div> |
71 | </template> | 70 | </template> |
... | @@ -87,6 +86,7 @@ | ... | @@ -87,6 +86,7 @@ |
87 | mixins: [table, jump], | 86 | mixins: [table, jump], |
88 | data () { | 87 | data () { |
89 | return { | 88 | return { |
89 | loading: false, | ||
90 | queryForm: defaultParameters.defaultParameters(), | 90 | queryForm: defaultParameters.defaultParameters(), |
91 | tableData: { | 91 | tableData: { |
92 | total: 0, | 92 | total: 0, |
... | @@ -129,6 +129,7 @@ | ... | @@ -129,6 +129,7 @@ |
129 | return; | 129 | return; |
130 | } | 130 | } |
131 | if (!this.isJump) { | 131 | if (!this.isJump) { |
132 | this.loading = true | ||
132 | startBusinessFlow({ | 133 | startBusinessFlow({ |
133 | bsmSqyw: this.bsmSqyw, | 134 | bsmSqyw: this.bsmSqyw, |
134 | bdcdysz: this.bdcdysz, | 135 | bdcdysz: this.bdcdysz, |
... | @@ -137,6 +138,7 @@ | ... | @@ -137,6 +138,7 @@ |
137 | djqxmc: | 138 | djqxmc: |
138 | this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 139 | this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
139 | }).then((res) => { | 140 | }).then((res) => { |
141 | this.loading = false | ||
140 | if (res.code == 200) { | 142 | if (res.code == 200) { |
141 | this.$message({ | 143 | this.$message({ |
142 | showClose: true, | 144 | showClose: true, |
... | @@ -155,10 +157,12 @@ | ... | @@ -155,10 +157,12 @@ |
155 | } | 157 | } |
156 | }) | 158 | }) |
157 | } else { | 159 | } else { |
160 | this.loading = true | ||
158 | choiceBdcdy({ | 161 | choiceBdcdy({ |
159 | bsmSlsq: this.$route.query.bsmSlsq, | 162 | bsmSlsq: this.$route.query.bsmSlsq, |
160 | bdcdysz: this.bdcdysz, | 163 | bdcdysz: this.bdcdysz, |
161 | }).then((res) => { | 164 | }).then((res) => { |
165 | this.loading = false | ||
162 | if (res.code == 200) { | 166 | if (res.code == 200) { |
163 | this.$message({ | 167 | this.$message({ |
164 | showClose: true, | 168 | showClose: true, |
... | @@ -233,11 +237,11 @@ | ... | @@ -233,11 +237,11 @@ |
233 | this.$refs.table.toggleRowSelection(row); | 237 | this.$refs.table.toggleRowSelection(row); |
234 | } | 238 | } |
235 | }, | 239 | }, |
236 | /** | 240 | /** |
237 | * @description: openBook | 241 | * @description: openBook |
238 | * @param {*} row | 242 | * @param {*} row |
239 | * @author: miaofang | 243 | * @author: miaofang |
240 | */ | 244 | */ |
241 | openBook (row) { | 245 | openBook (row) { |
242 | console.log("的急急急急急急"); | 246 | console.log("的急急急急急急"); |
243 | var param = { | 247 | var param = { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:46:02 | 4 | * @LastEditTime: 2023-07-31 10:03:31 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 抵押权利信息查询 --> | 7 | <!-- 抵押权利信息查询 --> |
... | @@ -38,7 +38,7 @@ | ... | @@ -38,7 +38,7 @@ |
38 | </el-col> | 38 | </el-col> |
39 | <el-col :span="2" class="btnColRight"> | 39 | <el-col :span="2" class="btnColRight"> |
40 | <el-form-item> | 40 | <el-form-item> |
41 | <el-button type="primary" @click="handleSearch">查询</el-button> | 41 | <el-button type="primary" @click="handleSearch" :loading="loading">查询</el-button> |
42 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 42 | <el-button type="primary" @click="resetForm(true)">重置</el-button> |
43 | </el-form-item> | 43 | </el-form-item> |
44 | </el-col> | 44 | </el-col> |
... | @@ -55,7 +55,7 @@ | ... | @@ -55,7 +55,7 @@ |
55 | </div> | 55 | </div> |
56 | <div class="submit_button"> | 56 | <div class="submit_button"> |
57 | <el-button @click="$popupCacel">取消</el-button> | 57 | <el-button @click="$popupCacel">取消</el-button> |
58 | <el-button type="primary" plain @click="submitFormClick()">发起申请</el-button> | 58 | <el-button type="primary" plain @click="submitFormClick()" :loading="loading">发起申请</el-button> |
59 | </div> | 59 | </div> |
60 | </div> | 60 | </div> |
61 | </template> | 61 | </template> |
... | @@ -76,6 +76,7 @@ | ... | @@ -76,6 +76,7 @@ |
76 | }, | 76 | }, |
77 | data () { | 77 | data () { |
78 | return { | 78 | return { |
79 | loading: false, | ||
79 | queryForm: defaultParameters.defaultParameters(), | 80 | queryForm: defaultParameters.defaultParameters(), |
80 | qllxs: [], | 81 | qllxs: [], |
81 | tableData: { | 82 | tableData: { |
... | @@ -115,12 +116,14 @@ | ... | @@ -115,12 +116,14 @@ |
115 | this.$message.error("请至少选择一条数据"); | 116 | this.$message.error("请至少选择一条数据"); |
116 | return; | 117 | return; |
117 | } | 118 | } |
119 | this.loading = true | ||
118 | startBusinessFlow({ | 120 | startBusinessFlow({ |
119 | bsmSqyw: this.sqywInfo.parentid, | 121 | bsmSqyw: this.sqywInfo.parentid, |
120 | bdcdysz: this.bdcdysz, | 122 | bdcdysz: this.bdcdysz, |
121 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 123 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
122 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 124 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
123 | }).then((res) => { | 125 | }).then((res) => { |
126 | this.loading = false | ||
124 | if (res.code == 200) { | 127 | if (res.code == 200) { |
125 | this.$message({ | 128 | this.$message({ |
126 | showClose: true, | 129 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 14:17:26 | 4 | * @LastEditTime: 2023-07-31 10:03:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -69,7 +69,7 @@ | ... | @@ -69,7 +69,7 @@ |
69 | </div> | 69 | </div> |
70 | <div class="submit_button"> | 70 | <div class="submit_button"> |
71 | <el-button @click="$popupCacel">取消</el-button> | 71 | <el-button @click="$popupCacel">取消</el-button> |
72 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 72 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
73 | </div> | 73 | </div> |
74 | </div> | 74 | </div> |
75 | <div v-if="activeName == 'dz'"> | 75 | <div v-if="activeName == 'dz'"> |
... | @@ -120,7 +120,7 @@ | ... | @@ -120,7 +120,7 @@ |
120 | </div> | 120 | </div> |
121 | <div class="submit_button"> | 121 | <div class="submit_button"> |
122 | <el-button @click="$popupCacel">取消</el-button> | 122 | <el-button @click="$popupCacel">取消</el-button> |
123 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 123 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
124 | </div> | 124 | </div> |
125 | </div> | 125 | </div> |
126 | </div> | 126 | </div> |
... | @@ -143,6 +143,7 @@ | ... | @@ -143,6 +143,7 @@ |
143 | }, | 143 | }, |
144 | data () { | 144 | data () { |
145 | return { | 145 | return { |
146 | loading: false, | ||
146 | activeName: 'zrz', | 147 | activeName: 'zrz', |
147 | queryzrzForm: { | 148 | queryzrzForm: { |
148 | qllx: '', | 149 | qllx: '', |
... | @@ -240,6 +241,7 @@ | ... | @@ -240,6 +241,7 @@ |
240 | return; | 241 | return; |
241 | } | 242 | } |
242 | if (!this.isJump) { | 243 | if (!this.isJump) { |
244 | this.loading = true | ||
243 | startBusinessFlow({ | 245 | startBusinessFlow({ |
244 | bsmSqyw: this.bsmSqyw, | 246 | bsmSqyw: this.bsmSqyw, |
245 | //sjlx: 'zrz', | 247 | //sjlx: 'zrz', |
... | @@ -248,6 +250,7 @@ | ... | @@ -248,6 +250,7 @@ |
248 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 250 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
249 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 251 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
250 | }).then((res) => { | 252 | }).then((res) => { |
253 | this.loading = false | ||
251 | if (res.code == 200) { | 254 | if (res.code == 200) { |
252 | this.$message({ | 255 | this.$message({ |
253 | showClose: true, | 256 | showClose: true, |
... | @@ -265,10 +268,12 @@ | ... | @@ -265,10 +268,12 @@ |
265 | } | 268 | } |
266 | }) | 269 | }) |
267 | } else { | 270 | } else { |
271 | this.loading = true | ||
268 | choiceBdcdy({ | 272 | choiceBdcdy({ |
269 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, | 273 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, |
270 | bdcdysz: this.bdcdysz | 274 | bdcdysz: this.bdcdysz |
271 | }).then(res => { | 275 | }).then(res => { |
276 | this.loading = false | ||
272 | if (res.code == 200) { | 277 | if (res.code == 200) { |
273 | this.$message({ | 278 | this.$message({ |
274 | showClose: true, | 279 | showClose: true, |
... | @@ -374,7 +379,6 @@ | ... | @@ -374,7 +379,6 @@ |
374 | * @author: miaofang | 379 | * @author: miaofang |
375 | */ | 380 | */ |
376 | openBook (row) { | 381 | openBook (row) { |
377 | console.log("的急急急急急急"); | ||
378 | var param = { | 382 | var param = { |
379 | bdcdyid: row.bdcdyid, | 383 | bdcdyid: row.bdcdyid, |
380 | qllx: row.qllx, | 384 | qllx: row.qllx, |
... | @@ -384,7 +388,7 @@ | ... | @@ -384,7 +388,7 @@ |
384 | this.$popup("登记簿详情", "registerBook/djbFrame", { | 388 | this.$popup("登记簿详情", "registerBook/djbFrame", { |
385 | formData: param | 389 | formData: param |
386 | }) | 390 | }) |
387 | }, | 391 | } |
388 | } | 392 | } |
389 | } | 393 | } |
390 | </script> | 394 | </script> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:46:18 | 4 | * @LastEditTime: 2023-07-31 10:03:52 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | </div> | 40 | </div> |
41 | <div class="submit_button"> | 41 | <div class="submit_button"> |
42 | <el-button @click="$popupCacel">取消</el-button> | 42 | <el-button @click="$popupCacel">取消</el-button> |
43 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 43 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
44 | </div> | 44 | </div> |
45 | </div> | 45 | </div> |
46 | </template> | 46 | </template> |
... | @@ -62,6 +62,7 @@ | ... | @@ -62,6 +62,7 @@ |
62 | }, | 62 | }, |
63 | data () { | 63 | data () { |
64 | return { | 64 | return { |
65 | loading: false, | ||
65 | queryForm: defaultParameters.defaultParameters(), | 66 | queryForm: defaultParameters.defaultParameters(), |
66 | tableData: { | 67 | tableData: { |
67 | total: 0, | 68 | total: 0, |
... | @@ -104,12 +105,14 @@ | ... | @@ -104,12 +105,14 @@ |
104 | this.$message.error("请至少选择一条数据"); | 105 | this.$message.error("请至少选择一条数据"); |
105 | return; | 106 | return; |
106 | } | 107 | } |
108 | this.loading = true | ||
107 | startBusinessFlow({ | 109 | startBusinessFlow({ |
108 | bsmSqyw: this.bsmSqyw, | 110 | bsmSqyw: this.bsmSqyw, |
109 | bdcdysz: this.bdcdysz, | 111 | bdcdysz: this.bdcdysz, |
110 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 112 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
111 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 113 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
112 | }).then((res) => { | 114 | }).then((res) => { |
115 | this.loading = false | ||
113 | if (res.code == 200) { | 116 | if (res.code == 200) { |
114 | this.$message({ | 117 | this.$message({ |
115 | showClose: true, | 118 | showClose: true, |
... | @@ -203,7 +206,7 @@ | ... | @@ -203,7 +206,7 @@ |
203 | this.$popup("登记簿详情", "registerBook/djbFrame", { | 206 | this.$popup("登记簿详情", "registerBook/djbFrame", { |
204 | formData: param | 207 | formData: param |
205 | }) | 208 | }) |
206 | }, | 209 | } |
207 | } | 210 | } |
208 | } | 211 | } |
209 | </script> | 212 | </script> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:46:30 | 4 | * @LastEditTime: 2023-07-31 10:03:59 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | </div> | 40 | </div> |
41 | <div class="submit_button"> | 41 | <div class="submit_button"> |
42 | <el-button @click="$popupCacel">取消</el-button> | 42 | <el-button @click="$popupCacel">取消</el-button> |
43 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 43 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
44 | </div> | 44 | </div> |
45 | </div> | 45 | </div> |
46 | </template> | 46 | </template> |
... | @@ -62,6 +62,7 @@ | ... | @@ -62,6 +62,7 @@ |
62 | }, | 62 | }, |
63 | data () { | 63 | data () { |
64 | return { | 64 | return { |
65 | loading: false, | ||
65 | queryForm: defaultParameters.defaultParameters(), | 66 | queryForm: defaultParameters.defaultParameters(), |
66 | qllxs: [], | 67 | qllxs: [], |
67 | tableData: { | 68 | tableData: { |
... | @@ -101,12 +102,14 @@ | ... | @@ -101,12 +102,14 @@ |
101 | this.$message.error("请至少选择一条数据"); | 102 | this.$message.error("请至少选择一条数据"); |
102 | return; | 103 | return; |
103 | } | 104 | } |
105 | this.loading = true | ||
104 | startBusinessFlow({ | 106 | startBusinessFlow({ |
105 | bsmSqyw: this.sqywInfo.parentid, | 107 | bsmSqyw: this.sqywInfo.parentid, |
106 | bdcdysz: this.bdcdysz, | 108 | bdcdysz: this.bdcdysz, |
107 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 109 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
108 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 110 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
109 | }).then((res) => { | 111 | }).then((res) => { |
112 | this.loading = false | ||
110 | if (res.code == 200) { | 113 | if (res.code == 200) { |
111 | this.$message({ | 114 | this.$message({ |
112 | showClose: true, | 115 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:46:36 | 4 | * @LastEditTime: 2023-07-31 10:04:05 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -55,7 +55,7 @@ | ... | @@ -55,7 +55,7 @@ |
55 | </div> | 55 | </div> |
56 | <div class="submit_button"> | 56 | <div class="submit_button"> |
57 | <el-button @click="$popupCacel">取消</el-button> | 57 | <el-button @click="$popupCacel">取消</el-button> |
58 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 58 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
59 | </div> | 59 | </div> |
60 | </div> | 60 | </div> |
61 | </template> | 61 | </template> |
... | @@ -77,6 +77,7 @@ | ... | @@ -77,6 +77,7 @@ |
77 | }, | 77 | }, |
78 | data () { | 78 | data () { |
79 | return { | 79 | return { |
80 | loading: false, | ||
80 | queryForm: defaultParameters.defaultParameters(), | 81 | queryForm: defaultParameters.defaultParameters(), |
81 | qllxData: [], | 82 | qllxData: [], |
82 | tableData: { | 83 | tableData: { |
... | @@ -129,12 +130,14 @@ | ... | @@ -129,12 +130,14 @@ |
129 | this.$alert("请至少选择一条数据"); | 130 | this.$alert("请至少选择一条数据"); |
130 | return; | 131 | return; |
131 | } | 132 | } |
133 | this.loading = true | ||
132 | startBusinessFlow({ | 134 | startBusinessFlow({ |
133 | bsmSqyw: this.bsmSqyw, | 135 | bsmSqyw: this.bsmSqyw, |
134 | bdcdysz: this.bdcdysz, | 136 | bdcdysz: this.bdcdysz, |
135 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 137 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
136 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 138 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
137 | }).then((res) => { | 139 | }).then((res) => { |
140 | this.loading = false | ||
138 | if (res.code == 200) { | 141 | if (res.code == 200) { |
139 | this.$message({ | 142 | this.$message({ |
140 | showClose: true, | 143 | showClose: true, |
... | @@ -213,11 +216,11 @@ | ... | @@ -213,11 +216,11 @@ |
213 | this.$refs.table.toggleRowSelection(row); | 216 | this.$refs.table.toggleRowSelection(row); |
214 | } | 217 | } |
215 | }, | 218 | }, |
216 | /** | 219 | /** |
217 | * @description: openBook | 220 | * @description: openBook |
218 | * @param {*} row | 221 | * @param {*} row |
219 | * @author: miaofang | 222 | * @author: miaofang |
220 | */ | 223 | */ |
221 | openBook (row) { | 224 | openBook (row) { |
222 | console.log("的急急急急急急"); | 225 | console.log("的急急急急急急"); |
223 | var param = { | 226 | var param = { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:46:42 | 4 | * @LastEditTime: 2023-07-31 10:04:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -51,7 +51,7 @@ | ... | @@ -51,7 +51,7 @@ |
51 | </div> | 51 | </div> |
52 | <div class="submit_button"> | 52 | <div class="submit_button"> |
53 | <el-button @click="$popupCacel">取消</el-button> | 53 | <el-button @click="$popupCacel">取消</el-button> |
54 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 54 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
55 | </div> | 55 | </div> |
56 | </div> | 56 | </div> |
57 | </template> | 57 | </template> |
... | @@ -77,6 +77,7 @@ | ... | @@ -77,6 +77,7 @@ |
77 | }, | 77 | }, |
78 | data () { | 78 | data () { |
79 | return { | 79 | return { |
80 | loading: false, | ||
80 | bdcdysz: [], | 81 | bdcdysz: [], |
81 | queryForm: { | 82 | queryForm: { |
82 | zl: "", | 83 | zl: "", |
... | @@ -159,14 +160,15 @@ | ... | @@ -159,14 +160,15 @@ |
159 | this.$message.error("请至少选择一条数据"); | 160 | this.$message.error("请至少选择一条数据"); |
160 | return; | 161 | return; |
161 | } | 162 | } |
163 | this.loading = true | ||
162 | let from = { | 164 | let from = { |
163 | bsmSqyw: this.bsmSqyw, | 165 | bsmSqyw: this.bsmSqyw, |
164 | bdcdysz: this.bdcdysz, | 166 | bdcdysz: this.bdcdysz, |
165 | djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "", | 167 | djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "", |
166 | djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "", | 168 | djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "", |
167 | } | 169 | } |
168 | console.log("发起申请传参", from, this.sqywInfo); | ||
169 | startRepairFlow(from).then((res) => { | 170 | startRepairFlow(from).then((res) => { |
171 | this.loading = false | ||
170 | if (res.code == 200) { | 172 | if (res.code == 200) { |
171 | this.$message({ | 173 | this.$message({ |
172 | showClose: true, | 174 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:46:49 | 4 | * @LastEditTime: 2023-07-31 10:04:17 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
47 | </div> | 47 | </div> |
48 | <div class="submit_button"> | 48 | <div class="submit_button"> |
49 | <el-button @click="$popupCacel">取消</el-button> | 49 | <el-button @click="$popupCacel">取消</el-button> |
50 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 50 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
51 | </div> | 51 | </div> |
52 | </div> | 52 | </div> |
53 | </template> | 53 | </template> |
... | @@ -68,6 +68,7 @@ | ... | @@ -68,6 +68,7 @@ |
68 | }, | 68 | }, |
69 | data () { | 69 | data () { |
70 | return { | 70 | return { |
71 | loading: false, | ||
71 | queryForm: defaultParameters.defaultParameters(), | 72 | queryForm: defaultParameters.defaultParameters(), |
72 | tableData: { | 73 | tableData: { |
73 | total: 0, | 74 | total: 0, |
... | @@ -106,12 +107,14 @@ | ... | @@ -106,12 +107,14 @@ |
106 | this.$message.error("请至少选择一条数据"); | 107 | this.$message.error("请至少选择一条数据"); |
107 | return; | 108 | return; |
108 | } | 109 | } |
110 | this.loading = true | ||
109 | startBusinessFlow({ | 111 | startBusinessFlow({ |
110 | bsmSqyw: this.sqywInfo.bsmSqyw, | 112 | bsmSqyw: this.sqywInfo.bsmSqyw, |
111 | bdcdysz: this.bdcdysz, | 113 | bdcdysz: this.bdcdysz, |
112 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 114 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
113 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 115 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
114 | }).then((res) => { | 116 | }).then((res) => { |
117 | this.loading = false | ||
115 | if (res.code == 200) { | 118 | if (res.code == 200) { |
116 | this.$message({ | 119 | this.$message({ |
117 | showClose: true, | 120 | showClose: true, |
... | @@ -205,9 +208,9 @@ | ... | @@ -205,9 +208,9 @@ |
205 | this.$popup("登记簿详情", "registerBook/djbFrame", { | 208 | this.$popup("登记簿详情", "registerBook/djbFrame", { |
206 | formData: param | 209 | formData: param |
207 | }) | 210 | }) |
208 | }, | 211 | } |
209 | }, | 212 | } |
210 | }; | 213 | } |
211 | </script> | 214 | </script> |
212 | <style scoped lang="scss"> | 215 | <style scoped lang="scss"> |
213 | @import "~@/styles/mixin.scss"; | 216 | @import "~@/styles/mixin.scss"; | ... | ... |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | </div> | 46 | </div> |
47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
50 | </div> | 50 | </div> |
51 | </div> | 51 | </div> |
52 | </template> | 52 | </template> |
... | @@ -67,14 +67,15 @@ | ... | @@ -67,14 +67,15 @@ |
67 | }, | 67 | }, |
68 | data () { | 68 | data () { |
69 | return { | 69 | return { |
70 | loading: false, | ||
70 | queryForm: defaultParameters.defaultParameters(), | 71 | queryForm: defaultParameters.defaultParameters(), |
71 | tableData: { | 72 | tableData: { |
72 | total: 0, | 73 | total: 0, |
73 | columns: datas.columns(), | 74 | columns: datas.columns(), |
74 | data: [], | 75 | data: [], |
75 | }, | 76 | }, |
76 | bdcdysz: [], | 77 | bdcdysz: [] |
77 | }; | 78 | } |
78 | }, | 79 | }, |
79 | mounted () { | 80 | mounted () { |
80 | sendThis(this); | 81 | sendThis(this); |
... | @@ -105,12 +106,14 @@ | ... | @@ -105,12 +106,14 @@ |
105 | this.$message.error("请至少选择一条数据"); | 106 | this.$message.error("请至少选择一条数据"); |
106 | return; | 107 | return; |
107 | } | 108 | } |
109 | this.loading = true | ||
108 | startBusinessFlow({ | 110 | startBusinessFlow({ |
109 | bsmSqyw: this.sqywInfo.bsmSqyw, | 111 | bsmSqyw: this.sqywInfo.bsmSqyw, |
110 | bdcdysz: this.bdcdysz, | 112 | bdcdysz: this.bdcdysz, |
111 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 113 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
112 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 114 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
113 | }).then((res) => { | 115 | }).then((res) => { |
116 | this.loading = false | ||
114 | if (res.code == 200) { | 117 | if (res.code == 200) { |
115 | this.$message({ | 118 | this.$message({ |
116 | showClose: true, | 119 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:47:08 | 4 | * @LastEditTime: 2023-07-31 10:04:21 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -54,7 +54,7 @@ | ... | @@ -54,7 +54,7 @@ |
54 | </div> | 54 | </div> |
55 | <div class="submit_button"> | 55 | <div class="submit_button"> |
56 | <el-button @click="$popupCacel">取消</el-button> | 56 | <el-button @click="$popupCacel">取消</el-button> |
57 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 57 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
58 | </div> | 58 | </div> |
59 | </div> | 59 | </div> |
60 | </template> | 60 | </template> |
... | @@ -76,6 +76,7 @@ | ... | @@ -76,6 +76,7 @@ |
76 | }, | 76 | }, |
77 | data () { | 77 | data () { |
78 | return { | 78 | return { |
79 | loading: false, | ||
79 | queryForm: defaultParameters.defaultParameters(), | 80 | queryForm: defaultParameters.defaultParameters(), |
80 | tableData: { | 81 | tableData: { |
81 | total: 0, | 82 | total: 0, |
... | @@ -114,12 +115,14 @@ | ... | @@ -114,12 +115,14 @@ |
114 | this.$message.error("请至少选择一条数据"); | 115 | this.$message.error("请至少选择一条数据"); |
115 | return; | 116 | return; |
116 | } | 117 | } |
118 | this.loading = true | ||
117 | startBusinessFlow({ | 119 | startBusinessFlow({ |
118 | bsmSqyw: this.sqywInfo.parentid, | 120 | bsmSqyw: this.sqywInfo.parentid, |
119 | bdcdysz: this.bdcdysz, | 121 | bdcdysz: this.bdcdysz, |
120 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 122 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
121 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 123 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
122 | }).then((res) => { | 124 | }).then((res) => { |
125 | this.loading = false | ||
123 | if (res.code == 200) { | 126 | if (res.code == 200) { |
124 | this.$message({ | 127 | this.$message({ |
125 | showClose: true, | 128 | showClose: true, |
... | @@ -213,7 +216,7 @@ | ... | @@ -213,7 +216,7 @@ |
213 | } else { | 216 | } else { |
214 | this.$refs.table.toggleRowSelection(row); | 217 | this.$refs.table.toggleRowSelection(row); |
215 | } | 218 | } |
216 | }, | 219 | } |
217 | } | 220 | } |
218 | } | 221 | } |
219 | </script> | 222 | </script> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:18:17 | 4 | * @LastEditTime: 2023-07-31 09:34:30 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -132,7 +132,7 @@ | ... | @@ -132,7 +132,7 @@ |
132 | </div> | 132 | </div> |
133 | <div class="submit_button"> | 133 | <div class="submit_button"> |
134 | <el-button @click="$popupCacel">取消</el-button> | 134 | <el-button @click="$popupCacel">取消</el-button> |
135 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 135 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
136 | </div> | 136 | </div> |
137 | </div> | 137 | </div> |
138 | </template> | 138 | </template> |
... | @@ -154,6 +154,7 @@ | ... | @@ -154,6 +154,7 @@ |
154 | }, | 154 | }, |
155 | data () { | 155 | data () { |
156 | return { | 156 | return { |
157 | loading: false, | ||
157 | queryForm: defaultParameters.defaultParameters(), | 158 | queryForm: defaultParameters.defaultParameters(), |
158 | // 表格数据 | 159 | // 表格数据 |
159 | tableData: { | 160 | tableData: { |
... | @@ -234,12 +235,14 @@ | ... | @@ -234,12 +235,14 @@ |
234 | * @author: renchao | 235 | * @author: renchao |
235 | */ | 236 | */ |
236 | submitForm () { | 237 | submitForm () { |
238 | this.loading = true | ||
237 | startBusinessFlow({ | 239 | startBusinessFlow({ |
238 | bsmSqyw: this.sqywInfo.parentid, | 240 | bsmSqyw: this.sqywInfo.parentid, |
239 | bdcdysz: this.bdcdysz, | 241 | bdcdysz: this.bdcdysz, |
240 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 242 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
241 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 243 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
242 | }).then((res) => { | 244 | }).then((res) => { |
245 | this.loading = false | ||
243 | if (res.code == 200) { | 246 | if (res.code == 200) { |
244 | this.$message({ | 247 | this.$message({ |
245 | showClose: true, | 248 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:47:23 | 4 | * @LastEditTime: 2023-07-31 10:04:28 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | </div> | 46 | </div> |
47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
50 | </div> | 50 | </div> |
51 | </div> | 51 | </div> |
52 | </template> | 52 | </template> |
... | @@ -68,6 +68,7 @@ | ... | @@ -68,6 +68,7 @@ |
68 | }, | 68 | }, |
69 | data () { | 69 | data () { |
70 | return { | 70 | return { |
71 | loading: false, | ||
71 | queryForm: defaultParameters.defaultParameters(), | 72 | queryForm: defaultParameters.defaultParameters(), |
72 | tableData: { | 73 | tableData: { |
73 | total: 0, | 74 | total: 0, |
... | @@ -111,12 +112,14 @@ | ... | @@ -111,12 +112,14 @@ |
111 | this.$alert("请至少选择一条数据"); | 112 | this.$alert("请至少选择一条数据"); |
112 | return; | 113 | return; |
113 | } | 114 | } |
115 | this.loading = true | ||
114 | startBusinessFlow({ | 116 | startBusinessFlow({ |
115 | bsmSqyw: this.bsmSqyw, | 117 | bsmSqyw: this.bsmSqyw, |
116 | bdcdysz: this.bdcdysz, | 118 | bdcdysz: this.bdcdysz, |
117 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 119 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
118 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 120 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
119 | }).then((res) => { | 121 | }).then((res) => { |
122 | this.loading = false | ||
120 | if (res.code == 200) { | 123 | if (res.code == 200) { |
121 | this.$message({ | 124 | this.$message({ |
122 | showClose: true, | 125 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:47:35 | 4 | * @LastEditTime: 2023-07-31 10:04:33 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -54,7 +54,7 @@ | ... | @@ -54,7 +54,7 @@ |
54 | </div> | 54 | </div> |
55 | <div class="submit_button"> | 55 | <div class="submit_button"> |
56 | <el-button @click="$popupCacel">取消</el-button> | 56 | <el-button @click="$popupCacel">取消</el-button> |
57 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 57 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
58 | </div> | 58 | </div> |
59 | </div> | 59 | </div> |
60 | </template> | 60 | </template> |
... | @@ -76,6 +76,7 @@ | ... | @@ -76,6 +76,7 @@ |
76 | }, | 76 | }, |
77 | data () { | 77 | data () { |
78 | return { | 78 | return { |
79 | loading: false, | ||
79 | queryForm: defaultParameters.defaultParameters(), | 80 | queryForm: defaultParameters.defaultParameters(), |
80 | tableData: { | 81 | tableData: { |
81 | total: 0, | 82 | total: 0, |
... | @@ -114,12 +115,14 @@ | ... | @@ -114,12 +115,14 @@ |
114 | this.$message.error("请至少选择一条数据"); | 115 | this.$message.error("请至少选择一条数据"); |
115 | return; | 116 | return; |
116 | } | 117 | } |
118 | this.loading = true | ||
117 | startBusinessFlow({ | 119 | startBusinessFlow({ |
118 | bsmSqyw: this.sqywInfo.parentid, | 120 | bsmSqyw: this.sqywInfo.parentid, |
119 | bdcdysz: this.bdcdysz, | 121 | bdcdysz: this.bdcdysz, |
120 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 122 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
121 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 123 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
122 | }).then((res) => { | 124 | }).then((res) => { |
125 | this.loading = false | ||
123 | if (res.code == 200) { | 126 | if (res.code == 200) { |
124 | this.$message({ | 127 | this.$message({ |
125 | showClose: true, | 128 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-27 10:04:09 | 4 | * @LastEditTime: 2023-07-31 09:37:23 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | </div> | 46 | </div> |
47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
50 | </div> | 50 | </div> |
51 | </div> | 51 | </div> |
52 | </template> | 52 | </template> |
... | @@ -67,6 +67,7 @@ | ... | @@ -67,6 +67,7 @@ |
67 | }, | 67 | }, |
68 | data () { | 68 | data () { |
69 | return { | 69 | return { |
70 | loading: false, | ||
70 | queryForm: defaultParameters.defaultParameters(), | 71 | queryForm: defaultParameters.defaultParameters(), |
71 | tableData: { | 72 | tableData: { |
72 | total: 0, | 73 | total: 0, |
... | @@ -105,12 +106,14 @@ | ... | @@ -105,12 +106,14 @@ |
105 | this.$message.error("请至少选择一条数据"); | 106 | this.$message.error("请至少选择一条数据"); |
106 | return; | 107 | return; |
107 | } | 108 | } |
109 | this.loading = true | ||
108 | startTogetherFlow({ | 110 | startTogetherFlow({ |
109 | bsmSqyw: this.sqywInfo.bsmSqyw, | 111 | bsmSqyw: this.sqywInfo.bsmSqyw, |
110 | bdcdysz: this.bdcdysz, | 112 | bdcdysz: this.bdcdysz, |
111 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 113 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
112 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 114 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
113 | }).then((res) => { | 115 | }).then((res) => { |
116 | this.loading = false | ||
114 | if (res.code == 200) { | 117 | if (res.code == 200) { |
115 | this.$message({ | 118 | this.$message({ |
116 | showClose: true, | 119 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 11:18:36 | 4 | * @LastEditTime: 2023-07-31 09:38:00 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
47 | </div> | 47 | </div> |
48 | <div class="submit_button"> | 48 | <div class="submit_button"> |
49 | <el-button @click="$popupCacel">取消</el-button> | 49 | <el-button @click="$popupCacel">取消</el-button> |
50 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 50 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
51 | </div> | 51 | </div> |
52 | </div> | 52 | </div> |
53 | </template> | 53 | </template> | ... | ... |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | </div> | 46 | </div> |
47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
50 | </div> | 50 | </div> |
51 | </div> | 51 | </div> |
52 | </template> | 52 | </template> |
... | @@ -67,6 +67,7 @@ | ... | @@ -67,6 +67,7 @@ |
67 | }, | 67 | }, |
68 | data () { | 68 | data () { |
69 | return { | 69 | return { |
70 | loading: false, | ||
70 | queryForm: defaultParameters.defaultParameters(), | 71 | queryForm: defaultParameters.defaultParameters(), |
71 | tableData: { | 72 | tableData: { |
72 | total: 0, | 73 | total: 0, |
... | @@ -105,12 +106,14 @@ | ... | @@ -105,12 +106,14 @@ |
105 | this.$message.error("请至少选择一条数据"); | 106 | this.$message.error("请至少选择一条数据"); |
106 | return; | 107 | return; |
107 | } | 108 | } |
109 | this.loading = true | ||
108 | startTogetherFlow({ | 110 | startTogetherFlow({ |
109 | bsmSqyw: this.sqywInfo.bsmSqyw, | 111 | bsmSqyw: this.sqywInfo.bsmSqyw, |
110 | bdcdysz: this.bdcdysz, | 112 | bdcdysz: this.bdcdysz, |
111 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 113 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
112 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 114 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
113 | }).then((res) => { | 115 | }).then((res) => { |
116 | this.loading = false | ||
114 | if (res.code == 200) { | 117 | if (res.code == 200) { |
115 | this.$message({ | 118 | this.$message({ |
116 | showClose: true, | 119 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-27 10:49:50 | 4 | * @LastEditTime: 2023-07-31 10:04:41 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | </div> | 46 | </div> |
47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
50 | </div> | 50 | </div> |
51 | </div> | 51 | </div> |
52 | </template> | 52 | </template> |
... | @@ -67,6 +67,7 @@ | ... | @@ -67,6 +67,7 @@ |
67 | }, | 67 | }, |
68 | data () { | 68 | data () { |
69 | return { | 69 | return { |
70 | loading: false, | ||
70 | queryForm: defaultParameters.defaultParameters(), | 71 | queryForm: defaultParameters.defaultParameters(), |
71 | tableData: { | 72 | tableData: { |
72 | total: 0, | 73 | total: 0, |
... | @@ -105,12 +106,14 @@ | ... | @@ -105,12 +106,14 @@ |
105 | this.$message.error("请至少选择一条数据"); | 106 | this.$message.error("请至少选择一条数据"); |
106 | return; | 107 | return; |
107 | } | 108 | } |
109 | this.loading = true | ||
108 | startBusinessFlow({ | 110 | startBusinessFlow({ |
109 | bsmSqyw: this.sqywInfo.bsmSqyw, | 111 | bsmSqyw: this.sqywInfo.bsmSqyw, |
110 | bdcdysz: this.bdcdysz, | 112 | bdcdysz: this.bdcdysz, |
111 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 113 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
112 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 114 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
113 | }).then((res) => { | 115 | }).then((res) => { |
116 | this.loading = false | ||
114 | if (res.code == 200) { | 117 | if (res.code == 200) { |
115 | this.$message({ | 118 | this.$message({ |
116 | showClose: true, | 119 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:48:00 | 4 | * @LastEditTime: 2023-07-31 10:04:49 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
47 | </div> | 47 | </div> |
48 | <div class="submit_button"> | 48 | <div class="submit_button"> |
49 | <el-button @click="$popupCacel">取消</el-button> | 49 | <el-button @click="$popupCacel">取消</el-button> |
50 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 50 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
51 | </div> | 51 | </div> |
52 | </div> | 52 | </div> |
53 | </template> | 53 | </template> |
... | @@ -68,6 +68,7 @@ | ... | @@ -68,6 +68,7 @@ |
68 | }, | 68 | }, |
69 | data () { | 69 | data () { |
70 | return { | 70 | return { |
71 | loading: false, | ||
71 | queryForm: defaultParameters.defaultParameters(), | 72 | queryForm: defaultParameters.defaultParameters(), |
72 | tableData: { | 73 | tableData: { |
73 | total: 0, | 74 | total: 0, |
... | @@ -106,12 +107,14 @@ | ... | @@ -106,12 +107,14 @@ |
106 | this.$message.error("请至少选择一条数据"); | 107 | this.$message.error("请至少选择一条数据"); |
107 | return; | 108 | return; |
108 | } | 109 | } |
110 | this.loading = true | ||
109 | startBusinessFlow({ | 111 | startBusinessFlow({ |
110 | bsmSqyw: this.sqywInfo.bsmSqyw, | 112 | bsmSqyw: this.sqywInfo.bsmSqyw, |
111 | bdcdysz: this.bdcdysz, | 113 | bdcdysz: this.bdcdysz, |
112 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 114 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
113 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 115 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
114 | }).then((res) => { | 116 | }).then((res) => { |
117 | this.loading = false | ||
115 | if (res.code == 200) { | 118 | if (res.code == 200) { |
116 | this.$message({ | 119 | this.$message({ |
117 | showClose: true, | 120 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:48:09 | 4 | * @LastEditTime: 2023-07-31 09:40:53 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
47 | </div> | 47 | </div> |
48 | <div class="submit_button"> | 48 | <div class="submit_button"> |
49 | <el-button @click="$popupCacel">取消</el-button> | 49 | <el-button @click="$popupCacel">取消</el-button> |
50 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 50 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
51 | </div> | 51 | </div> |
52 | </div> | 52 | </div> |
53 | </template> | 53 | </template> |
... | @@ -69,6 +69,7 @@ | ... | @@ -69,6 +69,7 @@ |
69 | }, | 69 | }, |
70 | data () { | 70 | data () { |
71 | return { | 71 | return { |
72 | loading: false, | ||
72 | queryForm: defaultParameters.defaultParameters(), | 73 | queryForm: defaultParameters.defaultParameters(), |
73 | tableData: { | 74 | tableData: { |
74 | total: 0, | 75 | total: 0, |
... | @@ -107,12 +108,14 @@ | ... | @@ -107,12 +108,14 @@ |
107 | this.$message.error("请至少选择一条数据"); | 108 | this.$message.error("请至少选择一条数据"); |
108 | return; | 109 | return; |
109 | } | 110 | } |
111 | this.loading = true | ||
110 | startBusinessFlow({ | 112 | startBusinessFlow({ |
111 | bsmSqyw: this.sqywInfo.bsmSqyw, | 113 | bsmSqyw: this.sqywInfo.bsmSqyw, |
112 | bdcdysz: this.bdcdysz, | 114 | bdcdysz: this.bdcdysz, |
113 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 115 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
114 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 116 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
115 | }).then((res) => { | 117 | }).then((res) => { |
118 | this.loading = false | ||
116 | if (res.code == 200) { | 119 | if (res.code == 200) { |
117 | this.$message({ | 120 | this.$message({ |
118 | showClose: true, | 121 | showClose: true, | ... | ... |
-
Please register or sign in to post a comment