b5f8b965 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 3bf57f9a b58f1363
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
4 * @LastEditTime: 2023-07-28 16:33:19 4 * @LastEditTime: 2023-07-28 16:33:19
5 */ 5 */
6 import { getUserInfo } from '@/api/user' 6 import { getUserInfo } from '@/api/user'
7 import { log } from 'bpmn-js-token-simulation'
8 const state = { 7 const state = {
9 name: '', 8 name: '',
10 userInfo:{}, 9 userInfo:{},
......
...@@ -2,8 +2,7 @@ ...@@ -2,8 +2,7 @@
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 :show-message="false" 4 :show-message="false"
5 * @LastEditTime: 2023-08-07 17:32:31 5 * @LastEditTime: 2023-08-17 13:23:51
6 610102123666GS00003W00000000
7 --> 6 -->
8 <template> 7 <template>
9 <!-- 受理信息 --> 8 <!-- 受理信息 -->
...@@ -212,15 +211,6 @@ ...@@ -212,15 +211,6 @@
212 </el-select> 211 </el-select>
213 </el-form-item> 212 </el-form-item>
214 </el-col> 213 </el-col>
215 <!-- <el-col :span="8">
216 <el-form-item
217 label="不动产权证号:"
218 prop="qlxx.bdcqzh"
219 :rules="rules.bdcqzhrules"
220 >
221 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
222 </el-form-item>
223 </el-col> -->
224 <el-col :span="8"> 214 <el-col :span="8">
225 <el-form-item label="查封机关:"> 215 <el-form-item label="查封机关:">
226 <el-input v-model="ruleForm.cfdj.cfjg"></el-input> 216 <el-input v-model="ruleForm.cfdj.cfjg"></el-input>
...@@ -274,15 +264,6 @@ ...@@ -274,15 +264,6 @@
274 <el-input v-model="ruleForm.cfdj.cffw"></el-input> 264 <el-input v-model="ruleForm.cfdj.cffw"></el-input>
275 </el-form-item> 265 </el-form-item>
276 </el-col> 266 </el-col>
277 <!-- <el-col :span="8">
278 <el-form-item
279 label="区县代码:"
280 prop="qlxx.qxdm"
281 :rules="rules.qxdmrules"
282 >
283 <el-input v-model="ruleForm.qlxx.qxdm"></el-input>
284 </el-form-item>
285 </el-col> -->
286 <el-col :span="8"> 267 <el-col :span="8">
287 <el-form-item 268 <el-form-item
288 label="登记机构:" 269 label="登记机构:"
...@@ -315,7 +296,7 @@ ...@@ -315,7 +296,7 @@
315 </el-date-picker> 296 </el-date-picker>
316 </el-form-item> 297 </el-form-item>
317 </el-col> 298 </el-col>
318 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> 299 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
319 <el-form-item label="解封业务号:"> 300 <el-form-item label="解封业务号:">
320 <el-input maxlength="11" v-model="ruleForm.qlxx.zxywh"></el-input> 301 <el-input maxlength="11" v-model="ruleForm.qlxx.zxywh"></el-input>
321 </el-form-item> 302 </el-form-item>
...@@ -355,7 +336,7 @@ ...@@ -355,7 +336,7 @@
355 </el-date-picker> 336 </el-date-picker>
356 </el-form-item> 337 </el-form-item>
357 </el-col> 338 </el-col>
358 <el-col :span="24"> 339 <el-col :span="24">
359 <el-form-item label="附记:"> 340 <el-form-item label="附记:">
360 <el-input v-model="ruleForm.cfdj.fj"></el-input> 341 <el-input v-model="ruleForm.cfdj.fj"></el-input>
361 </el-form-item> 342 </el-form-item>
...@@ -560,9 +541,9 @@ ...@@ -560,9 +541,9 @@
560 init(this.propsParam).then((res) => { 541 init(this.propsParam).then((res) => {
561 if (res.code == 200) { 542 if (res.code == 200) {
562 this.ruleForm = res.result; 543 this.ruleForm = res.result;
563 if(this.ruleForm.cfdj){ 544 if (this.ruleForm.cfdj) {
564 this.ruleForm.cfdj.sfbxf="2" 545 this.ruleForm.cfdj.sfbxf = "2"
565 } 546 }
566 this.isShow = true; 547 this.isShow = true;
567 let djlx = this.ruleForm.qlxx.djlx; 548 let djlx = this.ruleForm.qlxx.djlx;
568 this.$endLoading(); 549 this.$endLoading();
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-15 10:39:19 4 * @LastEditTime: 2023-08-15 10:39:19
5 --> 5 -->
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
18 </tr> 18 </tr>
19 <tr v-for="(item, index) in bdcqlml" :key="index"> 19 <tr v-for="(item, index) in bdcqlml" :key="index">
20 <td>{{ index + 1 }}</td> 20 <td>{{ index + 1 }}</td>
21 <td><el-link type="primary" @click="handleSelectBdcdyh(item.bdcdyh)" :underline="false">{{ item.bdcdyh }} </el-link></td> 21 <td><el-link type="primary" @click="handleSelectBdcdyh(item)" :underline="false">{{ item.bdcdyh }} </el-link></td>
22 <td>{{ item.bdclx }}</td> 22 <td>{{ item.bdclx }}</td>
23 <td>{{ item.szbs }}</td> 23 <td>{{ item.szbs }}</td>
24 <td>{{ item.bz }}</td> 24 <td>{{ item.bz }}</td>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-19 09:52:07 4 * @LastEditTime: 2023-07-19 09:52:07
5 --> 5 -->
6 <template> 6 <template>
7 <div class="bdcqljqtsx"> 7 <div class="bdcqljqtsx">
8 <div class="content"> 8 <div class="content" v-if="qlxxList.ztqlmc">
9 <div class="title">不动产权利及其他事项<br />登记信息</div> 9 <div class="title">不动产权利及其他事项<br />登记信息</div>
10 <div> 10 <div>
11 不动产单元号: 11 不动产单元号:
......
1 import { log } from "bpmn-js-token-simulation";
1 2
2 3
3 var qlxxPage = [ 4 var qlxxPage = [
...@@ -41,34 +42,36 @@ var qlxxPage = [ ...@@ -41,34 +42,36 @@ var qlxxPage = [
41 //组装登记簿树形结构 42 //组装登记簿树形结构
42 /** 43 /**
43 * @description: 组装登记簿树形结构 44 * @description: 组装登记簿树形结构
44 * @param {*} qlxxData
45 * @param {*} bdcdyh 45 * @param {*} bdcdyh
46 * @author: renchao 46 * @author: renchao
47 */ 47 */
48 export function loadTreeData(qlxxData, bdcdyh) { 48 export function loadTreeData(bdcdyh) {
49 let treedata = []; 49 let treedata = [];
50 //加载封面 50 //加载封面
51 treedata.push({ id: "djbfm", form: "djbfm.vue", label: "登记簿封面" }); 51 treedata.push({ id: "djbfm", form: "djbfm.vue", label: "登记簿封面" });
52 treedata.push({ id: "zdjbxx", form: "zdjbxx.vue", label: "宗地基本信息\n(" + bdcdyh.substring(0, 19) + ")", children: [] }); 52 treedata.push({ id: "zdjbxx", form: "zdjbxx.vue", label: "宗地基本信息\n(" + bdcdyh.substring(0, 19) + ")", children: [] });
53 treedata[1].children.push({ id: "bdcqldjml", form: "bdcqldjml.vue", label: "不动产权利登记目录", children: [] }); 53 treedata[1].children.push({ id: "bdcqldjml", form: "bdcqldjml.vue", label: "不动产权利登记目录", children: [] });
54 treedata[1].children[0].children.push({
55 id: "bdcqljqtsx", form: "bdcqljqtsx.vue", label: "不动产权利及其他事项\n (" + bdcdyh.slice(19) + ")", children: [],
56 });
57 //主体权利
58 treedata[1].children[0].children[0].children.push(getNode(qlxxData.ztqllx, qlxxData.ztql, qlxxData.bdcdylx));
59 //抵押权
60 treedata[1].children[0].children[0].children.push(getNode("A37", qlxxData.diyaq, ''));
61 //地役权
62 treedata[1].children[0].children[0].children.push(getNode("A19", qlxxData.diyiq, ''));
63 //预告登记
64 treedata[1].children[0].children[0].children.push(getNode("B40", qlxxData.ygdj, ''));
65 //异议登记
66 treedata[1].children[0].children[0].children.push(getNode("B38", qlxxData.yydj, ''));
67 //查封登记
68 treedata[1].children[0].children[0].children.push(getNode("B39", qlxxData.cfdj, ''));
69
70 return treedata; 54 return treedata;
71 } 55 }
56 export function loadsfqData(qlxxData, bdcdyh,bdcdyid) {
57 let treedata={
58 bdcdyid:bdcdyid,id: "bdcqljqtsx", form: "bdcqljqtsx.vue", label: "不动产权利及其他事项\n (" + bdcdyh.slice(19) + ")", children: [],
59 };
60 //主体权利
61 treedata.children.push(getNode(qlxxData.ztqllx, qlxxData.ztql, qlxxData.bdcdylx,bdcdyid));
62 //抵押权
63 treedata.children.push(getNode("A37", qlxxData.diyaq, '',bdcdyid));
64 //地役权
65 treedata.children.push(getNode("A19", qlxxData.diyiq, '',bdcdyid));
66 //预告登记
67 treedata.children.push(getNode("B40", qlxxData.ygdj, '',bdcdyid));
68 //异议登记
69 treedata.children.push(getNode("B38", qlxxData.yydj, '',bdcdyid));
70 //查封登记
71 treedata.children.push(getNode("B39", qlxxData.cfdj, '',bdcdyid));
72
73 return treedata;
74 }
72 75
73 //获取权利类型、不动产单元类型对应的树形节点信息 76 //获取权利类型、不动产单元类型对应的树形节点信息
74 /** 77 /**
...@@ -78,18 +81,18 @@ export function loadTreeData(qlxxData, bdcdyh) { ...@@ -78,18 +81,18 @@ export function loadTreeData(qlxxData, bdcdyh) {
78 * @param {*} bdcdylx 81 * @param {*} bdcdylx
79 * @author: renchao 82 * @author: renchao
80 */ 83 */
81 export function getNode(qllx, qlxx, bdcdylx) { 84 export function getNode(qllx, qlxx, bdcdylx,bdcdyid) {
82 let node; 85 let node;
83 for (var i = 0; i < qlxxPage.length; i++) { 86 for (var i = 0; i < qlxxPage.length; i++) {
84 if (qlxxPage[i].qllx == qllx) { 87 if (qlxxPage[i].qllx == qllx) {
85 if (qllx == "A04" || qllx == "A06" || qllx == "A08") { 88 if (qllx == "A04" || qllx == "A06" || qllx == "A08") {
86 if (bdcdylx == "4") { 89 if (bdcdylx == "4") {
87 node = { id: "fdcq1", form: "fdcq1.vue", label: qlxxPage[i].label + "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi +")"}; 90 node = {bdcdyid:bdcdyid,id: "fdcq1", form: "fdcq1.vue", label: qlxxPage[i].label + "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi +")"};
88 } else { 91 } else {
89 node = { id: "fdcq2", form: "fdcq2.vue", label: qlxxPage[i].label + "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi +")"}; 92 node = { bdcdyid:bdcdyid,id: "fdcq2", form: "fdcq2.vue", label: qlxxPage[i].label + "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi +")"};
90 } 93 }
91 } else { 94 } else {
92 node = { id: qlxxPage[i].id, form: qlxxPage[i].form, label: qlxxPage[i].label + "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi +")"}; 95 node = { bdcdyid:bdcdyid,id: qlxxPage[i].id, form: qlxxPage[i].form, label: qlxxPage[i].label + "(临:" + qlxx.linShi + ",现:" + qlxx.xianShi + ",历:" + qlxx.liShi +")"};
93 } 96 }
94 break; 97 break;
95 } 98 }
......
...@@ -985,37 +985,41 @@ class data extends filter { ...@@ -985,37 +985,41 @@ class data extends filter {
985 label: "证件号", 985 label: "证件号",
986 }, 986 },
987 { 987 {
988 prop: "fwxz", 988 prop: "fwxzmc",
989 label: "房屋性质", 989 label: "房屋性质",
990 }, 990 },
991 { 991 {
992 prop: "ghyt", 992 prop: "fwjgmc",
993 label: "规划用途", 993 label: "房屋结构",
994 }, 994 },
995 { 995 {
996 prop: "fwzcs", 996 prop: "ytmc",
997 label: "房屋总层数", 997 label: "房屋用途",
998 },
999 {
1000 prop: "szc",
1001 label: "所在层",
998 }, 1002 },
999 { 1003 {
1000 prop: "fwszc", 1004 prop: "zcs",
1001 label: "房屋所在层", 1005 label: "总层数",
1002 }, 1006 },
1003 { 1007 {
1004 prop: "jzmj", 1008 prop: "jzmj",
1005 label: "建筑面积", 1009 label: "建筑面积/抵押面积(㎡)",
1006 }, 1010 },
1007 { 1011 {
1008 prop: "djyy", 1012 prop: "djyy",
1009 label: "登记原因", 1013 label: "登记原因",
1010 }, 1014 },
1011 { 1015 {
1012 prop: "qdjg", 1016 prop: "fj",
1013 label: "取得价格/被担保主债权数额", 1017 label: "附记",
1014 }, 1018 },
1015 { 1019 {
1016 prop: "jedw", 1020 prop: "qdjgmc",
1017 label: "金额单位", 1021 label: "取得价格/被担保主债权数额",
1018 }, 1022 },
1019 { 1023 {
1020 prop: "dbfw", 1024 prop: "dbfw",
1021 label: "担保范围", 1025 label: "担保范围",
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-16 16:10:51 4 * @LastEditTime: 2023-08-17 13:28:21
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -327,6 +327,59 @@ ...@@ -327,6 +327,59 @@
327 * @author: renchao 327 * @author: renchao
328 */ 328 */
329 onSubmitClick () { 329 onSubmitClick () {
330 let that = this
331 if (this.ruleForm.qlrList.length == 0) {
332 this.$message({
333 showClose: true,
334 message: "请确认抵押权人信息",
335 type: "error",
336 });
337 return false;
338 }
339 if (this.ruleForm.sldy.gyfs == "0") {
340 if (this.ruleForm.qlrList.length > 1) {
341 this.$message({
342 showClose: true,
343 message: "共有方式:单独所有,权利人只能是一个人",
344 type: "error",
345 });
346 return false;
347 }
348 this.ruleForm.qlrList[0].sfczr = "1";
349 } else {
350 if (this.ruleForm.qlrList.length <= 1) {
351 this.$message({
352 showClose: true,
353 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
354 type: "error",
355 });
356 return false;
357 }
358 //是否分别持证
359 if (this.ruleForm.sldy.sqfbcz == "1") {
360 //是
361 this.ruleForm.qlrList.forEach((item, index) => {
362 item.sfczr = "1";
363 });
364 } else {
365 if (!that.ruleForm.czr) {
366 that.$message({
367 showClose: true,
368 message: "请选择持证人",
369 type: "error",
370 });
371 return false;
372 }
373 this.ruleForm.qlrList.forEach((item, index) => {
374 if (item.zjh == this.ruleForm.czr) {
375 item.sfczr = "1";
376 } else {
377 item.sfczr = "0";
378 }
379 });
380 }
381 }
382
330 saveData(this.ruleForm, this.propsParam.djlx).then((res) => { 383 saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
331 if (res.code === 200) { 384 if (res.code === 200) {
332 this.$message({ 385 this.$message({
......
1 <!-- 1 <!--
2 * @Description: 房屋多幢受理信息 2 * @Description: 房屋多幢受理信息
3 * @Autor: ssq 3 * @Autor: ssq
4 * @LastEditTime: 2023-08-16 16:32:15 4 * @LastEditTime: 2023-08-17 13:46:30
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -339,6 +339,7 @@ ...@@ -339,6 +339,7 @@
339 * @author: renchao 339 * @author: renchao
340 */ 340 */
341 onSubmit () { 341 onSubmit () {
342 let that = this
342 let arr = this.ruleForm.tdytqxList.filter((item) => !item.yt); 343 let arr = this.ruleForm.tdytqxList.filter((item) => !item.yt);
343 if (arr.length > 0) { 344 if (arr.length > 0) {
344 this.$message({ 345 this.$message({
...@@ -348,6 +349,58 @@ ...@@ -348,6 +349,58 @@
348 }); 349 });
349 return false; 350 return false;
350 } 351 }
352 if (this.ruleForm.qlrList.length == 0) {
353 this.$message({
354 showClose: true,
355 message: "请确认权利人信息",
356 type: "error",
357 });
358 return false;
359 }
360 if (this.ruleForm.sldy.gyfs == "0") {
361 if (this.ruleForm.qlrList.length > 1) {
362 this.$message({
363 showClose: true,
364 message: "共有方式:单独所有,权利人只能是一个人",
365 type: "error",
366 });
367 return false;
368 }
369 this.ruleForm.qlrList[0].sfczr = "1";
370 } else {
371 if (this.ruleForm.qlrList.length <= 1) {
372 this.$message({
373 showClose: true,
374 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
375 type: "error",
376 });
377 return false;
378 }
379 //是否分别持证
380 if (this.ruleForm.sldy.sqfbcz == "1") {
381 //是
382 this.ruleForm.qlrList.forEach((item, index) => {
383 item.sfczr = "1";
384 });
385 } else {
386 if (!that.ruleForm.czr) {
387 that.$message({
388 showClose: true,
389 message: "请选择持证人",
390 type: "error",
391 });
392 return false;
393 }
394 this.ruleForm.qlrList.forEach((item, index) => {
395 if (item.zjh == this.ruleForm.czr) {
396 item.sfczr = "1";
397 } else {
398 item.sfczr = "0";
399 }
400 });
401 }
402 }
403
351 saveData(this.ruleForm).then((res) => { 404 saveData(this.ruleForm).then((res) => {
352 if (res.code === 200) { 405 if (res.code === 200) {
353 this.$message({ 406 this.$message({
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-16 16:05:34 4 * @LastEditTime: 2023-08-17 13:34:51
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -490,6 +490,68 @@ ...@@ -490,6 +490,68 @@
490 * @author: renchao 490 * @author: renchao
491 */ 491 */
492 onSubmit () { 492 onSubmit () {
493 let that = this
494 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt)
495 if (arr.length > 0) {
496 this.$message({
497 showClose: true,
498 message: "土地用途不能为空",
499 type: "error",
500 });
501 return false;
502 }
503 if (this.ruleForm.qlrList.length == 0) {
504 this.$message({
505 showClose: true,
506 message: "请确认权利人信息",
507 type: "error",
508 });
509 return false;
510 }
511
512 if (this.ruleForm.sldy.gyfs == "0") {
513 if (this.ruleForm.qlrList.length > 1) {
514 this.$message({
515 showClose: true,
516 message: "共有方式:单独所有,权利人只能是一个人",
517 type: "error",
518 });
519 return false;
520 }
521 this.ruleForm.qlrList[0].sfczr = "1";
522 } else {
523 if (this.ruleForm.qlrList.length <= 1) {
524 this.$message({
525 showClose: true,
526 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
527 type: "error",
528 });
529 return false;
530 }
531 //是否分别持证
532 if (this.ruleForm.sldy.sqfbcz == "1") {
533 //是
534 this.ruleForm.qlrList.forEach((item, index) => {
535 item.sfczr = "1";
536 });
537 } else {
538 if (!that.ruleForm.czr) {
539 that.$message({
540 showClose: true,
541 message: "请选择持证人",
542 type: "error",
543 });
544 return false;
545 }
546 this.ruleForm.qlrList.forEach((item, index) => {
547 if (item.zjh == this.ruleForm.czr) {
548 item.sfczr = "1";
549 } else {
550 item.sfczr = "0";
551 }
552 });
553 }
554 }
493 saveData(this.ruleForm).then((res) => { 555 saveData(this.ruleForm).then((res) => {
494 if (res.code === 200) { 556 if (res.code === 200) {
495 this.$message({ 557 this.$message({
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-16 15:53:25 4 * @LastEditTime: 2023-08-17 13:46:51
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -391,6 +391,7 @@ ...@@ -391,6 +391,7 @@
391 * @author: renchao 391 * @author: renchao
392 */ 392 */
393 onSubmit () { 393 onSubmit () {
394 let that = this
394 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) 395 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt)
395 if (arr.length > 0) { 396 if (arr.length > 0) {
396 this.$message({ 397 this.$message({
...@@ -400,6 +401,58 @@ ...@@ -400,6 +401,58 @@
400 }); 401 });
401 return false; 402 return false;
402 } 403 }
404 if (this.ruleForm.qlrList.length == 0) {
405 this.$message({
406 showClose: true,
407 message: "请确认权利人信息",
408 type: "error",
409 });
410 return false;
411 }
412
413 if (this.ruleForm.sldy.gyfs == "0") {
414 if (this.ruleForm.qlrList.length > 1) {
415 this.$message({
416 showClose: true,
417 message: "共有方式:单独所有,权利人只能是一个人",
418 type: "error",
419 });
420 return false;
421 }
422 this.ruleForm.qlrList[0].sfczr = "1";
423 } else {
424 if (this.ruleForm.qlrList.length <= 1) {
425 this.$message({
426 showClose: true,
427 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
428 type: "error",
429 });
430 return false;
431 }
432 //是否分别持证
433 if (this.ruleForm.sldy.sqfbcz == "1") {
434 //是
435 this.ruleForm.qlrList.forEach((item, index) => {
436 item.sfczr = "1";
437 });
438 } else {
439 if (!that.ruleForm.czr) {
440 that.$message({
441 showClose: true,
442 message: "请选择持证人",
443 type: "error",
444 });
445 return false;
446 }
447 this.ruleForm.qlrList.forEach((item, index) => {
448 if (item.zjh == this.ruleForm.czr) {
449 item.sfczr = "1";
450 } else {
451 item.sfczr = "0";
452 }
453 });
454 }
455 }
403 saveData(this.ruleForm).then((res) => { 456 saveData(this.ruleForm).then((res) => {
404 if (res.code === 200) { 457 if (res.code === 200) {
405 this.$message({ 458 this.$message({
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-16 16:18:49 4 * @LastEditTime: 2023-08-17 13:57:20
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -304,6 +304,7 @@ ...@@ -304,6 +304,7 @@
304 * @author: renchao 304 * @author: renchao
305 */ 305 */
306 onSubmit () { 306 onSubmit () {
307 let that = this
307 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) 308 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt)
308 if (arr.length > 0) { 309 if (arr.length > 0) {
309 this.$message({ 310 this.$message({
...@@ -313,6 +314,58 @@ ...@@ -313,6 +314,58 @@
313 }); 314 });
314 return false; 315 return false;
315 } 316 }
317 if (this.ruleForm.qlrList.length == 0) {
318 this.$message({
319 showClose: true,
320 message: "请确认权利人信息",
321 type: "error",
322 });
323 return false;
324 }
325
326 if (this.ruleForm.gyfs == "0") {
327 if (this.ruleForm.qlrList.length > 1) {
328 this.$message({
329 showClose: true,
330 message: "共有方式:单独所有,权利人只能是一个人",
331 type: "error",
332 });
333 return false;
334 }
335 this.ruleForm.qlrList[0].sfczr = "1";
336 } else {
337 if (this.ruleForm.qlrList.length <= 1) {
338 this.$message({
339 showClose: true,
340 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
341 type: "error",
342 });
343 return false;
344 }
345 //是否分别持证
346 if (this.ruleForm.sqfbcz == "1") {
347 //是
348 this.ruleForm.qlrList.forEach((item, index) => {
349 item.sfczr = "1";
350 });
351 } else {
352 if (!that.ruleForm.czr) {
353 that.$message({
354 showClose: true,
355 message: "请选择持证人",
356 type: "error",
357 });
358 return false;
359 }
360 this.ruleForm.qlrList.forEach((item, index) => {
361 if (item.zjh == this.ruleForm.czr) {
362 item.sfczr = "1";
363 } else {
364 item.sfczr = "0";
365 }
366 });
367 }
368 }
316 fristReg(this.ruleForm).then((res) => { 369 fristReg(this.ruleForm).then((res) => {
317 if (res.code === 200 && res.result) { 370 if (res.code === 200 && res.result) {
318 console.log(res); 371 console.log(res);
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <!-- 2 <!--
3 * @Description: 3 * @Description:
4 * @Autor: renchao 4 * @Autor: renchao
5 * @LastEditTime: 2023-08-16 16:13:20 5 * @LastEditTime: 2023-08-17 13:40:24
6 --> 6 -->
7 <template> 7 <template>
8 <!-- 受理信息 --> 8 <!-- 受理信息 -->
...@@ -289,6 +289,7 @@ ...@@ -289,6 +289,7 @@
289 * @author: renchao 289 * @author: renchao
290 */ 290 */
291 onSubmit () { 291 onSubmit () {
292 let that = this
292 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) 293 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt)
293 if (arr.length > 0) { 294 if (arr.length > 0) {
294 this.$message({ 295 this.$message({
...@@ -298,6 +299,58 @@ ...@@ -298,6 +299,58 @@
298 }); 299 });
299 return false; 300 return false;
300 } 301 }
302 if (this.ruleForm.qlrList.length == 0) {
303 this.$message({
304 showClose: true,
305 message: "请确认权利人信息",
306 type: "error",
307 });
308 return false;
309 }
310
311 if (this.ruleForm.sldy.gyfs == "0") {
312 if (this.ruleForm.qlrList.length > 1) {
313 this.$message({
314 showClose: true,
315 message: "共有方式:单独所有,权利人只能是一个人",
316 type: "error",
317 });
318 return false;
319 }
320 this.ruleForm.qlrList[0].sfczr = "1";
321 } else {
322 if (this.ruleForm.qlrList.length <= 1) {
323 this.$message({
324 showClose: true,
325 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
326 type: "error",
327 });
328 return false;
329 }
330 //是否分别持证
331 if (this.ruleForm.sldy.sqfbcz == "1") {
332 //是
333 this.ruleForm.qlrList.forEach((item, index) => {
334 item.sfczr = "1";
335 });
336 } else {
337 if (!that.ruleForm.czr) {
338 that.$message({
339 showClose: true,
340 message: "请选择持证人",
341 type: "error",
342 });
343 return false;
344 }
345 this.ruleForm.qlrList.forEach((item, index) => {
346 if (item.zjh == this.ruleForm.czr) {
347 item.sfczr = "1";
348 } else {
349 item.sfczr = "0";
350 }
351 });
352 }
353 }
301 saveData(this.ruleForm).then((res) => { 354 saveData(this.ruleForm).then((res) => {
302 if (res.code === 200) { 355 if (res.code === 200) {
303 this.$message({ 356 this.$message({
......
1 <!-- 1 <!--
2 * @Description: 房屋多幢受理信息 2 * @Description: 房屋多幢受理信息
3 * @Autor: ssq 3 * @Autor: ssq
4 * @LastEditTime: 2023-08-16 16:14:03 4 * @LastEditTime: 2023-08-17 13:47:17
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -340,15 +340,59 @@ ...@@ -340,15 +340,59 @@
340 * @author: renchao 340 * @author: renchao
341 */ 341 */
342 onSubmit () { 342 onSubmit () {
343 // let arr = this.ruleForm.tdytqxList || [] .filter(item => !item.yt) 343 let that = this
344 // if (arr.length > 0) { 344 if (this.ruleForm.qlrList.length == 0) {
345 // this.$message({ 345 this.$message({
346 // showClose: true, 346 showClose: true,
347 // message: "土地用途不能为空", 347 message: "请确认权利人信息",
348 // type: "error", 348 type: "error",
349 // }); 349 });
350 // return false; 350 return false;
351 // } 351 }
352
353 if (this.ruleForm.sldy.gyfs == "0") {
354 if (this.ruleForm.qlrList.length > 1) {
355 this.$message({
356 showClose: true,
357 message: "共有方式:单独所有,权利人只能是一个人",
358 type: "error",
359 });
360 return false;
361 }
362 this.ruleForm.qlrList[0].sfczr = "1";
363 } else {
364 if (this.ruleForm.qlrList.length <= 1) {
365 this.$message({
366 showClose: true,
367 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
368 type: "error",
369 });
370 return false;
371 }
372 //是否分别持证
373 if (this.ruleForm.sldy.sqfbcz == "1") {
374 //是
375 this.ruleForm.qlrList.forEach((item, index) => {
376 item.sfczr = "1";
377 });
378 } else {
379 if (!that.ruleForm.czr) {
380 that.$message({
381 showClose: true,
382 message: "请选择持证人",
383 type: "error",
384 });
385 return false;
386 }
387 this.ruleForm.qlrList.forEach((item, index) => {
388 if (item.zjh == this.ruleForm.czr) {
389 item.sfczr = "1";
390 } else {
391 item.sfczr = "0";
392 }
393 });
394 }
395 }
352 saveData(this.ruleForm).then((res) => { 396 saveData(this.ruleForm).then((res) => {
353 if (res.code === 200) { 397 if (res.code === 200) {
354 this.$message({ 398 this.$message({
......
...@@ -295,6 +295,60 @@ ...@@ -295,6 +295,60 @@
295 * @author: renchao 295 * @author: renchao
296 */ 296 */
297 onSubmit () { 297 onSubmit () {
298 let that = this
299 if (this.ruleForm.qlrList.length == 0) {
300 this.$message({
301 showClose: true,
302 message: "请确认权利人信息",
303 type: "error",
304 });
305 return false;
306 }
307
308 if (this.ruleForm.sldy.gyfs == "0") {
309 if (this.ruleForm.qlrList.length > 1) {
310 this.$message({
311 showClose: true,
312 message: "共有方式:单独所有,权利人只能是一个人",
313 type: "error",
314 });
315 return false;
316 }
317 this.ruleForm.qlrList[0].sfczr = "1";
318 } else {
319 if (this.ruleForm.qlrList.length <= 1) {
320 this.$message({
321 showClose: true,
322 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
323 type: "error",
324 });
325 return false;
326 }
327 //是否分别持证
328 if (this.ruleForm.sldy.sqfbcz == "1") {
329 //是
330 this.ruleForm.qlrList.forEach((item, index) => {
331 item.sfczr = "1";
332 });
333 } else {
334 if (!that.ruleForm.czr) {
335 that.$message({
336 showClose: true,
337 message: "请选择持证人",
338 type: "error",
339 });
340 return false;
341 }
342 this.ruleForm.qlrList.forEach((item, index) => {
343 if (item.zjh == this.ruleForm.czr) {
344 item.sfczr = "1";
345 } else {
346 item.sfczr = "0";
347 }
348 });
349 }
350 }
351
298 saveData(this.ruleForm).then((res) => { 352 saveData(this.ruleForm).then((res) => {
299 if (res.code === 200) { 353 if (res.code === 200) {
300 this.$message({ 354 this.$message({
...@@ -329,7 +383,6 @@ ...@@ -329,7 +383,6 @@
329 upDateJtcyList (val) { 383 upDateJtcyList (val) {
330 this.ruleForm.jtcyList = _.cloneDeep(val) 384 this.ruleForm.jtcyList = _.cloneDeep(val)
331 }, 385 },
332 //水域滩涂类型变化事件
333 /** 386 /**
334 * @description: 水域滩涂类型变化事件 387 * @description: 水域滩涂类型变化事件
335 * @param {*} e 388 * @param {*} e
...@@ -342,7 +395,6 @@ ...@@ -342,7 +395,6 @@
342 }) 395 })
343 this.ruleForm.nydsyq.syttlxmc = itemLx.dname; 396 this.ruleForm.nydsyq.syttlxmc = itemLx.dname;
344 }, 397 },
345 //养殖业方式变化事件
346 /** 398 /**
347 * @description: 养殖业方式变化事件 399 * @description: 养殖业方式变化事件
348 * @param {*} e 400 * @param {*} e
...@@ -355,7 +407,6 @@ ...@@ -355,7 +407,6 @@
355 }) 407 })
356 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname; 408 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname;
357 }, 409 },
358 //用地用海变化事件
359 /** 410 /**
360 * @description: 用地用海变化事件 411 * @description: 用地用海变化事件
361 * @param {*} e 412 * @param {*} e
......
...@@ -296,6 +296,60 @@ ...@@ -296,6 +296,60 @@
296 * @author: renchao 296 * @author: renchao
297 */ 297 */
298 onSubmit () { 298 onSubmit () {
299 let that = this
300 if (this.ruleForm.qlrList.length == 0) {
301 this.$message({
302 showClose: true,
303 message: "请确认权利人信息",
304 type: "error",
305 });
306 return false;
307 }
308
309 if (this.ruleForm.sldy.gyfs == "0") {
310 if (this.ruleForm.qlrList.length > 1) {
311 this.$message({
312 showClose: true,
313 message: "共有方式:单独所有,权利人只能是一个人",
314 type: "error",
315 });
316 return false;
317 }
318 this.ruleForm.qlrList[0].sfczr = "1";
319 } else {
320 if (this.ruleForm.qlrList.length <= 1) {
321 this.$message({
322 showClose: true,
323 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
324 type: "error",
325 });
326 return false;
327 }
328 //是否分别持证
329 if (this.ruleForm.sldy.sqfbcz == "1") {
330 //是
331 this.ruleForm.qlrList.forEach((item, index) => {
332 item.sfczr = "1";
333 });
334 } else {
335 if (!that.ruleForm.czr) {
336 that.$message({
337 showClose: true,
338 message: "请选择持证人",
339 type: "error",
340 });
341 return false;
342 }
343 this.ruleForm.qlrList.forEach((item, index) => {
344 if (item.zjh == this.ruleForm.czr) {
345 item.sfczr = "1";
346 } else {
347 item.sfczr = "0";
348 }
349 });
350 }
351 }
352
299 saveData(this.ruleForm).then((res) => { 353 saveData(this.ruleForm).then((res) => {
300 if (res.code === 200) { 354 if (res.code === 200) {
301 this.$message({ 355 this.$message({
......
...@@ -48,11 +48,16 @@ ...@@ -48,11 +48,16 @@
48 </div> 48 </div>
49 <el-row :gutter="10" v-if="ruleForm.qlxx"> 49 <el-row :gutter="10" v-if="ruleForm.qlxx">
50 <el-col :span="8"> 50 <el-col :span="8">
51 <el-form-item label="原不动产登记证明号:">
52 <el-input disabled v-model="ruleForm.sldy.ybdcqzsh"></el-input>
53 </el-form-item>
54 </el-col>
55 <el-col :span="8">
51 <el-form-item label="不动产单元号:"> 56 <el-form-item label="不动产单元号:">
52 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> 57 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
53 </el-form-item> 58 </el-form-item>
54 </el-col> 59 </el-col>
55 <el-col :span="16"> 60 <el-col :span="8">
56 <el-form-item label="坐落:"> 61 <el-form-item label="坐落:">
57 <el-input disabled v-model="ruleForm.sldy.zl"></el-input> 62 <el-input disabled v-model="ruleForm.sldy.zl"></el-input>
58 </el-form-item> 63 </el-form-item>
...@@ -65,10 +70,15 @@ ...@@ -65,10 +70,15 @@
65 </el-form-item> 70 </el-form-item>
66 </el-col> 71 </el-col>
67 <el-col :span="8"> 72 <el-col :span="8">
68 <el-form-item label="规划用途:"> 73 <el-form-item label="土地使用权人:">
69 <el-select v-model="ruleForm.ygdj.ghyt"> 74 <el-input disabled v-model="ruleForm.ygdj.tdsyqr"></el-input>
75 </el-form-item>
76 </el-col>
77 <el-col :span="8">
78 <el-form-item label="房屋性质:">
79 <el-select v-model="ruleForm.ygdj.fwxz">
70 <el-option 80 <el-option
71 v-for="item in dictData['A17']" 81 v-for="item in dictData['A19']"
72 :key="item.dcode" 82 :key="item.dcode"
73 :label="item.dname" 83 :label="item.dname"
74 :value="item.dcode"> 84 :value="item.dcode">
...@@ -76,11 +86,13 @@ ...@@ -76,11 +86,13 @@
76 </el-select> 86 </el-select>
77 </el-form-item> 87 </el-form-item>
78 </el-col> 88 </el-col>
89 </el-row>
90 <el-row :gutter="10" v-if="ruleForm.qlxx">
79 <el-col :span="8"> 91 <el-col :span="8">
80 <el-form-item label="房屋性质:"> 92 <el-form-item label="房屋用途:">
81 <el-select v-model="ruleForm.ygdj.fwxz"> 93 <el-select v-model="ruleForm.ygdj.ghyt">
82 <el-option 94 <el-option
83 v-for="item in dictData['A19']" 95 v-for="item in dictData['A17']"
84 :key="item.dcode" 96 :key="item.dcode"
85 :label="item.dname" 97 :label="item.dname"
86 :value="item.dcode"> 98 :value="item.dcode">
...@@ -88,6 +100,16 @@ ...@@ -88,6 +100,16 @@
88 </el-select> 100 </el-select>
89 </el-form-item> 101 </el-form-item>
90 </el-col> 102 </el-col>
103 <el-col :span="8">
104 <el-form-item label="所在层:">
105 <el-input v-model="ruleForm.ygdj.szc"></el-input>
106 </el-form-item>
107 </el-col>
108 <el-col :span="8">
109 <el-form-item label="总层数:">
110 <el-input v-model.number="ruleForm.ygdj.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
111 </el-form-item>
112 </el-col>
91 </el-row> 113 </el-row>
92 <el-row :gutter="10" v-if="ruleForm.qlxx"> 114 <el-row :gutter="10" v-if="ruleForm.qlxx">
93 <el-col :span="8"> 115 <el-col :span="8">
...@@ -102,9 +124,24 @@ ...@@ -102,9 +124,24 @@
102 </el-select> 124 </el-select>
103 </el-form-item> 125 </el-form-item>
104 </el-col> 126 </el-col>
127
105 <el-col :span="8"> 128 <el-col :span="8">
106 <el-form-item label="建筑面积:"> 129 <el-form-item label="建筑面积:">
107 <el-input v-model="ruleForm.ygdj.jzmj"></el-input> 130 <div class="flex">
131 <el-input v-model="ruleForm.ygdj.jzmj" :disabled="!viewEdit"
132 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
133 <el-select
134 disabled
135 v-model="mjdw"
136 style="width: 68px">
137 <el-option
138 v-for="item in dictData['A7']"
139 :key="item.dcode"
140 :label="item.dname"
141 :value="item.dcode">
142 </el-option>
143 </el-select>
144 </div>
108 </el-form-item> 145 </el-form-item>
109 </el-col> 146 </el-col>
110 <el-col :span="8"> 147 <el-col :span="8">
...@@ -127,14 +164,9 @@ ...@@ -127,14 +164,9 @@
127 </el-col> 164 </el-col>
128 </el-row> 165 </el-row>
129 <el-row :gutter="10"> 166 <el-row :gutter="10">
130 <el-col :span="8"> 167 <el-col :span="24">
131 <el-form-item label="所在层:"> 168 <el-form-item label="附记:">
132 <el-input v-model="ruleForm.ygdj.szc"></el-input> 169 <el-input v-model="ruleForm.ygdj.fj"></el-input>
133 </el-form-item>
134 </el-col>
135 <el-col :span="8">
136 <el-form-item label="总层数:">
137 <el-input v-model.number="ruleForm.ygdj.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
138 </el-form-item> 170 </el-form-item>
139 </el-col> 171 </el-col>
140 </el-row> 172 </el-row>
...@@ -245,6 +277,7 @@ ...@@ -245,6 +277,7 @@
245 }, 277 },
246 data () { 278 data () {
247 return { 279 return {
280 mjdw: "1",
248 //表单是否可操作 281 //表单是否可操作
249 viewEdit: true, 282 viewEdit: true,
250 disabled: true, 283 disabled: true,
...@@ -285,6 +318,59 @@ ...@@ -285,6 +318,59 @@
285 * @author: renchao 318 * @author: renchao
286 */ 319 */
287 onSubmit () { 320 onSubmit () {
321 let that = this
322 if (this.ruleForm.qlrList.length == 0) {
323 this.$message({
324 showClose: true,
325 message: "请确认权利人信息",
326 type: "error",
327 });
328 return false;
329 }
330
331 if (this.ruleForm.sldy.gyfs == "0") {
332 if (this.ruleForm.qlrList.length > 1) {
333 this.$message({
334 showClose: true,
335 message: "共有方式:单独所有,权利人只能是一个人",
336 type: "error",
337 });
338 return false;
339 }
340 this.ruleForm.qlrList[0].sfczr = "1";
341 } else {
342 if (this.ruleForm.qlrList.length <= 1) {
343 this.$message({
344 showClose: true,
345 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
346 type: "error",
347 });
348 return false;
349 }
350 //是否分别持证
351 if (this.ruleForm.sldy.sqfbcz == "1") {
352 //是
353 this.ruleForm.qlrList.forEach((item, index) => {
354 item.sfczr = "1";
355 });
356 } else {
357 if (!that.ruleForm.czr) {
358 that.$message({
359 showClose: true,
360 message: "请选择持证人",
361 type: "error",
362 });
363 return false;
364 }
365 this.ruleForm.qlrList.forEach((item, index) => {
366 if (item.zjh == this.ruleForm.czr) {
367 item.sfczr = "1";
368 } else {
369 item.sfczr = "0";
370 }
371 });
372 }
373 }
288 saveData(this.ruleForm).then((res) => { 374 saveData(this.ruleForm).then((res) => {
289 if (res.code === 200) { 375 if (res.code === 200) {
290 this.$message({ 376 this.$message({
......
...@@ -261,6 +261,59 @@ ...@@ -261,6 +261,59 @@
261 * @author: renchao 261 * @author: renchao
262 */ 262 */
263 onSubmit () { 263 onSubmit () {
264 let that = this
265 if (this.ruleForm.qlrList.length == 0) {
266 this.$message({
267 showClose: true,
268 message: "请确认权利人信息",
269 type: "error",
270 });
271 return false;
272 }
273
274 if (this.ruleForm.sldy.gyfs == "0") {
275 if (this.ruleForm.qlrList.length > 1) {
276 this.$message({
277 showClose: true,
278 message: "共有方式:单独所有,权利人只能是一个人",
279 type: "error",
280 });
281 return false;
282 }
283 this.ruleForm.qlrList[0].sfczr = "1";
284 } else {
285 if (this.ruleForm.qlrList.length <= 1) {
286 this.$message({
287 showClose: true,
288 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
289 type: "error",
290 });
291 return false;
292 }
293 //是否分别持证
294 if (this.ruleForm.sldy.sqfbcz == "1") {
295 //是
296 this.ruleForm.qlrList.forEach((item, index) => {
297 item.sfczr = "1";
298 });
299 } else {
300 if (!that.ruleForm.czr) {
301 that.$message({
302 showClose: true,
303 message: "请选择持证人",
304 type: "error",
305 });
306 return false;
307 }
308 this.ruleForm.qlrList.forEach((item, index) => {
309 if (item.zjh == this.ruleForm.czr) {
310 item.sfczr = "1";
311 } else {
312 item.sfczr = "0";
313 }
314 });
315 }
316 }
264 saveData(this.ruleForm).then((res) => { 317 saveData(this.ruleForm).then((res) => {
265 if (res.code === 200) { 318 if (res.code === 200) {
266 this.$message({ 319 this.$message({
......
...@@ -257,6 +257,8 @@ ...@@ -257,6 +257,8 @@
257 * @author: renchao 257 * @author: renchao
258 */ 258 */
259 onSubmitClick () { 259 onSubmitClick () {
260 let that = this
261
260 saveBatchData(this.ruleForm, this.propsParam.djlx).then((res) => { 262 saveBatchData(this.ruleForm, this.propsParam.djlx).then((res) => {
261 if (res.code === 200) { 263 if (res.code === 200) {
262 this.$message({ 264 this.$message({
......
...@@ -324,6 +324,59 @@ ...@@ -324,6 +324,59 @@
324 * @author: renchao 324 * @author: renchao
325 */ 325 */
326 onSubmitClick () { 326 onSubmitClick () {
327 let that = this
328 if (this.ruleForm.qlrList.length == 0) {
329 this.$message({
330 showClose: true,
331 message: "请确认权利人信息",
332 type: "error",
333 });
334 return false;
335 }
336
337 if (this.ruleForm.sldy.gyfs == "0") {
338 if (this.ruleForm.qlrList.length > 1) {
339 this.$message({
340 showClose: true,
341 message: "共有方式:单独所有,权利人只能是一个人",
342 type: "error",
343 });
344 return false;
345 }
346 this.ruleForm.qlrList[0].sfczr = "1";
347 } else {
348 if (this.ruleForm.qlrList.length <= 1) {
349 this.$message({
350 showClose: true,
351 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
352 type: "error",
353 });
354 return false;
355 }
356 //是否分别持证
357 if (this.ruleForm.sldy.sqfbcz == "1") {
358 //是
359 this.ruleForm.qlrList.forEach((item, index) => {
360 item.sfczr = "1";
361 });
362 } else {
363 if (!that.ruleForm.czr) {
364 that.$message({
365 showClose: true,
366 message: "请选择持证人",
367 type: "error",
368 });
369 return false;
370 }
371 this.ruleForm.qlrList.forEach((item, index) => {
372 if (item.zjh == this.ruleForm.czr) {
373 item.sfczr = "1";
374 } else {
375 item.sfczr = "0";
376 }
377 });
378 }
379 }
327 saveData(this.ruleForm, this.propsParam.djlx).then((res) => { 380 saveData(this.ruleForm, this.propsParam.djlx).then((res) => {
328 if (res.code === 200) { 381 if (res.code === 200) {
329 this.$message({ 382 this.$message({
......