0f8df322 by renchao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents 3585896f 1f8b14f9
...@@ -53,7 +53,20 @@ ...@@ -53,7 +53,20 @@
53 font-weight: 500; 53 font-weight: 500;
54 color: #4a4a4a; 54 color: #4a4a4a;
55 } 55 }
56 .bdcqk {
57 margin-top: 15px;
58 position: relative;
59 .count {
60 color: blue!important;
61 width: 874px;
62 font-size: 14px;
63 position: absolute;
64 left:200px;
65 top: -3px;
66 height: 30px;
56 67
68 }
69 }
57 .btn { 70 .btn {
58 text-align: center; 71 text-align: center;
59 padding-top: 10px; 72 padding-top: 10px;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 :show-message="false" 4 :show-message="false"
5 * @LastEditTime: 2023-08-04 16:33:14 5 * @LastEditTime: 2023-08-04 16:35:53
6 --> 6 -->
7 <template> 7 <template>
8 <!-- 受理信息 --> 8 <!-- 受理信息 -->
...@@ -40,19 +40,16 @@ ...@@ -40,19 +40,16 @@
40 </el-form-item> 40 </el-form-item>
41 </el-col> 41 </el-col>
42 </el-row> 42 </el-row>
43 <div class="slxx_title title-block"> 43 <div class="slxx_title title-block bdcqk">
44 查封登记不动产情况 44 查封登记不动产情况
45 <div class="triangle"></div> 45 <div class="count">
46 </div>
47 <el-row :gutter="10">
48 <el-col :span="8">
49 <el-form-item 46 <el-form-item
50 label="查封不动产权信息:" 47 label="查封不动产权信息:"
51 prop="ztQlxx.bdcqzh" 48 prop="ztQlxx.bdcqzh"
52 :rules="rules.ztQlxxrules"> 49 :rules="rules.ztQlxxrules">
53 <select-table 50 <select-table
54 v-model="ruleForm.ztQlxx" 51 v-model="ruleForm.ztQlxx"
55 :table-width="550" 52 :table-width="730"
56 :tableData="ztQlxxList" 53 :tableData="ztQlxxList"
57 :props="props" 54 :props="props"
58 @change="ztQlxxchange"> 55 @change="ztQlxxchange">
...@@ -72,34 +69,13 @@ ...@@ -72,34 +69,13 @@
72 <el-table-column prop="zl" label="坐落"></el-table-column> 69 <el-table-column prop="zl" label="坐落"></el-table-column>
73 </select-table> 70 </select-table>
74 </el-form-item> 71 </el-form-item>
75 </el-col> 72 </div>
73
74 <div class="triangle"></div>
75 </div>
76
77 <el-row :gutter="10">
76 78
77 <el-col :span="8" v-if="ruleForm.cfdj.sfbxf == '1'">
78 <el-form-item
79 label="上手权利信息:"
80 prop="ssQlxx.bdcqzh"
81 :rules="rules.ssQlxxrules">
82 <select-table
83 v-model="ruleForm.ssQlxx"
84 :table-width="550"
85 :tableData="ssQlxxList"
86 :props="props"
87 @change="ssQlxxchange">
88 <el-table-column
89 prop="qllxmc"
90 width="130"
91 label="权利类型"></el-table-column>
92 <el-table-column
93 prop="bdcqzh"
94 width="160"
95 label="不动产权证书"></el-table-column>
96 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
97 <el-table-column prop="mjmc" label="面积"></el-table-column>
98 <el-table-column prop="ytmc" label="用途"></el-table-column>
99 <el-table-column prop="zl" label="坐落"></el-table-column>
100 </select-table>
101 </el-form-item>
102 </el-col>
103 </el-row> 79 </el-row>
104 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> 80 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
105 <el-col :span="8"> 81 <el-col :span="8">
...@@ -152,8 +128,35 @@ ...@@ -152,8 +128,35 @@
152 </el-form-item> 128 </el-form-item>
153 </el-col> 129 </el-col>
154 </el-row> 130 </el-row>
155 <div class="slxx_title title-block"> 131 <div class="slxx_title title-block bdcqk">
156 查封登记信息 132 查封登记信息
133 <div class="count">
134 <el-form-item
135 label="上手权利信息:"
136 prop="ssQlxx.bdcqzh"
137 :rules="rules.ssQlxxrules"
138 v-if="ruleForm.cfdj.sfbxf == '1'">
139 <select-table
140 v-model="ruleForm.ssQlxx"
141 :table-width="730"
142 :tableData="ssQlxxList"
143 :props="props"
144 @change="ssQlxxchange">
145 <el-table-column
146 prop="qllxmc"
147 width="130"
148 label="权利类型"></el-table-column>
149 <el-table-column
150 prop="bdcqzh"
151 width="160"
152 label="不动产权证书"></el-table-column>
153 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
154 <el-table-column prop="mjmc" label="面积"></el-table-column>
155 <el-table-column prop="ytmc" label="用途"></el-table-column>
156 <el-table-column prop="zl" label="坐落"></el-table-column>
157 </select-table>
158 </el-form-item>
159 </div>
157 <div class="triangle"></div> 160 <div class="triangle"></div>
158 </div> 161 </div>
159 <el-row :gutter="10"> 162 <el-row :gutter="10">
...@@ -186,6 +189,7 @@ ...@@ -186,6 +189,7 @@
186 <el-form-item 189 <el-form-item
187 label="是否被续封:" 190 label="是否被续封:"
188 prop="cfdj.sfbxf" 191 prop="cfdj.sfbxf"
192 <<<<<<< HEAD
189 :rules="rules.sfbxfrules"> 193 :rules="rules.sfbxfrules">
190 <el-select v-model="ruleForm.cfdj.sfbxf" @change="djlxchange"> 194 <el-select v-model="ruleForm.cfdj.sfbxf" @change="djlxchange">
191 <el-option 195 <el-option
...@@ -194,6 +198,14 @@ ...@@ -194,6 +198,14 @@
194 :label="item.dname" 198 :label="item.dname"
195 :value="item.dcode"></el-option> 199 :value="item.dcode"></el-option>
196 </el-select> 200 </el-select>
201 =======
202 :rules="rules.sfbxfrules"
203 >
204 <el-radio-group v-model="ruleForm.cfdj.sfbxf">
205 <el-radio label="1"></el-radio>
206 <el-radio label="2"></el-radio>
207 </el-radio-group>
208 >>>>>>> 1f8b14f926a91690cf660a297aa8a8f4a2658f8b
197 </el-form-item> 209 </el-form-item>
198 </el-col> 210 </el-col>
199 <el-col :span="8"> 211 <el-col :span="8">
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
14 ref="ruleForm" 14 ref="ruleForm"
15 :label-position="flag ? 'top' : ''" 15 :label-position="flag ? 'top' : ''"
16 :inline="flag" 16 :inline="flag"
17 label-width="169px" 17 label-width="170px"
18 inline-message 18 inline-message
19 :show-message="false"> 19 :show-message="false">
20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
...@@ -39,19 +39,16 @@ ...@@ -39,19 +39,16 @@
39 </el-form-item> 39 </el-form-item>
40 </el-col> 40 </el-col>
41 </el-row> 41 </el-row>
42 <div class="slxx_title title-block"> 42 <div class="slxx_title title-block bdcqk">
43 抵押不动产情况 43 抵押不动产情况
44 <div class="triangle"></div> 44 <div class="count">
45 </div>
46 <el-row :gutter="10">
47 <el-col :span="8">
48 <el-form-item 45 <el-form-item
49 label="抵押不动产信息:" 46 label="抵押不动产信息:"
50 prop="ztQlxx.bdcqzh" 47 prop="ztQlxx.bdcqzh"
51 :rules="rules.ztQlxxrules"> 48 :rules="rules.ztQlxxrules">
52 <select-table 49 <select-table
53 v-model="ruleForm.ztQlxx" 50 v-model="ruleForm.ztQlxx"
54 :table-width="550" 51 :table-width="730"
55 :tableData="ztQlxxList" 52 :tableData="ztQlxxList"
56 :props="props" 53 :props="props"
57 @change="ztQlxxchange"> 54 @change="ztQlxxchange">
...@@ -62,43 +59,20 @@ ...@@ -62,43 +59,20 @@
62 <el-table-column 59 <el-table-column
63 prop="bdcqzh" 60 prop="bdcqzh"
64 width="160" 61 width="160"
65 label="不动产权证书"></el-table-column> 62 label="不动产权证书"
66 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 63 ></el-table-column>
67 <el-table-column prop="mjmc" label="面积"></el-table-column>
68 <el-table-column prop="ytmc" label="用途"></el-table-column>
69 <el-table-column prop="zl" label="坐落"></el-table-column>
70 </select-table>
71 </el-form-item>
72 </el-col>
73
74 <el-col :span="8" v-if="ssqlxxshow">
75 <el-form-item
76 label="上手权利信息:"
77 prop="ssQlxx.bdcqzh"
78 :rules="rules.ssQlxxrules">
79 <select-table
80 v-model="ruleForm.ssQlxx"
81 :table-width="550"
82 :tableData="ssQlxxList"
83 :props="props"
84 @change="ssQlxxchange">
85 <el-table-column 64 <el-table-column
86 prop="qllxmc" 65 prop="qlrmc"
87 width="130" 66 label="被执行人"
88 label="权利类型"></el-table-column> 67 ></el-table-column>
89 <el-table-column
90 prop="bdcqzh"
91 width="160"
92 label="不动产权证书"></el-table-column>
93 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
94 <el-table-column prop="mjmc" label="面积"></el-table-column> 68 <el-table-column prop="mjmc" label="面积"></el-table-column>
95 <el-table-column prop="ytmc" label="用途"></el-table-column> 69 <el-table-column prop="ytmc" label="用途"></el-table-column>
96 <el-table-column prop="zl" label="坐落"></el-table-column> 70 <el-table-column prop="zl" label="坐落"></el-table-column>
97 </select-table> 71 </select-table>
98 </el-form-item> 72 </el-form-item>
99 </el-col> 73 </div>
100 </el-row> 74 <div class="triangle"></div>
101 75 </div>
102 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> 76 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
103 <el-col :span="8"> 77 <el-col :span="8">
104 <el-form-item label="权利人:"> 78 <el-form-item label="权利人:">
...@@ -150,8 +124,38 @@ ...@@ -150,8 +124,38 @@
150 </el-form-item> 124 </el-form-item>
151 </el-col> 125 </el-col>
152 </el-row> 126 </el-row>
153 <div class="slxx_title title-block"> 127 <div class="slxx_title title-block bdcqk">
154 抵押权信息 128 抵押权信息
129 <div class="count" v-if="ssqlxxshow">
130 <el-form-item
131 label="上手权利信息:"
132 prop="ssQlxx.bdcqzh"
133 :rules="rules.ssQlxxrules"
134 >
135 <select-table
136 v-model="ruleForm.ssQlxx"
137 :table-width="730"
138 :tableData="ssQlxxList"
139 :props="props"
140 @change="ssQlxxchange"
141 >
142 <el-table-column
143 prop="qllxmc"
144 width="130"
145 label="权利类型"
146 ></el-table-column>
147 <el-table-column
148 prop="bdcqzh"
149 width="160"
150 label="不动产权证书"
151 ></el-table-column>
152 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
153 <el-table-column prop="mjmc" label="面积"></el-table-column>
154 <el-table-column prop="ytmc" label="用途"></el-table-column>
155 <el-table-column prop="zl" label="坐落"></el-table-column>
156 </select-table>
157 </el-form-item>
158 </div>
155 <div class="triangle"></div> 159 <div class="triangle"></div>
156 </div> 160 </div>
157 161
...@@ -655,7 +659,7 @@ ...@@ -655,7 +659,7 @@
655 this.loadData(); 659 this.loadData();
656 this.ableOperation = this.$parent.ableOperation; 660 this.ableOperation = this.$parent.ableOperation;
657 }, 661 },
658 methods: { 662 methods: {
659 /** 663 /**
660 * @description: ztQlxxchange 664 * @description: ztQlxxchange
661 * @param {*} val 665 * @param {*} val
...@@ -674,54 +678,56 @@ ...@@ -674,54 +678,56 @@
674 this.ruleForm.qlxx.ssywh = val.ywh; 678 this.ruleForm.qlxx.ssywh = val.ywh;
675 this.ssQlxxchangediolog(val); 679 this.ssQlxxchangediolog(val);
676 }, 680 },
677 // 弹框事件 681 // 弹框事件
678 ssQlxxchangediolog (val) { 682 ssQlxxchangediolog(val) {
679 this.$confirm("是否将上手权利信息同步到表单", "提示", { 683 this.$confirm("是否将上手权利信息同步到表单", "提示", {
680 iconClass: "el-icon-question", //自定义图标样式 684 iconClass: "el-icon-question", //自定义图标样式
681 confirmButtonText: "确认", //确认按钮文字更换 685 confirmButtonText: "确认", //确认按钮文字更换
682 cancelButtonText: "取消", //取消按钮文字更换 686 cancelButtonText: "取消", //取消按钮文字更换
683 showClose: true, //是否显示右上角关闭按钮 687 showClose: true, //是否显示右上角关闭按钮
684 type: "warning", 688 type: "warning",
685 }).then(() => { 689 }).then(() => {
686 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 690 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
687 if (res.code == 200) { 691 if (res.code == 200) {
688 this.nowlist = res.result; 692 this.nowlist = res.result;
689 for (var key in this.ruleForm.diyaq) { 693 for (var key in this.ruleForm.diyaq) {
690 if ( 694 if (
691 this.ruleForm.diyaq[key] == "" || 695 this.ruleForm.diyaq[key] == "" ||
692 this.ruleForm.diyaq[key] == null 696 this.ruleForm.diyaq[key] == null
693 ) { 697 ) {
694 this.ruleForm.diyaq[key] = this.nowlist.diyaq[key]; 698 this.ruleForm.diyaq[key] = this.nowlist.diyaq[key];
695 }
696 } 699 }
697 for (var key in this.ruleForm.qlxx) { 700 }
698 if ( 701 for (var key in this.ruleForm.qlxx) {
699 (this.ruleForm.qlxx[key] == null && key != "ywh") || 702 if (
700 this.ruleForm.qlxx[key] == null 703 this.ruleForm.qlxx[key] == ""||
701 ) { 704 this.ruleForm.qlxx[key] == null &&
702 console.log("this.ruleForm.qlxx[key]", key); 705 key != "ywh" &&
703 if (key != "ywh") { 706 key != "dbr" &&
707 key != "djsj" &&
708 key != "ssywh" &&
709 key != "ssywh" &&
710 key != "bdcqzh") {
704 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 711 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
705 } 712
706 } 713 }
707 }
708 if (!this.ruleForm.tdytqxList.length) {
709 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
710 }
711 if (!this.ruleForm.qlrData.length) {
712 this.ruleForm.qlrData = this.nowlist.qlrData;
713 }
714 if (!this.ruleForm.ywrData.length) {
715 this.ruleForm.ywrData = this.nowlist.ywrData;
716 }
717 console.log("this.ruleForm", this.ruleForm);
718 this.$message({
719 type: "success",
720 message: "同步成功!",
721 });
722 } 714 }
723 }); 715 if (!this.ruleForm.tdytqxList.length) {
724 }).catch(() => { 716 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
717 }
718 if (!this.ruleForm.qlrData.length) {
719 this.ruleForm.qlrData = this.nowlist.qlrData;
720 }
721 if (!this.ruleForm.ywrData.length) {
722 this.ruleForm.ywrData = this.nowlist.ywrData;
723 }
724 this.$message({
725 type: "success",
726 message: "同步成功!",
727 });
728 }
729 });
730 }).catch(() => {
725 this.$message({ 731 this.$message({
726 type: "info", 732 type: "info",
727 message: "已取消同步", 733 message: "已取消同步",
......
...@@ -40,19 +40,17 @@ ...@@ -40,19 +40,17 @@
40 </el-form-item> 40 </el-form-item>
41 </el-col> 41 </el-col>
42 </el-row> 42 </el-row>
43 <div class="slxx_title title-block"> 43 <div class="slxx_title title-block bdcqk">
44 预告抵押登记信息不动产情况 44 预告抵押不动产情况
45 <div class="triangle"></div> 45 <div class="count">
46 </div>
47 <el-row :gutter="10">
48 <el-col :span="8" v-if="ztQlxxList">
49 <el-form-item 46 <el-form-item
50 label="抵押不动产信息:" 47 label="预告抵押不动产情况"
51 prop="ztQlxx" 48 prop="ztQlxx.bdcqzh"
52 :rules="rules.ztQlxxrules"> 49 :rules="rules.ztQlxxrules"
50 >
53 <select-table 51 <select-table
54 v-model="ruleForm.ztQlxx" 52 v-model="ruleForm.ztQlxx"
55 :table-width="550" 53 :table-width="730"
56 :tableData="ztQlxxList" 54 :tableData="ztQlxxList"
57 :props="props" 55 :props="props"
58 @change="ztQlxxchange"> 56 @change="ztQlxxchange">
...@@ -63,43 +61,20 @@ ...@@ -63,43 +61,20 @@
63 <el-table-column 61 <el-table-column
64 prop="bdcqzh" 62 prop="bdcqzh"
65 width="160" 63 width="160"
66 label="不动产权证书"></el-table-column> 64 label="不动产权证书"
67 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 65 ></el-table-column>
68 <el-table-column prop="mjmc" label="面积"></el-table-column>
69 <el-table-column prop="ytmc" label="用途"></el-table-column>
70 <el-table-column prop="zl" label="坐落"></el-table-column>
71 </select-table>
72 </el-form-item>
73 </el-col>
74
75 <el-col :span="8" v-if="ssqlxxshow">
76 <el-form-item
77 label="上手权利信息:"
78 prop="ssQlxx.bdcqzh"
79 :rules="rules.ssQlxxrules">
80 <select-table
81 v-model="ruleForm.ssQlxx"
82 :table-width="550"
83 :tableData="ssQlxxList"
84 :props="props"
85 @change="ssQlxxchange">
86 <el-table-column
87 prop="qllxmc"
88 width="130"
89 label="权利类型"></el-table-column>
90 <el-table-column 66 <el-table-column
91 prop="bdcqzh" 67 prop="qlrmc"
92 width="160" 68 label="被执行人"
93 label="不动产权证书"></el-table-column> 69 ></el-table-column>
94 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
95 <el-table-column prop="mjmc" label="面积"></el-table-column> 70 <el-table-column prop="mjmc" label="面积"></el-table-column>
96 <el-table-column prop="ytmc" label="用途"></el-table-column> 71 <el-table-column prop="ytmc" label="用途"></el-table-column>
97 <el-table-column prop="zl" label="坐落"></el-table-column> 72 <el-table-column prop="zl" label="坐落"></el-table-column>
98 </select-table> 73 </select-table>
99 </el-form-item> 74 </el-form-item>
100 </el-col> 75 </div>
101 </el-row> 76 <div class="triangle"></div>
102 77 </div>
103 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> 78 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
104 <el-col :span="8"> 79 <el-col :span="8">
105 <el-form-item label="权利人:"> 80 <el-form-item label="权利人:">
...@@ -151,8 +126,38 @@ ...@@ -151,8 +126,38 @@
151 </el-form-item> 126 </el-form-item>
152 </el-col> 127 </el-col>
153 </el-row> 128 </el-row>
154 <div class="slxx_title title-block"> 129 <div class="slxx_title title-block bdcqk">
155 预告登记信息 130 预告登记信息
131 <div class="count" v-if="ssqlxxshow">
132 <el-form-item
133 label="上手权利信息:"
134 prop="ssQlxx.bdcqzh"
135 :rules="rules.ssQlxxrules"
136 >
137 <select-table
138 v-model="ruleForm.ssQlxx"
139 :table-width="730"
140 :tableData="ssQlxxList"
141 :props="props"
142 @change="ssQlxxchange"
143 >
144 <el-table-column
145 prop="qllxmc"
146 width="130"
147 label="权利类型"
148 ></el-table-column>
149 <el-table-column
150 prop="bdcqzh"
151 width="160"
152 label="不动产权证书"
153 ></el-table-column>
154 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
155 <el-table-column prop="mjmc" label="面积"></el-table-column>
156 <el-table-column prop="ytmc" label="用途"></el-table-column>
157 <el-table-column prop="zl" label="坐落"></el-table-column>
158 </select-table>
159 </el-form-item>
160 </div>
156 <div class="triangle"></div> 161 <div class="triangle"></div>
157 </div> 162 </div>
158 <el-row :gutter="10"> 163 <el-row :gutter="10">
...@@ -613,90 +618,90 @@ ...@@ -613,90 +618,90 @@
613 ableOperation: false, 618 ableOperation: false,
614 }; 619 };
615 }, 620 },
616 created () { 621 created() {
617 this.loadData(); 622 this.loadData();
623 },
624 mounted() {
625 this.ableOperation = this.$parent.ableOperation;
626 },
627 methods: {
628 /**
629 * @description: ztQlxxchange
630 * @param {*} val
631 * @author: renchao
632 */
633 ztQlxxchange(val) {
634 this.ruleForm.ztQlxx = val;
618 }, 635 },
619 mounted () { 636 /**
620 this.ableOperation = this.$parent.ableOperation; 637 * @description: ssQlxxchange
638 * @param {*} val
639 * @author: renchao
640 */
641 ssQlxxchange(val) {
642 this.ruleForm.ssQlxx = val;
643 this.ruleForm.qlxx.ssywh = val.ywh;
644 this.ssQlxxchangediolog(val);
621 }, 645 },
622 methods: { 646 // 弹框事件
623 /** 647 ssQlxxchangediolog(val) {
624 * @description: ztQlxxchange 648 this.$confirm("是否将上手权利信息同步到表单", "提示", {
625 * @param {*} val 649 iconClass: "el-icon-question", //自定义图标样式
626 * @author: renchao 650 confirmButtonText: "确认", //确认按钮文字更换
627 */ 651 cancelButtonText: "取消", //取消按钮文字更换
628 ztQlxxchange (val) { 652 showClose: true, //是否显示右上角关闭按钮
629 this.ruleForm.ztQlxx = val; 653 type: "warning",
630 }, 654 })
631 /** 655 .then(() => {
632 * @description: ssQlxxchange 656 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
633 * @param {*} val 657 if (res.code == 200) {
634 * @author: renchao 658 this.nowlist = res.result;
635 */ 659 for (var key in this.ruleForm.ygdj) {
636 ssQlxxchange (val) { 660 if (
637 this.ruleForm.ssQlxx = val; 661 this.ruleForm.ygdj[key] == "" ||
638 this.ruleForm.qlxx.ssywh = val.ywh; 662 this.ruleForm.ygdj[key] == null
639 this.ssQlxxchangediolog(val); 663 ) {
640 }, 664 this.ruleForm.ygdj[key] = this.nowlist.ygdj[key];
641 // 弹框事件
642 ssQlxxchangediolog (val) {
643 console.log("确定了", this.ruleForm);
644 this.$confirm("是否将上手权利信息同步到表单", "提示", {
645 iconClass: "el-icon-question", //自定义图标样式
646 confirmButtonText: "确认", //确认按钮文字更换
647 cancelButtonText: "取消", //取消按钮文字更换
648 showClose: true, //是否显示右上角关闭按钮
649 type: "warning",
650 })
651 .then(() => {
652 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
653 if (res.code == 200) {
654 this.nowlist = res.result;
655 console.log("his.nowlist", this.nowlist);
656 console.log("this.ruleForm", this.ruleForm);
657 for (var key in this.ruleForm.ygdj) {
658 if (
659 this.ruleForm.ygdj[key] == "" ||
660 this.ruleForm.ygdj[key] == null
661 ) {
662 this.ruleForm.ygdj[key] = this.nowlist.ygdj[key];
663 }
664 }
665 for (var key in this.ruleForm.qlxx) {
666 if (
667 (this.ruleForm.qlxx[key] == null && key != "ywh") ||
668 this.ruleForm.qlxx[key] == null
669 ) {
670 console.log("this.ruleForm.qlxx[key]", key);
671 if (key != "ywh") {
672 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
673 }
674 }
675 }
676 if (!this.ruleForm.tdytqxList.length) {
677 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
678 }
679 if (!this.ruleForm.qlrData.length) {
680 this.ruleForm.qlrData = this.nowlist.qlrData;
681 } 665 }
682 if (!this.ruleForm.ywrData.length) { 666 }
683 this.ruleForm.ywrData = this.nowlist.ywrData; 667 for (var key in this.ruleForm.qlxx) {
668 if (
669 this.ruleForm.qlxx[key] == ""||
670 this.ruleForm.qlxx[key] == null &&
671 key != "ywh" &&
672 key != "dbr" &&
673 key != "djsj" &&
674 key != "ssywh" &&
675 key != "ssywh" &&
676 key != "bdcqzh") {
677 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
678
684 } 679 }
685 console.log("this.ruleForm", this.ruleForm);
686 this.$message({
687 type: "success",
688 message: "同步成功!",
689 });
690 } 680 }
691 }); 681 if (!this.ruleForm.tdytqxList.length) {
692 }) 682 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
693 .catch(() => { 683 }
694 this.$message({ 684 if (!this.ruleForm.qlrData.length) {
695 type: "info", 685 this.ruleForm.qlrData = this.nowlist.qlrData;
696 message: "已取消同步", 686 }
697 }); 687 if (!this.ruleForm.ywrData.length) {
688 this.ruleForm.ywrData = this.nowlist.ywrData;
689 }
690 this.$message({
691 type: "success",
692 message: "同步成功!",
693 });
694 }
698 }); 695 });
699 }, 696 })
697 .catch(() => {
698 this.$message({
699 type: "info",
700 message: "已取消同步",
701 });
702 });
703 },
704
700 /** 705 /**
701 * @description: djlxchange 706 * @description: djlxchange
702 * @param {*} val 707 * @param {*} val
......
...@@ -40,19 +40,16 @@ ...@@ -40,19 +40,16 @@
40 </el-form-item> 40 </el-form-item>
41 </el-col> 41 </el-col>
42 </el-row> 42 </el-row>
43 <div class="slxx_title title-block"> 43 <div class="slxx_title title-block bdcqk">
44 预告买卖登记信息不动产情况 44 预告买卖不动产情况
45 <div class="triangle"></div> 45 <div class="count" v-if="ssqlxxshow">
46 </div>
47 <el-row :gutter="24">
48 <el-col :span="24" v-if="ssqlxxshow">
49 <el-form-item 46 <el-form-item
50 label="上手权利信息:" 47 label="上手权利信息:"
51 prop="ssQlxx.bdcqzh" 48 prop="ssQlxx.bdcqzh"
52 :rules="rules.ssQlxxrules"> 49 :rules="rules.ssQlxxrules">
53 <select-table 50 <select-table
54 v-model="ruleForm.ssQlxx" 51 v-model="ruleForm.ssQlxx"
55 :table-width="550" 52 :table-width="730"
56 :tableData="ssQlxxList" 53 :tableData="ssQlxxList"
57 :props="props" 54 :props="props"
58 @change="ssQlxxchange"> 55 @change="ssQlxxchange">
...@@ -70,8 +67,9 @@ ...@@ -70,8 +67,9 @@
70 <el-table-column prop="zl" label="坐落"></el-table-column> 67 <el-table-column prop="zl" label="坐落"></el-table-column>
71 </select-table> 68 </select-table>
72 </el-form-item> 69 </el-form-item>
73 </el-col> 70 </div>
74 </el-row> 71 <div class="triangle"></div>
72 </div>
75 <el-row :gutter="10"> 73 <el-row :gutter="10">
76 <el-col :span="8"> 74 <el-col :span="8">
77 <el-form-item label="上手业务号:"> 75 <el-form-item label="上手业务号:">
...@@ -511,10 +509,13 @@ ...@@ -511,10 +509,13 @@
511 dname: "历史", 509 dname: "历史",
512 }, 510 },
513 ], 511 ],
514 //传递参数\ 512 //传递参数\
515 rules: { 513 rules: {
514 ztQlxxrules: [
515 { required: true, message: "抵押不动产信息", trigger: "blur" },
516 ],
516 bdcqzhrules: [ 517 bdcqzhrules: [
517 { required: true, message: "不动产权证号:", trigger: "blur" }, 518 { required: true, message: "不动产登记证明号", trigger: "blur" },
518 ], 519 ],
519 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], 520 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
520 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], 521 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
...@@ -532,38 +533,44 @@ ...@@ -532,38 +533,44 @@
532 ableOperation: false, 533 ableOperation: false,
533 }; 534 };
534 }, 535 },
535 created () { 536 created() {
536 this.loadData(); 537 this.loadData();
538 },
539 mounted() {
540 this.ableOperation = this.$parent.ableOperation;
541 },
542 methods: {
543 /**
544 * @description: ztQlxxchange
545 * @param {*} val
546 * @author: renchao
547 */
548 ztQlxxchange(val) {
549 this.ruleForm.ztQlxx = val;
537 }, 550 },
538 mounted () { 551 /**
539 this.ableOperation = this.$parent.ableOperation; 552 * @description: ssQlxxchange
553 * @param {*} val
554 * @author: renchao
555 */
556 ssQlxxchange(val) {
557 this.ruleForm.ssQlxx = val;
558 this.ruleForm.qlxx.ssywh = val.ywh;
559 this.ssQlxxchangediolog(val);
540 }, 560 },
541 methods: { 561 // 弹框事件
542 /** 562 ssQlxxchangediolog(val) {
543 * @description: ssQlxxchange 563 this.$confirm("是否将上手权利信息同步到表单", "提示", {
544 * @param {*} val 564 iconClass: "el-icon-question", //自定义图标样式
545 * @author: renchao 565 confirmButtonText: "确认", //确认按钮文字更换
546 */ 566 cancelButtonText: "取消", //取消按钮文字更换
547 ssQlxxchange (val) { 567 showClose: true, //是否显示右上角关闭按钮
548 this.ruleForm.ssQlxx = val; 568 type: "warning",
549 this.ruleForm.qlxx.ssywh = val.ywh; 569 })
550 this.ssQlxxchangediolog(val); 570 .then(() => {
551 },
552 // 弹框事件
553 ssQlxxchangediolog (val) {
554 console.log("确定了", this.ruleForm);
555 this.$confirm("是否将上手权利信息同步到表单", "提示", {
556 iconClass: "el-icon-question", //自定义图标样式
557 confirmButtonText: "确认", //确认按钮文字更换
558 cancelButtonText: "取消", //取消按钮文字更换
559 showClose: true, //是否显示右上角关闭按钮
560 type: "warning",
561 }).then(() => {
562 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 571 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
563 if (res.code == 200) { 572 if (res.code == 200) {
564 this.nowlist = res.result; 573 this.nowlist = res.result;
565 console.log("his.nowlist", this.nowlist);
566 console.log("this.ruleForm", this.ruleForm);
567 for (var key in this.ruleForm.ygdj) { 574 for (var key in this.ruleForm.ygdj) {
568 if ( 575 if (
569 this.ruleForm.ygdj[key] == "" || 576 this.ruleForm.ygdj[key] == "" ||
...@@ -573,14 +580,17 @@ ...@@ -573,14 +580,17 @@
573 } 580 }
574 } 581 }
575 for (var key in this.ruleForm.qlxx) { 582 for (var key in this.ruleForm.qlxx) {
576 if ( 583 if (
577 (this.ruleForm.qlxx[key] == null && key != "ywh") || 584 this.ruleForm.qlxx[key] == ""||
578 this.ruleForm.qlxx[key] == null 585 this.ruleForm.qlxx[key] == null &&
579 ) { 586 key != "ywh" &&
580 console.log("this.ruleForm.qlxx[key]", key); 587 key != "dbr" &&
581 if (key != "ywh") { 588 key != "djsj" &&
589 key != "ssywh" &&
590 key != "ssywh" &&
591 key != "bdcqzh") {
582 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 592 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
583 } 593
584 } 594 }
585 } 595 }
586 if (!this.ruleForm.tdytqxList.length) { 596 if (!this.ruleForm.tdytqxList.length) {
...@@ -592,20 +602,20 @@ ...@@ -592,20 +602,20 @@
592 if (!this.ruleForm.ywrData.length) { 602 if (!this.ruleForm.ywrData.length) {
593 this.ruleForm.ywrData = this.nowlist.ywrData; 603 this.ruleForm.ywrData = this.nowlist.ywrData;
594 } 604 }
595 console.log("this.ruleForm", this.ruleForm);
596 this.$message({ 605 this.$message({
597 type: "success", 606 type: "success",
598 message: "同步成功!", 607 message: "同步成功!",
599 }); 608 });
600 } 609 }
601 }); 610 });
602 }).catch(() => { 611 })
612 .catch(() => {
603 this.$message({ 613 this.$message({
604 type: "info", 614 type: "info",
605 message: "已取消同步", 615 message: "已取消同步",
606 }); 616 });
607 }); 617 });
608 }, 618 },
609 /** 619 /**
610 * @description: djlxchange 620 * @description: djlxchange
611 * @param {*} val 621 * @param {*} val
......
...@@ -90,16 +90,19 @@ export default { ...@@ -90,16 +90,19 @@ export default {
90 tableData: [{ jdmc: "初审" }, { jdmc: "复审" }, { jdmc: "核定" }], 90 tableData: [{ jdmc: "初审" }, { jdmc: "复审" }, { jdmc: "核定" }],
91 falg: false, 91 falg: false,
92 falg1: false, 92 falg1: false,
93 monitor:true
93 }; 94 };
94 }, 95 },
95 96
96 watch: { 97 watch: {
97 yjsqOptions: { 98 yjsqOptions: {
98 handler(val) { 99 handler(val) {
99 console.log("val", val); 100 if(this.monitor){
100 console.log("this.tableData[this.currentindex]",this.tableData[this.currentindex]); 101 this.add(val);
101 102 this.monitor=false
102 this.add(val); 103 }else{
104 this.add(val);
105 }
103 }, 106 },
104 deep: true, 107 deep: true,
105 immediate: true, 108 immediate: true,
......