style:权利人信息
Showing
10 changed files
with
115 additions
and
93 deletions
This diff is collapsed.
Click to expand it.
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-02 11:00:09 | 4 | * @LastEditTime: 2023-08-04 10:59:11 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -71,7 +71,7 @@ | ... | @@ -71,7 +71,7 @@ |
71 | </el-col> | 71 | </el-col> |
72 | 72 | ||
73 | <el-col :span="8" v-if="ssqlxxshow"> | 73 | <el-col :span="8" v-if="ssqlxxshow"> |
74 | <el-form-item label="上手权利信息:" prop="ssQlxx.bdcqzh" :rules="rules.ssQlxxrules"> | 74 | <el-form-item label="上手权利信息:" prop="ssQlxx.bdcqzh" :rules="rules.ssQlxxrules"> |
75 | <select-table | 75 | <select-table |
76 | v-model="ruleForm.ssQlxx" | 76 | v-model="ruleForm.ssQlxx" |
77 | :table-width="550" | 77 | :table-width="550" |
... | @@ -366,7 +366,7 @@ | ... | @@ -366,7 +366,7 @@ |
366 | <el-form-item label="共有方式:"> | 366 | <el-form-item label="共有方式:"> |
367 | <el-radio-group | 367 | <el-radio-group |
368 | :disabled="!ableOperation" | 368 | :disabled="!ableOperation" |
369 | v-model="ruleForm.qlxx.gyfs"> | 369 | v-model="ruleForm.sldy.gyfs"> |
370 | <el-radio label="0">单独所有</el-radio> | 370 | <el-radio label="0">单独所有</el-radio> |
371 | <el-radio label="1">共同共有</el-radio> | 371 | <el-radio label="1">共同共有</el-radio> |
372 | <el-radio label="2">按份所有</el-radio> | 372 | <el-radio label="2">按份所有</el-radio> |
... | @@ -374,10 +374,10 @@ | ... | @@ -374,10 +374,10 @@ |
374 | </el-radio-group> | 374 | </el-radio-group> |
375 | </el-form-item> | 375 | </el-form-item> |
376 | </el-col> | 376 | </el-col> |
377 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> | 377 | <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> |
378 | <el-form-item label="是否分别持证:"> | 378 | <el-form-item label="是否分别持证:"> |
379 | <el-radio-group | 379 | <el-radio-group |
380 | v-model="ruleForm.qlxx.sqfbcz" | 380 | v-model="ruleForm.sldy.sqfbcz" |
381 | :disabled="!ableOperation"> | 381 | :disabled="!ableOperation"> |
382 | <el-radio :label="1">是</el-radio> | 382 | <el-radio :label="1">是</el-radio> |
383 | <el-radio :label="0">否</el-radio> | 383 | <el-radio :label="0">否</el-radio> |
... | @@ -386,7 +386,7 @@ | ... | @@ -386,7 +386,7 @@ |
386 | </el-col> | 386 | </el-col> |
387 | <el-col | 387 | <el-col |
388 | :span="6" | 388 | :span="6" |
389 | v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'"> | 389 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
390 | <el-form-item label="持证人:"> | 390 | <el-form-item label="持证人:"> |
391 | <el-select | 391 | <el-select |
392 | v-model="ruleForm.czr" | 392 | v-model="ruleForm.czr" |
... | @@ -433,7 +433,7 @@ | ... | @@ -433,7 +433,7 @@ |
433 | <script> | 433 | <script> |
434 | import { mapGetters } from "vuex"; | 434 | import { mapGetters } from "vuex"; |
435 | import ywmix from "@/views/ywbl/mixin/index" | 435 | import ywmix from "@/views/ywbl/mixin/index" |
436 | import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm,save } from "@/api/djbRepair.js"; | 436 | import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; |
437 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 437 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
438 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | 438 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
439 | import tdytTable from "@/views/workflow/components/tdytTable"; | 439 | import tdytTable from "@/views/workflow/components/tdytTable"; |
... | @@ -549,65 +549,65 @@ | ... | @@ -549,65 +549,65 @@ |
549 | ssQlxxchange (val) { | 549 | ssQlxxchange (val) { |
550 | this.ruleForm.ssQlxx = val; | 550 | this.ruleForm.ssQlxx = val; |
551 | this.ruleForm.qlxx.ssywh = val.ywh; | 551 | this.ruleForm.qlxx.ssywh = val.ywh; |
552 | this.ssQlxxchangediolog (val) | 552 | this.ssQlxxchangediolog(val) |
553 | }, | 553 | }, |
554 | // 弹框事件 | 554 | // 弹框事件 |
555 | ssQlxxchangediolog (val) { | 555 | ssQlxxchangediolog (val) { |
556 | console.log("确定了",this.ruleForm) | 556 | console.log("确定了", this.ruleForm) |
557 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | 557 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
558 | iconClass: "el-icon-question", //自定义图标样式 | 558 | iconClass: "el-icon-question", //自定义图标样式 |
559 | confirmButtonText: "确认", //确认按钮文字更换 | 559 | confirmButtonText: "确认", //确认按钮文字更换 |
560 | cancelButtonText: "取消", //取消按钮文字更换 | 560 | cancelButtonText: "取消", //取消按钮文字更换 |
561 | showClose: true, //是否显示右上角关闭按钮 | 561 | showClose: true, //是否显示右上角关闭按钮 |
562 | type: "warning", | 562 | type: "warning", |
563 | }).then(() => { | 563 | }).then(() => { |
564 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | 564 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
565 | if (res.code == 200) { | 565 | if (res.code == 200) { |
566 | this.nowlist = res.result; | 566 | this.nowlist = res.result; |
567 | console.log("his.nowlist", this.nowlist); | 567 | console.log("his.nowlist", this.nowlist); |
568 | console.log("this.ruleForm", this.ruleForm); | 568 | console.log("this.ruleForm", this.ruleForm); |
569 | for (var key in this.ruleForm.dyiq) { | 569 | for (var key in this.ruleForm.dyiq) { |
570 | if ( | 570 | if ( |
571 | this.ruleForm.dyiq[key] == "" || | 571 | this.ruleForm.dyiq[key] == "" || |
572 | this.ruleForm.dyiq[key] == null | 572 | this.ruleForm.dyiq[key] == null |
573 | ) { | 573 | ) { |
574 | this.ruleForm.dyiq[key] = this.nowlist.dyiq[key]; | 574 | this.ruleForm.dyiq[key] = this.nowlist.dyiq[key]; |
575 | } | ||
575 | } | 576 | } |
576 | } | 577 | for (var key in this.ruleForm.qlxx) { |
577 | for (var key in this.ruleForm.qlxx) { | 578 | if ( |
578 | if ( | 579 | (this.ruleForm.qlxx[key] == null && key != "ywh") || |
579 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | 580 | this.ruleForm.qlxx[key] == null |
580 | this.ruleForm.qlxx[key] == null | 581 | ) { |
581 | ) { | 582 | console.log("this.ruleForm.qlxx[key]", key); |
582 | console.log("this.ruleForm.qlxx[key]", key); | 583 | if (key != "ywh") { |
583 | if (key != "ywh") { | 584 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; |
584 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | 585 | } |
585 | } | 586 | } |
586 | } | 587 | } |
588 | if (!this.ruleForm.tdytqxList.length) { | ||
589 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | ||
590 | } | ||
591 | if (!this.ruleForm.qlrData.length) { | ||
592 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
593 | } | ||
594 | if (!this.ruleForm.ywrData.length) { | ||
595 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
596 | } | ||
597 | console.log("this.ruleForm", this.ruleForm); | ||
598 | this.$message({ | ||
599 | type: "success", | ||
600 | message: "同步成功!", | ||
601 | }); | ||
587 | } | 602 | } |
588 | if (!this.ruleForm.tdytqxList.length) { | 603 | }); |
589 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | 604 | }).catch(() => { |
590 | } | ||
591 | if (!this.ruleForm.qlrData.length) { | ||
592 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
593 | } | ||
594 | if (!this.ruleForm.ywrData.length) { | ||
595 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
596 | } | ||
597 | console.log("this.ruleForm", this.ruleForm); | ||
598 | this.$message({ | ||
599 | type: "success", | ||
600 | message: "同步成功!", | ||
601 | }); | ||
602 | } | ||
603 | }); | ||
604 | }).catch(() => { | ||
605 | this.$message({ | 605 | this.$message({ |
606 | type: "info", | 606 | type: "info", |
607 | message: "已取消同步", | 607 | message: "已取消同步", |
608 | }); | 608 | }); |
609 | }); | 609 | }); |
610 | }, | 610 | }, |
611 | /** | 611 | /** |
612 | * @description: djlxchange | 612 | * @description: djlxchange |
613 | * @param {*} val | 613 | * @param {*} val |
... | @@ -638,28 +638,28 @@ | ... | @@ -638,28 +638,28 @@ |
638 | this.$endLoading(); | 638 | this.$endLoading(); |
639 | this.isShow = true; | 639 | this.isShow = true; |
640 | 640 | ||
641 | //获取主体信息 | 641 | //获取主体信息 |
642 | getSsQlxx({ | 642 | getSsQlxx({ |
643 | bdcdyid: this.propsParam.bdcdyid, | 643 | bdcdyid: this.propsParam.bdcdyid, |
644 | qllx: this.propsParam.qllx, | 644 | qllx: this.propsParam.qllx, |
645 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | 645 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, |
646 | }).then((res) => { | 646 | }).then((res) => { |
647 | if (res.code == 200) { | 647 | if (res.code == 200) { |
648 | this.ssQlxxList = res.result; | 648 | this.ssQlxxList = res.result; |
649 | } | 649 | } |
650 | }); | 650 | }); |
651 | //获取上手信息 | 651 | //获取上手信息 |
652 | getZtQlxx({ | 652 | getZtQlxx({ |
653 | bdcdyid: this.propsParam.bdcdyid, | 653 | bdcdyid: this.propsParam.bdcdyid, |
654 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | 654 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, |
655 | }).then((res) => { | 655 | }).then((res) => { |
656 | if (res.code == 200) { | 656 | if (res.code == 200) { |
657 | this.ztQlxxList = res.result; | 657 | this.ztQlxxList = res.result; |
658 | } | 658 | } |
659 | }); | 659 | }); |
660 | } | 660 | } |
661 | }); | 661 | }); |
662 | }, | 662 | }, |
663 | // 更新土地用途信息 | 663 | // 更新土地用途信息 |
664 | /** | 664 | /** |
665 | * @description: 更新土地用途信息 | 665 | * @description: 更新土地用途信息 |
... | @@ -714,7 +714,7 @@ | ... | @@ -714,7 +714,7 @@ |
714 | }); | 714 | }); |
715 | return false; | 715 | return false; |
716 | } | 716 | } |
717 | if (this.ruleForm.qlxx.gyfs == "0") { | 717 | if (this.ruleForm.sldy.gyfs == "0") { |
718 | if (this.ruleForm.qlrData.length > 1) { | 718 | if (this.ruleForm.qlrData.length > 1) { |
719 | this.$message({ | 719 | this.$message({ |
720 | showClose: true, | 720 | showClose: true, |
... | @@ -724,16 +724,23 @@ | ... | @@ -724,16 +724,23 @@ |
724 | return false; | 724 | return false; |
725 | } | 725 | } |
726 | this.ruleForm.qlrData[0].sfczr = "1"; | 726 | this.ruleForm.qlrData[0].sfczr = "1"; |
727 | } | 727 | } else { |
728 | if (this.ruleForm.qlxx.gyfs == "1") { | ||
729 | //是否分别持证 | 728 | //是否分别持证 |
730 | if (this.ruleForm.qlxx.sqfbcz == "1") { | 729 | if (this.ruleForm.sldy.sqfbcz == "1") { |
731 | //是 | 730 | //是 |
732 | this.ruleForm.qlrData.forEach((item, index) => { | 731 | this.ruleForm.qlrList.forEach((item, index) => { |
733 | item.sfczr = "1"; | 732 | item.sfczr = "1"; |
734 | }); | 733 | }); |
735 | } else { | 734 | } else { |
736 | this.ruleForm.qlrData.forEach((item, index) => { | 735 | if (!that.ruleForm.czr) { |
736 | that.$message({ | ||
737 | showClose: true, | ||
738 | message: "请选择持证人", | ||
739 | type: "error", | ||
740 | }); | ||
741 | return false; | ||
742 | } | ||
743 | this.ruleForm.qlrList.forEach((item, index) => { | ||
737 | if (item.zjh == this.ruleForm.czr) { | 744 | if (item.zjh == this.ruleForm.czr) { |
738 | item.sfczr = "1"; | 745 | item.sfczr = "1"; |
739 | } else { | 746 | } else { | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-02 08:45:57 | 4 | * @LastEditTime: 2023-08-04 10:56:39 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -312,6 +312,7 @@ | ... | @@ -312,6 +312,7 @@ |
312 | * @author: renchao | 312 | * @author: renchao |
313 | */ | 313 | */ |
314 | onSubmit () { | 314 | onSubmit () { |
315 | let that = this | ||
315 | if (this.ruleForm.qlrList.length == 0) { | 316 | if (this.ruleForm.qlrList.length == 0) { |
316 | this.$message({ | 317 | this.$message({ |
317 | showClose: true, | 318 | showClose: true, |
... | @@ -320,7 +321,6 @@ | ... | @@ -320,7 +321,6 @@ |
320 | }); | 321 | }); |
321 | return false; | 322 | return false; |
322 | } | 323 | } |
323 | |||
324 | if (this.ruleForm.sldy.gyfs == "0") { | 324 | if (this.ruleForm.sldy.gyfs == "0") { |
325 | if (this.ruleForm.qlrList.length > 1) { | 325 | if (this.ruleForm.qlrList.length > 1) { |
326 | this.$message({ | 326 | this.$message({ |
... | @@ -331,21 +331,29 @@ | ... | @@ -331,21 +331,29 @@ |
331 | return false; | 331 | return false; |
332 | } | 332 | } |
333 | this.ruleForm.qlrList[0].sfczr = "1"; | 333 | this.ruleForm.qlrList[0].sfczr = "1"; |
334 | } | 334 | } else { |
335 | if (this.ruleForm.sldy.gyfs == "1") { | ||
336 | //是否分别持证 | 335 | //是否分别持证 |
337 | if (this.ruleForm.sldy.sqfbcz == '1') { //是 | 336 | if (this.ruleForm.sldy.sqfbcz == "1") { |
337 | //是 | ||
338 | this.ruleForm.qlrList.forEach((item, index) => { | 338 | this.ruleForm.qlrList.forEach((item, index) => { |
339 | item.sfczr = "1" | 339 | item.sfczr = "1"; |
340 | }); | 340 | }); |
341 | } else { | 341 | } else { |
342 | if (!that.ruleForm.czr) { | ||
343 | that.$message({ | ||
344 | showClose: true, | ||
345 | message: "请选择持证人", | ||
346 | type: "error", | ||
347 | }); | ||
348 | return false; | ||
349 | } | ||
342 | this.ruleForm.qlrList.forEach((item, index) => { | 350 | this.ruleForm.qlrList.forEach((item, index) => { |
343 | if (item.zjh == this.ruleForm.czr) { | 351 | if (item.zjh == this.ruleForm.czr) { |
344 | item.sfczr = "1" | 352 | item.sfczr = "1"; |
345 | } else { | 353 | } else { |
346 | item.sfczr = "0" | 354 | item.sfczr = "0"; |
347 | } | 355 | } |
348 | }) | 356 | }); |
349 | } | 357 | } |
350 | } | 358 | } |
351 | /** | 359 | /** | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-01 18:15:20 | 4 | * @LastEditTime: 2023-08-04 10:59:55 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -449,8 +449,7 @@ | ... | @@ -449,8 +449,7 @@ |
449 | return false; | 449 | return false; |
450 | } | 450 | } |
451 | this.ruleForm.qlrList[0].sfczr = "1"; | 451 | this.ruleForm.qlrList[0].sfczr = "1"; |
452 | } | 452 | } else { |
453 | if (this.ruleForm.sldy.gyfs == "1") { | ||
454 | //是否分别持证 | 453 | //是否分别持证 |
455 | if (this.ruleForm.sldy.sqfbcz == "1") { | 454 | if (this.ruleForm.sldy.sqfbcz == "1") { |
456 | //是 | 455 | //是 |
... | @@ -458,6 +457,14 @@ | ... | @@ -458,6 +457,14 @@ |
458 | item.sfczr = "1"; | 457 | item.sfczr = "1"; |
459 | }); | 458 | }); |
460 | } else { | 459 | } else { |
460 | if (!that.ruleForm.czr) { | ||
461 | that.$message({ | ||
462 | showClose: true, | ||
463 | message: "请选择持证人", | ||
464 | type: "error", | ||
465 | }); | ||
466 | return false; | ||
467 | } | ||
461 | this.ruleForm.qlrList.forEach((item, index) => { | 468 | this.ruleForm.qlrList.forEach((item, index) => { |
462 | if (item.zjh == this.ruleForm.czr) { | 469 | if (item.zjh == this.ruleForm.czr) { |
463 | item.sfczr = "1"; | 470 | item.sfczr = "1"; | ... | ... |
-
Please register or sign in to post a comment