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: "已取消同步",
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 15:53:54 4 * @LastEditTime: 2023-08-02 08:38:11
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
14 ref="ruleForm" 14 ref="ruleForm"
15 :label-position="flag ? 'top' : ''" 15 :label-position="flag ? 'top' : ''"
16 :inline="flag" 16 :inline="flag"
17 inline-message
18 :show-message="false" 17 :show-message="false"
18 inline-message
19 label-width="145px"> 19 label-width="145px">
20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
21 <div class="slxx_title title-block"> 21 <div class="slxx_title title-block">
...@@ -39,46 +39,16 @@ ...@@ -39,46 +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="10">
47 <el-col :span="8">
48 <el-form-item
49 label="抵押不动产信息:"
50 prop="ztQlxx.bdcqzh"
51 :rules="rules.ztQlxxrules">
52 <select-table
53 v-model="ruleForm.ztQlxx"
54 :table-width="550"
55 :tableData="ztQlxxList"
56 :props="props"
57 @change="ztQlxxchange">
58 <el-table-column
59 prop="qllxmc"
60 width="130"
61 label="权利类型"></el-table-column>
62 <el-table-column
63 prop="bdcqzh"
64 width="160"
65 label="不动产权证书"></el-table-column>
66 <el-table-column prop="qlrmc" label="权利人"></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 45 <el-form-item
76 label="上手权利信息:" 46 label="上手权利信息:"
77 prop="ssQlxx.bdcqzh" 47 prop="ssQlxx.bdcqzh"
78 :rules="rules.ssQlxxrules"> 48 :rules="rules.ssQlxxrules">
79 <select-table 49 <select-table
80 v-model="ruleForm.ssQlxx" 50 v-model="ruleForm.ssQlxx"
81 :table-width="550" 51 :table-width="730"
82 :tableData="ssQlxxList" 52 :tableData="ssQlxxList"
83 :props="props" 53 :props="props"
84 @change="ssQlxxchange"> 54 @change="ssQlxxchange">
...@@ -96,35 +66,48 @@ ...@@ -96,35 +66,48 @@
96 <el-table-column prop="zl" label="坐落"></el-table-column> 66 <el-table-column prop="zl" label="坐落"></el-table-column>
97 </select-table> 67 </select-table>
98 </el-form-item> 68 </el-form-item>
99 </el-col> 69 </div>
100 </el-row> 70 <div class="triangle"></div>
101 71 </div>
102 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> 72 <el-row :gutter="10">
103 <el-col :span="8"> 73 <el-col :span="8">
104 <el-form-item label="权利人:"> 74 <el-form-item label="不动产单元号:">
105 <el-input disabled v-model="ruleForm.ztQlxx.qlrmc"></el-input> 75 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
106 </el-form-item> 76 </el-form-item>
107 </el-col> 77 </el-col>
108 <el-col :span="8"> 78 <el-col :span="8">
109 <el-form-item label="证件种类:"> 79 <el-form-item
110 <el-input disabled v-model="ruleForm.ztQlxx.qlrzjzl"></el-input> 80 label="业务号:"
81 prop="qlxx.ywh"
82 :rules="rules.ywhrules">
83 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
111 </el-form-item> 84 </el-form-item>
112 </el-col> 85 </el-col>
113 <el-col :span="8"> 86 <el-col :span="8">
114 <el-form-item label="证件号:"> 87 <el-form-item label="上手业务号:">
115 <el-input disabled v-model="ruleForm.ztQlxx.qlrzjhm"></el-input> 88 <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input>
116 </el-form-item> 89 </el-form-item>
117 </el-col> 90 </el-col>
118 </el-row> 91 </el-row>
119 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> 92 <el-row :gutter="10">
120 <el-col :span="8"> 93 <el-col :span="8">
121 <el-form-item label="权利类型:"> 94 <el-form-item label="权利类型:">
122 <el-input disabled v-model="ruleForm.ztQlxx.qllxmc"></el-input> 95 <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input>
123 </el-form-item> 96 </el-form-item>
124 </el-col> 97 </el-col>
125 <el-col :span="8"> 98 <el-col :span="8">
126 <el-form-item label="不动产权证号:"> 99 <el-form-item
127 <el-input disabled v-model="ruleForm.ztQlxx.bdcqzh"></el-input> 100 label="登记类型:"
101 prop="qlxx.djlx"
102 :rules="rules.djlxrules">
103 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
104 <el-option
105 v-for="item in djlxlist"
106 :key="item.dcode"
107 :label="item.dname"
108 :value="item.dcode">
109 </el-option>
110 </el-select>
128 </el-form-item> 111 </el-form-item>
129 </el-col> 112 </el-col>
130 <el-col :span="8"> 113 <el-col :span="8">
...@@ -132,67 +115,129 @@ ...@@ -132,67 +115,129 @@
132 <el-input disabled v-model="ruleForm.sldy.zl"></el-input> 115 <el-input disabled v-model="ruleForm.sldy.zl"></el-input>
133 </el-form-item> 116 </el-form-item>
134 </el-col> 117 </el-col>
135 </el-row>
136 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
137 <el-col :span="8"> 118 <el-col :span="8">
138 <el-form-item label="不动产单元号:"> 119 <el-form-item label="土地使用权人:">
139 <el-input disabled v-model="ruleForm.ztQlxx.bdcdyh"></el-input> 120 <el-input v-model="ruleForm.fdcq2.tdsyqr"></el-input>
140 </el-form-item> 121 </el-form-item>
141 </el-col> 122 </el-col>
142 <el-col :span="8"> 123 <el-col :span="8">
143 <el-form-item label="面积:"> 124 <el-form-item label="独用土地面积:">
144 <el-input disabled v-model="ruleForm.ztQlxx.mjmc"></el-input> 125 <div class="flex">
126 <el-input
127 v-model="ruleForm.fdcq2.dytdmj"
128 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
129 <el-select disabled v-model="mjdw" style="width: 20%">
130 <el-option
131 v-for="item in dictData['A7']"
132 :key="item.dcode"
133 :label="item.dname"
134 :value="item.dcode">
135 </el-option>
136 </el-select>
137 </div>
145 </el-form-item> 138 </el-form-item>
146 </el-col> 139 </el-col>
147 <el-col :span="8"> 140 <el-col :span="8">
148 <el-form-item label="用途:"> 141 <el-form-item label="分摊土地面积:">
149 <el-input disabled v-model="ruleForm.ztQlxx.ytmc"></el-input> 142 <div class="flex">
143 <el-input
144 v-model="ruleForm.fdcq2.fttdmj"
145 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
146 <el-select disabled v-model="mjdw" style="width: 20%">
147 <el-option
148 v-for="item in dictData['A7']"
149 :key="item.dcode"
150 :label="item.dname"
151 :value="item.dcode">
152 </el-option>
153 </el-select>
154 </div>
150 </el-form-item> 155 </el-form-item>
151 </el-col> 156 </el-col>
152 </el-row> 157 <el-col :span="8">
153 <div class="slxx_title title-block"> 158 <!-- 下拉框 -->
154 异议登记信息 159 <el-form-item label="土地性质:" style="margin-bottom: 3px">
155 <div class="triangle"></div> 160 <treeselect
161 v-model="ruleForm.fdcq2.tdxz"
162 noOptionsText="暂无数据"
163 placeholder=""
164 :normalizer="normalizer"
165 :show-count="true"
166 :options="dictData['A9']" />
167 </el-form-item>
168 </el-col>
169 <el-col :span="8">
170 <el-form-item label="房地产交易价格:">
171 <div class="flex">
172 <el-input
173 v-model="ruleForm.fdcq2.qjjg"
174 style="width: 500%"
175 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
176 <el-select v-model="ruleForm.fdcq2.jedw">
177 <el-option
178 v-for="item in dictData['A57']"
179 :key="item.dcode"
180 :label="item.dname"
181 :value="item.dcode">
182 </el-option>
183 </el-select>
156 </div> 184 </div>
157 <el-row :gutter="10"> 185 </el-form-item>
186 </el-col>
158 <el-col :span="8"> 187 <el-col :span="8">
159 <el-form-item label="不动产单元号:"> 188 <el-form-item label="权属状态:">
160 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> 189 <el-select v-model="ruleForm.qlxx.qszt">
190 <el-option
191 v-for="item in qsztlist"
192 :key="item.dcode"
193 :label="item.dname"
194 :value="item.dcode">
195 </el-option>
196 </el-select>
161 </el-form-item> 197 </el-form-item>
162 </el-col> 198 </el-col>
163 <el-col :span="8"> 199 <el-col :span="8">
164 <el-form-item 200 <el-form-item label="规划用途:">
165 label="业务号:" 201 <el-select v-model="ruleForm.fdcq2.ghyt">
166 prop="qlxx.ywh" 202 <el-option
167 :rules="rules.ywhrules"> 203 v-for="item in dictData['A17']"
168 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 204 :key="item.dcode"
205 :label="item.dname"
206 :value="item.dcode">
207 </el-option>
208 </el-select>
169 </el-form-item> 209 </el-form-item>
170 </el-col> 210 </el-col>
171 <el-col :span="8"> 211 <el-col :span="8">
172 <el-form-item label="上手业务号:"> 212 <el-form-item label="批准用途:">
173 <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> 213 <el-input v-model="ruleForm.fdcq2.pzyt"></el-input>
174 </el-form-item> 214 </el-form-item>
175 </el-col> 215 </el-col>
176 </el-row> 216 <el-col :span="8">
177 <el-row :gutter="10"> 217 <el-form-item label="实际用途:">
178 <!-- <el-col :span="8"> 218 <el-input v-model="ruleForm.fdcq2.sjyt"></el-input>
179 <el-form-item label="权利类型:">
180 <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input>
181 </el-form-item> 219 </el-form-item>
182 </el-col> --> 220 </el-col>
183 <!-- <el-col :span="8"> 221 <el-col :span="8">
184 <el-form-item label="登记原因:"> 222 <el-form-item label="房屋性质:">
185 <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> 223 <el-select v-model="ruleForm.fdcq2.fwxz">
224 <el-option
225 v-for="item in dictData['A19']"
226 :key="item.dcode"
227 :label="item.dname"
228 :value="item.dcode">
229 </el-option>
230 </el-select>
186 </el-form-item> 231 </el-form-item>
187 </el-col> --> 232 </el-col>
188 <el-col :span="8"> 233 <el-col :span="8">
189 <el-form-item 234 <el-form-item
190 label="登记类型:" 235 label="房屋结构:"
191 prop="qlxx.djlx" 236 prop="fdcq2.fwjg"
192 :rules="rules.djlxrules"> 237 :rules="rules.fwjgrules">
193 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> 238 <el-select v-model="ruleForm.fdcq2.fwjg">
194 <el-option 239 <el-option
195 v-for="item in djlxlist" 240 v-for="item in dictData['A46']"
196 :key="item.dcode" 241 :key="item.dcode"
197 :label="item.dname" 242 :label="item.dname"
198 :value="item.dcode"> 243 :value="item.dcode">
...@@ -200,11 +245,80 @@ ...@@ -200,11 +245,80 @@
200 </el-select> 245 </el-select>
201 </el-form-item> 246 </el-form-item>
202 </el-col> 247 </el-col>
203 <!-- <el-col :span="8"> 248 <el-col :span="8">
204 <el-form-item label="不动产坐落:"> 249 <el-form-item label="所在层:">
205 <el-input v-model="ruleForm.qlxx.zl"></el-input> 250 <el-input v-model="ruleForm.fdcq2.szc"></el-input>
206 </el-form-item> 251 </el-form-item>
207 </el-col> --> 252 </el-col>
253 <el-col :span="8">
254 <el-form-item label="总层数:">
255 <el-input v-model="ruleForm.fdcq2.zcs"></el-input>
256 </el-form-item>
257 </el-col>
258 <el-col :span="8">
259 <el-form-item label="建筑面积:">
260 <div class="flex">
261 <el-input
262 v-model="ruleForm.fdcq2.jzmj"
263 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
264 <el-select disabled v-model="mjdw" style="width: 20%">
265 <el-option
266 v-for="item in dictData['A7']"
267 :key="item.dcode"
268 :label="item.dname"
269 :value="item.dcode">
270 </el-option>
271 </el-select>
272 </div>
273 </el-form-item>
274 </el-col>
275 <el-col :span="8">
276 <el-form-item label="专有建筑面积:">
277 <div class="flex">
278 <el-input
279 v-model="ruleForm.fdcq2.zyjzmj"
280 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
281 <el-select disabled v-model="mjdw" style="width: 20%">
282 <el-option
283 v-for="item in dictData['A7']"
284 :key="item.dcode"
285 :label="item.dname"
286 :value="item.dcode">
287 </el-option>
288 </el-select>
289 </div>
290 </el-form-item>
291 </el-col>
292 <el-col :span="8">
293 <el-form-item label="分摊建筑面积:">
294 <div class="flex">
295 <el-input
296 v-model="ruleForm.fdcq2.ftjzmj"
297 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
298 <el-select disabled v-model="mjdw" style="width: 20%">
299 <el-option
300 v-for="item in dictData['A7']"
301 :key="item.dcode"
302 :label="item.dname"
303 :value="item.dcode">
304 </el-option>
305 </el-select>
306 </div>
307 </el-form-item>
308 </el-col>
309 <el-col :span="8">
310 <el-form-item label="竣工时间:">
311 <el-date-picker
312 v-model="ruleForm.fdcq2.jgsj"
313 class="width100"
314 type="date"
315 placeholder="选择日期"
316 value-format="yyyy-MM-dd HH:mm:ss"
317 format="yyyy-MM-dd">
318 </el-date-picker>
319 </el-form-item>
320 </el-col>
321
208 <el-col :span="8"> 322 <el-col :span="8">
209 <el-form-item 323 <el-form-item
210 label="不动产权证号:" 324 label="不动产权证号:"
...@@ -214,7 +328,11 @@ ...@@ -214,7 +328,11 @@
214 </el-form-item> 328 </el-form-item>
215 </el-col> 329 </el-col>
216 <!-- <el-col :span="8"> 330 <!-- <el-col :span="8">
217 <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules"> 331 <el-form-item
332 label="区县代码:"
333 prop="qlxx.qxdm"
334 :rules="rules.qxdmrules"
335 >
218 <el-input v-model="ruleForm.qlxx.qxdm"></el-input> 336 <el-input v-model="ruleForm.qlxx.qxdm"></el-input>
219 </el-form-item> 337 </el-form-item>
220 </el-col> --> 338 </el-col> -->
...@@ -241,71 +359,38 @@ ...@@ -241,71 +359,38 @@
241 :rules="rules.djsjrules"> 359 :rules="rules.djsjrules">
242 <el-date-picker 360 <el-date-picker
243 v-model="ruleForm.qlxx.djsj" 361 v-model="ruleForm.qlxx.djsj"
244 class="width100"
245 type="date" 362 type="date"
363 class="width100"
246 placeholder="选择日期" 364 placeholder="选择日期"
247 value-format="yyyy-MM-dd HH:mm:ss" 365 value-format="yyyy-MM-dd HH:mm:ss"
248 format="yyyy-MM-dd"> 366 format="yyyy-MM-dd">
249 </el-date-picker> 367 </el-date-picker>
250 </el-form-item> 368 </el-form-item>
251 </el-col> 369 </el-col>
252 <el-col :span="8"> 370 </el-row>
253 <el-form-item label="权属状态:"> 371 <el-row>
254 <el-select v-model="ruleForm.qlxx.qszt"> 372 <el-col :span="24">
255 <el-option 373 <el-form-item label="登记原因:">
256 v-for="item in qsztlist" 374 <el-input v-model="ruleForm.fdcq2.djyy"></el-input>
257 :key="item.dcode"
258 :label="item.dname"
259 :value="item.dcode">
260 </el-option>
261 </el-select>
262 </el-form-item>
263 </el-col>
264
265 <el-col :span="8">
266 <el-form-item label="异议事项:" prop="yydj.yysx" :rules="rules.yysxrules">
267 <el-input v-model="ruleForm.yydj.yysx"></el-input>
268 </el-form-item>
269 </el-col>
270 <el-col :span="8">
271 <el-form-item label="不动产登记证明号:">
272 <el-input v-model="ruleForm.yydj.bdcdjzmh"></el-input>
273 </el-form-item> 375 </el-form-item>
274 </el-col> 376 </el-col>
377 </el-row>
378 <el-row>
275 <el-col :span="24"> 379 <el-col :span="24">
276 <el-form-item label="附记:"> 380 <el-form-item label="附记:">
277 <el-input v-model="ruleForm.yydj.fj"></el-input> 381 <el-input v-model="ruleForm.fdcq2.fj"></el-input>
278 </el-form-item>
279 </el-col>
280 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
281 <el-form-item label="注销异议业务号:">
282 <el-input v-model="ruleForm.yydj.zxyyywh"></el-input>
283 </el-form-item>
284 </el-col>
285 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
286 <el-form-item label="注销异议原因:">
287 <el-input v-model="ruleForm.yydj.zxyyyy"></el-input>
288 </el-form-item>
289 </el-col>
290 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
291 <el-form-item label="注销异议登簿人:">
292 <el-input v-model="ruleForm.yydj.zxyydbr"></el-input>
293 </el-form-item>
294 </el-col>
295 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
296 <el-form-item label="注销异议登记时间:">
297 <el-date-picker
298 v-model="ruleForm.yydj.zxyydjsj"
299 class="width100"
300 type="date"
301 placeholder="选择日期"
302 value-format="yyyy-MM-dd HH:mm:ss"
303 format="yyyy-MM-dd">
304 </el-date-picker>
305 </el-form-item> 382 </el-form-item>
306 </el-col> 383 </el-col>
307 </el-row> 384 </el-row>
308 <div class="slxx_title title-block"> 385 <div class="slxx_title title-block">
386 土地用途
387 <div class="triangle"></div>
388 </div>
389 <tdytTable
390 :tableData="ruleForm.tdytqxList"
391 @upDateTdytxxList="upDateTdytxxList"
392 :ableOperation="ableOperation" />
393 <div class="slxx_title title-block">
309 权利人信息 394 权利人信息
310 <div class="triangle"></div> 395 <div class="triangle"></div>
311 </div> 396 </div>
...@@ -314,7 +399,7 @@ ...@@ -314,7 +399,7 @@
314 <el-form-item label="共有方式:"> 399 <el-form-item label="共有方式:">
315 <el-radio-group 400 <el-radio-group
316 :disabled="!ableOperation" 401 :disabled="!ableOperation"
317 v-model="ruleForm.sldy.gyfs"> 402 v-model="ruleForm.qlxx.gyfs">
318 <el-radio label="0">单独所有</el-radio> 403 <el-radio label="0">单独所有</el-radio>
319 <el-radio label="1">共同共有</el-radio> 404 <el-radio label="1">共同共有</el-radio>
320 <el-radio label="2">按份所有</el-radio> 405 <el-radio label="2">按份所有</el-radio>
...@@ -322,10 +407,10 @@ ...@@ -322,10 +407,10 @@
322 </el-radio-group> 407 </el-radio-group>
323 </el-form-item> 408 </el-form-item>
324 </el-col> 409 </el-col>
325 <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> 410 <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
326 <el-form-item label="是否分别持证:"> 411 <el-form-item label="是否分别持证:">
327 <el-radio-group 412 <el-radio-group
328 v-model="ruleForm.sldy.sqfbcz" 413 v-model="ruleForm.qlxx.sqfbcz"
329 :disabled="!ableOperation"> 414 :disabled="!ableOperation">
330 <el-radio :label="1"></el-radio> 415 <el-radio :label="1"></el-radio>
331 <el-radio :label="0"></el-radio> 416 <el-radio :label="0"></el-radio>
...@@ -334,7 +419,7 @@ ...@@ -334,7 +419,7 @@
334 </el-col> 419 </el-col>
335 <el-col 420 <el-col
336 :span="6" 421 :span="6"
337 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> 422 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'">
338 <el-form-item label="持证人:"> 423 <el-form-item label="持证人:">
339 <el-select 424 <el-select
340 v-model="ruleForm.czr" 425 v-model="ruleForm.czr"
...@@ -353,21 +438,9 @@ ...@@ -353,21 +438,9 @@
353 <qlrCommonTable 438 <qlrCommonTable
354 :tableData="ruleForm.qlrData" 439 :tableData="ruleForm.qlrData"
355 @upDateQlrxxList="upDateQlrxxList" 440 @upDateQlrxxList="upDateQlrxxList"
356 :key="key"
357 :ableOperation="ableOperation" 441 :ableOperation="ableOperation"
358 :gyfs="ruleForm.qlxx.gyfs" />
359 <div v-if="ruleForm.ywrData">
360 <div class="slxx_title title-block">
361 义务人信息
362 <div class="triangle"></div>
363 </div>
364 <ywrCommonTable
365 v-if="ruleForm.ywrData"
366 :tableData="ruleForm.ywrData"
367 :key="key" 442 :key="key"
368 :ableOperation="ableOperation" 443 :gyfs="ruleForm.qlxx.gyfs" />
369 @upDateQlrxxList="upDateYwrxxList" />
370 </div>
371 </div> 444 </div>
372 <el-row class="btn" v-if="ableOperation"> 445 <el-row class="btn" v-if="ableOperation">
373 <el-form-item> 446 <el-form-item>
...@@ -380,14 +453,13 @@ ...@@ -380,14 +453,13 @@
380 <script> 453 <script>
381 import { mapGetters } from "vuex"; 454 import { mapGetters } from "vuex";
382 import ywmix from "@/views/ywbl/mixin/index"; 455 import ywmix from "@/views/ywbl/mixin/index";
383 import { init, getSsQlxx, getZtQlxx, save } from "@/api/djbRepair.js"; 456 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
384 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 457 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
385 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
386 import tdytTable from "@/views/workflow/components/tdytTable";
387 import selectTable from "@/components/selectTable/index.vue"; 458 import selectTable from "@/components/selectTable/index.vue";
459 import tdytTable from "@/views/workflow/components/tdytTable";
388 export default { 460 export default {
389 mixins: [ywmix], 461 mixins: [ywmix],
390 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, 462 components: { qlrCommonTable, tdytTable, selectTable },
391 computed: { 463 computed: {
392 ...mapGetters(["dictData", "flag"]), 464 ...mapGetters(["dictData", "flag"]),
393 // 根据流程判断表单是否为只读 465 // 根据流程判断表单是否为只读
...@@ -401,20 +473,26 @@ ...@@ -401,20 +473,26 @@
401 }, 473 },
402 data () { 474 data () {
403 return { 475 return {
476 mjdw: "1",
404 ssqlxxshow: true, 477 ssqlxxshow: true,
405 props: { 478 props: {
406 label: "bdcqzh", 479 label: "bdcqzh",
407 value: "bdcdyid", 480 value: "bdcdyid",
408 }, 481 },
482 // 键名转换,方法默认是label和children进行树状渲染
483 normalizer (node) {
484 //方法
485 if (node.children == null || node.children == "null") {
486 delete node.children;
487 }
488 return {
489 id: node.dcode,
490 label: node.dname,
491 };
492 },
493
409 //表单是否可操作 494 //表单是否可操作
410 propsParam: this.$attrs, 495 propsParam: this.$attrs,
411 key: 0,
412 isShow: false,
413 disabled: true,
414 czrOptions: [],
415 ssQlxxList: [],
416 ztQlxxList: [],
417 ruleForm: {},
418 // 登记类型 496 // 登记类型
419 djlxlist: [ 497 djlxlist: [
420 { 498 {
...@@ -454,44 +532,43 @@ ...@@ -454,44 +532,43 @@
454 dname: "历史", 532 dname: "历史",
455 }, 533 },
456 ], 534 ],
535 key: 0,
536 tdxz: null,
537 isShow: false,
538 disabled: true,
539 czrOptions: [],
540 ssQlxxList: [],
541 ruleForm: {
542 fdcq2: {
543 ftjzmj: "",
544 },
545 },
546 ableOperation: false,
457 //传递参数\ 547 //传递参数\
458 rules: { 548 rules: {
459 ssQlxxrules: [ 549 ssQlxxrules: [
460 { required: true, message: "上手权利信息", trigger: "blur" }, 550 { required: true, message: "上手权利信息", trigger: "blur" },
461 ], 551 ],
462 ztQlxxrules: [
463 { required: true, message: "抵押不动产信息", trigger: "blur" },
464 ],
465 bdcqzhrules: [ 552 bdcqzhrules: [
466 { required: true, message: "不动产登记证明号", trigger: "blur" }, 553 { required: true, message: "不动产权证号:", trigger: "blur" },
467 ], 554 ],
468 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], 555 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
469 djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], 556 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
470 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 557 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
471 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 558 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
559 fwjgrules: [{ required: true, message: "房屋结构", trigger: "change" }],
472 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], 560 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
473 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], 561 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
474 yysxrules: [{ required: true, message: "异议事项", trigger: "blur" }],
475 }, 562 },
476 ableOperation: false,
477 }; 563 };
478 }, 564 },
479 created () { 565 created () { },
480 this.loadData();
481 },
482 mounted () { 566 mounted () {
567 this.loadData();
483 this.ableOperation = this.$parent.ableOperation; 568 this.ableOperation = this.$parent.ableOperation;
484 }, 569 },
485 methods: { 570 methods: {
486 /** 571 /**
487 * @description: ztQlxxchange
488 * @param {*} val
489 * @author: renchao
490 */
491 ztQlxxchange (val) {
492 this.ruleForm.ztQlxx = val;
493 },
494 /**
495 * @description: ssQlxxchange 572 * @description: ssQlxxchange
496 * @param {*} val 573 * @param {*} val
497 * @author: renchao 574 * @author: renchao
...@@ -503,22 +580,56 @@ ...@@ -503,22 +580,56 @@
503 }, 580 },
504 // 弹框事件 581 // 弹框事件
505 ssQlxxchangediolog (val) { 582 ssQlxxchangediolog (val) {
506 console.log("确定了", this.ruleForm);
507 this.$confirm("是否将上手权利信息同步到表单", "提示", { 583 this.$confirm("是否将上手权利信息同步到表单", "提示", {
508 iconClass: "el-icon-question", //自定义图标样式 584 iconClass: "el-icon-question", //自定义图标样式
509 confirmButtonText: "确认", //确认按钮文字更换 585 confirmButtonText: "确认", //确认按钮文字更换
510 cancelButtonText: "取消", //取消按钮文字更换 586 cancelButtonText: "取消", //取消按钮文字更换
511 showClose: true, //是否显示右上角关闭按钮 587 showClose: true, //是否显示右上角关闭按钮
512 type: "warning", 588 type: "warning",
513 }) 589
514 .then(() => { 590
515 // this.ruleForm.qlxx.ssywh = "1111111111111"; 591 }).then(() => {
592 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
593 if (res.code == 200) {
594 this.nowlist = res.result;
595 for (var key in this.ruleForm.fdcq2) {
596 if (
597 this.ruleForm.fdcq2[key] == "" ||
598 this.ruleForm.fdcq2[key] == null
599 ) {
600 this.ruleForm.fdcq2[key] = this.nowlist.fdcq2[key];
601 }
602 }
603 for (var key in this.ruleForm.qlxx) {
604 if (
605 this.ruleForm.qlxx[key] == "" ||
606 this.ruleForm.qlxx[key] == null &&
607 key != "ywh" &&
608 key != "dbr" &&
609 key != "djsj" &&
610 key != "ssywh" &&
611 key != "ssywh" &&
612 key != "bdcqzh") {
613 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
614
615 }
616 }
617 if (!this.ruleForm.tdytqxList.length) {
618 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
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 }
516 this.$message({ 626 this.$message({
517 type: "success", 627 type: "success",
518 message: "同步成功!", 628 message: "同步成功!",
519 }); 629 });
520 }) 630 }
521 .catch(() => { 631 });
632 }).catch(() => {
522 this.$message({ 633 this.$message({
523 type: "info", 634 type: "info",
524 message: "已取消同步", 635 message: "已取消同步",
...@@ -531,11 +642,11 @@ ...@@ -531,11 +642,11 @@
531 * @author: renchao 642 * @author: renchao
532 */ 643 */
533 djlxchange (val) { 644 djlxchange (val) {
534 // if (val == null || val == 100) { 645 if (val == null || val == 100) {
535 // this.ssqlxxshow = false; 646 this.ssqlxxshow = false;
536 // } else { 647 } else {
537 // this.ssqlxxshow = true; 648 this.ssqlxxshow = true;
538 // } 649 }
539 }, 650 },
540 /** 651 /**
541 * @description: loadData 652 * @description: loadData
...@@ -551,9 +662,14 @@ ...@@ -551,9 +662,14 @@
551 if (djlx == null || djlx == 100) { 662 if (djlx == null || djlx == 100) {
552 this.ssqlxxshow = false; 663 this.ssqlxxshow = false;
553 } 664 }
665 this.ruleForm.fdcq2.jedw = "1";
554 this.$endLoading(); 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 }
555 this.isShow = true; 672 this.isShow = true;
556
557 //获取主体信息 673 //获取主体信息
558 getSsQlxx({ 674 getSsQlxx({
559 bdcdyid: this.propsParam.bdcdyid, 675 bdcdyid: this.propsParam.bdcdyid,
...@@ -564,15 +680,6 @@ ...@@ -564,15 +680,6 @@
564 this.ssQlxxList = res.result; 680 this.ssQlxxList = res.result;
565 } 681 }
566 }); 682 });
567 //获取上手信息
568 getZtQlxx({
569 bdcdyid: this.propsParam.bdcdyid,
570 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
571 }).then((res) => {
572 if (res.code == 200) {
573 this.ztQlxxList = res.result;
574 }
575 });
576 } 683 }
577 }); 684 });
578 }, 685 },
......
...@@ -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,
......