3d15820f by “miaofang

Merge branch 'dev'

2 parents 0a7dd516 8d2e7bd0
...@@ -152,9 +152,11 @@ ...@@ -152,9 +152,11 @@
152 } 152 }
153 153
154 .iconName { 154 .iconName {
155 line-height: 24px; 155 height: 10px;
156 text-align: center;
157 line-height: 15px;
156 font-size: 12px; 158 font-size: 12px;
157 width: 100px; 159 width: 70px;
158 // white-space: nowrap; 160 // white-space: nowrap;
159 } 161 }
160 162
......
...@@ -203,8 +203,8 @@ export default { ...@@ -203,8 +203,8 @@ export default {
203 this.isIndeterminate = 203 this.isIndeterminate =
204 checkedCount > 0 && checkedCount < this.cities.length; 204 checkedCount > 0 && checkedCount < this.cities.length;
205 let lists = []; 205 let lists = [];
206 this.cities.forEach((item, index) => { 206 this.checkedCities.forEach((el) => {
207 this.checkedCities.forEach((el) => { 207 this.cities.forEach((item, index) => {
208 if (item.name == el) { 208 if (item.name == el) {
209 lists.push(this.cities[index]); 209 lists.push(this.cities[index]);
210 } 210 }
......
...@@ -73,11 +73,17 @@ ...@@ -73,11 +73,17 @@
73 </el-form-item> 73 </el-form-item>
74 </el-col> 74 </el-col>
75 </el-row> 75 </el-row>
76 <div class="slxx_title title-block"> 76 <div class="slxx_title title-block">
77 查封不动产情况 77 <el-row>
78 <el-col :span="16">
79 查封不动产情况
80 </el-col>
81 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
82 <el-button @click="compare">变化情况对比+</el-button>
83 </el-col>
84 </el-row>
78 <div class="triangle"></div> 85 <div class="triangle"></div>
79 </div> 86 </div>
80
81 <el-row :gutter="10"> 87 <el-row :gutter="10">
82 <el-col :span="8"> 88 <el-col :span="8">
83 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:"> 89 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:">
...@@ -168,7 +174,7 @@ ...@@ -168,7 +174,7 @@
168 v-model="ruleForm.cfdj.cfjg" 174 v-model="ruleForm.cfdj.cfjg"
169 :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> 175 :disabled="!viewEdit || ableEdit || isJfOperation"></el-input>
170 </el-form-item> 176 </el-form-item>
171 </el-col> 177 </el-col>
172 </el-row> 178 </el-row>
173 <el-row :gutter="10"> 179 <el-row :gutter="10">
174 <el-col :span="8"> 180 <el-col :span="8">
...@@ -215,7 +221,7 @@ ...@@ -215,7 +221,7 @@
215 </el-form-item> 221 </el-form-item>
216 </el-col> 222 </el-col>
217 </el-row> 223 </el-row>
218 224
219 <el-row :gutter="10"> 225 <el-row :gutter="10">
220 <el-col :span="24"> 226 <el-col :span="24">
221 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> 227 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
...@@ -389,7 +395,23 @@ ...@@ -389,7 +395,23 @@
389 return item.dcode == e; 395 return item.dcode == e;
390 }); 396 });
391 this.ruleForm.cfdj.cflxmc = cflxItem.dname 397 this.ruleForm.cfdj.cflxmc = cflxItem.dname
392 } 398 },
399 /**
400 * @description: compare
401 * @author: renchao
402 */
403 compare () {
404 this.$popupDialog(
405 this.ruleForm.qlxx.qllxmc,
406 "registerBook/comparison",
407 {
408 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
409 dqqllx: "FDCQ2",
410 },
411 "80%",
412 true
413 );
414 },
393 } 415 }
394 } 416 }
395 </script> 417 </script>
......
...@@ -54,10 +54,16 @@ ...@@ -54,10 +54,16 @@
54 </el-col> 54 </el-col>
55 </el-row> 55 </el-row>
56 <div class="slxx_title title-block"> 56 <div class="slxx_title title-block">
57 抵押不动产情况 57 <el-row>
58 <el-col :span="16">
59 抵押不动产情况
60 </el-col>
61 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
62 <el-button @click="compare">变化情况对比+</el-button>
63 </el-col>
64 </el-row>
58 <div class="triangle"></div> 65 <div class="triangle"></div>
59 </div> 66 </div>
60
61 <el-row :gutter="10"> 67 <el-row :gutter="10">
62 <el-col :span="8"> 68 <el-col :span="8">
63 <el-form-item label="权利人:"> 69 <el-form-item label="权利人:">
...@@ -570,6 +576,21 @@ ...@@ -570,6 +576,21 @@
570 if (!_.isEqual(val, this.ruleForm.ywrList)) { 576 if (!_.isEqual(val, this.ruleForm.ywrList)) {
571 this.ruleForm.ywrList = _.cloneDeep(val); 577 this.ruleForm.ywrList = _.cloneDeep(val);
572 } 578 }
579 }, /**
580 * @description: compare
581 * @author: renchao
582 */
583 compare () {
584 this.$popupDialog(
585 this.ruleForm.qlxx.qllxmc,
586 "registerBook/comparison",
587 {
588 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
589 dqqllx: "FDCQ2",
590 },
591 "80%",
592 true
593 );
573 }, 594 },
574 }, 595 },
575 }; 596 };
......
...@@ -65,6 +65,9 @@ ...@@ -65,6 +65,9 @@
65 </el-radio-group> 65 </el-radio-group>
66 </el-form-item> 66 </el-form-item>
67 </el-col> 67 </el-col>
68 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
69 <el-button @click="compare">变化情况对比+</el-button>
70 </el-col>
68 </el-row> 71 </el-row>
69 <div class="triangle"></div> 72 <div class="triangle"></div>
70 </div> 73 </div>
...@@ -545,7 +548,22 @@ ...@@ -545,7 +548,22 @@
545 return false 548 return false
546 } 549 }
547 }) 550 })
548 } 551 }, /**
552 * @description: compare
553 * @author: renchao
554 */
555 compare () {
556 this.$popupDialog(
557 this.ruleForm.qlxx.qllxmc,
558 "registerBook/comparison",
559 {
560 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
561 dqqllx: "FDCQ2",
562 },
563 "80%",
564 true
565 );
566 },
549 } 567 }
550 } 568 }
551 </script> 569 </script>
......
1 <!--
2 * @Description: 受理信息
3 * @Autor: renchao
4 * @LastEditTime: 2024-01-30 16:07:53
5 -->
6 <template>
7 <div class="slxx">
8 <el-form
9 :model="ruleForm"
10 :rules="rules"
11 v-Loading="loading"
12 ref="ruleForm"
13 :label-position="flag ? 'top' : ''"
14 :inline="flag"
15 label-width="120px">
16 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
17 <div class="slxx_title title-block">
18 申请业务信息
19 <div class="triangle"></div>
20 </div>
21 <el-row :gutter="10" v-if="ruleForm.slsq">
22 <el-col :span="8">
23 <el-form-item label="业务号:">
24 <el-input disabled v-model="ruleForm.flow.ywh"></el-input>
25 </el-form-item>
26 </el-col>
27 <el-col :span="8">
28 <el-form-item label="受理人员:">
29 <el-input disabled v-model="ruleForm.slsq.slry"></el-input>
30 </el-form-item>
31 </el-col>
32 <el-col :span="8">
33 <el-form-item label="受理时间:">
34 <el-input disabled v-model="ruleForm.slsq.slsj"></el-input>
35 </el-form-item>
36 </el-col>
37 </el-row>
38 <el-row :gutter="10" v-if="ruleForm.slsq">
39 <el-col :span="8">
40 <el-form-item label="权利类型:">
41 <el-input disabled v-model="ruleForm.sldy.qllxmc"></el-input>
42 </el-form-item>
43 </el-col>
44 <el-col :span="8">
45 <el-form-item label="登记类型:">
46 <el-input disabled v-model="ruleForm.sldy.djlxmc"></el-input>
47 </el-form-item>
48 </el-col>
49 <el-col :span="8">
50 <el-form-item label="登记情形:">
51 <el-input disabled v-model="ruleForm.slsq.djqxmc"></el-input>
52 </el-form-item>
53 </el-col>
54 </el-row>
55 <div class="slxx_title title-block">
56 <el-row>
57 <el-col :span="16">
58 不动产单元情况
59 </el-col>
60 <el-col :span="4" v-if="ruleForm.sldy.djlx=='500'">
61 <el-form-item label="是否创建证书:" style="height:24px">
62 <el-radio-group v-model="ruleForm.sldy.sfxysczs">
63 <el-radio label="1"></el-radio>
64 <el-radio label="0"></el-radio>
65 </el-radio-group>
66 </el-form-item>
67 </el-col>
68 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
69 <el-button @click="compare">变化情况对比+</el-button>
70 </el-col>
71 </el-row>
72 <div class="triangle"></div>
73 </div>
74 <el-row :gutter="10" v-if="ruleForm.qlxx">
75 <el-col :span="8">
76 <el-form-item label="原不动产权证号:">
77 <el-input disabled v-model="ruleForm.sldy.ybdcqzsh"></el-input>
78 </el-form-item>
79 </el-col>
80 <el-col :span="8">
81 <el-form-item label="不动产单元号:">
82 <el-input disabled v-model="ruleForm.sldy.bdcdyh"></el-input>
83 </el-form-item>
84 </el-col>
85 <el-col :span="8">
86 <el-form-item label="坐落:">
87 <el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.sldy.zl"></el-input>
88 </el-form-item>
89 </el-col>
90 </el-row>
91 <el-row :gutter="10" v-if="ruleForm.fdcq2">
92 <el-col :span="8">
93 <el-form-item label="宗地面积:">
94 <div class="flex">
95 <el-input :disabled="!viewEdit" v-model="ruleForm.zdjbxx.zdmj"></el-input>
96 <el-select
97 disabled
98 v-model="ruleForm.zdjbxx.mjdw"
99 style="width: 68px">
100 <el-option
101 v-for="item in dictData['A7']"
102 :key="item.dcode"
103 :label="item.dname"
104 :value="item.dcode">
105 </el-option>
106 </el-select>
107 </div>
108 </el-form-item>
109 </el-col>
110 <el-col :span="8">
111 <el-form-item label="土地使用权人:">
112 <el-input :disabled="!viewEdit" v-model="ruleForm.fdcq2.tdsyqr"></el-input>
113 </el-form-item>
114 </el-col>
115 <el-col :span="8">
116 <el-form-item label="土地性质:">
117 <treeselect
118 :disabled="!viewEdit"
119 v-model="ruleForm.fdcq2.tdxz"
120 noOptionsText="暂无数据"
121 placeholder=""
122 :normalizer="normalizer"
123 :default-expand-level="1"
124 :show-count="true"
125 :options="dictData['A9']" />
126 </el-form-item>
127 </el-col>
128 </el-row>
129 <el-row :gutter="10" v-if="ruleForm.qlxx">
130 <el-col :span="8">
131 <el-form-item label="独用土地面积:">
132 <div class="flex">
133 <el-input
134 maxlength="12"
135 v-model="ruleForm.fdcq2.dytdmj"
136 :disabled="!viewEdit"
137 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
138 <el-select disabled v-model="mjdw" style="width: 68px">
139 <el-option
140 v-for="item in dictData['A7']"
141 :key="item.dcode"
142 :label="item.dname"
143 :value="item.dcode">
144 </el-option>
145 </el-select>
146 </div>
147 </el-form-item>
148 </el-col>
149 <el-col :span="8">
150 <el-form-item label="分摊土地面积:">
151 <div class="flex">
152 <el-input
153 maxlength="12"
154 v-model="ruleForm.fdcq2.fttdmj"
155 :disabled="!viewEdit"
156 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
157 <el-select disabled v-model="mjdw" style="width: 68px">
158 <el-option
159 v-for="item in dictData['A7']"
160 :key="item.dcode"
161 :label="item.dname"
162 :value="item.dcode">
163 </el-option>
164 </el-select>
165 </div>
166 </el-form-item>
167 </el-col>
168 <el-col :span="8">
169 <el-form-item label="房屋性质:">
170 <el-select v-model="ruleForm.fdcq2.fwxz" :disabled="!viewEdit">
171 <el-option
172 v-for="item in dictData['A19']"
173 :key="item.dcode"
174 :label="item.dname"
175 :value="item.dcode">
176 </el-option>
177 </el-select>
178 </el-form-item>
179 </el-col>
180 </el-row>
181 <el-row :gutter="10" v-if="ruleForm.qlxx">
182 <el-col :span="8">
183 <el-form-item label="房屋用途:">
184 <treeselect
185 v-model="ruleForm.fdcq2.ghyt"
186 :disabled="!viewEdit"
187 noOptionsText=""
188 placeholder=""
189 :normalizer="normalizer"
190 :show-count="true"
191 :options="dictData['A17']" />
192 </el-form-item>
193 </el-col>
194 <el-col :span="8">
195 <el-form-item label="房屋结构:">
196 <el-select v-model="ruleForm.fdcq2.fwjg" :disabled="!viewEdit">
197 <el-option
198 v-for="item in dictData['A46']"
199 :key="item.dcode"
200 :label="item.dname"
201 :value="item.dcode">
202 </el-option>
203 </el-select>
204 </el-form-item>
205 </el-col>
206 <el-col :span="8">
207 <el-form-item label="竣工时间:">
208 <el-date-picker
209 v-model="ruleForm.fdcq2.jgsj"
210 class="width100"
211 type="date"
212 placeholder="选择日期"
213 value-format="yyyy-MM-dd"
214 :disabled="!viewEdit"></el-date-picker>
215 </el-form-item>
216 </el-col>
217 </el-row>
218 <el-row :gutter="10" v-if="ruleForm.qlxx">
219 <el-col :span="8">
220 <el-form-item label="所在层:">
221 <el-input
222 maxlength="20"
223 v-model="ruleForm.fdcq2.szc"
224 :disabled="!viewEdit"></el-input>
225 </el-form-item>
226 </el-col>
227 <el-col :span="8">
228 <el-form-item label="总层数:">
229 <el-input
230 maxlength="4"
231 :disabled="!viewEdit"
232 v-model.number="ruleForm.fdcq2.zcs"
233 oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
234 </el-form-item>
235 </el-col>
236 <el-col :span="8">
237 <el-form-item label="房地产交易价格:">
238 <div class="flex">
239 <el-input
240 maxlength="11"
241 v-model="ruleForm.fdcq2.fdcjyjg"
242 style="width: 500%"
243 :disabled="!viewEdit"
244 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
245 <el-select v-model="ruleForm.fdcq2.jedw" :disabled="!viewEdit">
246 <el-option
247 v-for="item in dictData['A57']"
248 :key="item.dcode"
249 :label="item.dname"
250 :value="item.dcode">
251 </el-option>
252 </el-select>
253 </div>
254 </el-form-item>
255 </el-col>
256 </el-row>
257 <el-row :gutter="10" v-if="ruleForm.fdcq2">
258 <el-col :span="8">
259 <el-form-item label="建筑面积:">
260 <div class="flex">
261 <el-input
262 maxlength="12"
263 v-model="ruleForm.fdcq2.jzmj"
264 :disabled="!viewEdit"
265 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
266 <el-select disabled v-model="mjdw" style="width: 68px">
267 <el-option
268 v-for="item in dictData['A7']"
269 :key="item.dcode"
270 :label="item.dname"
271 :value="item.dcode">
272 </el-option>
273 </el-select>
274 </div>
275 </el-form-item>
276 </el-col>
277 <el-col :span="8">
278 <el-form-item label="专有建筑面积:">
279 <div class="flex">
280 <el-input
281 maxlength="12"
282 v-model="ruleForm.fdcq2.zyjzmj"
283 :disabled="!viewEdit"
284 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
285 <el-select disabled v-model="mjdw" style="width: 68px">
286 <el-option
287 v-for="item in dictData['A7']"
288 :key="item.dcode"
289 :label="item.dname"
290 :value="item.dcode">
291 </el-option>
292 </el-select>
293 </div>
294 </el-form-item>
295 </el-col>
296 <el-col :span="8">
297 <el-form-item label="分摊建筑面积:">
298 <div class="flex">
299 <el-input
300 maxlength="12"
301 v-model="ruleForm.fdcq2.ftjzmj"
302 :disabled="!viewEdit"
303 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
304 <el-select disabled v-model="mjdw" style="width: 68px">
305 <el-option
306 v-for="item in dictData['A7']"
307 :key="item.dcode"
308 :label="item.dname"
309 :value="item.dcode">
310 </el-option>
311 </el-select>
312 </div>
313 </el-form-item>
314 </el-col>
315 </el-row>
316 <el-row :gutter="10">
317 <el-col :span="24">
318 <el-form-item label="附记:">
319 <el-input
320 v-model="ruleForm.fdcq2.fj"
321 type="textarea"
322 maxlength="500"
323 show-word-limit
324 :disabled="!viewEdit"></el-input>
325 </el-form-item>
326 </el-col>
327 </el-row>
328 <div class="slxx_title title-block">
329 土地用途
330 <div class="triangle"></div>
331 </div>
332 <tdytTable
333 :ableOperation="viewEdit"
334 :tableData="ruleForm.tdytqxList"
335 @upDateTdytxxList="upDateTdytxxList" />
336 <div class="slxx_title title-block">
337 权利人信息
338 <div class="triangle"></div>
339 </div>
340 <el-row :gutter="10">
341 <el-col :span="12">
342 <el-form-item label="共有方式:">
343 <el-radio-group
344 :disabled="!viewEdit"
345 v-model="ruleForm.sldy.gyfs">
346 <el-radio label="0">单独所有</el-radio>
347 <el-radio label="1">共同共有</el-radio>
348 <el-radio label="2">按份所有</el-radio>
349 <el-radio label="3">其它共有</el-radio>
350 </el-radio-group>
351 </el-form-item>
352 </el-col>
353 <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'">
354 <el-form-item label="是否分别持证:">
355 <el-radio-group
356 v-model="ruleForm.sldy.sqfbcz"
357 :disabled="!viewEdit"
358 @input="updaterow()">
359 <el-radio :label="1"></el-radio>
360 <el-radio :label="0"></el-radio>
361 </el-radio-group>
362 </el-form-item>
363 </el-col>
364 <el-col
365 :span="6"
366 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'">
367 <el-form-item label="持证人:">
368 <el-select
369 v-model="czr"
370 placeholder="持证人"
371 :disabled="!viewEdit">
372 <el-option
373 v-for="(item,index) in czrOptions"
374 :key="index"
375 :label="item.sqrmc"
376 :value="item.id">
377 </el-option>
378 </el-select>
379 </el-form-item>
380 </el-col>
381 </el-row>
382 <qlrCommonTable
383 @upDateQlrxxList="upDateQlrxxList"
384 :disabled="!viewEdit"
385 :tableData="ruleForm.qlrList"
386 :gyfs="ruleForm.sldy.gyfs" />
387 <div class="slxx_title title-block">
388 登记原因
389 <div class="triangle"></div>
390 </div>
391 <el-row :gutter="10">
392 <el-col>
393 <el-form-item v-if="ruleForm.fdcq2" label="登记原因:" prop="fdcq2.djyy">
394 <el-input
395 class="textArea"
396 type="textarea"
397 maxlength="500"
398 show-word-limit
399 :disabled="!viewEdit"
400 v-model="ruleForm.fdcq2.djyy">
401 </el-input>
402 </el-form-item>
403 </el-col>
404 </el-row>
405 </div>
406 <el-row class="btn" v-if="isSave">
407 <el-form-item>
408 <el-button type="primary" @click="onSubmit">保存</el-button>
409 </el-form-item>
410 </el-row>
411 </el-form>
412 </div>
413 </template>
414 <script>
415 import ywmix from "@/views/ywbl/mixin/index";
416 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
417 import tdytTable from "@/views/workflow/components/tdytTable";
418 import { Init, saveData } from "@/api/workflow/fwsyqFlow.js";
419 import { mapGetters } from "vuex";
420 export default {
421 mixins: [ywmix],
422 mounted () {
423 let that = this
424 this.loading = true
425 this.viewEdit = this.$parent.currentSelectTab.ableOperation;
426 this.propsParam = this.$attrs;
427 var formdata = new FormData();
428 formdata.append("bsmSldy", this.propsParam.bsmSldy);
429 formdata.append("djlx", this.propsParam.djlx);
430 formdata.append("isEdit", this.viewEdit);
431 Init(formdata).then((res) => {
432 setTimeout(() => {
433 this.loading = false
434 }, 200)
435 if (res.code === 200 && res.result) {
436 that.ruleForm = {
437 ...res.result,
438 ...res.result.zdjbxxdatas,
439 ...res.result.qlxxdatas,
440 ...res.result.jsydsyqdatas,
441 };
442 that.ruleForm.qlrList.forEach((item) => {
443 item.id = item.bsmSqr
444 if (item.sfczr == '1') {
445 that.czr = item.bsmSqr
446 }
447 })
448 that.czrOptions = that.ruleForm.qlrList;
449 that.isSave = that.viewEdit
450 } else {
451 that.isSave = false
452 that.$confirm(res.message, '提示', {
453 cancelButtonText: '取消',
454 showConfirmButton: false,
455 type: 'warning'
456 })
457 }
458 }).catch(() => {
459 this.loading = false
460 this.isSave = false
461 })
462 },
463 components: { qlrCommonTable, tdytTable },
464 computed: {
465 ...mapGetters(["dictData", "flag"]),
466 },
467 data () {
468 return {
469 normalizer (node) {
470 if (node.children == null || node.children == "null") {
471 delete node.children;
472 }
473 return {
474 id: node.dcode,
475 label: node.dname,
476 children: node.children,
477 };
478 },
479 isSave: true,
480 loading: false,
481 mjdw: "1",
482 //表单是否可操作
483 viewEdit: false,
484 disabled: true,
485 tdytOption: [],
486 czrOptions: [],
487 czr: "",
488 ruleForm: {
489 flow: {
490 ywh: "",
491 },
492 slry: "",
493 slsj: "",
494 qllx: "",
495 djlx: "",
496 djqx: "",
497 sldy: {
498 gyfs: "",
499 },
500 // 宗地代码
501 zddm: "",
502 bdcdyh: "",
503 qlxzmc: "",
504 qlrxx: [],
505 // 自然幢号
506 zrzh: "",
507 // 户不动产单元号
508 hbdcdyh: "",
509 djzt: "",
510 // 图幅丘幢号
511 tfqzh: "",
512 zl: "",
513 // 房屋用途
514 fwyt: "",
515 fwxz: "",
516 fwjg: "",
517 // 权利人信息
518 // 是否分别持证
519 sffbcz: "",
520 // 持证人
521 czr: "",
522 djyy: "",
523 // 规划用途名称
524 zdjbxx: {
525 ghytmc: "",
526 },
527 fdcq2: {
528 fwxzmc: "",
529 },
530 slsq: {
531 gyfs: "",
532 },
533 },
534 //传递参数
535 propsParam: {},
536 rules: {
537 'fdcq2.djyy': [
538 { required: true, message: '请输入登记原因', trigger: 'blur' }
539 ]
540 }
541 }
542 },
543 methods: {
544 /**
545 * @description: dataSelectClick
546 * @author: renchao
547 */
548 dataSelectClick () {
549 this.$popup(
550 "房屋所有权",
551 this.BASE_API.SERVERAPI + "/rest/workflow/main/dataCompare/slxxCompareDetai",
552 {
553 formData: {
554 bsmSldy: this.propsParam.bsmSldy,
555 qllx: this.propsParam.qllx,
556 },
557 }
558 );
559 },
560 /**
561 * @description: 更新土地用途信息
562 * @param {*} val
563 * @author: renchao
564 */
565 upDateTdytxxList (val) {
566 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
567 this.key++;
568 },
569 /**
570 * @description: 是否持证人变化
571 * @param {*} val
572 * @author: renchao
573 */
574 updaterow () {
575 this.czr = "";
576 },
577 /**
578 * @description: 更新权利人信息
579 * @param {*} val
580 * @author: renchao
581 */
582 upDateQlrxxList (val) {
583 if (!_.isEqual(val, this.ruleForm.qlrList)) {
584 this.ruleForm.qlrList = _.cloneDeep(val);
585 this.czrOptions = this.ruleForm.qlrList;
586 }
587 this.num = 0
588 this.ruleForm.qlrList.forEach(item => {
589 if (item.id == this.czr) {
590 this.num++
591 }
592 })
593 if (this.num == 0) {
594 this.czr = ''
595 }
596 },
597 /**
598 * @description: 更新权利人信息
599 * @param {*} val
600 * @author: renchao
601 */
602 upDateYwrxxList (val) {
603 this.ruleForm.ywrList = _.cloneDeep(val);
604 },
605 /**
606 * @description: onSubmit
607 * @author: renchao
608 */
609 onSubmit () {
610 let that = this;
611 let arr = this.ruleForm.tdytqxList.filter((item) => !item.yt);
612 if (arr.length > 0) {
613 this.$message({
614 showClose: true,
615 message: "土地用途不能为空",
616 type: "error",
617 });
618 return false;
619 }
620 if (this.ruleForm.qlrList.length == 0) {
621 this.$message({
622 showClose: true,
623 message: "请确认权利人信息",
624 type: "error",
625 });
626 return false;
627 }
628
629 if (this.ruleForm.sldy.gyfs == "0") {
630 if (this.ruleForm.qlrList.length > 1) {
631 this.$message({
632 showClose: true,
633 message: "共有方式:单独所有,权利人只能是一个人",
634 type: "error",
635 });
636 return false;
637 }
638 this.ruleForm.qlrList[0].sfczr = "1";
639 } else {
640 if (this.ruleForm.qlrList.length <= 1) {
641 this.$message({
642 showClose: true,
643 message:
644 "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
645 type: "error",
646 });
647 return false;
648 }
649 //是否分别持证
650 if (this.ruleForm.sldy.sqfbcz == "1") {
651 //是
652 this.ruleForm.qlrList.forEach((item, index) => {
653 item.sfczr = "1";
654 });
655 } else {
656 if (that.czr === '') {
657 that.$message({
658 showClose: true,
659 message: "请选择持证人",
660 type: "error"
661 });
662 return false;
663 }
664 this.ruleForm.qlrList.forEach(item => {
665 if (item.id == that.czr) {
666 item.sfczr = "1"
667 } else {
668 item.sfczr = "0"
669 }
670 })
671 }
672 }
673 this.$refs['ruleForm'].validate((valid) => {
674 if (valid) {
675 that.$store.dispatch("user/refreshPage", false);
676 saveData(that.ruleForm).then((res) => {
677 if (res.code === 200) {
678 that.$message({
679 showClose: true,
680 message: "保存成功!",
681 type: "success",
682 });
683 that.$store.dispatch("user/refreshPage", true);
684 } else {
685 that.$message({
686 showClose: true,
687 message: res.message,
688 type: "error",
689 });
690 }
691 })
692
693 } else {
694 that.$message({
695 showClose: true,
696 message: "请输入登记原因",
697 type: "error"
698 })
699 return false
700 }
701 })
702 },
703 /**
704 * @description: compare
705 * @author: renchao
706 */
707 compare () {
708 this.$popupDialog(
709 this.ruleForm.qlxx.qllxmc,
710 "registerBook/comparison",
711 {
712 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
713 dqqllx: "FDCQ2",
714 },
715 "80%",
716 true
717 );
718 },
719 },
720 };
721 </script>
722 <style scoped lang="scss">
723 @import "~@/styles/public.scss";
724 @import "~@/styles/slxx/slxx.scss";
725 /deep/.el-form {
726 display: flex;
727 flex-direction: column;
728 height: calc(100vh - 130px);
729 }
730
731 /deep/.el-form-item__label {
732 padding: 0;
733 }
734
735 /deep/.el-radio {
736 margin-right: 10px;
737 }
738
739 /deep/.el-select {
740 width: 100%;
741 }
742
743 /deep/.el-form-item {
744 margin-bottom: 3px;
745 }
746
747 .marginBot0 {
748 margin-bottom: 0 !important;
749 }
750
751 .slxx {
752 box-sizing: border-box;
753 }
754
755 .slxx_con {
756 flex: 1;
757 height: 100%;
758 background-color: #ffffff;
759 overflow-y: auto;
760 padding-right: 3px;
761 overflow-x: hidden;
762 }
763
764 .submit_btn {
765 height: 50px;
766 }
767
768 .btn {
769 text-align: center;
770 padding-top: 10px;
771 height: 36px;
772 background-color: #ffffff;
773 padding: 5px 0;
774 }
775
776 .textArea {
777 /deep/.el-textarea__inner {
778 min-height: 90px !important;
779 }
780 }
781
782 /deep/.el-form-item__label {
783 padding-bottom: 0px;
784 }
785 </style>
......
...@@ -61,6 +61,9 @@ ...@@ -61,6 +61,9 @@
61 </el-radio-group> 61 </el-radio-group>
62 </el-form-item> 62 </el-form-item>
63 </el-col> 63 </el-col>
64 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
65 <el-button @click="compare">变化情况对比+</el-button>
66 </el-col>
64 </el-row> 67 </el-row>
65 <div class="triangle"></div> 68 <div class="triangle"></div>
66 </div> 69 </div>
...@@ -579,6 +582,21 @@ ...@@ -579,6 +582,21 @@
579 return item.dcode == e; 582 return item.dcode == e;
580 }); 583 });
581 this.ruleForm.nydsyq.ydyhflmc = itemLx.dname; 584 this.ruleForm.nydsyq.ydyhflmc = itemLx.dname;
585 }, /**
586 * @description: compare
587 * @author: renchao
588 */
589 compare () {
590 this.$popupDialog(
591 this.ruleForm.qlxx.qllxmc,
592 "registerBook/comparison",
593 {
594 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
595 dqqllx: "FDCQ2",
596 },
597 "80%",
598 true
599 );
582 }, 600 },
583 }, 601 },
584 }; 602 };
......
...@@ -67,6 +67,9 @@ ...@@ -67,6 +67,9 @@
67 </el-radio-group> 67 </el-radio-group>
68 </el-form-item> 68 </el-form-item>
69 </el-col> 69 </el-col>
70 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
71 <el-button @click="compare">变化情况对比+</el-button>
72 </el-col>
70 </el-row> 73 </el-row>
71 <div class="triangle"></div> 74 <div class="triangle"></div>
72 </div> 75 </div>
...@@ -487,6 +490,21 @@ ...@@ -487,6 +490,21 @@
487 upDateYwrxxList (val) { 490 upDateYwrxxList (val) {
488 this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)); 491 this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val));
489 this.key++; 492 this.key++;
493 }, /**
494 * @description: compare
495 * @author: renchao
496 */
497 compare () {
498 this.$popupDialog(
499 this.ruleForm.qlxx.qllxmc,
500 "registerBook/comparison",
501 {
502 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
503 dqqllx: "FDCQ2",
504 },
505 "80%",
506 true
507 );
490 }, 508 },
491 /** 509 /**
492 * @description: onSubmit 510 * @description: onSubmit
......
...@@ -66,6 +66,9 @@ ...@@ -66,6 +66,9 @@
66 </el-radio-group> 66 </el-radio-group>
67 </el-form-item> 67 </el-form-item>
68 </el-col> 68 </el-col>
69 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
70 <el-button @click="compare">变化情况对比+</el-button>
71 </el-col>
69 </el-row> 72 </el-row>
70 <div class="triangle"></div> 73 <div class="triangle"></div>
71 </div> 74 </div>
...@@ -490,6 +493,21 @@ ...@@ -490,6 +493,21 @@
490 */ 493 */
491 updaterow () { 494 updaterow () {
492 this.czr = ""; 495 this.czr = "";
496 }, /**
497 * @description: compare
498 * @author: renchao
499 */
500 compare () {
501 this.$popupDialog(
502 this.ruleForm.qlxx.qllxmc,
503 "registerBook/comparison",
504 {
505 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
506 dqqllx: "FDCQ2",
507 },
508 "80%",
509 true
510 );
493 }, 511 },
494 /** 512 /**
495 * @description: onSubmit 513 * @description: onSubmit
......
...@@ -48,8 +48,15 @@ ...@@ -48,8 +48,15 @@
48 </el-form-item> 48 </el-form-item>
49 </el-col> 49 </el-col>
50 </el-row> 50 </el-row>
51 <div class="slxx_title title-block"> 51 <div class="slxx_title title-block">
52 不动产情况 52 <el-row>
53 <el-col :span="16">
54 不动产情况
55 </el-col>
56 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
57 <el-button @click="compare">变化情况对比+</el-button>
58 </el-col>
59 </el-row>
53 <div class="triangle"></div> 60 <div class="triangle"></div>
54 </div> 61 </div>
55 <el-row :gutter="10" v-if="ruleForm.qlxx"> 62 <el-row :gutter="10" v-if="ruleForm.qlxx">
...@@ -387,6 +394,21 @@ ...@@ -387,6 +394,21 @@
387 */ 394 */
388 upDateYwrxxList (val) { 395 upDateYwrxxList (val) {
389 this.ruleForm.ywrList = _.cloneDeep(val); 396 this.ruleForm.ywrList = _.cloneDeep(val);
397 }, /**
398 * @description: compare
399 * @author: renchao
400 */
401 compare () {
402 this.$popupDialog(
403 this.ruleForm.qlxx.qllxmc,
404 "registerBook/comparison",
405 {
406 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
407 dqqllx: "FDCQ2",
408 },
409 "80%",
410 true
411 );
390 }, 412 },
391 /** 413 /**
392 * @description: 是否持证人变化 414 * @description: 是否持证人变化
......
...@@ -49,7 +49,14 @@ ...@@ -49,7 +49,14 @@
49 </el-col> 49 </el-col>
50 </el-row> 50 </el-row>
51 <div class="slxx_title title-block"> 51 <div class="slxx_title title-block">
52 预告买卖登记情况 52 <el-row>
53 <el-col :span="16">
54 预告买卖登记情况
55 </el-col>
56 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
57 <el-button @click="compare">变化情况对比+</el-button>
58 </el-col>
59 </el-row>
53 <div class="triangle"></div> 60 <div class="triangle"></div>
54 </div> 61 </div>
55 <el-row :gutter="10"> 62 <el-row :gutter="10">
...@@ -419,6 +426,21 @@ ...@@ -419,6 +426,21 @@
419 */ 426 */
420 upDateYwrxxList (val) { 427 upDateYwrxxList (val) {
421 this.ruleForm.ywrList = _.cloneDeep(val); 428 this.ruleForm.ywrList = _.cloneDeep(val);
429 }, /**
430 * @description: compare
431 * @author: renchao
432 */
433 compare () {
434 this.$popupDialog(
435 this.ruleForm.qlxx.qllxmc,
436 "registerBook/comparison",
437 {
438 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
439 dqqllx: "FDCQ2",
440 },
441 "80%",
442 true
443 );
422 }, 444 },
423 /** 445 /**
424 * @description: 是否持证人变化 446 * @description: 是否持证人变化
......
...@@ -48,8 +48,15 @@ ...@@ -48,8 +48,15 @@
48 </el-form-item> 48 </el-form-item>
49 </el-col> 49 </el-col>
50 </el-row> 50 </el-row>
51 <div class="slxx_title title-block"> 51 <div class="slxx_title title-block">
52 抵押户信息情况 52 <el-row>
53 <el-col :span="16">
54 抵押户信息情况
55 </el-col>
56 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
57 <el-button @click="compare">变化情况对比+</el-button>
58 </el-col>
59 </el-row>
53 <div class="triangle"></div> 60 <div class="triangle"></div>
54 </div> 61 </div>
55 <el-row :gutter="10"> 62 <el-row :gutter="10">
...@@ -563,7 +570,23 @@ ...@@ -563,7 +570,23 @@
563 if (!_.isEqual(val, this.ruleForm.ywrList)) { 570 if (!_.isEqual(val, this.ruleForm.ywrList)) {
564 this.ruleForm.ywrList = _.cloneDeep(val); 571 this.ruleForm.ywrList = _.cloneDeep(val);
565 } 572 }
566 } 573 },
574 /**
575 * @description: compare
576 * @author: renchao
577 */
578 compare () {
579 this.$popupDialog(
580 this.ruleForm.qlxx.qllxmc,
581 "registerBook/comparison",
582 {
583 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
584 dqqllx: "FDCQ2",
585 },
586 "80%",
587 true
588 );
589 },
567 } 590 }
568 } 591 }
569 </script> 592 </script>
......
...@@ -152,6 +152,7 @@ ...@@ -152,6 +152,7 @@
152 } 152 }
153 153
154 .iconName { 154 .iconName {
155 height: 10px;
155 text-align: center; 156 text-align: center;
156 line-height: 15px; 157 line-height: 15px;
157 font-size: 12px; 158 font-size: 12px;
......