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
...@@ -675,7 +679,7 @@ ...@@ -675,7 +679,7 @@
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: "确认", //确认按钮文字更换
...@@ -696,13 +700,16 @@ ...@@ -696,13 +700,16 @@
696 } 700 }
697 for (var key in this.ruleForm.qlxx) { 701 for (var key in this.ruleForm.qlxx) {
698 if ( 702 if (
699 (this.ruleForm.qlxx[key] == null && key != "ywh") || 703 this.ruleForm.qlxx[key] == ""||
700 this.ruleForm.qlxx[key] == null 704 this.ruleForm.qlxx[key] == null &&
701 ) { 705 key != "ywh" &&
702 console.log("this.ruleForm.qlxx[key]", key); 706 key != "dbr" &&
703 if (key != "ywh") { 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 } 714 }
708 if (!this.ruleForm.tdytqxList.length) { 715 if (!this.ruleForm.tdytqxList.length) {
...@@ -714,7 +721,6 @@ ...@@ -714,7 +721,6 @@
714 if (!this.ruleForm.ywrData.length) { 721 if (!this.ruleForm.ywrData.length) {
715 this.ruleForm.ywrData = this.nowlist.ywrData; 722 this.ruleForm.ywrData = this.nowlist.ywrData;
716 } 723 }
717 console.log("this.ruleForm", this.ruleForm);
718 this.$message({ 724 this.$message({
719 type: "success", 725 type: "success",
720 message: "同步成功!", 726 message: "同步成功!",
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 16:33:22 4 * @LastEditTime: 2023-08-04 16:35:32
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
15 :label-position="flag ? 'top' : ''" 15 :label-position="flag ? 'top' : ''"
16 :inline="flag" 16 :inline="flag"
17 :show-message="false" 17 :show-message="false"
18 label-width="150px"> 18 label-width="145px">
19 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 19 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
20 <div class="slxx_title title-block"> 20 <div class="slxx_title title-block">
21 补录信息 21 补录信息
...@@ -38,63 +38,43 @@ ...@@ -38,63 +38,43 @@
38 </el-form-item> 38 </el-form-item>
39 </el-col> 39 </el-col>
40 </el-row> 40 </el-row>
41 <div class="slxx_title title-block"> 41 <div class="slxx_title title-block bdcqk">
42 地役权不动产情况 42 地役权不动产情况
43 <div class="triangle"></div> 43 <div class="count">
44 </div>
45 <el-row :gutter="10">
46 <el-col :span="8">
47 <el-form-item 44 <el-form-item
48 label="地役权不动产信息:" 45 label="地役权不动产情况"
49 prop="ztQlxx.bdcqzh" 46 prop="ztQlxx.bdcqzh"
50 :rules="rules.ztQlxxrules"> 47 :rules="rules.ztQlxxrules"
48 >
51 <select-table 49 <select-table
52 v-model="ruleForm.ztQlxx" 50 v-model="ruleForm.ztQlxx"
53 :table-width="550" 51 :table-width="730"
54 :tableData="ztQlxxList" 52 :tableData="ztQlxxList"
55 :props="props" 53 :props="props"
56 @change="ztQlxxchange"> 54 @change="ztQlxxchange"
55 >
57 <el-table-column 56 <el-table-column
58 prop="qllxmc" 57 prop="qllxmc"
59 width="130" 58 width="130"
60 label="权利类型"></el-table-column> 59 label="权利类型"
60 ></el-table-column>
61 <el-table-column 61 <el-table-column
62 prop="bdcqzh" 62 prop="bdcqzh"
63 width="160" 63 width="160"
64 label="不动产权证书"></el-table-column> 64 label="不动产权证书"
65 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 65 ></el-table-column>
66 <el-table-column prop="mjmc" label="面积"></el-table-column>
67 <el-table-column prop="ytmc" label="用途"></el-table-column>
68 <el-table-column prop="zl" label="坐落"></el-table-column>
69 </select-table>
70 </el-form-item>
71 </el-col>
72
73 <el-col :span="8" v-if="ssqlxxshow">
74 <el-form-item label="上手权利信息:" prop="ssQlxx.bdcqzh" :rules="rules.ssQlxxrules">
75 <select-table
76 v-model="ruleForm.ssQlxx"
77 :table-width="550"
78 :tableData="ssQlxxList"
79 :props="props"
80 @change="ssQlxxchange">
81 <el-table-column
82 prop="qllxmc"
83 width="130"
84 label="权利类型"></el-table-column>
85 <el-table-column 66 <el-table-column
86 prop="bdcqzh" 67 prop="qlrmc"
87 width="160" 68 label="被执行人"
88 label="不动产权证书"></el-table-column> 69 ></el-table-column>
89 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
90 <el-table-column prop="mjmc" label="面积"></el-table-column> 70 <el-table-column prop="mjmc" label="面积"></el-table-column>
91 <el-table-column prop="ytmc" label="用途"></el-table-column> 71 <el-table-column prop="ytmc" label="用途"></el-table-column>
92 <el-table-column prop="zl" label="坐落"></el-table-column> 72 <el-table-column prop="zl" label="坐落"></el-table-column>
93 </select-table> 73 </select-table>
94 </el-form-item> 74 </el-form-item>
95 </el-col> 75 </div>
96 </el-row> 76 <div class="triangle"></div>
97 77 </div>
98 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> 78 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
99 <el-col :span="8"> 79 <el-col :span="8">
100 <el-form-item label="权利人:"> 80 <el-form-item label="权利人:">
...@@ -146,8 +126,38 @@ ...@@ -146,8 +126,38 @@
146 </el-form-item> 126 </el-form-item>
147 </el-col> 127 </el-col>
148 </el-row> 128 </el-row>
149 <div class="slxx_title title-block"> 129 <div class="slxx_title title-block bdcqk">
150 地役权信息 130 地役权信息
131 <div class="count" v-if="ssqlxxshow">
132 <el-form-item
133 label="上手权利信息:"
134 prop="ssQlxx.bdcqzh"
135 :rules="rules.ssQlxxrules"
136 >
137 <select-table
138 v-model="ruleForm.ssQlxx"
139 :table-width="730"
140 :tableData="ssQlxxList"
141 :props="props"
142 @change="ssQlxxchange"
143 >
144 <el-table-column
145 prop="qllxmc"
146 width="130"
147 label="权利类型"
148 ></el-table-column>
149 <el-table-column
150 prop="bdcqzh"
151 width="160"
152 label="不动产权证书"
153 ></el-table-column>
154 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
155 <el-table-column prop="mjmc" label="面积"></el-table-column>
156 <el-table-column prop="ytmc" label="用途"></el-table-column>
157 <el-table-column prop="zl" label="坐落"></el-table-column>
158 </select-table>
159 </el-form-item>
160 </div>
151 <div class="triangle"></div> 161 <div class="triangle"></div>
152 </div> 162 </div>
153 <el-row :gutter="10"> 163 <el-row :gutter="10">
...@@ -366,7 +376,7 @@ ...@@ -366,7 +376,7 @@
366 <el-form-item label="共有方式:"> 376 <el-form-item label="共有方式:">
367 <el-radio-group 377 <el-radio-group
368 :disabled="!ableOperation" 378 :disabled="!ableOperation"
369 v-model="ruleForm.sldy.gyfs"> 379 v-model="ruleForm.qlxx.gyfs">
370 <el-radio label="0">单独所有</el-radio> 380 <el-radio label="0">单独所有</el-radio>
371 <el-radio label="1">共同共有</el-radio> 381 <el-radio label="1">共同共有</el-radio>
372 <el-radio label="2">按份所有</el-radio> 382 <el-radio label="2">按份所有</el-radio>
...@@ -374,10 +384,10 @@ ...@@ -374,10 +384,10 @@
374 </el-radio-group> 384 </el-radio-group>
375 </el-form-item> 385 </el-form-item>
376 </el-col> 386 </el-col>
377 <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> 387 <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
378 <el-form-item label="是否分别持证:"> 388 <el-form-item label="是否分别持证:">
379 <el-radio-group 389 <el-radio-group
380 v-model="ruleForm.sldy.sqfbcz" 390 v-model="ruleForm.qlxx.sqfbcz"
381 :disabled="!ableOperation"> 391 :disabled="!ableOperation">
382 <el-radio :label="1"></el-radio> 392 <el-radio :label="1"></el-radio>
383 <el-radio :label="0"></el-radio> 393 <el-radio :label="0"></el-radio>
...@@ -386,7 +396,7 @@ ...@@ -386,7 +396,7 @@
386 </el-col> 396 </el-col>
387 <el-col 397 <el-col
388 :span="6" 398 :span="6"
389 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> 399 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'">
390 <el-form-item label="持证人:"> 400 <el-form-item label="持证人:">
391 <el-select 401 <el-select
392 v-model="ruleForm.czr" 402 v-model="ruleForm.czr"
...@@ -433,7 +443,7 @@ ...@@ -433,7 +443,7 @@
433 <script> 443 <script>
434 import { mapGetters } from "vuex"; 444 import { mapGetters } from "vuex";
435 import ywmix from "@/views/ywbl/mixin/index" 445 import ywmix from "@/views/ywbl/mixin/index"
436 import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 446 import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm,save } from "@/api/djbRepair.js";
437 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 447 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
438 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; 448 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
439 import tdytTable from "@/views/workflow/components/tdytTable"; 449 import tdytTable from "@/views/workflow/components/tdytTable";
...@@ -549,11 +559,10 @@ ...@@ -549,11 +559,10 @@
549 ssQlxxchange (val) { 559 ssQlxxchange (val) {
550 this.ruleForm.ssQlxx = val; 560 this.ruleForm.ssQlxx = val;
551 this.ruleForm.qlxx.ssywh = val.ywh; 561 this.ruleForm.qlxx.ssywh = val.ywh;
552 this.ssQlxxchangediolog(val) 562 this.ssQlxxchangediolog (val)
553 }, 563 },
554 // 弹框事件 564 // 弹框事件
555 ssQlxxchangediolog (val) { 565 ssQlxxchangediolog (val) {
556 console.log("确定了", this.ruleForm)
557 this.$confirm("是否将上手权利信息同步到表单", "提示", { 566 this.$confirm("是否将上手权利信息同步到表单", "提示", {
558 iconClass: "el-icon-question", //自定义图标样式 567 iconClass: "el-icon-question", //自定义图标样式
559 confirmButtonText: "确认", //确认按钮文字更换 568 confirmButtonText: "确认", //确认按钮文字更换
...@@ -564,8 +573,6 @@ ...@@ -564,8 +573,6 @@
564 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 573 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
565 if (res.code == 200) { 574 if (res.code == 200) {
566 this.nowlist = res.result; 575 this.nowlist = res.result;
567 console.log("his.nowlist", this.nowlist);
568 console.log("this.ruleForm", this.ruleForm);
569 for (var key in this.ruleForm.dyiq) { 576 for (var key in this.ruleForm.dyiq) {
570 if ( 577 if (
571 this.ruleForm.dyiq[key] == "" || 578 this.ruleForm.dyiq[key] == "" ||
...@@ -576,13 +583,16 @@ ...@@ -576,13 +583,16 @@
576 } 583 }
577 for (var key in this.ruleForm.qlxx) { 584 for (var key in this.ruleForm.qlxx) {
578 if ( 585 if (
579 (this.ruleForm.qlxx[key] == null && key != "ywh") || 586 this.ruleForm.qlxx[key] == ""||
580 this.ruleForm.qlxx[key] == null 587 this.ruleForm.qlxx[key] == null &&
581 ) { 588 key != "ywh" &&
582 console.log("this.ruleForm.qlxx[key]", key); 589 key != "dbr" &&
583 if (key != "ywh") { 590 key != "djsj" &&
591 key != "ssywh" &&
592 key != "ssywh" &&
593 key != "bdcqzh") {
584 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 594 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
585 } 595
586 } 596 }
587 } 597 }
588 if (!this.ruleForm.tdytqxList.length) { 598 if (!this.ruleForm.tdytqxList.length) {
...@@ -594,7 +604,6 @@ ...@@ -594,7 +604,6 @@
594 if (!this.ruleForm.ywrData.length) { 604 if (!this.ruleForm.ywrData.length) {
595 this.ruleForm.ywrData = this.nowlist.ywrData; 605 this.ruleForm.ywrData = this.nowlist.ywrData;
596 } 606 }
597 console.log("this.ruleForm", this.ruleForm);
598 this.$message({ 607 this.$message({
599 type: "success", 608 type: "success",
600 message: "同步成功!", 609 message: "同步成功!",
...@@ -614,7 +623,6 @@ ...@@ -614,7 +623,6 @@
614 * @author: renchao 623 * @author: renchao
615 */ 624 */
616 djlxchange (val) { 625 djlxchange (val) {
617 console.log("val", val);
618 if (val == null || val == 100) { 626 if (val == null || val == 100) {
619 this.ssqlxxshow = false; 627 this.ssqlxxshow = false;
620 } else { 628 } else {
......
...@@ -39,19 +39,16 @@ ...@@ -39,19 +39,16 @@
39 </el-form-item> 39 </el-form-item>
40 </el-col> 40 </el-col>
41 </el-row> 41 </el-row>
42 <div class="slxx_title title-block"> 42 <div class="slxx_title title-block bdcqk">
43 房地产权(独幢、层、套、间房屋) 43 房地产权信息
44 <div class="triangle"></div> 44 <div class="count" v-if="ssqlxxshow">
45 </div>
46 <el-row :gutter="24">
47 <el-col :span="24" v-if="ssqlxxshow">
48 <el-form-item 45 <el-form-item
49 label="上手权利信息:" 46 label="上手权利信息:"
50 prop="ssQlxx.bdcqzh" 47 prop="ssQlxx.bdcqzh"
51 :rules="rules.ssQlxxrules"> 48 :rules="rules.ssQlxxrules">
52 <select-table 49 <select-table
53 v-model="ruleForm.ssQlxx" 50 v-model="ruleForm.ssQlxx"
54 :table-width="550" 51 :table-width="730"
55 :tableData="ssQlxxList" 52 :tableData="ssQlxxList"
56 :props="props" 53 :props="props"
57 @change="ssQlxxchange"> 54 @change="ssQlxxchange">
...@@ -69,8 +66,9 @@ ...@@ -69,8 +66,9 @@
69 <el-table-column prop="zl" label="坐落"></el-table-column> 66 <el-table-column prop="zl" label="坐落"></el-table-column>
70 </select-table> 67 </select-table>
71 </el-form-item> 68 </el-form-item>
72 </el-col> 69 </div>
73 </el-row> 70 <div class="triangle"></div>
71 </div>
74 <el-row :gutter="10"> 72 <el-row :gutter="10">
75 <el-col :span="8"> 73 <el-col :span="8">
76 <el-form-item label="不动产单元号:"> 74 <el-form-item label="不动产单元号:">
...@@ -160,7 +158,7 @@ ...@@ -160,7 +158,7 @@
160 <!-- 下拉框 --> 158 <!-- 下拉框 -->
161 <el-form-item label="土地性质:" style="margin-bottom: 3px"> 159 <el-form-item label="土地性质:" style="margin-bottom: 3px">
162 <treeselect 160 <treeselect
163 v-model="tdxz" 161 v-model="ruleForm.fdcq2.tdxz"
164 noOptionsText="暂无数据" 162 noOptionsText="暂无数据"
165 placeholder="" 163 placeholder=""
166 :normalizer="normalizer" 164 :normalizer="normalizer"
...@@ -564,8 +562,8 @@ ...@@ -564,8 +562,8 @@
564 }, 562 },
565 }; 563 };
566 }, 564 },
567 created () { }, 565 created() {},
568 mounted () { 566 mounted() {
569 this.loadData(); 567 this.loadData();
570 this.ableOperation = this.$parent.ableOperation; 568 this.ableOperation = this.$parent.ableOperation;
571 }, 569 },
...@@ -575,14 +573,13 @@ ...@@ -575,14 +573,13 @@
575 * @param {*} val 573 * @param {*} val
576 * @author: renchao 574 * @author: renchao
577 */ 575 */
578 ssQlxxchange (val) { 576 ssQlxxchange(val) {
579 this.ruleForm.ssQlxx = val; 577 this.ruleForm.ssQlxx = val;
580 this.ruleForm.qlxx.ssywh = val.ywh; 578 this.ruleForm.qlxx.ssywh = val.ywh;
581 this.ssQlxxchangediolog(val); 579 this.ssQlxxchangediolog(val);
582 }, 580 },
583 // 弹框事件 581 // 弹框事件
584 ssQlxxchangediolog (val) { 582 ssQlxxchangediolog(val) {
585 console.log("确定了", this.ruleForm, val);
586 this.$confirm("是否将上手权利信息同步到表单", "提示", { 583 this.$confirm("是否将上手权利信息同步到表单", "提示", {
587 iconClass: "el-icon-question", //自定义图标样式 584 iconClass: "el-icon-question", //自定义图标样式
588 confirmButtonText: "确认", //确认按钮文字更换 585 confirmButtonText: "确认", //确认按钮文字更换
...@@ -595,8 +592,6 @@ ...@@ -595,8 +592,6 @@
595 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 592 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
596 if (res.code == 200) { 593 if (res.code == 200) {
597 this.nowlist = res.result; 594 this.nowlist = res.result;
598 console.log("his.nowlist", this.nowlist);
599 console.log("this.ruleForm", this.ruleForm);
600 for (var key in this.ruleForm.fdcq2) { 595 for (var key in this.ruleForm.fdcq2) {
601 if ( 596 if (
602 this.ruleForm.fdcq2[key] == "" || 597 this.ruleForm.fdcq2[key] == "" ||
...@@ -607,13 +602,16 @@ ...@@ -607,13 +602,16 @@
607 } 602 }
608 for (var key in this.ruleForm.qlxx) { 603 for (var key in this.ruleForm.qlxx) {
609 if ( 604 if (
610 (this.ruleForm.qlxx[key] == null && key != "ywh") || 605 this.ruleForm.qlxx[key] == ""||
611 this.ruleForm.qlxx[key] == null 606 this.ruleForm.qlxx[key] == null &&
612 ) { 607 key != "ywh" &&
613 console.log("this.ruleForm.qlxx[key]", key); 608 key != "dbr" &&
614 if (key != "ywh") { 609 key != "djsj" &&
610 key != "ssywh" &&
611 key != "ssywh" &&
612 key != "bdcqzh") {
615 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 613 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
616 } 614
617 } 615 }
618 } 616 }
619 if (!this.ruleForm.tdytqxList.length) { 617 if (!this.ruleForm.tdytqxList.length) {
...@@ -625,7 +623,6 @@ ...@@ -625,7 +623,6 @@
625 if (!this.ruleForm.ywrData.length) { 623 if (!this.ruleForm.ywrData.length) {
626 this.ruleForm.ywrData = this.nowlist.ywrData; 624 this.ruleForm.ywrData = this.nowlist.ywrData;
627 } 625 }
628 console.log("this.ruleForm", this.ruleForm);
629 this.$message({ 626 this.$message({
630 type: "success", 627 type: "success",
631 message: "同步成功!", 628 message: "同步成功!",
...@@ -644,7 +641,7 @@ ...@@ -644,7 +641,7 @@
644 * @param {*} val 641 * @param {*} val
645 * @author: renchao 642 * @author: renchao
646 */ 643 */
647 djlxchange (val) { 644 djlxchange(val) {
648 if (val == null || val == 100) { 645 if (val == null || val == 100) {
649 this.ssqlxxshow = false; 646 this.ssqlxxshow = false;
650 } else { 647 } else {
...@@ -655,7 +652,7 @@ ...@@ -655,7 +652,7 @@
655 * @description: loadData 652 * @description: loadData
656 * @author: renchao 653 * @author: renchao
657 */ 654 */
658 loadData () { 655 loadData() {
659 this.$startLoading(); 656 this.$startLoading();
660 this.propsParam.isEdit = this.$parent.isEdit; 657 this.propsParam.isEdit = this.$parent.isEdit;
661 init(this.propsParam).then((res) => { 658 init(this.propsParam).then((res) => {
...@@ -692,7 +689,7 @@ ...@@ -692,7 +689,7 @@
692 * @param {*} val 689 * @param {*} val
693 * @author: renchao 690 * @author: renchao
694 */ 691 */
695 upDateTdytxxList (val) { 692 upDateTdytxxList(val) {
696 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 693 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
697 this.key++; 694 this.key++;
698 }, 695 },
...@@ -702,7 +699,7 @@ ...@@ -702,7 +699,7 @@
702 * @param {*} val 699 * @param {*} val
703 * @author: renchao 700 * @author: renchao
704 */ 701 */
705 upDateQlrxxList (val) { 702 upDateQlrxxList(val) {
706 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 703 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
707 this.czrOptions = this.ruleForm.qlrData; 704 this.czrOptions = this.ruleForm.qlrData;
708 this.key++; 705 this.key++;
...@@ -713,7 +710,7 @@ ...@@ -713,7 +710,7 @@
713 * @param {*} val 710 * @param {*} val
714 * @author: renchao 711 * @author: renchao
715 */ 712 */
716 upDateYwrxxList (val) { 713 upDateYwrxxList(val) {
717 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); 714 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
718 this.key++; 715 this.key++;
719 }, 716 },
...@@ -721,7 +718,7 @@ ...@@ -721,7 +718,7 @@
721 * @description: onSubmit 718 * @description: onSubmit
722 * @author: renchao 719 * @author: renchao
723 */ 720 */
724 onSubmit () { 721 onSubmit() {
725 this.$refs.ruleForm.validate((valid) => { 722 this.$refs.ruleForm.validate((valid) => {
726 if (valid) { 723 if (valid) {
727 if (this.ruleForm.qlrData.length == 0) { 724 if (this.ruleForm.qlrData.length == 0) {
...@@ -740,20 +737,31 @@ ...@@ -740,20 +737,31 @@
740 }); 737 });
741 return false; 738 return false;
742 } 739 }
743 if (!this.tdxz) { 740 if (!this.ruleForm.fdcq2.tdxz) {
744 this.$message({ 741 this.$message({
745 showClose: true, 742 showClose: true,
746 message: "请补充土地性质", 743 message: "请补充土地性质",
747 type: "error", 744 type: "error",
748 }); 745 });
746 }
747 if (this.ruleForm.qlxx.gyfs == "0") {
748 if (this.ruleForm.qlrData.length > 1) {
749 this.$message({
750 showClose: true,
751 message: "请确认权利人信息",
752 type: "error",
753 });
749 return false; 754 return false;
750 } 755 }
751 this.ruleForm.tdytqxList = this.ruleForm.tdytqxList.map((item) => { 756 if (this.ruleForm.tdytqxList.length == 0 && !this.tdxz) {
752 return { 757 this.$message({
753 ...item, 758 showClose: true,
754 qlxzbm: this.tdxz, 759 message: "请补充土地用途信息",
755 }; 760 type: "error",
756 }); 761 });
762 return false;
763 }
764 }
757 if (this.ruleForm.sldy.gyfs == "0") { 765 if (this.ruleForm.sldy.gyfs == "0") {
758 if (this.ruleForm.qlrData.length > 1) { 766 if (this.ruleForm.qlrData.length > 1) {
759 this.$message({ 767 this.$message({
...@@ -820,7 +828,7 @@ ...@@ -820,7 +828,7 @@
820 }); 828 });
821 }, 829 },
822 }, 830 },
823 }; 831 };
824 </script> 832 </script>
825 <style scoped lang="scss"> 833 <style scoped lang="scss">
826 @import "~@/styles/public.scss"; 834 @import "~@/styles/public.scss";
......
...@@ -14,7 +14,10 @@ ...@@ -14,7 +14,10 @@
14 ref="ruleForm" 14 ref="ruleForm"
15 :label-position="flag ? 'top' : ''" 15 :label-position="flag ? 'top' : ''"
16 :inline="flag" 16 :inline="flag"
17 label-width="145px"> 17 label-width="145px"
18 inline-message
19 :show-message="false"
20 >
18 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 21 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
19 <div class="slxx_title title-block"> 22 <div class="slxx_title title-block">
20 补录信息 23 补录信息
...@@ -37,19 +40,16 @@ ...@@ -37,19 +40,16 @@
37 </el-form-item> 40 </el-form-item>
38 </el-col> 41 </el-col>
39 </el-row> 42 </el-row>
40 <div class="slxx_title title-block"> 43 <div class="slxx_title title-block bdcqk">
41 建设用地、宅基地使用权信息 44 建设用地、宅基地使用权信息
42 <div class="triangle"></div> 45 <div class="count" v-if="ssqlxxshow">
43 </div>
44 <el-row :gutter="24">
45 <el-col :span="8" v-if="ssqlxxshow">
46 <el-form-item 46 <el-form-item
47 label="上手权利信息:" 47 label="上手权利信息:"
48 prop="ssQlxx.bdcqzh" 48 prop="ssQlxx.bdcqzh"
49 :rules="rules.ssQlxxrules"> 49 :rules="rules.ssQlxxrules">
50 <select-table 50 <select-table
51 v-model="ruleForm.ssQlxx" 51 v-model="ruleForm.ssQlxx"
52 :table-width="550" 52 :table-width="730"
53 :tableData="ssQlxxList" 53 :tableData="ssQlxxList"
54 :props="props" 54 :props="props"
55 @change="ssQlxxchange"> 55 @change="ssQlxxchange">
...@@ -67,8 +67,9 @@ ...@@ -67,8 +67,9 @@
67 <el-table-column prop="zl" label="坐落"></el-table-column> 67 <el-table-column prop="zl" label="坐落"></el-table-column>
68 </select-table> 68 </select-table>
69 </el-form-item> 69 </el-form-item>
70 </el-col> 70 </div>
71 </el-row> 71 <div class="triangle"></div>
72 </div>
72 <el-row :gutter="10"> 73 <el-row :gutter="10">
73 <el-col :span="8"> 74 <el-col :span="8">
74 <el-form-item label="不动产单元号:"> 75 <el-form-item label="不动产单元号:">
...@@ -76,7 +77,11 @@ ...@@ -76,7 +77,11 @@
76 </el-form-item> 77 </el-form-item>
77 </el-col> 78 </el-col>
78 <el-col :span="8"> 79 <el-col :span="8">
79 <el-form-item label="业务号:"> 80 <el-form-item
81 label="业务号:"
82 prop="qlxx.ywh"
83 :rules="rules.ywhrules"
84 >
80 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 85 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
81 </el-form-item> 86 </el-form-item>
82 </el-col> 87 </el-col>
...@@ -258,7 +263,7 @@ ...@@ -258,7 +263,7 @@
258 <el-form-item label="共有方式:"> 263 <el-form-item label="共有方式:">
259 <el-radio-group 264 <el-radio-group
260 :disabled="!ableOperation" 265 :disabled="!ableOperation"
261 v-model="ruleForm.sldy.gyfs"> 266 v-model="ruleForm.qlxx.gyfs">
262 <el-radio label="0">单独所有</el-radio> 267 <el-radio label="0">单独所有</el-radio>
263 <el-radio label="1">共同共有</el-radio> 268 <el-radio label="1">共同共有</el-radio>
264 <el-radio label="2">按份所有</el-radio> 269 <el-radio label="2">按份所有</el-radio>
...@@ -266,10 +271,10 @@ ...@@ -266,10 +271,10 @@
266 </el-radio-group> 271 </el-radio-group>
267 </el-form-item> 272 </el-form-item>
268 </el-col> 273 </el-col>
269 <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> 274 <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
270 <el-form-item label="是否分别持证:"> 275 <el-form-item label="是否分别持证:">
271 <el-radio-group 276 <el-radio-group
272 v-model="ruleForm.sldy.sqfbcz" 277 v-model="ruleForm.qlxx.sqfbcz"
273 :disabled="!ableOperation"> 278 :disabled="!ableOperation">
274 <el-radio :label="1"></el-radio> 279 <el-radio :label="1"></el-radio>
275 <el-radio :label="0"></el-radio> 280 <el-radio :label="0"></el-radio>
...@@ -278,7 +283,7 @@ ...@@ -278,7 +283,7 @@
278 </el-col> 283 </el-col>
279 <el-col 284 <el-col
280 :span="6" 285 :span="6"
281 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> 286 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'">
282 <el-form-item label="持证人:"> 287 <el-form-item label="持证人:">
283 <el-select 288 <el-select
284 v-model="ruleForm.czr" 289 v-model="ruleForm.czr"
...@@ -310,20 +315,20 @@ ...@@ -310,20 +315,20 @@
310 </div> 315 </div>
311 </template> 316 </template>
312 <script> 317 <script>
313 import { mapGetters } from "vuex"; 318 import { mapGetters } from "vuex";
314 import store from "@/store/index.js"; 319 import store from "@/store/index.js";
315 import ywmix from "@/views/ywbl/mixin/index"; 320 import ywmix from "@/views/ywbl/mixin/index";
316 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 321 import { init, getSsQlxx,getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
317 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 322 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
318 import tdytTable from "@/views/workflow/components/tdytTable"; 323 import tdytTable from "@/views/workflow/components/tdytTable";
319 import selectTable from "@/components/selectTable/index.vue"; 324 import selectTable from "@/components/selectTable/index.vue";
320 export default { 325 export default {
321 mixins: [ywmix], 326 mixins: [ywmix],
322 components: { qlrCommonTable, tdytTable, selectTable }, 327 components: { qlrCommonTable, tdytTable, selectTable },
323 computed: { 328 computed: {
324 ...mapGetters(["dictData", "flag"]), 329 ...mapGetters(["dictData", "flag"]),
325 // 根据流程判断表单是否为只读 330 // 根据流程判断表单是否为只读
326 editDisabled () { 331 editDisabled() {
327 if (!this.ableOperation) { 332 if (!this.ableOperation) {
328 //只读状态 333 //只读状态
329 return true; 334 return true;
...@@ -331,7 +336,7 @@ ...@@ -331,7 +336,7 @@
331 return false; 336 return false;
332 }, 337 },
333 }, 338 },
334 data () { 339 data() {
335 return { 340 return {
336 mjdw: "1", 341 mjdw: "1",
337 ssqlxxshow: true, 342 ssqlxxshow: true,
...@@ -340,7 +345,7 @@ ...@@ -340,7 +345,7 @@
340 value: "bdcdyid", 345 value: "bdcdyid",
341 }, 346 },
342 // 键名转换,方法默认是label和children进行树状渲染 347 // 键名转换,方法默认是label和children进行树状渲染
343 normalizer (node) { 348 normalizer(node) {
344 //方法 349 //方法
345 if (node.children == null || node.children == "null") { 350 if (node.children == null || node.children == "null") {
346 delete node.children; 351 delete node.children;
...@@ -412,13 +417,14 @@ ...@@ -412,13 +417,14 @@
412 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 417 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
413 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 418 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
414 djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], 419 djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }],
420 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
415 }, 421 },
416 }; 422 };
417 }, 423 },
418 created () { 424 created() {
419 this.loadData(); 425 this.loadData();
420 }, 426 },
421 mounted () { 427 mounted() {
422 this.ableOperation = this.$parent.ableOperation; 428 this.ableOperation = this.$parent.ableOperation;
423 }, 429 },
424 methods: { 430 methods: {
...@@ -427,14 +433,13 @@ ...@@ -427,14 +433,13 @@
427 * @param {*} val 433 * @param {*} val
428 * @author: renchao 434 * @author: renchao
429 */ 435 */
430 ssQlxxchange (val) { 436 ssQlxxchange(val) {
431 this.ruleForm.ssQlxx = val; 437 this.ruleForm.ssQlxx = val;
432 this.ruleForm.qlxx.ssywh = val.ywh; 438 this.ruleForm.qlxx.ssywh = val.ywh;
433 this.ssQlxxchangediolog(val); 439 this.ssQlxxchangediolog(val);
434 }, 440 },
435 // 弹框事件 441 // 弹框事件
436 ssQlxxchangediolog (val) { 442 ssQlxxchangediolog(val) {
437 console.log("确定了", this.ruleForm);
438 this.$confirm("是否将上手权利信息同步到表单", "提示", { 443 this.$confirm("是否将上手权利信息同步到表单", "提示", {
439 iconClass: "el-icon-question", //自定义图标样式 444 iconClass: "el-icon-question", //自定义图标样式
440 confirmButtonText: "确认", //确认按钮文字更换 445 confirmButtonText: "确认", //确认按钮文字更换
...@@ -445,8 +450,6 @@ ...@@ -445,8 +450,6 @@
445 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 450 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
446 if (res.code == 200) { 451 if (res.code == 200) {
447 this.nowlist = res.result; 452 this.nowlist = res.result;
448 console.log("his.nowlist", this.nowlist);
449 console.log("this.ruleForm", this.ruleForm);
450 for (var key in this.ruleForm.jsydsyq) { 453 for (var key in this.ruleForm.jsydsyq) {
451 if ( 454 if (
452 this.ruleForm.jsydsyq[key] == "" || 455 this.ruleForm.jsydsyq[key] == "" ||
...@@ -457,13 +460,16 @@ ...@@ -457,13 +460,16 @@
457 } 460 }
458 for (var key in this.ruleForm.qlxx) { 461 for (var key in this.ruleForm.qlxx) {
459 if ( 462 if (
460 (this.ruleForm.qlxx[key] == null && key != "ywh") || 463 this.ruleForm.qlxx[key] == ""||
461 this.ruleForm.qlxx[key] == null 464 this.ruleForm.qlxx[key] == null &&
462 ) { 465 key != "ywh" &&
463 console.log("this.ruleForm.qlxx[key]", key); 466 key != "dbr" &&
464 if (key != "ywh") { 467 key != "djsj" &&
468 key != "ssywh" &&
469 key != "ssywh" &&
470 key != "bdcqzh") {
465 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 471 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
466 } 472
467 } 473 }
468 } 474 }
469 if (!this.ruleForm.tdytqxList.length) { 475 if (!this.ruleForm.tdytqxList.length) {
...@@ -475,7 +481,6 @@ ...@@ -475,7 +481,6 @@
475 if (!this.ruleForm.ywrData.length) { 481 if (!this.ruleForm.ywrData.length) {
476 this.ruleForm.ywrData = this.nowlist.ywrData; 482 this.ruleForm.ywrData = this.nowlist.ywrData;
477 } 483 }
478 console.log("this.ruleForm", this.ruleForm);
479 this.$message({ 484 this.$message({
480 type: "success", 485 type: "success",
481 message: "同步成功!", 486 message: "同步成功!",
...@@ -590,7 +595,7 @@ ...@@ -590,7 +595,7 @@
590 }); 595 });
591 return false; 596 return false;
592 } 597 }
593 if (this.ruleForm.qlrData.length != 0 && this.ruleForm.sldy.sqfbcz == 0 && this.ruleForm.czr == '') { 598 if (this.ruleForm.qlrData.length != 0 && this.ruleForm.qlxx.sqfbcz == 0 && this.ruleForm.czr == '') {
594 this.$message({ 599 this.$message({
595 showClose: true, 600 showClose: true,
596 message: "请选择持证人信息", 601 message: "请选择持证人信息",
...@@ -598,7 +603,7 @@ ...@@ -598,7 +603,7 @@
598 }); 603 });
599 return false; 604 return false;
600 } 605 }
601 if (this.ruleForm.sldy.gyfs == "0") { 606 if (this.ruleForm.qlxx.gyfs == "0") {
602 if (this.ruleForm.qlrData.length > 1) { 607 if (this.ruleForm.qlrData.length > 1) {
603 this.$message({ 608 this.$message({
604 showClose: true, 609 showClose: true,
...@@ -618,7 +623,7 @@ ...@@ -618,7 +623,7 @@
618 return false; 623 return false;
619 } 624 }
620 //是否分别持证 625 //是否分别持证
621 if (this.ruleForm.sldy.sqfbcz == "1") { 626 if (this.ruleForm.qlxx.sqfbcz == "1") {
622 //是 627 //是
623 this.ruleForm.qlrList.forEach((item, index) => { 628 this.ruleForm.qlrList.forEach((item, index) => {
624 item.sfczr = "1"; 629 item.sfczr = "1";
......
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
15 :show-message="false" 15 :show-message="false"
16 :label-position="flag ? 'top' : ''" 16 :label-position="flag ? 'top' : ''"
17 :inline="flag" 17 :inline="flag"
18 label-width="120px"> 18 label-width="145px"
19 >
19 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
20 <div class="slxx_title title-block"> 21 <div class="slxx_title title-block">
21 补录信息 22 补录信息
...@@ -38,19 +39,16 @@ ...@@ -38,19 +39,16 @@
38 </el-form-item> 39 </el-form-item>
39 </el-col> 40 </el-col>
40 </el-row> 41 </el-row>
41 <div class="slxx_title title-block"> 42 <div class="slxx_title title-block bdcqk">
42 土地所有权信息 43 土地所有权信息
43 <div class="triangle"></div> 44 <div class="count" v-if="ssqlxxshow">
44 </div>
45 <el-row :gutter="10">
46 <el-col :span="8" v-if="ssqlxxshow">
47 <el-form-item 45 <el-form-item
48 label="上手权利信息:" 46 label="上手权利信息:"
49 prop="ssQlxx.bdcqzh" 47 prop="ssQlxx.bdcqzh"
50 :rules="rules.ssQlxxrules"> 48 :rules="rules.ssQlxxrules">
51 <select-table 49 <select-table
52 v-model="ruleForm.ssQlxx" 50 v-model="ruleForm.ssQlxx"
53 :table-width="550" 51 :table-width="730"
54 :tableData="ssQlxxList" 52 :tableData="ssQlxxList"
55 :props="props" 53 :props="props"
56 @change="ssQlxxchange"> 54 @change="ssQlxxchange">
...@@ -68,7 +66,10 @@ ...@@ -68,7 +66,10 @@
68 <el-table-column prop="zl" label="坐落"></el-table-column> 66 <el-table-column prop="zl" label="坐落"></el-table-column>
69 </select-table> 67 </select-table>
70 </el-form-item> 68 </el-form-item>
71 </el-col> 69 </div>
70 <div class="triangle"></div>
71 </div>
72 <el-row :gutter="10">
72 <el-col :span="8"> 73 <el-col :span="8">
73 <el-form-item label="上手业务号:"> 74 <el-form-item label="上手业务号:">
74 <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> 75 <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input>
...@@ -97,7 +98,11 @@ ...@@ -97,7 +98,11 @@
97 </el-form-item> 98 </el-form-item>
98 </el-col> 99 </el-col>
99 <el-col :span="8"> 100 <el-col :span="8">
100 <el-form-item label="业务号:"> 101 <el-form-item
102 label="业务号:"
103 prop="qlxx.ywh"
104 :rules="rules.ywhrules"
105 >
101 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 106 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
102 </el-form-item> 107 </el-form-item>
103 </el-col> 108 </el-col>
...@@ -403,20 +408,20 @@ ...@@ -403,20 +408,20 @@
403 </div> 408 </div>
404 </template> 409 </template>
405 <script> 410 <script>
406 import { mapGetters } from "vuex"; 411 import { mapGetters } from "vuex";
407 import store from "@/store/index.js"; 412 import store from "@/store/index.js";
408 import ywmix from "@/views/ywbl/mixin/index"; 413 import ywmix from "@/views/ywbl/mixin/index";
409 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 414 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
410 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 415 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
411 import selectTable from "@/components/selectTable/index.vue"; 416 import selectTable from "@/components/selectTable/index.vue";
412 import tdytTable from "@/views/workflow/components/tdytTable"; 417 import tdytTable from "@/views/workflow/components/tdytTable";
413 export default { 418 export default {
414 mixins: [ywmix], 419 mixins: [ywmix],
415 components: { qlrCommonTable, tdytTable, selectTable }, 420 components: { qlrCommonTable, tdytTable, selectTable },
416 computed: { 421 computed: {
417 ...mapGetters(["dictData", "flag"]), 422 ...mapGetters(["dictData", "flag"]),
418 // 根据流程判断表单是否为只读 423 // 根据流程判断表单是否为只读
419 editDisabled () { 424 editDisabled() {
420 if (!this.ableOperation) { 425 if (!this.ableOperation) {
421 //只读状态 426 //只读状态
422 return true; 427 return true;
...@@ -424,7 +429,7 @@ ...@@ -424,7 +429,7 @@
424 return false; 429 return false;
425 }, 430 },
426 }, 431 },
427 data () { 432 data() {
428 return { 433 return {
429 ssqlxxshow: true, 434 ssqlxxshow: true,
430 props: { 435 props: {
...@@ -432,7 +437,7 @@ ...@@ -432,7 +437,7 @@
432 value: "bdcdyid", 437 value: "bdcdyid",
433 }, 438 },
434 // 键名转换,方法默认是label和children进行树状渲染 439 // 键名转换,方法默认是label和children进行树状渲染
435 normalizer (node) { 440 normalizer(node) {
436 //方法 441 //方法
437 if (node.children == null || node.children == "null") { 442 if (node.children == null || node.children == "null") {
438 delete node.children; 443 delete node.children;
...@@ -503,11 +508,12 @@ ...@@ -503,11 +508,12 @@
503 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 508 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
504 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 509 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
505 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], 510 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
511 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
506 }, 512 },
507 }; 513 };
508 }, 514 },
509 created () { }, 515 created() {},
510 mounted () { 516 mounted() {
511 this.loadData(); 517 this.loadData();
512 this.ableOperation = this.$parent.ableOperation; 518 this.ableOperation = this.$parent.ableOperation;
513 }, 519 },
...@@ -517,26 +523,24 @@ ...@@ -517,26 +523,24 @@
517 * @param {*} val 523 * @param {*} val
518 * @author: renchao 524 * @author: renchao
519 */ 525 */
520 ssQlxxchange (val) { 526 ssQlxxchange(val) {
521 this.ruleForm.ssQlxx = val; 527 this.ruleForm.ssQlxx = val;
522 this.ruleForm.qlxx.ssywh = val.ywh; 528 this.ruleForm.qlxx.ssywh = val.ywh;
523 this.ssQlxxchangediolog(val); 529 this.ssQlxxchangediolog(val);
524 }, 530 },
525 // 弹框事件 531 // 弹框事件
526 ssQlxxchangediolog (val) { 532 ssQlxxchangediolog(val) {
527 console.log("确定了", this.ruleForm);
528 this.$confirm("是否将上手权利信息同步到表单", "提示", { 533 this.$confirm("是否将上手权利信息同步到表单", "提示", {
529 iconClass: "el-icon-question", //自定义图标样式 534 iconClass: "el-icon-question", //自定义图标样式
530 confirmButtonText: "确认", //确认按钮文字更换 535 confirmButtonText: "确认", //确认按钮文字更换
531 cancelButtonText: "取消", //取消按钮文字更换 536 cancelButtonText: "取消", //取消按钮文字更换
532 showClose: true, //是否显示右上角关闭按钮 537 showClose: true, //是否显示右上角关闭按钮
533 type: "warning", 538 type: "warning",
534 }).then(() => { 539 })
540 .then(() => {
535 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 541 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
536 if (res.code == 200) { 542 if (res.code == 200) {
537 this.nowlist = res.result; 543 this.nowlist = res.result;
538 console.log("his.nowlist", this.nowlist);
539 console.log("this.ruleForm", this.ruleForm);
540 for (var key in this.ruleForm.tdsyq) { 544 for (var key in this.ruleForm.tdsyq) {
541 if ( 545 if (
542 this.ruleForm.tdsyq[key] == "" || 546 this.ruleForm.tdsyq[key] == "" ||
...@@ -547,13 +551,16 @@ ...@@ -547,13 +551,16 @@
547 } 551 }
548 for (var key in this.ruleForm.qlxx) { 552 for (var key in this.ruleForm.qlxx) {
549 if ( 553 if (
550 (this.ruleForm.qlxx[key] == null && key != "ywh") || 554 this.ruleForm.qlxx[key] == ""||
551 this.ruleForm.qlxx[key] == null 555 this.ruleForm.qlxx[key] == null &&
552 ) { 556 key != "ywh" &&
553 console.log("this.ruleForm.qlxx[key]", key); 557 key != "dbr" &&
554 if (key != "ywh") { 558 key != "djsj" &&
559 key != "ssywh" &&
560 key != "ssywh" &&
561 key != "bdcqzh") {
555 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 562 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
556 } 563
557 } 564 }
558 } 565 }
559 if (!this.ruleForm.tdytqxList.length) { 566 if (!this.ruleForm.tdytqxList.length) {
...@@ -565,14 +572,14 @@ ...@@ -565,14 +572,14 @@
565 if (!this.ruleForm.ywrData.length) { 572 if (!this.ruleForm.ywrData.length) {
566 this.ruleForm.ywrData = this.nowlist.ywrData; 573 this.ruleForm.ywrData = this.nowlist.ywrData;
567 } 574 }
568 console.log("this.ruleForm", this.ruleForm);
569 this.$message({ 575 this.$message({
570 type: "success", 576 type: "success",
571 message: "同步成功!", 577 message: "同步成功!",
572 }); 578 });
573 } 579 }
574 }); 580 });
575 }).catch(() => { 581 })
582 .catch(() => {
576 this.$message({ 583 this.$message({
577 type: "info", 584 type: "info",
578 message: "已取消同步", 585 message: "已取消同步",
...@@ -584,8 +591,7 @@ ...@@ -584,8 +591,7 @@
584 * @param {*} val 591 * @param {*} val
585 * @author: renchao 592 * @author: renchao
586 */ 593 */
587 djlxchange (val) { 594 djlxchange(val) {
588 console.log("val", val);
589 if (val == null || val == 100) { 595 if (val == null || val == 100) {
590 this.ssqlxxshow = false; 596 this.ssqlxxshow = false;
591 } else { 597 } else {
...@@ -599,14 +605,14 @@ ...@@ -599,14 +605,14 @@
599 * @param {*} val 605 * @param {*} val
600 * @author: renchao 606 * @author: renchao
601 */ 607 */
602 getDictData (val) { 608 getDictData(val) {
603 return store.getters.dictData[val]; 609 return store.getters.dictData[val];
604 }, 610 },
605 /** 611 /**
606 * @description: loadData 612 * @description: loadData
607 * @author: renchao 613 * @author: renchao
608 */ 614 */
609 loadData () { 615 loadData() {
610 this.$startLoading(); 616 this.$startLoading();
611 this.propsParam.isEdit = this.$parent.isEdit; 617 this.propsParam.isEdit = this.$parent.isEdit;
612 init(this.propsParam).then((res) => { 618 init(this.propsParam).then((res) => {
...@@ -637,7 +643,7 @@ ...@@ -637,7 +643,7 @@
637 * @param {*} val 643 * @param {*} val
638 * @author: renchao 644 * @author: renchao
639 */ 645 */
640 upDateTdytxxList (val) { 646 upDateTdytxxList(val) {
641 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 647 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
642 this.key++; 648 this.key++;
643 }, 649 },
...@@ -647,7 +653,7 @@ ...@@ -647,7 +653,7 @@
647 * @param {*} val 653 * @param {*} val
648 * @author: renchao 654 * @author: renchao
649 */ 655 */
650 upDateQlrxxList (val) { 656 upDateQlrxxList(val) {
651 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 657 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
652 this.czrOptions = this.ruleForm.qlrData; 658 this.czrOptions = this.ruleForm.qlrData;
653 this.key++; 659 this.key++;
......
...@@ -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,10 +618,10 @@ ...@@ -613,10 +618,10 @@
613 ableOperation: false, 618 ableOperation: false,
614 }; 619 };
615 }, 620 },
616 created () { 621 created() {
617 this.loadData(); 622 this.loadData();
618 }, 623 },
619 mounted () { 624 mounted() {
620 this.ableOperation = this.$parent.ableOperation; 625 this.ableOperation = this.$parent.ableOperation;
621 }, 626 },
622 methods: { 627 methods: {
...@@ -625,7 +630,7 @@ ...@@ -625,7 +630,7 @@
625 * @param {*} val 630 * @param {*} val
626 * @author: renchao 631 * @author: renchao
627 */ 632 */
628 ztQlxxchange (val) { 633 ztQlxxchange(val) {
629 this.ruleForm.ztQlxx = val; 634 this.ruleForm.ztQlxx = val;
630 }, 635 },
631 /** 636 /**
...@@ -633,14 +638,13 @@ ...@@ -633,14 +638,13 @@
633 * @param {*} val 638 * @param {*} val
634 * @author: renchao 639 * @author: renchao
635 */ 640 */
636 ssQlxxchange (val) { 641 ssQlxxchange(val) {
637 this.ruleForm.ssQlxx = val; 642 this.ruleForm.ssQlxx = val;
638 this.ruleForm.qlxx.ssywh = val.ywh; 643 this.ruleForm.qlxx.ssywh = val.ywh;
639 this.ssQlxxchangediolog(val); 644 this.ssQlxxchangediolog(val);
640 }, 645 },
641 // 弹框事件 646 // 弹框事件
642 ssQlxxchangediolog (val) { 647 ssQlxxchangediolog(val) {
643 console.log("确定了", this.ruleForm);
644 this.$confirm("是否将上手权利信息同步到表单", "提示", { 648 this.$confirm("是否将上手权利信息同步到表单", "提示", {
645 iconClass: "el-icon-question", //自定义图标样式 649 iconClass: "el-icon-question", //自定义图标样式
646 confirmButtonText: "确认", //确认按钮文字更换 650 confirmButtonText: "确认", //确认按钮文字更换
...@@ -652,8 +656,6 @@ ...@@ -652,8 +656,6 @@
652 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 656 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
653 if (res.code == 200) { 657 if (res.code == 200) {
654 this.nowlist = res.result; 658 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) { 659 for (var key in this.ruleForm.ygdj) {
658 if ( 660 if (
659 this.ruleForm.ygdj[key] == "" || 661 this.ruleForm.ygdj[key] == "" ||
...@@ -664,13 +666,16 @@ ...@@ -664,13 +666,16 @@
664 } 666 }
665 for (var key in this.ruleForm.qlxx) { 667 for (var key in this.ruleForm.qlxx) {
666 if ( 668 if (
667 (this.ruleForm.qlxx[key] == null && key != "ywh") || 669 this.ruleForm.qlxx[key] == ""||
668 this.ruleForm.qlxx[key] == null 670 this.ruleForm.qlxx[key] == null &&
669 ) { 671 key != "ywh" &&
670 console.log("this.ruleForm.qlxx[key]", key); 672 key != "dbr" &&
671 if (key != "ywh") { 673 key != "djsj" &&
674 key != "ssywh" &&
675 key != "ssywh" &&
676 key != "bdcqzh") {
672 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 677 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
673 } 678
674 } 679 }
675 } 680 }
676 if (!this.ruleForm.tdytqxList.length) { 681 if (!this.ruleForm.tdytqxList.length) {
...@@ -682,7 +687,6 @@ ...@@ -682,7 +687,6 @@
682 if (!this.ruleForm.ywrData.length) { 687 if (!this.ruleForm.ywrData.length) {
683 this.ruleForm.ywrData = this.nowlist.ywrData; 688 this.ruleForm.ywrData = this.nowlist.ywrData;
684 } 689 }
685 console.log("this.ruleForm", this.ruleForm);
686 this.$message({ 690 this.$message({
687 type: "success", 691 type: "success",
688 message: "同步成功!", 692 message: "同步成功!",
...@@ -697,6 +701,7 @@ ...@@ -697,6 +701,7 @@
697 }); 701 });
698 }); 702 });
699 }, 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="上手业务号:">
...@@ -513,8 +511,11 @@ ...@@ -513,8 +511,11 @@
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();
537 }, 538 },
538 mounted () { 539 mounted() {
539 this.ableOperation = this.$parent.ableOperation; 540 this.ableOperation = this.$parent.ableOperation;
540 }, 541 },
541 methods: { 542 methods: {
542 /** 543 /**
544 * @description: ztQlxxchange
545 * @param {*} val
546 * @author: renchao
547 */
548 ztQlxxchange(val) {
549 this.ruleForm.ztQlxx = val;
550 },
551 /**
543 * @description: ssQlxxchange 552 * @description: ssQlxxchange
544 * @param {*} val 553 * @param {*} val
545 * @author: renchao 554 * @author: renchao
546 */ 555 */
547 ssQlxxchange (val) { 556 ssQlxxchange(val) {
548 this.ruleForm.ssQlxx = val; 557 this.ruleForm.ssQlxx = val;
549 this.ruleForm.qlxx.ssywh = val.ywh; 558 this.ruleForm.qlxx.ssywh = val.ywh;
550 this.ssQlxxchangediolog(val); 559 this.ssQlxxchangediolog(val);
551 }, 560 },
552 // 弹框事件 561 // 弹框事件
553 ssQlxxchangediolog (val) { 562 ssQlxxchangediolog(val) {
554 console.log("确定了", this.ruleForm);
555 this.$confirm("是否将上手权利信息同步到表单", "提示", { 563 this.$confirm("是否将上手权利信息同步到表单", "提示", {
556 iconClass: "el-icon-question", //自定义图标样式 564 iconClass: "el-icon-question", //自定义图标样式
557 confirmButtonText: "确认", //确认按钮文字更换 565 confirmButtonText: "确认", //确认按钮文字更换
558 cancelButtonText: "取消", //取消按钮文字更换 566 cancelButtonText: "取消", //取消按钮文字更换
559 showClose: true, //是否显示右上角关闭按钮 567 showClose: true, //是否显示右上角关闭按钮
560 type: "warning", 568 type: "warning",
561 }).then(() => { 569 })
570 .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] == "" ||
...@@ -574,13 +581,16 @@ ...@@ -574,13 +581,16 @@
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,14 +602,14 @@ ...@@ -592,14 +602,14 @@
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: "已取消同步",
......
...@@ -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
103 }else{
102 this.add(val); 104 this.add(val);
105 }
103 }, 106 },
104 deep: true, 107 deep: true,
105 immediate: true, 108 immediate: true,
......