323f2f97 by renchao@pashanhoo.com

style:持证人

1 parent a716ef02
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 16:29:10 4 * @LastEditTime: 2023-08-04 16:43:56
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
41 </el-row> 41 </el-row>
42 <div class="slxx_title title-block bdcqk"> 42 <div class="slxx_title title-block bdcqk">
43 抵押不动产情况 43 抵押不动产情况
44 <div class="count"> 44 <div class="count">
45 <el-form-item 45 <el-form-item
46 label="抵押不动产信息:" 46 label="抵押不动产信息:"
47 prop="ztQlxx.bdcqzh" 47 prop="ztQlxx.bdcqzh"
...@@ -59,12 +59,10 @@ ...@@ -59,12 +59,10 @@
59 <el-table-column 59 <el-table-column
60 prop="bdcqzh" 60 prop="bdcqzh"
61 width="160" 61 width="160"
62 label="不动产权证书" 62 label="不动产权证书"></el-table-column>
63 ></el-table-column>
64 <el-table-column 63 <el-table-column
65 prop="qlrmc" 64 prop="qlrmc"
66 label="被执行人" 65 label="被执行人"></el-table-column>
67 ></el-table-column>
68 <el-table-column prop="mjmc" label="面积"></el-table-column> 66 <el-table-column prop="mjmc" label="面积"></el-table-column>
69 <el-table-column prop="ytmc" label="用途"></el-table-column> 67 <el-table-column prop="ytmc" label="用途"></el-table-column>
70 <el-table-column prop="zl" label="坐落"></el-table-column> 68 <el-table-column prop="zl" label="坐落"></el-table-column>
...@@ -126,29 +124,25 @@ ...@@ -126,29 +124,25 @@
126 </el-row> 124 </el-row>
127 <div class="slxx_title title-block bdcqk"> 125 <div class="slxx_title title-block bdcqk">
128 抵押权信息 126 抵押权信息
129 <div class="count" v-if="ssqlxxshow"> 127 <div class="count" v-if="ssqlxxshow">
130 <el-form-item 128 <el-form-item
131 label="上手权利信息:" 129 label="上手权利信息:"
132 prop="ssQlxx.bdcqzh" 130 prop="ssQlxx.bdcqzh"
133 :rules="rules.ssQlxxrules" 131 :rules="rules.ssQlxxrules">
134 >
135 <select-table 132 <select-table
136 v-model="ruleForm.ssQlxx" 133 v-model="ruleForm.ssQlxx"
137 :table-width="730" 134 :table-width="730"
138 :tableData="ssQlxxList" 135 :tableData="ssQlxxList"
139 :props="props" 136 :props="props"
140 @change="ssQlxxchange" 137 @change="ssQlxxchange">
141 >
142 <el-table-column 138 <el-table-column
143 prop="qllxmc" 139 prop="qllxmc"
144 width="130" 140 width="130"
145 label="权利类型" 141 label="权利类型"></el-table-column>
146 ></el-table-column>
147 <el-table-column 142 <el-table-column
148 prop="bdcqzh" 143 prop="bdcqzh"
149 width="160" 144 width="160"
150 label="不动产权证书" 145 label="不动产权证书"></el-table-column>
151 ></el-table-column>
152 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 146 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
153 <el-table-column prop="mjmc" label="面积"></el-table-column> 147 <el-table-column prop="mjmc" label="面积"></el-table-column>
154 <el-table-column prop="ytmc" label="用途"></el-table-column> 148 <el-table-column prop="ytmc" label="用途"></el-table-column>
...@@ -659,7 +653,7 @@ ...@@ -659,7 +653,7 @@
659 this.loadData(); 653 this.loadData();
660 this.ableOperation = this.$parent.ableOperation; 654 this.ableOperation = this.$parent.ableOperation;
661 }, 655 },
662 methods: { 656 methods: {
663 /** 657 /**
664 * @description: ztQlxxchange 658 * @description: ztQlxxchange
665 * @param {*} val 659 * @param {*} val
...@@ -678,56 +672,56 @@ ...@@ -678,56 +672,56 @@
678 this.ruleForm.qlxx.ssywh = val.ywh; 672 this.ruleForm.qlxx.ssywh = val.ywh;
679 this.ssQlxxchangediolog(val); 673 this.ssQlxxchangediolog(val);
680 }, 674 },
681 // 弹框事件 675 // 弹框事件
682 ssQlxxchangediolog(val) { 676 ssQlxxchangediolog (val) {
683 this.$confirm("是否将上手权利信息同步到表单", "提示", { 677 this.$confirm("是否将上手权利信息同步到表单", "提示", {
684 iconClass: "el-icon-question", //自定义图标样式 678 iconClass: "el-icon-question", //自定义图标样式
685 confirmButtonText: "确认", //确认按钮文字更换 679 confirmButtonText: "确认", //确认按钮文字更换
686 cancelButtonText: "取消", //取消按钮文字更换 680 cancelButtonText: "取消", //取消按钮文字更换
687 showClose: true, //是否显示右上角关闭按钮 681 showClose: true, //是否显示右上角关闭按钮
688 type: "warning", 682 type: "warning",
689 }).then(() => { 683 }).then(() => {
690 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 684 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
691 if (res.code == 200) { 685 if (res.code == 200) {
692 this.nowlist = res.result; 686 this.nowlist = res.result;
693 for (var key in this.ruleForm.diyaq) { 687 for (var key in this.ruleForm.diyaq) {
694 if ( 688 if (
695 this.ruleForm.diyaq[key] == "" || 689 this.ruleForm.diyaq[key] == "" ||
696 this.ruleForm.diyaq[key] == null 690 this.ruleForm.diyaq[key] == null
697 ) { 691 ) {
698 this.ruleForm.diyaq[key] = this.nowlist.diyaq[key]; 692 this.ruleForm.diyaq[key] = this.nowlist.diyaq[key];
693 }
699 } 694 }
700 } 695 for (var key in this.ruleForm.qlxx) {
701 for (var key in this.ruleForm.qlxx) { 696 if (
702 if ( 697 this.ruleForm.qlxx[key] == "" ||
703 this.ruleForm.qlxx[key] == ""||
704 this.ruleForm.qlxx[key] == null && 698 this.ruleForm.qlxx[key] == null &&
705 key != "ywh" && 699 key != "ywh" &&
706 key != "dbr" && 700 key != "dbr" &&
707 key != "djsj" && 701 key != "djsj" &&
708 key != "ssywh" && 702 key != "ssywh" &&
709 key != "ssywh" && 703 key != "ssywh" &&
710 key != "bdcqzh") { 704 key != "bdcqzh") {
711 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 705 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
712 706
713 } 707 }
708 }
709 if (!this.ruleForm.tdytqxList.length) {
710 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
711 }
712 if (!this.ruleForm.qlrData.length) {
713 this.ruleForm.qlrData = this.nowlist.qlrData;
714 }
715 if (!this.ruleForm.ywrData.length) {
716 this.ruleForm.ywrData = this.nowlist.ywrData;
717 }
718 this.$message({
719 type: "success",
720 message: "同步成功!",
721 });
714 } 722 }
715 if (!this.ruleForm.tdytqxList.length) { 723 });
716 this.ruleForm.tdytqxList = this.nowlist.tdytqxList; 724 }).catch(() => {
717 }
718 if (!this.ruleForm.qlrData.length) {
719 this.ruleForm.qlrData = this.nowlist.qlrData;
720 }
721 if (!this.ruleForm.ywrData.length) {
722 this.ruleForm.ywrData = this.nowlist.ywrData;
723 }
724 this.$message({
725 type: "success",
726 message: "同步成功!",
727 });
728 }
729 });
730 }).catch(() => {
731 this.$message({ 725 this.$message({
732 type: "info", 726 type: "info",
733 message: "已取消同步", 727 message: "已取消同步",
...@@ -752,9 +746,11 @@ ...@@ -752,9 +746,11 @@
752 init(this.propsParam).then((res) => { 746 init(this.propsParam).then((res) => {
753 if (res.code == 200) { 747 if (res.code == 200) {
754 this.ruleForm = res.result; 748 this.ruleForm = res.result;
755 749 this.ruleForm.qlrList.forEach((item, index) => {
756 750 if (item.sfczr == 1) {
757 751 this.ruleForm.czr = item.zjh
752 }
753 })
758 this.$endLoading(); 754 this.$endLoading();
759 this.isShow = true; 755 this.isShow = true;
760 let djlx = this.ruleForm.qlxx.djlx; 756 let djlx = this.ruleForm.qlxx.djlx;
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 16:35:32 4 * @LastEditTime: 2023-08-04 16:44:07
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -40,33 +40,28 @@ ...@@ -40,33 +40,28 @@
40 </el-row> 40 </el-row>
41 <div class="slxx_title title-block bdcqk"> 41 <div class="slxx_title title-block bdcqk">
42 地役权不动产情况 42 地役权不动产情况
43 <div class="count"> 43 <div class="count">
44 <el-form-item 44 <el-form-item
45 label="地役权不动产情况" 45 label="地役权不动产情况"
46 prop="ztQlxx.bdcqzh" 46 prop="ztQlxx.bdcqzh"
47 :rules="rules.ztQlxxrules" 47 :rules="rules.ztQlxxrules">
48 >
49 <select-table 48 <select-table
50 v-model="ruleForm.ztQlxx" 49 v-model="ruleForm.ztQlxx"
51 :table-width="730" 50 :table-width="730"
52 :tableData="ztQlxxList" 51 :tableData="ztQlxxList"
53 :props="props" 52 :props="props"
54 @change="ztQlxxchange" 53 @change="ztQlxxchange">
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 62 <el-table-column
67 prop="qlrmc" 63 prop="qlrmc"
68 label="被执行人" 64 label="被执行人"></el-table-column>
69 ></el-table-column>
70 <el-table-column prop="mjmc" label="面积"></el-table-column> 65 <el-table-column prop="mjmc" label="面积"></el-table-column>
71 <el-table-column prop="ytmc" label="用途"></el-table-column> 66 <el-table-column prop="ytmc" label="用途"></el-table-column>
72 <el-table-column prop="zl" label="坐落"></el-table-column> 67 <el-table-column prop="zl" label="坐落"></el-table-column>
...@@ -128,29 +123,25 @@ ...@@ -128,29 +123,25 @@
128 </el-row> 123 </el-row>
129 <div class="slxx_title title-block bdcqk"> 124 <div class="slxx_title title-block bdcqk">
130 地役权信息 125 地役权信息
131 <div class="count" v-if="ssqlxxshow"> 126 <div class="count" v-if="ssqlxxshow">
132 <el-form-item 127 <el-form-item
133 label="上手权利信息:" 128 label="上手权利信息:"
134 prop="ssQlxx.bdcqzh" 129 prop="ssQlxx.bdcqzh"
135 :rules="rules.ssQlxxrules" 130 :rules="rules.ssQlxxrules">
136 >
137 <select-table 131 <select-table
138 v-model="ruleForm.ssQlxx" 132 v-model="ruleForm.ssQlxx"
139 :table-width="730" 133 :table-width="730"
140 :tableData="ssQlxxList" 134 :tableData="ssQlxxList"
141 :props="props" 135 :props="props"
142 @change="ssQlxxchange" 136 @change="ssQlxxchange">
143 >
144 <el-table-column 137 <el-table-column
145 prop="qllxmc" 138 prop="qllxmc"
146 width="130" 139 width="130"
147 label="权利类型" 140 label="权利类型"></el-table-column>
148 ></el-table-column>
149 <el-table-column 141 <el-table-column
150 prop="bdcqzh" 142 prop="bdcqzh"
151 width="160" 143 width="160"
152 label="不动产权证书" 144 label="不动产权证书"></el-table-column>
153 ></el-table-column>
154 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 145 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
155 <el-table-column prop="mjmc" label="面积"></el-table-column> 146 <el-table-column prop="mjmc" label="面积"></el-table-column>
156 <el-table-column prop="ytmc" label="用途"></el-table-column> 147 <el-table-column prop="ytmc" label="用途"></el-table-column>
...@@ -443,7 +434,7 @@ ...@@ -443,7 +434,7 @@
443 <script> 434 <script>
444 import { mapGetters } from "vuex"; 435 import { mapGetters } from "vuex";
445 import ywmix from "@/views/ywbl/mixin/index" 436 import ywmix from "@/views/ywbl/mixin/index"
446 import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm,save } from "@/api/djbRepair.js"; 437 import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
447 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 438 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
448 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; 439 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
449 import tdytTable from "@/views/workflow/components/tdytTable"; 440 import tdytTable from "@/views/workflow/components/tdytTable";
...@@ -537,7 +528,6 @@ ...@@ -537,7 +528,6 @@
537 }, 528 },
538 }; 529 };
539 }, 530 },
540 created () { },
541 mounted () { 531 mounted () {
542 this.loadData(); 532 this.loadData();
543 this.ableOperation = this.$parent.ableOperation; 533 this.ableOperation = this.$parent.ableOperation;
...@@ -559,64 +549,64 @@ ...@@ -559,64 +549,64 @@
559 ssQlxxchange (val) { 549 ssQlxxchange (val) {
560 this.ruleForm.ssQlxx = val; 550 this.ruleForm.ssQlxx = val;
561 this.ruleForm.qlxx.ssywh = val.ywh; 551 this.ruleForm.qlxx.ssywh = val.ywh;
562 this.ssQlxxchangediolog (val) 552 this.ssQlxxchangediolog(val)
563 }, 553 },
564 // 弹框事件 554 // 弹框事件
565 ssQlxxchangediolog (val) { 555 ssQlxxchangediolog (val) {
566 this.$confirm("是否将上手权利信息同步到表单", "提示", { 556 this.$confirm("是否将上手权利信息同步到表单", "提示", {
567 iconClass: "el-icon-question", //自定义图标样式 557 iconClass: "el-icon-question", //自定义图标样式
568 confirmButtonText: "确认", //确认按钮文字更换 558 confirmButtonText: "确认", //确认按钮文字更换
569 cancelButtonText: "取消", //取消按钮文字更换 559 cancelButtonText: "取消", //取消按钮文字更换
570 showClose: true, //是否显示右上角关闭按钮 560 showClose: true, //是否显示右上角关闭按钮
571 type: "warning", 561 type: "warning",
572 }).then(() => { 562 }).then(() => {
573 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 563 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
574 if (res.code == 200) { 564 if (res.code == 200) {
575 this.nowlist = res.result; 565 this.nowlist = res.result;
576 for (var key in this.ruleForm.dyiq) { 566 for (var key in this.ruleForm.dyiq) {
577 if ( 567 if (
578 this.ruleForm.dyiq[key] == "" || 568 this.ruleForm.dyiq[key] == "" ||
579 this.ruleForm.dyiq[key] == null 569 this.ruleForm.dyiq[key] == null
580 ) { 570 ) {
581 this.ruleForm.dyiq[key] = this.nowlist.dyiq[key]; 571 this.ruleForm.dyiq[key] = this.nowlist.dyiq[key];
572 }
582 } 573 }
583 } 574 for (var key in this.ruleForm.qlxx) {
584 for (var key in this.ruleForm.qlxx) { 575 if (
585 if ( 576 this.ruleForm.qlxx[key] == "" ||
586 this.ruleForm.qlxx[key] == ""||
587 this.ruleForm.qlxx[key] == null && 577 this.ruleForm.qlxx[key] == null &&
588 key != "ywh" && 578 key != "ywh" &&
589 key != "dbr" && 579 key != "dbr" &&
590 key != "djsj" && 580 key != "djsj" &&
591 key != "ssywh" && 581 key != "ssywh" &&
592 key != "ssywh" && 582 key != "ssywh" &&
593 key != "bdcqzh") { 583 key != "bdcqzh") {
594 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 584 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
595 585
596 } 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 this.$message({
598 type: "success",
599 message: "同步成功!",
600 });
597 } 601 }
598 if (!this.ruleForm.tdytqxList.length) { 602 });
599 this.ruleForm.tdytqxList = this.nowlist.tdytqxList; 603 }).catch(() => {
600 }
601 if (!this.ruleForm.qlrData.length) {
602 this.ruleForm.qlrData = this.nowlist.qlrData;
603 }
604 if (!this.ruleForm.ywrData.length) {
605 this.ruleForm.ywrData = this.nowlist.ywrData;
606 }
607 this.$message({
608 type: "success",
609 message: "同步成功!",
610 });
611 }
612 });
613 }).catch(() => {
614 this.$message({ 604 this.$message({
615 type: "info", 605 type: "info",
616 message: "已取消同步", 606 message: "已取消同步",
617 }); 607 });
618 }); 608 });
619 }, 609 },
620 /** 610 /**
621 * @description: djlxchange 611 * @description: djlxchange
622 * @param {*} val 612 * @param {*} val
...@@ -639,6 +629,11 @@ ...@@ -639,6 +629,11 @@
639 init(this.propsParam).then((res) => { 629 init(this.propsParam).then((res) => {
640 if (res.code == 200) { 630 if (res.code == 200) {
641 this.ruleForm = res.result; 631 this.ruleForm = res.result;
632 this.ruleForm.qlrList.forEach((item, index) => {
633 if (item.sfczr == 1) {
634 this.ruleForm.czr = item.zjh
635 }
636 })
642 let djlx = this.ruleForm.qlxx.djlx; 637 let djlx = this.ruleForm.qlxx.djlx;
643 if (djlx == null || djlx == 100) { 638 if (djlx == null || djlx == 100) {
644 this.ssqlxxshow = false; 639 this.ssqlxxshow = false;
...@@ -646,28 +641,28 @@ ...@@ -646,28 +641,28 @@
646 this.$endLoading(); 641 this.$endLoading();
647 this.isShow = true; 642 this.isShow = true;
648 643
649 //获取主体信息 644 //获取主体信息
650 getSsQlxx({ 645 getSsQlxx({
651 bdcdyid: this.propsParam.bdcdyid, 646 bdcdyid: this.propsParam.bdcdyid,
652 qllx: this.propsParam.qllx, 647 qllx: this.propsParam.qllx,
653 bsmQlxx: this.ruleForm.qlxx.bsmQlxx, 648 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
654 }).then((res) => { 649 }).then((res) => {
655 if (res.code == 200) { 650 if (res.code == 200) {
656 this.ssQlxxList = res.result; 651 this.ssQlxxList = res.result;
657 } 652 }
658 }); 653 });
659 //获取上手信息 654 //获取上手信息
660 getZtQlxx({ 655 getZtQlxx({
661 bdcdyid: this.propsParam.bdcdyid, 656 bdcdyid: this.propsParam.bdcdyid,
662 bsmQlxx: this.ruleForm.qlxx.bsmQlxx, 657 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
663 }).then((res) => { 658 }).then((res) => {
664 if (res.code == 200) { 659 if (res.code == 200) {
665 this.ztQlxxList = res.result; 660 this.ztQlxxList = res.result;
666 } 661 }
667 }); 662 });
668 } 663 }
669 }); 664 });
670 }, 665 },
671 // 更新土地用途信息 666 // 更新土地用途信息
672 /** 667 /**
673 * @description: 更新土地用途信息 668 * @description: 更新土地用途信息
...@@ -703,7 +698,7 @@ ...@@ -703,7 +698,7 @@
703 * @description: onSubmit 698 * @description: onSubmit
704 * @author: renchao 699 * @author: renchao
705 */ 700 */
706 onSubmit () { 701 onSubmit () {
707 this.$refs.ruleForm.validate((valid) => { 702 this.$refs.ruleForm.validate((valid) => {
708 if (valid) { 703 if (valid) {
709 if (this.ruleForm.qlrData.length == 0) { 704 if (this.ruleForm.qlrData.length == 0) {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 15:53:29 4 * @LastEditTime: 2023-08-04 16:44:30
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
41 </el-row> 41 </el-row>
42 <div class="slxx_title title-block bdcqk"> 42 <div class="slxx_title title-block bdcqk">
43 房地产权信息 43 房地产权信息
44 <div class="count" v-if="ssqlxxshow"> 44 <div class="count" v-if="ssqlxxshow">
45 <el-form-item 45 <el-form-item
46 label="上手权利信息:" 46 label="上手权利信息:"
47 prop="ssQlxx.bdcqzh" 47 prop="ssQlxx.bdcqzh"
...@@ -562,74 +562,73 @@ ...@@ -562,74 +562,73 @@
562 }, 562 },
563 }; 563 };
564 }, 564 },
565 created() {}, 565 mounted () {
566 mounted() { 566 this.loadData();
567 this.loadData(); 567 this.ableOperation = this.$parent.ableOperation;
568 this.ableOperation = this.$parent.ableOperation;
569 },
570 methods: {
571 /**
572 * @description: ssQlxxchange
573 * @param {*} val
574 * @author: renchao
575 */
576 ssQlxxchange(val) {
577 this.ruleForm.ssQlxx = val;
578 this.ruleForm.qlxx.ssywh = val.ywh;
579 this.ssQlxxchangediolog(val);
580 }, 568 },
581 // 弹框事件 569 methods: {
582 ssQlxxchangediolog(val) { 570 /**
583 this.$confirm("是否将上手权利信息同步到表单", "提示", { 571 * @description: ssQlxxchange
584 iconClass: "el-icon-question", //自定义图标样式 572 * @param {*} val
585 confirmButtonText: "确认", //确认按钮文字更换 573 * @author: renchao
586 cancelButtonText: "取消", //取消按钮文字更换 574 */
587 showClose: true, //是否显示右上角关闭按钮 575 ssQlxxchange (val) {
588 type: "warning", 576 this.ruleForm.ssQlxx = val;
577 this.ruleForm.qlxx.ssywh = val.ywh;
578 this.ssQlxxchangediolog(val);
579 },
580 // 弹框事件
581 ssQlxxchangediolog (val) {
582 this.$confirm("是否将上手权利信息同步到表单", "提示", {
583 iconClass: "el-icon-question", //自定义图标样式
584 confirmButtonText: "确认", //确认按钮文字更换
585 cancelButtonText: "取消", //取消按钮文字更换
586 showClose: true, //是否显示右上角关闭按钮
587 type: "warning",
589 588
590 589
591 }).then(() => { 590 }).then(() => {
592 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 591 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
593 if (res.code == 200) { 592 if (res.code == 200) {
594 this.nowlist = res.result; 593 this.nowlist = res.result;
595 for (var key in this.ruleForm.fdcq2) { 594 for (var key in this.ruleForm.fdcq2) {
596 if ( 595 if (
597 this.ruleForm.fdcq2[key] == "" || 596 this.ruleForm.fdcq2[key] == "" ||
598 this.ruleForm.fdcq2[key] == null 597 this.ruleForm.fdcq2[key] == null
599 ) { 598 ) {
600 this.ruleForm.fdcq2[key] = this.nowlist.fdcq2[key]; 599 this.ruleForm.fdcq2[key] = this.nowlist.fdcq2[key];
600 }
601 } 601 }
602 } 602 for (var key in this.ruleForm.qlxx) {
603 for (var key in this.ruleForm.qlxx) { 603 if (
604 if ( 604 this.ruleForm.qlxx[key] == "" ||
605 this.ruleForm.qlxx[key] == ""||
606 this.ruleForm.qlxx[key] == null && 605 this.ruleForm.qlxx[key] == null &&
607 key != "ywh" && 606 key != "ywh" &&
608 key != "dbr" && 607 key != "dbr" &&
609 key != "djsj" && 608 key != "djsj" &&
610 key != "ssywh" && 609 key != "ssywh" &&
611 key != "ssywh" && 610 key != "ssywh" &&
612 key != "bdcqzh") { 611 key != "bdcqzh") {
613 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 612 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
614 613
615 } 614 }
615 }
616 if (!this.ruleForm.tdytqxList.length) {
617 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
618 }
619 if (!this.ruleForm.qlrData.length) {
620 this.ruleForm.qlrData = this.nowlist.qlrData;
621 }
622 if (!this.ruleForm.ywrData.length) {
623 this.ruleForm.ywrData = this.nowlist.ywrData;
624 }
625 this.$message({
626 type: "success",
627 message: "同步成功!",
628 });
616 } 629 }
617 if (!this.ruleForm.tdytqxList.length) { 630 });
618 this.ruleForm.tdytqxList = this.nowlist.tdytqxList; 631 }).catch(() => {
619 }
620 if (!this.ruleForm.qlrData.length) {
621 this.ruleForm.qlrData = this.nowlist.qlrData;
622 }
623 if (!this.ruleForm.ywrData.length) {
624 this.ruleForm.ywrData = this.nowlist.ywrData;
625 }
626 this.$message({
627 type: "success",
628 message: "同步成功!",
629 });
630 }
631 });
632 }).catch(() => {
633 this.$message({ 632 this.$message({
634 type: "info", 633 type: "info",
635 message: "已取消同步", 634 message: "已取消同步",
...@@ -641,111 +640,92 @@ ...@@ -641,111 +640,92 @@
641 * @param {*} val 640 * @param {*} val
642 * @author: renchao 641 * @author: renchao
643 */ 642 */
644 djlxchange(val) { 643 djlxchange (val) {
645 if (val == null || val == 100) { 644 if (val == null || val == 100) {
646 this.ssqlxxshow = false; 645 this.ssqlxxshow = false;
647 } else { 646 } else {
648 this.ssqlxxshow = true; 647 this.ssqlxxshow = true;
649 }
650 },
651 /**
652 * @description: loadData
653 * @author: renchao
654 */
655 loadData() {
656 this.$startLoading();
657 this.propsParam.isEdit = this.$parent.isEdit;
658 init(this.propsParam).then((res) => {
659 if (res.code == 200) {
660 this.ruleForm = res.result;
661 let djlx = this.ruleForm.qlxx.djlx;
662 if (djlx == null || djlx == 100) {
663 this.ssqlxxshow = false;
664 }
665 this.ruleForm.fdcq2.jedw = "1";
666 this.$endLoading();
667 if (this.ruleForm.tdytqxList.length > 0) {
668 this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm;
669 } else {
670 this.tdxz = null;
671 }
672 this.isShow = true;
673 //获取主体信息
674 getSsQlxx({
675 bdcdyid: this.propsParam.bdcdyid,
676 qllx: this.propsParam.qllx,
677 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
678 }).then((res) => {
679 if (res.code == 200) {
680 this.ssQlxxList = res.result;
681 }
682 });
683 } 648 }
684 }); 649 },
685 }, 650 /**
686 // 更新土地用途信息 651 * @description: loadData
687 /** 652 * @author: renchao
688 * @description: 更新土地用途信息 653 */
689 * @param {*} val 654 loadData () {
690 * @author: renchao 655 this.$startLoading();
691 */ 656 this.propsParam.isEdit = this.$parent.isEdit;
692 upDateTdytxxList(val) { 657 init(this.propsParam).then((res) => {
693 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 658 if (res.code == 200) {
694 this.key++; 659 this.ruleForm = res.result;
695 }, 660 this.ruleForm.qlrList.forEach((item, index) => {
696 // 更新权利人信息 661 if (item.sfczr == 1) {
697 /** 662 this.ruleForm.czr = item.zjh
698 * @description: 更新权利人信息 663 }
699 * @param {*} val 664 })
700 * @author: renchao 665 let djlx = this.ruleForm.qlxx.djlx;
701 */ 666 if (djlx == null || djlx == 100) {
702 upDateQlrxxList(val) { 667 this.ssqlxxshow = false;
703 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 668 }
704 this.czrOptions = this.ruleForm.qlrData; 669 this.ruleForm.fdcq2.jedw = "1";
705 this.key++; 670 this.$endLoading();
706 }, 671 if (this.ruleForm.tdytqxList.length > 0) {
707 // 更新义务人信息 672 this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm;
708 /** 673 } else {
709 * @description: 更新义务人信息 674 this.tdxz = null;
710 * @param {*} val 675 }
711 * @author: renchao 676 this.isShow = true;
712 */ 677 //获取主体信息
713 upDateYwrxxList(val) { 678 getSsQlxx({
714 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); 679 bdcdyid: this.propsParam.bdcdyid,
715 this.key++; 680 qllx: this.propsParam.qllx,
716 }, 681 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
717 /** 682 }).then((res) => {
718 * @description: onSubmit 683 if (res.code == 200) {
719 * @author: renchao 684 this.ssQlxxList = res.result;
720 */ 685 }
721 onSubmit() {
722 this.$refs.ruleForm.validate((valid) => {
723 if (valid) {
724 if (this.ruleForm.qlrData.length == 0) {
725 this.$message({
726 showClose: true,
727 message: "请确认权利人信息",
728 type: "error",
729 });
730 return false;
731 }
732 if (this.ruleForm.tdytqxList.length == 0 && !this.tdxz) {
733 this.$message({
734 showClose: true,
735 message: "请补充土地用途信息",
736 type: "error",
737 });
738 return false;
739 }
740 if (!this.ruleForm.fdcq2.tdxz) {
741 this.$message({
742 showClose: true,
743 message: "请补充土地性质",
744 type: "error",
745 }); 686 });
746 } 687 }
747 if (this.ruleForm.qlxx.gyfs == "0") { 688 });
748 if (this.ruleForm.qlrData.length > 1) { 689 },
690 // 更新土地用途信息
691 /**
692 * @description: 更新土地用途信息
693 * @param {*} val
694 * @author: renchao
695 */
696 upDateTdytxxList (val) {
697 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
698 this.key++;
699 },
700 // 更新权利人信息
701 /**
702 * @description: 更新权利人信息
703 * @param {*} val
704 * @author: renchao
705 */
706 upDateQlrxxList (val) {
707 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
708 this.czrOptions = this.ruleForm.qlrData;
709 this.key++;
710 },
711 // 更新义务人信息
712 /**
713 * @description: 更新义务人信息
714 * @param {*} val
715 * @author: renchao
716 */
717 upDateYwrxxList (val) {
718 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
719 this.key++;
720 },
721 /**
722 * @description: onSubmit
723 * @author: renchao
724 */
725 onSubmit () {
726 this.$refs.ruleForm.validate((valid) => {
727 if (valid) {
728 if (this.ruleForm.qlrData.length == 0) {
749 this.$message({ 729 this.$message({
750 showClose: true, 730 showClose: true,
751 message: "请确认权利人信息", 731 message: "请确认权利人信息",
...@@ -761,7 +741,31 @@ djlxchange(val) { ...@@ -761,7 +741,31 @@ djlxchange(val) {
761 }); 741 });
762 return false; 742 return false;
763 } 743 }
764 } 744 if (!this.ruleForm.fdcq2.tdxz) {
745 this.$message({
746 showClose: true,
747 message: "请补充土地性质",
748 type: "error",
749 });
750 }
751 if (this.ruleForm.qlxx.gyfs == "0") {
752 if (this.ruleForm.qlrData.length > 1) {
753 this.$message({
754 showClose: true,
755 message: "请确认权利人信息",
756 type: "error",
757 });
758 return false;
759 }
760 if (this.ruleForm.tdytqxList.length == 0 && !this.tdxz) {
761 this.$message({
762 showClose: true,
763 message: "请补充土地用途信息",
764 type: "error",
765 });
766 return false;
767 }
768 }
765 if (this.ruleForm.sldy.gyfs == "0") { 769 if (this.ruleForm.sldy.gyfs == "0") {
766 if (this.ruleForm.qlrData.length > 1) { 770 if (this.ruleForm.qlrData.length > 1) {
767 this.$message({ 771 this.$message({
...@@ -821,14 +825,14 @@ djlxchange(val) { ...@@ -821,14 +825,14 @@ djlxchange(val) {
821 type: "error", 825 type: "error",
822 }); 826 });
823 } 827 }
824 }); 828 });
825 } else { 829 } else {
826 return false; 830 return false;
827 } 831 }
828 }); 832 });
833 },
829 }, 834 },
830 }, 835 };
831 };
832 </script> 836 </script>
833 <style scoped lang="scss"> 837 <style scoped lang="scss">
834 @import "~@/styles/public.scss"; 838 @import "~@/styles/public.scss";
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 15:53:36 4 * @LastEditTime: 2023-08-04 16:45:02
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
16 :inline="flag" 16 :inline="flag"
17 label-width="145px" 17 label-width="145px"
18 inline-message 18 inline-message
19 :show-message="false" 19 :show-message="false">
20 >
21 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
22 <div class="slxx_title title-block"> 21 <div class="slxx_title title-block">
23 补录信息 22 补录信息
...@@ -42,7 +41,7 @@ ...@@ -42,7 +41,7 @@
42 </el-row> 41 </el-row>
43 <div class="slxx_title title-block bdcqk"> 42 <div class="slxx_title title-block bdcqk">
44 建设用地、宅基地使用权信息 43 建设用地、宅基地使用权信息
45 <div class="count" v-if="ssqlxxshow"> 44 <div class="count" v-if="ssqlxxshow">
46 <el-form-item 45 <el-form-item
47 label="上手权利信息:" 46 label="上手权利信息:"
48 prop="ssQlxx.bdcqzh" 47 prop="ssQlxx.bdcqzh"
...@@ -80,8 +79,7 @@ ...@@ -80,8 +79,7 @@
80 <el-form-item 79 <el-form-item
81 label="业务号:" 80 label="业务号:"
82 prop="qlxx.ywh" 81 prop="qlxx.ywh"
83 :rules="rules.ywhrules" 82 :rules="rules.ywhrules">
84 >
85 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 83 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
86 </el-form-item> 84 </el-form-item>
87 </el-col> 85 </el-col>
...@@ -313,179 +311,179 @@ ...@@ -313,179 +311,179 @@
313 </div> 311 </div>
314 </template> 312 </template>
315 <script> 313 <script>
316 import { mapGetters } from "vuex"; 314 import { mapGetters } from "vuex";
317 import store from "@/store/index.js"; 315 import store from "@/store/index.js";
318 import ywmix from "@/views/ywbl/mixin/index"; 316 import ywmix from "@/views/ywbl/mixin/index";
319 import { init, getSsQlxx,getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 317 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
320 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 318 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
321 import tdytTable from "@/views/workflow/components/tdytTable"; 319 import tdytTable from "@/views/workflow/components/tdytTable";
322 import selectTable from "@/components/selectTable/index.vue"; 320 import selectTable from "@/components/selectTable/index.vue";
323 export default { 321 export default {
324 mixins: [ywmix], 322 mixins: [ywmix],
325 components: { qlrCommonTable, tdytTable, selectTable }, 323 components: { qlrCommonTable, tdytTable, selectTable },
326 computed: { 324 computed: {
327 ...mapGetters(["dictData", "flag"]), 325 ...mapGetters(["dictData", "flag"]),
328 // 根据流程判断表单是否为只读 326 // 根据流程判断表单是否为只读
329 editDisabled() { 327 editDisabled () {
330 if (!this.ableOperation) { 328 if (!this.ableOperation) {
331 //只读状态 329 //只读状态
332 return true; 330 return true;
333 }
334 return false;
335 },
336 },
337 data() {
338 return {
339 mjdw: "1",
340 ssqlxxshow: true,
341 props: {
342 label: "bdcqzh",
343 value: "bdcdyid",
344 },
345 // 键名转换,方法默认是label和children进行树状渲染
346 normalizer(node) {
347 //方法
348 if (node.children == null || node.children == "null") {
349 delete node.children;
350 } 331 }
351 return { 332 return false;
352 id: node.dcode,
353 label: node.dname,
354 };
355 }, 333 },
356 //表单是否可操作 334 },
357 propsParam: this.$attrs, 335 data () {
358 ableOperation: false, 336 return {
359 key: 0, 337 mjdw: "1",
360 ssQlxxList: [], 338 ssqlxxshow: true,
361 // 登记类型 339 props: {
362 djlxlist: [ 340 label: "bdcqzh",
363 { 341 value: "bdcdyid",
364 dcode: "100",
365 dname: "首次登记",
366 },
367 {
368 dcode: "200",
369 dname: "转移登记",
370 },
371 {
372 dcode: "300",
373 dname: "变更登记",
374 }, 342 },
375 { 343 // 键名转换,方法默认是label和children进行树状渲染
376 dcode: "500", 344 normalizer (node) {
377 dname: "更正登记", 345 //方法
346 if (node.children == null || node.children == "null") {
347 delete node.children;
348 }
349 return {
350 id: node.dcode,
351 label: node.dname,
352 };
378 }, 353 },
354 //表单是否可操作
355 propsParam: this.$attrs,
356 ableOperation: false,
357 key: 0,
358 ssQlxxList: [],
359 // 登记类型
360 djlxlist: [
361 {
362 dcode: "100",
363 dname: "首次登记",
364 },
365 {
366 dcode: "200",
367 dname: "转移登记",
368 },
369 {
370 dcode: "300",
371 dname: "变更登记",
372 },
373 {
374 dcode: "500",
375 dname: "更正登记",
376 },
379 377
380 { 378 {
381 dcode: "901", 379 dcode: "901",
382 dname: "补证", 380 dname: "补证",
383 }, 381 },
384 { 382 {
385 dcode: "902", 383 dcode: "902",
386 dname: "换证", 384 dname: "换证",
387 }, 385 },
388 ],
389 // 权属状态
390 qsztlist: [
391 {
392 dcode: "1",
393 dname: "现势",
394 },
395 {
396 dcode: "2",
397 dname: "历史",
398 },
399 ],
400 tdxz: null,
401 isShow: false,
402 disabled: true,
403 czrOptions: [],
404 ruleForm: {},
405 //传递参数\
406 rules: {
407 ssQlxxrules: [
408 { required: true, message: "上手权利信息", trigger: "blur" },
409 ], 386 ],
410 bdcqzhrules: [ 387 // 权属状态
411 { required: true, message: "不动产权证号:", trigger: "blur" }, 388 qsztlist: [
389 {
390 dcode: "1",
391 dname: "现势",
392 },
393 {
394 dcode: "2",
395 dname: "历史",
396 },
412 ], 397 ],
413 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], 398 tdxz: null,
414 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], 399 isShow: false,
415 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 400 disabled: true,
416 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 401 czrOptions: [],
417 djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], 402 ruleForm: {},
418 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], 403 //传递参数\
419 }, 404 rules: {
420 }; 405 ssQlxxrules: [
421 }, 406 { required: true, message: "上手权利信息", trigger: "blur" },
422 created() { 407 ],
423 this.loadData(); 408 bdcqzhrules: [
424 }, 409 { required: true, message: "不动产权证号:", trigger: "blur" },
425 mounted() { 410 ],
426 this.ableOperation = this.$parent.ableOperation; 411 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
427 }, 412 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
428 methods: { 413 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
429 /** 414 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
430 * @description: ssQlxxchange 415 djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }],
431 * @param {*} val 416 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
432 * @author: renchao 417 },
433 */ 418 };
434 ssQlxxchange(val) {
435 this.ruleForm.ssQlxx = val;
436 this.ruleForm.qlxx.ssywh = val.ywh;
437 this.ssQlxxchangediolog(val);
438 }, 419 },
439 // 弹框事件 420 created () {
440 ssQlxxchangediolog(val) { 421 this.loadData();
441 this.$confirm("是否将上手权利信息同步到表单", "提示", { 422 },
442 iconClass: "el-icon-question", //自定义图标样式 423 mounted () {
443 confirmButtonText: "确认", //确认按钮文字更换 424 this.ableOperation = this.$parent.ableOperation;
444 cancelButtonText: "取消", //取消按钮文字更换 425 },
445 showClose: true, //是否显示右上角关闭按钮 426 methods: {
446 type: "warning", 427 /**
447 }).then(() => { 428 * @description: ssQlxxchange
448 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 429 * @param {*} val
449 if (res.code == 200) { 430 * @author: renchao
450 this.nowlist = res.result; 431 */
451 for (var key in this.ruleForm.jsydsyq) { 432 ssQlxxchange (val) {
452 if ( 433 this.ruleForm.ssQlxx = val;
453 this.ruleForm.jsydsyq[key] == "" || 434 this.ruleForm.qlxx.ssywh = val.ywh;
454 this.ruleForm.jsydsyq[key] == null 435 this.ssQlxxchangediolog(val);
455 ) { 436 },
456 this.ruleForm.jsydsyq[key] = this.nowlist.jsydsyq[key]; 437 // 弹框事件
438 ssQlxxchangediolog (val) {
439 this.$confirm("是否将上手权利信息同步到表单", "提示", {
440 iconClass: "el-icon-question", //自定义图标样式
441 confirmButtonText: "确认", //确认按钮文字更换
442 cancelButtonText: "取消", //取消按钮文字更换
443 showClose: true, //是否显示右上角关闭按钮
444 type: "warning",
445 }).then(() => {
446 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
447 if (res.code == 200) {
448 this.nowlist = res.result;
449 for (var key in this.ruleForm.jsydsyq) {
450 if (
451 this.ruleForm.jsydsyq[key] == "" ||
452 this.ruleForm.jsydsyq[key] == null
453 ) {
454 this.ruleForm.jsydsyq[key] = this.nowlist.jsydsyq[key];
455 }
457 } 456 }
458 } 457 for (var key in this.ruleForm.qlxx) {
459 for (var key in this.ruleForm.qlxx) { 458 if (
460 if ( 459 this.ruleForm.qlxx[key] == "" ||
461 this.ruleForm.qlxx[key] == ""||
462 this.ruleForm.qlxx[key] == null && 460 this.ruleForm.qlxx[key] == null &&
463 key != "ywh" && 461 key != "ywh" &&
464 key != "dbr" && 462 key != "dbr" &&
465 key != "djsj" && 463 key != "djsj" &&
466 key != "ssywh" && 464 key != "ssywh" &&
467 key != "ssywh" && 465 key != "ssywh" &&
468 key != "bdcqzh") { 466 key != "bdcqzh") {
469 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 467 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
470 468
471 } 469 }
470 }
471 if (!this.ruleForm.tdytqxList.length) {
472 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
473 }
474 if (!this.ruleForm.qlrData.length) {
475 this.ruleForm.qlrData = this.nowlist.qlrData;
476 }
477 if (!this.ruleForm.ywrData.length) {
478 this.ruleForm.ywrData = this.nowlist.ywrData;
479 }
480 this.$message({
481 type: "success",
482 message: "同步成功!",
483 });
472 } 484 }
473 if (!this.ruleForm.tdytqxList.length) { 485 });
474 this.ruleForm.tdytqxList = this.nowlist.tdytqxList; 486 }).catch(() => {
475 }
476 if (!this.ruleForm.qlrData.length) {
477 this.ruleForm.qlrData = this.nowlist.qlrData;
478 }
479 if (!this.ruleForm.ywrData.length) {
480 this.ruleForm.ywrData = this.nowlist.ywrData;
481 }
482 this.$message({
483 type: "success",
484 message: "同步成功!",
485 });
486 }
487 });
488 }).catch(() => {
489 this.$message({ 487 this.$message({
490 type: "info", 488 type: "info",
491 message: "已取消同步", 489 message: "已取消同步",
...@@ -523,6 +521,11 @@ export default { ...@@ -523,6 +521,11 @@ export default {
523 init(this.propsParam).then((res) => { 521 init(this.propsParam).then((res) => {
524 if (res.code == 200) { 522 if (res.code == 200) {
525 this.ruleForm = res.result; 523 this.ruleForm = res.result;
524 this.ruleForm.qlrList.forEach((item, index) => {
525 if (item.sfczr == 1) {
526 this.ruleForm.czr = item.zjh
527 }
528 })
526 let djlx = this.ruleForm.qlxx.djlx; 529 let djlx = this.ruleForm.qlxx.djlx;
527 if (djlx == null || djlx == 100) { 530 if (djlx == null || djlx == 100) {
528 this.ssqlxxshow = false; 531 this.ssqlxxshow = false;
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 15:54:51 4 * @LastEditTime: 2023-08-04 16:45:13
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="145px" 18 label-width="145px">
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 补录信息
...@@ -101,8 +100,7 @@ ...@@ -101,8 +100,7 @@
101 <el-form-item 100 <el-form-item
102 label="业务号:" 101 label="业务号:"
103 prop="qlxx.ywh" 102 prop="qlxx.ywh"
104 :rules="rules.ywhrules" 103 :rules="rules.ywhrules">
105 >
106 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 104 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
107 </el-form-item> 105 </el-form-item>
108 </el-col> 106 </el-col>
...@@ -408,151 +406,151 @@ ...@@ -408,151 +406,151 @@
408 </div> 406 </div>
409 </template> 407 </template>
410 <script> 408 <script>
411 import { mapGetters } from "vuex"; 409 import { mapGetters } from "vuex";
412 import store from "@/store/index.js"; 410 import store from "@/store/index.js";
413 import ywmix from "@/views/ywbl/mixin/index"; 411 import ywmix from "@/views/ywbl/mixin/index";
414 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 412 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
415 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 413 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
416 import selectTable from "@/components/selectTable/index.vue"; 414 import selectTable from "@/components/selectTable/index.vue";
417 import tdytTable from "@/views/workflow/components/tdytTable"; 415 import tdytTable from "@/views/workflow/components/tdytTable";
418 export default { 416 export default {
419 mixins: [ywmix], 417 mixins: [ywmix],
420 components: { qlrCommonTable, tdytTable, selectTable }, 418 components: { qlrCommonTable, tdytTable, selectTable },
421 computed: { 419 computed: {
422 ...mapGetters(["dictData", "flag"]), 420 ...mapGetters(["dictData", "flag"]),
423 // 根据流程判断表单是否为只读 421 // 根据流程判断表单是否为只读
424 editDisabled() { 422 editDisabled () {
425 if (!this.ableOperation) { 423 if (!this.ableOperation) {
426 //只读状态 424 //只读状态
427 return true; 425 return true;
428 }
429 return false;
430 },
431 },
432 data() {
433 return {
434 ssqlxxshow: true,
435 props: {
436 label: "bdcqzh",
437 value: "bdcdyid",
438 },
439 // 键名转换,方法默认是label和children进行树状渲染
440 normalizer(node) {
441 //方法
442 if (node.children == null || node.children == "null") {
443 delete node.children;
444 } 426 }
445 return { 427 return false;
446 id: node.dcode,
447 label: node.dname,
448 };
449 }, 428 },
450 //表单是否可操作 429 },
451 propsParam: this.$attrs, 430 data () {
452 key: 0, 431 return {
453 // 登记类型 432 ssqlxxshow: true,
454 djlxlist: [ 433 props: {
455 { 434 label: "bdcqzh",
456 dcode: "100", 435 value: "bdcdyid",
457 dname: "首次登记",
458 },
459 {
460 dcode: "200",
461 dname: "转移登记",
462 },
463 {
464 dcode: "300",
465 dname: "变更登记",
466 }, 436 },
467 { 437 // 键名转换,方法默认是label和children进行树状渲染
468 dcode: "500", 438 normalizer (node) {
469 dname: "更正登记", 439 //方法
440 if (node.children == null || node.children == "null") {
441 delete node.children;
442 }
443 return {
444 id: node.dcode,
445 label: node.dname,
446 };
470 }, 447 },
448 //表单是否可操作
449 propsParam: this.$attrs,
450 key: 0,
451 // 登记类型
452 djlxlist: [
453 {
454 dcode: "100",
455 dname: "首次登记",
456 },
457 {
458 dcode: "200",
459 dname: "转移登记",
460 },
461 {
462 dcode: "300",
463 dname: "变更登记",
464 },
465 {
466 dcode: "500",
467 dname: "更正登记",
468 },
471 469
472 { 470 {
473 dcode: "901", 471 dcode: "901",
474 dname: "补证", 472 dname: "补证",
475 }, 473 },
476 { 474 {
477 dcode: "902", 475 dcode: "902",
478 dname: "换证", 476 dname: "换证",
479 }, 477 },
480 ],
481 // 权属状态
482 qsztlist: [
483 {
484 dcode: "1",
485 dname: "现势",
486 },
487 {
488 dcode: "2",
489 dname: "历史",
490 },
491 ],
492 isShow: false,
493 disabled: true,
494 czrOptions: [],
495 ssQlxxList: [],
496 ruleForm: {},
497 ableOperation: false,
498 //传递参数\
499 rules: {
500 ssQlxxrules: [
501 { required: true, message: "上手权利信息", trigger: "blur" },
502 ], 478 ],
503 bdcqzhrules: [ 479 // 权属状态
504 { required: true, message: "不动产权证号:", trigger: "blur" }, 480 qsztlist: [
481 {
482 dcode: "1",
483 dname: "现势",
484 },
485 {
486 dcode: "2",
487 dname: "历史",
488 },
505 ], 489 ],
506 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], 490 isShow: false,
507 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], 491 disabled: true,
508 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 492 czrOptions: [],
509 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 493 ssQlxxList: [],
510 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], 494 ruleForm: {},
495 ableOperation: false,
496 //传递参数\
497 rules: {
498 ssQlxxrules: [
499 { required: true, message: "上手权利信息", trigger: "blur" },
500 ],
501 bdcqzhrules: [
502 { required: true, message: "不动产权证号:", trigger: "blur" },
503 ],
504 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
505 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
506 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
507 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
508 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
511 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], 509 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
512 }, 510 },
513 }; 511 };
514 },
515 created() {},
516 mounted() {
517 this.loadData();
518 this.ableOperation = this.$parent.ableOperation;
519 },
520 methods: {
521 /**
522 * @description: ssQlxxchange
523 * @param {*} val
524 * @author: renchao
525 */
526 ssQlxxchange(val) {
527 this.ruleForm.ssQlxx = val;
528 this.ruleForm.qlxx.ssywh = val.ywh;
529 this.ssQlxxchangediolog(val);
530 }, 512 },
531 // 弹框事件 513 created () { },
532 ssQlxxchangediolog(val) { 514 mounted () {
533 this.$confirm("是否将上手权利信息同步到表单", "提示", { 515 this.loadData();
534 iconClass: "el-icon-question", //自定义图标样式 516 this.ableOperation = this.$parent.ableOperation;
535 confirmButtonText: "确认", //确认按钮文字更换 517 },
536 cancelButtonText: "取消", //取消按钮文字更换 518 methods: {
537 showClose: true, //是否显示右上角关闭按钮 519 /**
538 type: "warning", 520 * @description: ssQlxxchange
539 }) 521 * @param {*} val
540 .then(() => { 522 * @author: renchao
541 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 523 */
542 if (res.code == 200) { 524 ssQlxxchange (val) {
543 this.nowlist = res.result; 525 this.ruleForm.ssQlxx = val;
544 for (var key in this.ruleForm.tdsyq) { 526 this.ruleForm.qlxx.ssywh = val.ywh;
545 if ( 527 this.ssQlxxchangediolog(val);
546 this.ruleForm.tdsyq[key] == "" || 528 },
547 this.ruleForm.tdsyq[key] == null 529 // 弹框事件
548 ) { 530 ssQlxxchangediolog (val) {
549 this.ruleForm.tdsyq[key] = this.nowlist.tdsyq[key]; 531 this.$confirm("是否将上手权利信息同步到表单", "提示", {
532 iconClass: "el-icon-question", //自定义图标样式
533 confirmButtonText: "确认", //确认按钮文字更换
534 cancelButtonText: "取消", //取消按钮文字更换
535 showClose: true, //是否显示右上角关闭按钮
536 type: "warning",
537 })
538 .then(() => {
539 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
540 if (res.code == 200) {
541 this.nowlist = res.result;
542 for (var key in this.ruleForm.tdsyq) {
543 if (
544 this.ruleForm.tdsyq[key] == "" ||
545 this.ruleForm.tdsyq[key] == null
546 ) {
547 this.ruleForm.tdsyq[key] = this.nowlist.tdsyq[key];
548 }
550 } 549 }
551 } 550 for (var key in this.ruleForm.qlxx) {
552 for (var key in this.ruleForm.qlxx) { 551 if (
553 if ( 552 this.ruleForm.qlxx[key] == "" ||
554 this.ruleForm.qlxx[key] == ""|| 553 this.ruleForm.qlxx[key] == null &&
555 this.ruleForm.qlxx[key] == null &&
556 key != "ywh" && 554 key != "ywh" &&
557 key != "dbr" && 555 key != "dbr" &&
558 key != "djsj" && 556 key != "djsj" &&
...@@ -561,103 +559,108 @@ export default { ...@@ -561,103 +559,108 @@ export default {
561 key != "bdcqzh") { 559 key != "bdcqzh") {
562 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 560 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
563 561
562 }
564 } 563 }
564 if (!this.ruleForm.tdytqxList.length) {
565 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
566 }
567 if (!this.ruleForm.qlrData.length) {
568 this.ruleForm.qlrData = this.nowlist.qlrData;
569 }
570 if (!this.ruleForm.ywrData.length) {
571 this.ruleForm.ywrData = this.nowlist.ywrData;
572 }
573 this.$message({
574 type: "success",
575 message: "同步成功!",
576 });
565 } 577 }
566 if (!this.ruleForm.tdytqxList.length) { 578 });
567 this.ruleForm.tdytqxList = this.nowlist.tdytqxList; 579 })
568 } 580 .catch(() => {
569 if (!this.ruleForm.qlrData.length) { 581 this.$message({
570 this.ruleForm.qlrData = this.nowlist.qlrData; 582 type: "info",
571 } 583 message: "已取消同步",
572 if (!this.ruleForm.ywrData.length) { 584 });
573 this.ruleForm.ywrData = this.nowlist.ywrData;
574 }
575 this.$message({
576 type: "success",
577 message: "同步成功!",
578 });
579 }
580 });
581 })
582 .catch(() => {
583 this.$message({
584 type: "info",
585 message: "已取消同步",
586 }); 585 });
587 }); 586 },
588 }, 587 /**
589 /** 588 * @description: djlxchange
590 * @description: djlxchange 589 * @param {*} val
591 * @param {*} val 590 * @author: renchao
592 * @author: renchao 591 */
593 */ 592 djlxchange (val) {
594 djlxchange(val) { 593 if (val == null || val == 100) {
595 if (val == null || val == 100) { 594 this.ssqlxxshow = false;
596 this.ssqlxxshow = false; 595 } else {
597 } else { 596 this.ssqlxxshow = true;
598 this.ssqlxxshow = true; 597 }
599 } 598 },
600 },
601 599
602 // 字典 600 // 字典
603 /** 601 /**
604 * @description: 字典 602 * @description: 字典
605 * @param {*} val 603 * @param {*} val
606 * @author: renchao 604 * @author: renchao
607 */ 605 */
608 getDictData(val) { 606 getDictData (val) {
609 return store.getters.dictData[val]; 607 return store.getters.dictData[val];
610 }, 608 },
611 /** 609 /**
612 * @description: loadData 610 * @description: loadData
613 * @author: renchao 611 * @author: renchao
614 */ 612 */
615 loadData() { 613 loadData () {
616 this.$startLoading(); 614 this.$startLoading();
617 this.propsParam.isEdit = this.$parent.isEdit; 615 this.propsParam.isEdit = this.$parent.isEdit;
618 init(this.propsParam).then((res) => { 616 init(this.propsParam).then((res) => {
619 if (res.code == 200) { 617 if (res.code == 200) {
620 this.ruleForm = res.result; 618 this.ruleForm = res.result;
621 let djlx = this.ruleForm.qlxx.djlx; 619 this.ruleForm.qlrList.forEach((item, index) => {
622 if (djlx == null || djlx == 100) { 620 if (item.sfczr == 1) {
623 this.ssqlxxshow = false; 621 this.ruleForm.czr = item.zjh
624 } 622 }
625 this.$endLoading(); 623 })
626 this.isShow = true; 624 let djlx = this.ruleForm.qlxx.djlx;
627 //获取主体信息 625 if (djlx == null || djlx == 100) {
628 getSsQlxx({ 626 this.ssqlxxshow = false;
629 bdcdyid: this.propsParam.bdcdyid,
630 qllx: this.propsParam.qllx,
631 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
632 }).then((res) => {
633 if (res.code == 200) {
634 this.ssQlxxList = res.result;
635 } 627 }
636 }); 628 this.$endLoading();
637 } 629 this.isShow = true;
638 }); 630 //获取主体信息
639 }, 631 getSsQlxx({
640 // 更新土地用途信息 632 bdcdyid: this.propsParam.bdcdyid,
641 /** 633 qllx: this.propsParam.qllx,
642 * @description: 更新土地用途信息 634 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
643 * @param {*} val 635 }).then((res) => {
644 * @author: renchao 636 if (res.code == 200) {
645 */ 637 this.ssQlxxList = res.result;
646 upDateTdytxxList(val) { 638 }
647 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 639 });
648 this.key++; 640 }
649 }, 641 });
650 // 更新权利人信息 642 },
651 /** 643 // 更新土地用途信息
652 * @description: 更新权利人信息 644 /**
653 * @param {*} val 645 * @description: 更新土地用途信息
654 * @author: renchao 646 * @param {*} val
655 */ 647 * @author: renchao
656 upDateQlrxxList(val) { 648 */
657 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 649 upDateTdytxxList (val) {
658 this.czrOptions = this.ruleForm.qlrData; 650 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
659 this.key++; 651 this.key++;
660 }, 652 },
653 // 更新权利人信息
654 /**
655 * @description: 更新权利人信息
656 * @param {*} val
657 * @author: renchao
658 */
659 upDateQlrxxList (val) {
660 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
661 this.czrOptions = this.ruleForm.qlrData;
662 this.key++;
663 },
661 /** 664 /**
662 * @description: onSubmit 665 * @description: onSubmit
663 * @author: renchao 666 * @author: renchao
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 15:53:44 4 * @LastEditTime: 2023-08-04 16:45:23
5 :show-message="false" 5 :show-message="false"
6 --> 6 -->
7 <template> 7 <template>
...@@ -42,12 +42,11 @@ ...@@ -42,12 +42,11 @@
42 </el-row> 42 </el-row>
43 <div class="slxx_title title-block bdcqk"> 43 <div class="slxx_title title-block bdcqk">
44 预告抵押不动产情况 44 预告抵押不动产情况
45 <div class="count"> 45 <div class="count">
46 <el-form-item 46 <el-form-item
47 label="预告抵押不动产情况" 47 label="预告抵押不动产情况"
48 prop="ztQlxx.bdcqzh" 48 prop="ztQlxx.bdcqzh"
49 :rules="rules.ztQlxxrules" 49 :rules="rules.ztQlxxrules">
50 >
51 <select-table 50 <select-table
52 v-model="ruleForm.ztQlxx" 51 v-model="ruleForm.ztQlxx"
53 :table-width="730" 52 :table-width="730"
...@@ -61,12 +60,10 @@ ...@@ -61,12 +60,10 @@
61 <el-table-column 60 <el-table-column
62 prop="bdcqzh" 61 prop="bdcqzh"
63 width="160" 62 width="160"
64 label="不动产权证书" 63 label="不动产权证书"></el-table-column>
65 ></el-table-column>
66 <el-table-column 64 <el-table-column
67 prop="qlrmc" 65 prop="qlrmc"
68 label="被执行人" 66 label="被执行人"></el-table-column>
69 ></el-table-column>
70 <el-table-column prop="mjmc" label="面积"></el-table-column> 67 <el-table-column prop="mjmc" label="面积"></el-table-column>
71 <el-table-column prop="ytmc" label="用途"></el-table-column> 68 <el-table-column prop="ytmc" label="用途"></el-table-column>
72 <el-table-column prop="zl" label="坐落"></el-table-column> 69 <el-table-column prop="zl" label="坐落"></el-table-column>
...@@ -128,29 +125,25 @@ ...@@ -128,29 +125,25 @@
128 </el-row> 125 </el-row>
129 <div class="slxx_title title-block bdcqk"> 126 <div class="slxx_title title-block bdcqk">
130 预告登记信息 127 预告登记信息
131 <div class="count" v-if="ssqlxxshow"> 128 <div class="count" v-if="ssqlxxshow">
132 <el-form-item 129 <el-form-item
133 label="上手权利信息:" 130 label="上手权利信息:"
134 prop="ssQlxx.bdcqzh" 131 prop="ssQlxx.bdcqzh"
135 :rules="rules.ssQlxxrules" 132 :rules="rules.ssQlxxrules">
136 >
137 <select-table 133 <select-table
138 v-model="ruleForm.ssQlxx" 134 v-model="ruleForm.ssQlxx"
139 :table-width="730" 135 :table-width="730"
140 :tableData="ssQlxxList" 136 :tableData="ssQlxxList"
141 :props="props" 137 :props="props"
142 @change="ssQlxxchange" 138 @change="ssQlxxchange">
143 >
144 <el-table-column 139 <el-table-column
145 prop="qllxmc" 140 prop="qllxmc"
146 width="130" 141 width="130"
147 label="权利类型" 142 label="权利类型"></el-table-column>
148 ></el-table-column>
149 <el-table-column 143 <el-table-column
150 prop="bdcqzh" 144 prop="bdcqzh"
151 width="160" 145 width="160"
152 label="不动产权证书" 146 label="不动产权证书"></el-table-column>
153 ></el-table-column>
154 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 147 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
155 <el-table-column prop="mjmc" label="面积"></el-table-column> 148 <el-table-column prop="mjmc" label="面积"></el-table-column>
156 <el-table-column prop="ytmc" label="用途"></el-table-column> 149 <el-table-column prop="ytmc" label="用途"></el-table-column>
...@@ -618,56 +611,56 @@ ...@@ -618,56 +611,56 @@
618 ableOperation: false, 611 ableOperation: false,
619 }; 612 };
620 }, 613 },
621 created() { 614 created () {
622 this.loadData(); 615 this.loadData();
623 },
624 mounted() {
625 this.ableOperation = this.$parent.ableOperation;
626 },
627 methods: {
628 /**
629 * @description: ztQlxxchange
630 * @param {*} val
631 * @author: renchao
632 */
633 ztQlxxchange(val) {
634 this.ruleForm.ztQlxx = val;
635 }, 616 },
636 /** 617 mounted () {
637 * @description: ssQlxxchange 618 this.ableOperation = this.$parent.ableOperation;
638 * @param {*} val
639 * @author: renchao
640 */
641 ssQlxxchange(val) {
642 this.ruleForm.ssQlxx = val;
643 this.ruleForm.qlxx.ssywh = val.ywh;
644 this.ssQlxxchangediolog(val);
645 }, 619 },
646 // 弹框事件 620 methods: {
647 ssQlxxchangediolog(val) { 621 /**
648 this.$confirm("是否将上手权利信息同步到表单", "提示", { 622 * @description: ztQlxxchange
649 iconClass: "el-icon-question", //自定义图标样式 623 * @param {*} val
650 confirmButtonText: "确认", //确认按钮文字更换 624 * @author: renchao
651 cancelButtonText: "取消", //取消按钮文字更换 625 */
652 showClose: true, //是否显示右上角关闭按钮 626 ztQlxxchange (val) {
653 type: "warning", 627 this.ruleForm.ztQlxx = val;
654 }) 628 },
655 .then(() => { 629 /**
656 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 630 * @description: ssQlxxchange
657 if (res.code == 200) { 631 * @param {*} val
658 this.nowlist = res.result; 632 * @author: renchao
659 for (var key in this.ruleForm.ygdj) { 633 */
660 if ( 634 ssQlxxchange (val) {
661 this.ruleForm.ygdj[key] == "" || 635 this.ruleForm.ssQlxx = val;
662 this.ruleForm.ygdj[key] == null 636 this.ruleForm.qlxx.ssywh = val.ywh;
663 ) { 637 this.ssQlxxchangediolog(val);
664 this.ruleForm.ygdj[key] = this.nowlist.ygdj[key]; 638 },
639 // 弹框事件
640 ssQlxxchangediolog (val) {
641 this.$confirm("是否将上手权利信息同步到表单", "提示", {
642 iconClass: "el-icon-question", //自定义图标样式
643 confirmButtonText: "确认", //确认按钮文字更换
644 cancelButtonText: "取消", //取消按钮文字更换
645 showClose: true, //是否显示右上角关闭按钮
646 type: "warning",
647 })
648 .then(() => {
649 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
650 if (res.code == 200) {
651 this.nowlist = res.result;
652 for (var key in this.ruleForm.ygdj) {
653 if (
654 this.ruleForm.ygdj[key] == "" ||
655 this.ruleForm.ygdj[key] == null
656 ) {
657 this.ruleForm.ygdj[key] = this.nowlist.ygdj[key];
658 }
665 } 659 }
666 } 660 for (var key in this.ruleForm.qlxx) {
667 for (var key in this.ruleForm.qlxx) { 661 if (
668 if ( 662 this.ruleForm.qlxx[key] == "" ||
669 this.ruleForm.qlxx[key] == ""|| 663 this.ruleForm.qlxx[key] == null &&
670 this.ruleForm.qlxx[key] == null &&
671 key != "ywh" && 664 key != "ywh" &&
672 key != "dbr" && 665 key != "dbr" &&
673 key != "djsj" && 666 key != "djsj" &&
...@@ -676,31 +669,31 @@ created() { ...@@ -676,31 +669,31 @@ created() {
676 key != "bdcqzh") { 669 key != "bdcqzh") {
677 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 670 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
678 671
672 }
679 } 673 }
674 if (!this.ruleForm.tdytqxList.length) {
675 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
676 }
677 if (!this.ruleForm.qlrData.length) {
678 this.ruleForm.qlrData = this.nowlist.qlrData;
679 }
680 if (!this.ruleForm.ywrData.length) {
681 this.ruleForm.ywrData = this.nowlist.ywrData;
682 }
683 this.$message({
684 type: "success",
685 message: "同步成功!",
686 });
680 } 687 }
681 if (!this.ruleForm.tdytqxList.length) { 688 });
682 this.ruleForm.tdytqxList = this.nowlist.tdytqxList; 689 })
683 } 690 .catch(() => {
684 if (!this.ruleForm.qlrData.length) { 691 this.$message({
685 this.ruleForm.qlrData = this.nowlist.qlrData; 692 type: "info",
686 } 693 message: "已取消同步",
687 if (!this.ruleForm.ywrData.length) { 694 });
688 this.ruleForm.ywrData = this.nowlist.ywrData;
689 }
690 this.$message({
691 type: "success",
692 message: "同步成功!",
693 });
694 }
695 });
696 })
697 .catch(() => {
698 this.$message({
699 type: "info",
700 message: "已取消同步",
701 }); 695 });
702 }); 696 },
703 },
704 697
705 /** 698 /**
706 * @description: djlxchange 699 * @description: djlxchange
...@@ -724,6 +717,11 @@ created() { ...@@ -724,6 +717,11 @@ created() {
724 init(this.propsParam).then((res) => { 717 init(this.propsParam).then((res) => {
725 if (res.code == 200) { 718 if (res.code == 200) {
726 this.ruleForm = res.result; 719 this.ruleForm = res.result;
720 this.ruleForm.qlrList.forEach((item, index) => {
721 if (item.sfczr == 1) {
722 this.ruleForm.czr = item.zjh
723 }
724 })
727 let djlx = this.ruleForm.qlxx.djlx; 725 let djlx = this.ruleForm.qlxx.djlx;
728 if (djlx == null || djlx == 100) { 726 if (djlx == null || djlx == 100) {
729 this.ssqlxxshow = false; 727 this.ssqlxxshow = false;
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 15:53:48 4 * @LastEditTime: 2023-08-04 16:45:37
5 :show-message="false" 5 :show-message="false"
6 --> 6 -->
7 <template> 7 <template>
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
42 </el-row> 42 </el-row>
43 <div class="slxx_title title-block bdcqk"> 43 <div class="slxx_title title-block bdcqk">
44 预告买卖不动产情况 44 预告买卖不动产情况
45 <div class="count" v-if="ssqlxxshow"> 45 <div class="count" v-if="ssqlxxshow">
46 <el-form-item 46 <el-form-item
47 label="上手权利信息:" 47 label="上手权利信息:"
48 prop="ssQlxx.bdcqzh" 48 prop="ssQlxx.bdcqzh"
...@@ -509,7 +509,7 @@ ...@@ -509,7 +509,7 @@
509 dname: "历史", 509 dname: "历史",
510 }, 510 },
511 ], 511 ],
512 //传递参数\ 512 //传递参数\
513 rules: { 513 rules: {
514 ztQlxxrules: [ 514 ztQlxxrules: [
515 { required: true, message: "抵押不动产信息", trigger: "blur" }, 515 { required: true, message: "抵押不动产信息", trigger: "blur" },
...@@ -533,56 +533,56 @@ ...@@ -533,56 +533,56 @@
533 ableOperation: false, 533 ableOperation: false,
534 }; 534 };
535 }, 535 },
536 created() { 536 created () {
537 this.loadData(); 537 this.loadData();
538 },
539 mounted() {
540 this.ableOperation = this.$parent.ableOperation;
541 },
542 methods: {
543 /**
544 * @description: ztQlxxchange
545 * @param {*} val
546 * @author: renchao
547 */
548 ztQlxxchange(val) {
549 this.ruleForm.ztQlxx = val;
550 }, 538 },
551 /** 539 mounted () {
552 * @description: ssQlxxchange 540 this.ableOperation = this.$parent.ableOperation;
553 * @param {*} val
554 * @author: renchao
555 */
556 ssQlxxchange(val) {
557 this.ruleForm.ssQlxx = val;
558 this.ruleForm.qlxx.ssywh = val.ywh;
559 this.ssQlxxchangediolog(val);
560 }, 541 },
561 // 弹框事件 542 methods: {
562 ssQlxxchangediolog(val) { 543 /**
563 this.$confirm("是否将上手权利信息同步到表单", "提示", { 544 * @description: ztQlxxchange
564 iconClass: "el-icon-question", //自定义图标样式 545 * @param {*} val
565 confirmButtonText: "确认", //确认按钮文字更换 546 * @author: renchao
566 cancelButtonText: "取消", //取消按钮文字更换 547 */
567 showClose: true, //是否显示右上角关闭按钮 548 ztQlxxchange (val) {
568 type: "warning", 549 this.ruleForm.ztQlxx = val;
569 }) 550 },
570 .then(() => { 551 /**
571 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 552 * @description: ssQlxxchange
572 if (res.code == 200) { 553 * @param {*} val
573 this.nowlist = res.result; 554 * @author: renchao
574 for (var key in this.ruleForm.ygdj) { 555 */
575 if ( 556 ssQlxxchange (val) {
576 this.ruleForm.ygdj[key] == "" || 557 this.ruleForm.ssQlxx = val;
577 this.ruleForm.ygdj[key] == null 558 this.ruleForm.qlxx.ssywh = val.ywh;
578 ) { 559 this.ssQlxxchangediolog(val);
579 this.ruleForm.ygdj[key] = this.nowlist.ygdj[key]; 560 },
561 // 弹框事件
562 ssQlxxchangediolog (val) {
563 this.$confirm("是否将上手权利信息同步到表单", "提示", {
564 iconClass: "el-icon-question", //自定义图标样式
565 confirmButtonText: "确认", //确认按钮文字更换
566 cancelButtonText: "取消", //取消按钮文字更换
567 showClose: true, //是否显示右上角关闭按钮
568 type: "warning",
569 })
570 .then(() => {
571 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
572 if (res.code == 200) {
573 this.nowlist = res.result;
574 for (var key in this.ruleForm.ygdj) {
575 if (
576 this.ruleForm.ygdj[key] == "" ||
577 this.ruleForm.ygdj[key] == null
578 ) {
579 this.ruleForm.ygdj[key] = this.nowlist.ygdj[key];
580 }
580 } 581 }
581 } 582 for (var key in this.ruleForm.qlxx) {
582 for (var key in this.ruleForm.qlxx) { 583 if (
583 if ( 584 this.ruleForm.qlxx[key] == "" ||
584 this.ruleForm.qlxx[key] == ""|| 585 this.ruleForm.qlxx[key] == null &&
585 this.ruleForm.qlxx[key] == null &&
586 key != "ywh" && 586 key != "ywh" &&
587 key != "dbr" && 587 key != "dbr" &&
588 key != "djsj" && 588 key != "djsj" &&
...@@ -591,31 +591,31 @@ created() { ...@@ -591,31 +591,31 @@ created() {
591 key != "bdcqzh") { 591 key != "bdcqzh") {
592 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 592 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
593 593
594 }
594 } 595 }
596 if (!this.ruleForm.tdytqxList.length) {
597 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
598 }
599 if (!this.ruleForm.qlrData.length) {
600 this.ruleForm.qlrData = this.nowlist.qlrData;
601 }
602 if (!this.ruleForm.ywrData.length) {
603 this.ruleForm.ywrData = this.nowlist.ywrData;
604 }
605 this.$message({
606 type: "success",
607 message: "同步成功!",
608 });
595 } 609 }
596 if (!this.ruleForm.tdytqxList.length) { 610 });
597 this.ruleForm.tdytqxList = this.nowlist.tdytqxList; 611 })
598 } 612 .catch(() => {
599 if (!this.ruleForm.qlrData.length) { 613 this.$message({
600 this.ruleForm.qlrData = this.nowlist.qlrData; 614 type: "info",
601 } 615 message: "已取消同步",
602 if (!this.ruleForm.ywrData.length) { 616 });
603 this.ruleForm.ywrData = this.nowlist.ywrData;
604 }
605 this.$message({
606 type: "success",
607 message: "同步成功!",
608 });
609 }
610 });
611 })
612 .catch(() => {
613 this.$message({
614 type: "info",
615 message: "已取消同步",
616 }); 617 });
617 }); 618 },
618 },
619 /** 619 /**
620 * @description: djlxchange 620 * @description: djlxchange
621 * @param {*} val 621 * @param {*} val
...@@ -638,6 +638,11 @@ created() { ...@@ -638,6 +638,11 @@ created() {
638 init(this.propsParam).then((res) => { 638 init(this.propsParam).then((res) => {
639 if (res.code == 200) { 639 if (res.code == 200) {
640 this.ruleForm = res.result; 640 this.ruleForm = res.result;
641 this.ruleForm.qlrList.forEach((item, index) => {
642 if (item.sfczr == 1) {
643 this.ruleForm.czr = item.zjh
644 }
645 })
641 let djlx = this.ruleForm.qlxx.djlx; 646 let djlx = this.ruleForm.qlxx.djlx;
642 if (djlx == null || djlx == 100) { 647 if (djlx == null || djlx == 100) {
643 this.ssqlxxshow = false; 648 this.ssqlxxshow = false;
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 08:38:11 4 * @LastEditTime: 2023-08-04 16:45:57
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -658,6 +658,11 @@ ...@@ -658,6 +658,11 @@
658 init(this.propsParam).then((res) => { 658 init(this.propsParam).then((res) => {
659 if (res.code == 200) { 659 if (res.code == 200) {
660 this.ruleForm = res.result; 660 this.ruleForm = res.result;
661 this.ruleForm.qlrList.forEach((item, index) => {
662 if (item.sfczr == 1) {
663 this.ruleForm.czr = item.zjh
664 }
665 })
661 let djlx = this.ruleForm.qlxx.djlx; 666 let djlx = this.ruleForm.qlxx.djlx;
662 if (djlx == null || djlx == 100) { 667 if (djlx == null || djlx == 100) {
663 this.ssqlxxshow = false; 668 this.ssqlxxshow = false;
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 09:31:38 4 * @LastEditTime: 2023-08-04 16:46:12
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -289,6 +289,11 @@ ...@@ -289,6 +289,11 @@
289 Init(formdata).then((res) => { 289 Init(formdata).then((res) => {
290 if (res.code === 200 && res.result) { 290 if (res.code === 200 && res.result) {
291 this.ruleForm = res.result; 291 this.ruleForm = res.result;
292 this.ruleForm.qlrList.forEach((item, index) => {
293 if (item.sfczr == 1) {
294 this.ruleForm.czr = item.zjh
295 }
296 })
292 this.ruleForm.diyaq.sfczjzhxz = "0"; 297 this.ruleForm.diyaq.sfczjzhxz = "0";
293 } 298 }
294 this.$endLoading(); 299 this.$endLoading();
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 16:32:05 4 * @LastEditTime: 2023-08-04 16:46:25
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -278,6 +278,11 @@ ...@@ -278,6 +278,11 @@
278 ...res.result, 278 ...res.result,
279 ...res.result.qlxxdatas, 279 ...res.result.qlxxdatas,
280 } 280 }
281 this.ruleForm.qlrList.forEach((item, index) => {
282 if (item.sfczr == 1) {
283 this.ruleForm.czr = item.zjh
284 }
285 })
281 //初始化发证方式,1:小证,2:大正 286 //初始化发证方式,1:小证,2:大正
282 this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; 287 this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs;
283 } 288 }
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 16:32:08 4 * @LastEditTime: 2023-08-04 16:46:32
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -277,6 +277,11 @@ ...@@ -277,6 +277,11 @@
277 ...res.result.qlxxdatas, 277 ...res.result.qlxxdatas,
278 ...res.result.jsydsyqdatas, 278 ...res.result.jsydsyqdatas,
279 }; 279 };
280 this.ruleForm.qlrList.forEach((item, index) => {
281 if (item.sfczr == 1) {
282 this.ruleForm.czr = item.zjh
283 }
284 })
280 //初始化发证方式,1:小证,2:大正 285 //初始化发证方式,1:小证,2:大正
281 this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; 286 this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs;
282 } 287 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 16:31:38 4 * @LastEditTime: 2023-08-04 16:40:27
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -89,11 +89,6 @@ ...@@ -89,11 +89,6 @@
89 </div> 89 </div>
90 </el-form-item> 90 </el-form-item>
91 </el-col> 91 </el-col>
92 <!-- <el-col :span="8">
93 <el-form-item label="土地用途:">
94 <el-input v-model="ruleForm.zdjbxx.ghytmc"></el-input>
95 </el-form-item>
96 </el-col> -->
97 <el-col :span="8"> 92 <el-col :span="8">
98 <el-form-item label="权利设定方式:"> 93 <el-form-item label="权利设定方式:">
99 <el-input v-model="ruleForm.zdjbxx.qlsdfsmc"></el-input> 94 <el-input v-model="ruleForm.zdjbxx.qlsdfsmc"></el-input>
...@@ -117,19 +112,6 @@ ...@@ -117,19 +112,6 @@
117 </el-form-item> 112 </el-form-item>
118 </el-col> 113 </el-col>
119 </el-row> 114 </el-row>
120 <!-- <el-row :gutter="10">
121 <el-col :span="8">
122 <el-form-item label="使用期限:">
123 <el-input v-model="ruleForm.jsydsyq.tdsyqx"></el-input>
124 </el-form-item>
125 </el-col>
126
127 <el-col :span="16">
128 <el-form-item label="使用权起止时间:">
129 <el-input v-model="ruleForm.jsydsyq.syqqzsj"></el-input>
130 </el-form-item>
131 </el-col>
132 </el-row> -->
133 <el-row :gutter="10"> 115 <el-row :gutter="10">
134 <el-col> 116 <el-col>
135 <el-form-item label="附记:" prop="fj"> 117 <el-form-item label="附记:" prop="fj">
...@@ -242,6 +224,11 @@ ...@@ -242,6 +224,11 @@
242 Init(formdata).then((res) => { 224 Init(formdata).then((res) => {
243 this.$nextTick(() => { 225 this.$nextTick(() => {
244 that.ruleForm = res.result; 226 that.ruleForm = res.result;
227 this.ruleForm.qlrList.forEach((item, index) => {
228 if (item.sfczr == 1) {
229 this.ruleForm.czr = item.zjh
230 }
231 })
245 that.$endLoading(); 232 that.$endLoading();
246 that.isShow = true; 233 that.isShow = true;
247 this.czrOptions = this.ruleForm.qlrList; 234 this.czrOptions = this.ruleForm.qlrList;
...@@ -285,7 +272,6 @@ ...@@ -285,7 +272,6 @@
285 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 272 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
286 this.key++; 273 this.key++;
287 }, 274 },
288 // 更新权利人信息
289 /** 275 /**
290 * @description: 更新权利人信息 276 * @description: 更新权利人信息
291 * @param {*} val 277 * @param {*} val
...@@ -296,7 +282,6 @@ ...@@ -296,7 +282,6 @@
296 this.czrOptions = this.ruleForm.qlrList; 282 this.czrOptions = this.ruleForm.qlrList;
297 this.key++ 283 this.key++
298 }, 284 },
299 // 更新义务人信息
300 /** 285 /**
301 * @description: 更新义务人信息 286 * @description: 更新义务人信息
302 * @param {*} val 287 * @param {*} val
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <!-- 2 <!--
3 * @Description: 3 * @Description:
4 * @Autor: renchao 4 * @Autor: renchao
5 * @LastEditTime: 2023-08-04 16:32:14 5 * @LastEditTime: 2023-08-04 16:46:55
6 --> 6 -->
7 <template> 7 <template>
8 <!-- 受理信息 --> 8 <!-- 受理信息 -->
...@@ -232,6 +232,11 @@ ...@@ -232,6 +232,11 @@
232 Init(formdata).then((res) => { 232 Init(formdata).then((res) => {
233 if (res.code === 200 && res.result) { 233 if (res.code === 200 && res.result) {
234 this.ruleForm = res.result; 234 this.ruleForm = res.result;
235 this.ruleForm.qlrList.forEach((item, index) => {
236 if (item.sfczr == 1) {
237 this.ruleForm.czr = item.zjh
238 }
239 })
235 } 240 }
236 this.$endLoading(); 241 this.$endLoading();
237 }); 242 });
......
...@@ -258,6 +258,11 @@ ...@@ -258,6 +258,11 @@
258 formdata.append("isEdit", this.ableOperation); 258 formdata.append("isEdit", this.ableOperation);
259 Init(formdata).then((res) => { 259 Init(formdata).then((res) => {
260 this.ruleForm = res.result; 260 this.ruleForm = res.result;
261 this.ruleForm.qlrList.forEach((item, index) => {
262 if (item.sfczr == 1) {
263 this.ruleForm.czr = item.zjh
264 }
265 })
261 this.$endLoading(); 266 this.$endLoading();
262 if (res.code === 200) { 267 if (res.code === 200) {
263 } 268 }
......
...@@ -263,6 +263,11 @@ ...@@ -263,6 +263,11 @@
263 formdata.append("isEdit", this.ableOperation); 263 formdata.append("isEdit", this.ableOperation);
264 Init(formdata).then((res) => { 264 Init(formdata).then((res) => {
265 this.ruleForm = res.result; 265 this.ruleForm = res.result;
266 this.ruleForm.qlrList.forEach((item, index) => {
267 if (item.sfczr == 1) {
268 this.ruleForm.czr = item.zjh
269 }
270 })
266 this.$endLoading(); 271 this.$endLoading();
267 if (res.code === 200) { 272 if (res.code === 200) {
268 } 273 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 15:51:27 4 * @LastEditTime: 2023-08-04 16:47:29
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -358,6 +358,11 @@ ...@@ -358,6 +358,11 @@
358 Init(formdata).then((res) => { 358 Init(formdata).then((res) => {
359 this.$nextTick(() => { 359 this.$nextTick(() => {
360 that.ruleForm = res.result; 360 that.ruleForm = res.result;
361 this.ruleForm.qlrList.forEach((item, index) => {
362 if (item.sfczr == 1) {
363 this.ruleForm.czr = item.zjh
364 }
365 })
361 that.$endLoading(); 366 that.$endLoading();
362 that.isShow = true; 367 that.isShow = true;
363 this.czrOptions = this.ruleForm.qlrList; 368 this.czrOptions = this.ruleForm.qlrList;
......
...@@ -228,8 +228,12 @@ ...@@ -228,8 +228,12 @@
228 formdata.append("isEdit", this.ableOperation); 228 formdata.append("isEdit", this.ableOperation);
229 Init(formdata).then(res => { 229 Init(formdata).then(res => {
230 if (res.code === 200 && res.result) { 230 if (res.code === 200 && res.result) {
231 console.log(res.result.ygdj.ygdjzlmc);
232 this.ruleForm = res.result; 231 this.ruleForm = res.result;
232 this.ruleForm.qlrList.forEach((item, index) => {
233 if (item.sfczr == 1) {
234 this.ruleForm.czr = item.zjh
235 }
236 })
233 this.$endLoading(); 237 this.$endLoading();
234 } 238 }
235 }) 239 })
......
...@@ -198,6 +198,11 @@ ...@@ -198,6 +198,11 @@
198 if (res.code === 200 && res.result) { 198 if (res.code === 200 && res.result) {
199 this.$endLoading(); 199 this.$endLoading();
200 this.ruleForm = res.result; 200 this.ruleForm = res.result;
201 this.ruleForm.qlrList.forEach((item, index) => {
202 if (item.sfczr == 1) {
203 this.ruleForm.czr = item.zjh
204 }
205 })
201 } 206 }
202 }); 207 });
203 }, 208 },
......
...@@ -260,6 +260,11 @@ ...@@ -260,6 +260,11 @@
260 Init(formdata).then((res) => { 260 Init(formdata).then((res) => {
261 if (res.code === 200 && res.result) { 261 if (res.code === 200 && res.result) {
262 that.ruleForm = res.result; 262 that.ruleForm = res.result;
263 this.ruleForm.qlrList.forEach((item, index) => {
264 if (item.sfczr == 1) {
265 this.ruleForm.czr = item.zjh
266 }
267 })
263 setTimeout(() => { 268 setTimeout(() => {
264 that.loading = false 269 that.loading = false
265 }, 300) 270 }, 300)
......
...@@ -274,6 +274,11 @@ ...@@ -274,6 +274,11 @@
274 Init(formdata).then((res) => { 274 Init(formdata).then((res) => {
275 if (res.code === 200 && res.result) { 275 if (res.code === 200 && res.result) {
276 this.ruleForm = res.result; 276 this.ruleForm = res.result;
277 this.ruleForm.qlrList.forEach((item, index) => {
278 if (item.sfczr == 1) {
279 this.ruleForm.czr = item.zjh
280 }
281 })
277 this.$endLoading(); 282 this.$endLoading();
278 //this.ruleForm.diyaq.sfczjzhxz = "0"; 283 //this.ruleForm.diyaq.sfczjzhxz = "0";
279 } 284 }
......