05180b56 by xiaomiao

Merge branch 'dev'

2 parents 4bfea328 a0b422f4
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-31 15:43:30 4 * @LastEditTime: 2023-08-07 14:43:46
5 --> 5 -->
6 <template> 6 <template>
7 <div class="rlPopup"> 7 <div class="rlPopup">
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
25 <el-button type="primary" @click="clickImage" v-if="previewImg.imgList.length>0">(放大) 显示(缩小)</el-button> 25 <el-button type="primary" @click="clickImage" v-if="previewImg.imgList.length>0">(放大) 显示(缩小)</el-button>
26 <el-upload class="fileUpdate" ref="upload" :key="key" action="" :show-file-list="false" :multiple="true" :auto-upload="false" 26 <el-upload class="fileUpdate" ref="upload" :key="key" action="" :show-file-list="false" :multiple="true" :auto-upload="false"
27 :on-change="handleChange" 27 :on-change="handleChange"
28 accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> 28 accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg">
29 <el-button icon="el-icon-upload" type="primary" v-if="ableOperation">上传</el-button> 29 <el-button icon="el-icon-upload" type="primary" v-if="ableOperation">上传</el-button>
30 </el-upload> 30 </el-upload>
31 <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" 31 <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete"
...@@ -225,28 +225,12 @@ ...@@ -225,28 +225,12 @@
225 this.showViewer = true 225 this.showViewer = true
226 }, 226 },
227 /** 227 /**
228 * @description: 上传
229 * @param {*} file
230 * @author: renchao
231 */
232 beforeUpload (file) {
233 const isLt5M = file.size / 1024 / 1024 < 5;
234 if (!isLt5M) {
235 this.$message.error('上传图片大小不能超过 5MB!');
236 return false;
237 }
238
239 // 所有条件满足时返回 true
240 return true;
241 },
242 /**
243 * @description: handleChange 228 * @description: handleChange
244 * @param {*} file 229 * @param {*} file
245 * @param {*} files 230 * @param {*} files
246 * @author: renchao 231 * @author: renchao
247 */ 232 */
248 async handleChange (file, fileList) { 233 async handleChange (file, fileList) {
249 if (!this.beforeUpload(file)) return
250 let length = fileList.length; 234 let length = fileList.length;
251 this.maxFileLength = Math.max(length, this.maxFileLength) 235 this.maxFileLength = Math.max(length, this.maxFileLength)
252 var formData = new FormData(); 236 var formData = new FormData();
...@@ -254,8 +238,12 @@ ...@@ -254,8 +238,12 @@
254 if (this.maxFileLength !== length) { 238 if (this.maxFileLength !== length) {
255 return 239 return
256 } 240 }
257 let num = 0 241 let num = 0, max = 0;
242 const isLt5M = file.size / 1024 / 1024 < 5;
258 fileList.forEach(item => { 243 fileList.forEach(item => {
244 if (!isLt5M) {
245 max++
246 }
259 if (!['image/jpeg', 'image/png', 'image/jpg', 'image/gif'].includes(item.raw.type)) { 247 if (!['image/jpeg', 'image/png', 'image/jpg', 'image/gif'].includes(item.raw.type)) {
260 num++ 248 num++
261 } else { 249 } else {
...@@ -268,6 +256,11 @@ ...@@ -268,6 +256,11 @@
268 this.key++ 256 this.key++
269 return; 257 return;
270 } 258 }
259 if (max >= 1) {
260 this.$message.error('上传图片大小不能超过 5MB!');
261 this.key++
262 return;
263 }
271 formData.append("bsmSj", this.previewImg.bsmSj); 264 formData.append("bsmSj", this.previewImg.bsmSj);
272 formData.append("bsmSlsq", this.previewImg.bsmSlsq); 265 formData.append("bsmSlsq", this.previewImg.bsmSlsq);
273 uploadBatch(formData).then((res) => { 266 uploadBatch(formData).then((res) => {
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
107 </el-col> 107 </el-col>
108 <el-col :span="8"> 108 <el-col :span="8">
109 <el-form-item label="坐落:"> 109 <el-form-item label="坐落:">
110 <el-input disabled v-model="ruleForm.sldy.zl"></el-input> 110 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
111 </el-form-item> 111 </el-form-item>
112 </el-col> 112 </el-col>
113 </el-row> 113 </el-row>
...@@ -189,14 +189,7 @@ ...@@ -189,14 +189,7 @@
189 <el-form-item label="是否被续封:" 189 <el-form-item label="是否被续封:"
190 prop="cfdj.sfbxf" 190 prop="cfdj.sfbxf"
191 :rules="rules.sfbxfrules"> 191 :rules="rules.sfbxfrules">
192 <el-select v-model="ruleForm.cfdj.sfbxf" @change="djlxchange"> 192 <el-radio-group v-model="ruleForm.cfdj.sfbxf" @change="djlxchange">
193 <el-option
194 v-for="item in sfbxflist"
195 :key="item.dcode"
196 :label="item.dname"
197 :value="item.dcode"></el-option>
198 </el-select>
199 <el-radio-group v-model="ruleForm.cfdj.sfbxf">
200 <el-radio label="1"></el-radio> 193 <el-radio label="1"></el-radio>
201 <el-radio label="2"></el-radio> 194 <el-radio label="2"></el-radio>
202 </el-radio-group> 195 </el-radio-group>
...@@ -513,7 +506,6 @@ ...@@ -513,7 +506,6 @@
513 }, 506 },
514 // 弹框事件 507 // 弹框事件
515 ssQlxxchangediolog (val) { 508 ssQlxxchangediolog (val) {
516 console.log("确定了", this.ruleForm);
517 this.$confirm("是否将上手权利信息同步到表单", "提示", { 509 this.$confirm("是否将上手权利信息同步到表单", "提示", {
518 iconClass: "el-icon-question", //自定义图标样式 510 iconClass: "el-icon-question", //自定义图标样式
519 confirmButtonText: "确认", //确认按钮文字更换 511 confirmButtonText: "确认", //确认按钮文字更换
...@@ -524,8 +516,6 @@ ...@@ -524,8 +516,6 @@
524 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 516 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
525 if (res.code == 200) { 517 if (res.code == 200) {
526 this.nowlist = res.result; 518 this.nowlist = res.result;
527 console.log("his.nowlist", this.nowlist);
528 console.log("this.ruleForm", this.ruleForm);
529 for (var key in this.ruleForm.cfdj) { 519 for (var key in this.ruleForm.cfdj) {
530 if ( 520 if (
531 this.ruleForm.cfdj[key] == "" || 521 this.ruleForm.cfdj[key] == "" ||
...@@ -539,13 +529,11 @@ ...@@ -539,13 +529,11 @@
539 (this.ruleForm.qlxx[key] == null && key != "ywh") || 529 (this.ruleForm.qlxx[key] == null && key != "ywh") ||
540 this.ruleForm.qlxx[key] == null 530 this.ruleForm.qlxx[key] == null
541 ) { 531 ) {
542 console.log("this.ruleForm.qlxx[key]", key);
543 if (key != "ywh") { 532 if (key != "ywh") {
544 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 533 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
545 } 534 }
546 } 535 }
547 } 536 }
548 console.log("this.ruleForm", this.ruleForm);
549 this.$message({ 537 this.$message({
550 type: "success", 538 type: "success",
551 message: "同步成功!", 539 message: "同步成功!",
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
101 </el-col> 101 </el-col>
102 <el-col :span="8"> 102 <el-col :span="8">
103 <el-form-item label="坐落:"> 103 <el-form-item label="坐落:">
104 <el-input disabled v-model="ruleForm.sldy.zl"></el-input> 104 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
105 </el-form-item> 105 </el-form-item>
106 </el-col> 106 </el-col>
107 </el-row> 107 </el-row>
...@@ -473,7 +473,7 @@ ...@@ -473,7 +473,7 @@
473 <el-form-item label="共有方式:"> 473 <el-form-item label="共有方式:">
474 <el-radio-group 474 <el-radio-group
475 :disabled="!ableOperation" 475 :disabled="!ableOperation"
476 v-model="ruleForm.sldy.gyfs"> 476 v-model="ruleForm.qlxx.gyfs">
477 <el-radio label="0">单独所有</el-radio> 477 <el-radio label="0">单独所有</el-radio>
478 <el-radio label="1">共同共有</el-radio> 478 <el-radio label="1">共同共有</el-radio>
479 <el-radio label="2">按份所有</el-radio> 479 <el-radio label="2">按份所有</el-radio>
...@@ -481,10 +481,10 @@ ...@@ -481,10 +481,10 @@
481 </el-radio-group> 481 </el-radio-group>
482 </el-form-item> 482 </el-form-item>
483 </el-col> 483 </el-col>
484 <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> 484 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
485 <el-form-item label="是否分别持证:"> 485 <el-form-item label="是否分别持证:">
486 <el-radio-group 486 <el-radio-group
487 v-model="ruleForm.sldy.sqfbcz" 487 v-model="ruleForm.qlxx.sqfbcz"
488 :disabled="!ableOperation"> 488 :disabled="!ableOperation">
489 <el-radio :label="1"></el-radio> 489 <el-radio :label="1"></el-radio>
490 <el-radio :label="0"></el-radio> 490 <el-radio :label="0"></el-radio>
...@@ -493,7 +493,7 @@ ...@@ -493,7 +493,7 @@
493 </el-col> 493 </el-col>
494 <el-col 494 <el-col
495 :span="6" 495 :span="6"
496 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> 496 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'">
497 <el-form-item label="持证人:"> 497 <el-form-item label="持证人:">
498 <el-select 498 <el-select
499 v-model="ruleForm.czr" 499 v-model="ruleForm.czr"
...@@ -507,7 +507,7 @@ ...@@ -507,7 +507,7 @@
507 </el-option> 507 </el-option>
508 </el-select> 508 </el-select>
509 </el-form-item> 509 </el-form-item>
510 </el-col> 510 </el-col> -->
511 </el-row> 511 </el-row>
512 <qlrCommonTable 512 <qlrCommonTable
513 :tableData="ruleForm.qlrData" 513 :tableData="ruleForm.qlrData"
...@@ -831,7 +831,7 @@ ...@@ -831,7 +831,7 @@
831 }); 831 });
832 return false; 832 return false;
833 } 833 }
834 if (this.ruleForm.sldy.gyfs == "0") { 834 if (this.ruleForm.qlxx.gyfs == "0") {
835 if (this.ruleForm.qlrData.length > 1) { 835 if (this.ruleForm.qlrData.length > 1) {
836 this.$message({ 836 this.$message({
837 showClose: true, 837 showClose: true,
...@@ -842,7 +842,7 @@ ...@@ -842,7 +842,7 @@
842 } 842 }
843 this.ruleForm.qlrData[0].sfczr = "1"; 843 this.ruleForm.qlrData[0].sfczr = "1";
844 } else { 844 } else {
845 if (this.ruleForm.qlrList.length <= 1) { 845 if (this.ruleForm.qlrData.length <= 1) {
846 this.$message({ 846 this.$message({
847 showClose: true, 847 showClose: true,
848 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", 848 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
...@@ -850,29 +850,29 @@ ...@@ -850,29 +850,29 @@
850 }); 850 });
851 return false; 851 return false;
852 } 852 }
853 //是否分别持证 853 // //是否分别持证
854 if (this.ruleForm.sldy.sqfbcz == "1") { 854 // if (this.ruleForm.qlxx.sqfbcz == "1") {
855 //是 855 // //是
856 this.ruleForm.qlrList.forEach((item, index) => { 856 // this.ruleForm.qlrData.forEach((item, index) => {
857 item.sfczr = "1"; 857 // item.sfczr = "1";
858 }); 858 // });
859 } else { 859 // } else {
860 if (!that.ruleForm.czr) { 860 // if (!that.ruleForm.czr) {
861 that.$message({ 861 // that.$message({
862 showClose: true, 862 // showClose: true,
863 message: "请选择持证人", 863 // message: "请选择持证人",
864 type: "error", 864 // type: "error",
865 }); 865 // });
866 return false; 866 // return false;
867 } 867 // }
868 this.ruleForm.qlrList.forEach((item, index) => { 868 // this.ruleForm.qlrData.forEach((item, index) => {
869 if (item.zjh == this.ruleForm.czr) { 869 // if (item.zjh == this.ruleForm.czr) {
870 item.sfczr = "1"; 870 // item.sfczr = "1";
871 } else { 871 // } else {
872 item.sfczr = "0"; 872 // item.sfczr = "0";
873 } 873 // }
874 }) 874 // })
875 } 875 // }
876 } 876 }
877 save(this.ruleForm).then((res) => { 877 save(this.ruleForm).then((res) => {
878 if (res.code === 200) { 878 if (res.code === 200) {
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
100 </el-col> 100 </el-col>
101 <el-col :span="8"> 101 <el-col :span="8">
102 <el-form-item label="坐落:"> 102 <el-form-item label="坐落:">
103 <el-input disabled v-model="ruleForm.sldy.zl"></el-input> 103 <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input>
104 </el-form-item> 104 </el-form-item>
105 </el-col> 105 </el-col>
106 </el-row> 106 </el-row>
...@@ -717,7 +717,7 @@ ...@@ -717,7 +717,7 @@
717 }); 717 });
718 return false; 718 return false;
719 } 719 }
720 if (this.ruleForm.sldy.gyfs == "0") { 720 if (this.ruleForm.qlxx.gyfs == "0") {
721 if (this.ruleForm.qlrData.length > 1) { 721 if (this.ruleForm.qlrData.length > 1) {
722 this.$message({ 722 this.$message({
723 showClose: true, 723 showClose: true,
...@@ -726,7 +726,6 @@ ...@@ -726,7 +726,6 @@
726 }); 726 });
727 return false; 727 return false;
728 } 728 }
729 this.ruleForm.qlrData[0].sfczr = "1";
730 } else { 729 } else {
731 if (this.ruleForm.qlrList.length <= 1) { 730 if (this.ruleForm.qlrList.length <= 1) {
732 this.$message({ 731 this.$message({
...@@ -736,29 +735,7 @@ ...@@ -736,29 +735,7 @@
736 }); 735 });
737 return false; 736 return false;
738 } 737 }
739 //是否分别持证 738
740 if (this.ruleForm.sldy.sqfbcz == "1") {
741 //是
742 this.ruleForm.qlrList.forEach((item, index) => {
743 item.sfczr = "1";
744 });
745 } else {
746 if (!that.ruleForm.czr) {
747 that.$message({
748 showClose: true,
749 message: "请选择持证人",
750 type: "error",
751 });
752 return false;
753 }
754 this.ruleForm.qlrList.forEach((item, index) => {
755 if (item.zjh == this.ruleForm.czr) {
756 item.sfczr = "1";
757 } else {
758 item.sfczr = "0";
759 }
760 });
761 }
762 } 739 }
763 save(this.ruleForm).then((res) => { 740 save(this.ruleForm).then((res) => {
764 if (res.code === 200) { 741 if (res.code === 200) {
......
...@@ -399,7 +399,7 @@ ...@@ -399,7 +399,7 @@
399 <el-form-item label="共有方式:"> 399 <el-form-item label="共有方式:">
400 <el-radio-group 400 <el-radio-group
401 :disabled="!ableOperation" 401 :disabled="!ableOperation"
402 v-model="ruleForm.sldy.gyfs"> 402 v-model="ruleForm.qlxx.gyfs">
403 <el-radio label="0">单独所有</el-radio> 403 <el-radio label="0">单独所有</el-radio>
404 <el-radio label="1">共同共有</el-radio> 404 <el-radio label="1">共同共有</el-radio>
405 <el-radio label="2">按份所有</el-radio> 405 <el-radio label="2">按份所有</el-radio>
...@@ -407,33 +407,6 @@ ...@@ -407,33 +407,6 @@
407 </el-radio-group> 407 </el-radio-group>
408 </el-form-item> 408 </el-form-item>
409 </el-col> 409 </el-col>
410 <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'">
411 <el-form-item label="是否分别持证:">
412 <el-radio-group
413 v-model="ruleForm.sldy.sqfbcz"
414 :disabled="!ableOperation">
415 <el-radio :label="1"></el-radio>
416 <el-radio :label="0"></el-radio>
417 </el-radio-group>
418 </el-form-item>
419 </el-col>
420 <el-col
421 :span="6"
422 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'">
423 <el-form-item label="持证人:">
424 <el-select
425 v-model="ruleForm.czr"
426 placeholder="持证人"
427 :disabled="!ableOperation">
428 <el-option
429 v-for="item in czrOptions"
430 :key="item.zjh"
431 :label="item.sqrmc"
432 :value="item.zjh">
433 </el-option>
434 </el-select>
435 </el-form-item>
436 </el-col>
437 </el-row> 410 </el-row>
438 <qlrCommonTable 411 <qlrCommonTable
439 :tableData="ruleForm.qlrData" 412 :tableData="ruleForm.qlrData"
...@@ -533,7 +506,6 @@ ...@@ -533,7 +506,6 @@
533 }, 506 },
534 ], 507 ],
535 key: 0, 508 key: 0,
536 tdxz: null,
537 isShow: false, 509 isShow: false,
538 disabled: true, 510 disabled: true,
539 czrOptions: [], 511 czrOptions: [],
...@@ -668,11 +640,6 @@ ...@@ -668,11 +640,6 @@
668 } 640 }
669 this.ruleForm.fdcq2.jedw = "1"; 641 this.ruleForm.fdcq2.jedw = "1";
670 this.$endLoading(); 642 this.$endLoading();
671 if (this.ruleForm.tdytqxList.length > 0) {
672 this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm;
673 } else {
674 this.tdxz = null;
675 }
676 this.isShow = true; 643 this.isShow = true;
677 //获取主体信息 644 //获取主体信息
678 getSsQlxx({ 645 getSsQlxx({
...@@ -733,7 +700,7 @@ ...@@ -733,7 +700,7 @@
733 }); 700 });
734 return false; 701 return false;
735 } 702 }
736 if (this.ruleForm.tdytqxList.length == 0 && !this.tdxz) { 703 if (this.ruleForm.tdytqxList.length == 0) {
737 this.$message({ 704 this.$message({
738 showClose: true, 705 showClose: true,
739 message: "请补充土地用途信息", 706 message: "请补充土地用途信息",
...@@ -757,14 +724,6 @@ ...@@ -757,14 +724,6 @@
757 }); 724 });
758 return false; 725 return false;
759 } 726 }
760 if (this.ruleForm.tdytqxList.length == 0 && !this.tdxz) {
761 this.$message({
762 showClose: true,
763 message: "请补充土地用途信息",
764 type: "error",
765 });
766 return false;
767 }
768 } 727 }
769 if (this.ruleForm.sldy.gyfs == "0") { 728 if (this.ruleForm.sldy.gyfs == "0") {
770 if (this.ruleForm.qlrData.length > 1) { 729 if (this.ruleForm.qlrData.length > 1) {
...@@ -775,9 +734,8 @@ ...@@ -775,9 +734,8 @@
775 }); 734 });
776 return false; 735 return false;
777 } 736 }
778 this.ruleForm.qlrData[0].sfczr = "1";
779 } else { 737 } else {
780 if (this.ruleForm.qlrList.length <= 1) { 738 if (this.ruleForm.qlrData.length <= 1) {
781 this.$message({ 739 this.$message({
782 showClose: true, 740 showClose: true,
783 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", 741 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
...@@ -785,29 +743,6 @@ ...@@ -785,29 +743,6 @@
785 }); 743 });
786 return false; 744 return false;
787 } 745 }
788 //是否分别持证
789 if (this.ruleForm.sldy.sqfbcz == "1") {
790 //是
791 this.ruleForm.qlrList.forEach((item, index) => {
792 item.sfczr = "1";
793 });
794 } else {
795 if (!that.ruleForm.czr) {
796 that.$message({
797 showClose: true,
798 message: "请选择持证人",
799 type: "error",
800 });
801 return false;
802 }
803 this.ruleForm.qlrList.forEach((item, index) => {
804 if (item.zjh == this.ruleForm.czr) {
805 item.sfczr = "1";
806 } else {
807 item.sfczr = "0";
808 }
809 });
810 }
811 } 746 }
812 save(this.ruleForm).then((res) => { 747 save(this.ruleForm).then((res) => {
813 if (res.code === 200) { 748 if (res.code === 200) {
......
...@@ -267,33 +267,6 @@ ...@@ -267,33 +267,6 @@
267 </el-radio-group> 267 </el-radio-group>
268 </el-form-item> 268 </el-form-item>
269 </el-col> 269 </el-col>
270 <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
271 <el-form-item label="是否分别持证:">
272 <el-radio-group
273 v-model="ruleForm.qlxx.sqfbcz"
274 :disabled="!ableOperation">
275 <el-radio :label="1"></el-radio>
276 <el-radio :label="0"></el-radio>
277 </el-radio-group>
278 </el-form-item>
279 </el-col>
280 <el-col
281 :span="6"
282 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'">
283 <el-form-item label="持证人:">
284 <el-select
285 v-model="ruleForm.czr"
286 placeholder="持证人"
287 :disabled="!ableOperation">
288 <el-option
289 v-for="item in czrOptions"
290 :key="item.zjh"
291 :label="item.sqrmc"
292 :value="item.zjh">
293 </el-option>
294 </el-select>
295 </el-form-item>
296 </el-col>
297 </el-row> 270 </el-row>
298 <qlrCommonTable 271 <qlrCommonTable
299 :tableData="ruleForm.qlrData" 272 :tableData="ruleForm.qlrData"
...@@ -395,7 +368,6 @@ ...@@ -395,7 +368,6 @@
395 dname: "历史", 368 dname: "历史",
396 }, 369 },
397 ], 370 ],
398 tdxz: null,
399 isShow: false, 371 isShow: false,
400 disabled: true, 372 disabled: true,
401 czrOptions: [], 373 czrOptions: [],
...@@ -531,11 +503,7 @@ ...@@ -531,11 +503,7 @@
531 this.ssqlxxshow = false; 503 this.ssqlxxshow = false;
532 } 504 }
533 this.$endLoading(); 505 this.$endLoading();
534 if (this.ruleForm.tdytqxList.length > 0) { 506
535 this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm;
536 } else {
537 this.tdxz = null;
538 }
539 this.isShow = true; 507 this.isShow = true;
540 //获取主体信息 508 //获取主体信息
541 getSsQlxx({ 509 getSsQlxx({
...@@ -613,9 +581,8 @@ ...@@ -613,9 +581,8 @@
613 }); 581 });
614 return false; 582 return false;
615 } 583 }
616 this.ruleForm.qlrData[0].sfczr = "1";
617 } else { 584 } else {
618 if (this.ruleForm.qlrList.length <= 1) { 585 if (this.ruleForm.qlrData.length <= 1) {
619 this.$message({ 586 this.$message({
620 showClose: true, 587 showClose: true,
621 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", 588 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
...@@ -623,29 +590,6 @@ ...@@ -623,29 +590,6 @@
623 }); 590 });
624 return false; 591 return false;
625 } 592 }
626 //是否分别持证
627 if (this.ruleForm.qlxx.sqfbcz == "1") {
628 //是
629 this.ruleForm.qlrList.forEach((item, index) => {
630 item.sfczr = "1";
631 });
632 } else {
633 if (!that.ruleForm.czr) {
634 that.$message({
635 showClose: true,
636 message: "请选择持证人",
637 type: "error",
638 });
639 return false;
640 }
641 this.ruleForm.qlrList.forEach((item, index) => {
642 if (item.zjh == this.ruleForm.czr) {
643 item.sfczr = "1";
644 } else {
645 item.sfczr = "0";
646 }
647 });
648 }
649 } 593 }
650 save(this.ruleForm).then((res) => { 594 save(this.ruleForm).then((res) => {
651 if (res.code === 200) { 595 if (res.code === 200) {
......
...@@ -362,7 +362,7 @@ ...@@ -362,7 +362,7 @@
362 </el-radio-group> 362 </el-radio-group>
363 </el-form-item> 363 </el-form-item>
364 </el-col> 364 </el-col>
365 <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> 365 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
366 <el-form-item label="是否分别持证:"> 366 <el-form-item label="是否分别持证:">
367 <el-radio-group 367 <el-radio-group
368 v-model="ruleForm.qlxx.sqfbcz" 368 v-model="ruleForm.qlxx.sqfbcz"
...@@ -371,8 +371,8 @@ ...@@ -371,8 +371,8 @@
371 <el-radio :label="0"></el-radio> 371 <el-radio :label="0"></el-radio>
372 </el-radio-group> 372 </el-radio-group>
373 </el-form-item> 373 </el-form-item>
374 </el-col> 374 </el-col> -->
375 <el-col 375 <!-- <el-col
376 :span="6" 376 :span="6"
377 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'"> 377 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'">
378 <el-form-item label="持证人:"> 378 <el-form-item label="持证人:">
...@@ -388,7 +388,7 @@ ...@@ -388,7 +388,7 @@
388 </el-option> 388 </el-option>
389 </el-select> 389 </el-select>
390 </el-form-item> 390 </el-form-item>
391 </el-col> 391 </el-col> -->
392 </el-row> 392 </el-row>
393 <qlrCommonTable 393 <qlrCommonTable
394 :tableData="ruleForm.qlrData" 394 :tableData="ruleForm.qlrData"
...@@ -694,38 +694,14 @@ ...@@ -694,38 +694,14 @@
694 }); 694 });
695 return false; 695 return false;
696 } 696 }
697 this.ruleForm.qlrData[0].sfczr = "1";
698 } else { 697 } else {
699 if (this.ruleForm.qlrList.length <= 1) { 698 if (this.ruleForm.qlrData.length <= 1) {
700 this.$message({ 699 this.$message({
701 showClose: true, 700 showClose: true,
702 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", 701 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
703 type: "error", 702 type: "error",
704 }); 703 });
705 return false; 704 return false;
706 }
707 //是否分别持证
708 if (this.ruleForm.qlxx.sqfbcz == "1") {
709 //是
710 this.ruleForm.qlrList.forEach((item, index) => {
711 item.sfczr = "1";
712 });
713 } else {
714 if (!that.ruleForm.czr) {
715 that.$message({
716 showClose: true,
717 message: "请选择持证人",
718 type: "error",
719 });
720 return false;
721 }
722 this.ruleForm.qlrList.forEach((item, index) => {
723 if (item.zjh == this.ruleForm.czr) {
724 item.sfczr = "1";
725 } else {
726 item.sfczr = "0";
727 }
728 });
729 } 705 }
730 } 706 }
731 save(this.ruleForm).then((res) => { 707 save(this.ruleForm).then((res) => {
......
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
102 </el-col> 102 </el-col>
103 <el-col :span="8"> 103 <el-col :span="8">
104 <el-form-item label="坐落:"> 104 <el-form-item label="坐落:">
105 <el-input disabled v-model="ruleForm.sldy.zl"></el-input> 105 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
106 </el-form-item> 106 </el-form-item>
107 </el-col> 107 </el-col>
108 </el-row> 108 </el-row>
...@@ -445,7 +445,7 @@ ...@@ -445,7 +445,7 @@
445 <el-form-item label="共有方式:"> 445 <el-form-item label="共有方式:">
446 <el-radio-group 446 <el-radio-group
447 :disabled="!ableOperation" 447 :disabled="!ableOperation"
448 v-model="ruleForm.sldy.gyfs"> 448 v-model="ruleForm.qlxx.gyfs">
449 <el-radio label="0">单独所有</el-radio> 449 <el-radio label="0">单独所有</el-radio>
450 <el-radio label="1">共同共有</el-radio> 450 <el-radio label="1">共同共有</el-radio>
451 <el-radio label="2">按份所有</el-radio> 451 <el-radio label="2">按份所有</el-radio>
...@@ -453,33 +453,6 @@ ...@@ -453,33 +453,6 @@
453 </el-radio-group> 453 </el-radio-group>
454 </el-form-item> 454 </el-form-item>
455 </el-col> 455 </el-col>
456 <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'">
457 <el-form-item label="是否分别持证:">
458 <el-radio-group
459 v-model="ruleForm.sldy.sqfbcz"
460 :disabled="!ableOperation">
461 <el-radio :label="1"></el-radio>
462 <el-radio :label="0"></el-radio>
463 </el-radio-group>
464 </el-form-item>
465 </el-col>
466 <el-col
467 :span="6"
468 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'">
469 <el-form-item label="持证人:">
470 <el-select
471 v-model="ruleForm.czr"
472 placeholder="持证人"
473 :disabled="!ableOperation">
474 <el-option
475 v-for="item in czrOptions"
476 :key="item.zjh"
477 :label="item.sqrmc"
478 :value="item.zjh">
479 </el-option>
480 </el-select>
481 </el-form-item>
482 </el-col>
483 </el-row> 456 </el-row>
484 <qlrCommonTable 457 <qlrCommonTable
485 :tableData="ruleForm.qlrData" 458 :tableData="ruleForm.qlrData"
...@@ -814,9 +787,8 @@ ...@@ -814,9 +787,8 @@
814 }); 787 });
815 return false; 788 return false;
816 } 789 }
817 this.ruleForm.qlrData[0].sfczr = "1";
818 } else { 790 } else {
819 if (this.ruleForm.qlrList.length <= 1) { 791 if (this.ruleForm.qlrData.length <= 1) {
820 this.$message({ 792 this.$message({
821 showClose: true, 793 showClose: true,
822 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", 794 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
...@@ -824,29 +796,6 @@ ...@@ -824,29 +796,6 @@
824 }); 796 });
825 return false; 797 return false;
826 } 798 }
827 //是否分别持证
828 if (this.ruleForm.sldy.sqfbcz == "1") {
829 //是
830 this.ruleForm.qlrList.forEach((item, index) => {
831 item.sfczr = "1";
832 });
833 } else {
834 if (!that.ruleForm.czr) {
835 that.$message({
836 showClose: true,
837 message: "请选择持证人",
838 type: "error",
839 });
840 return false;
841 }
842 this.ruleForm.qlrList.forEach((item, index) => {
843 if (item.zjh == this.ruleForm.czr) {
844 item.sfczr = "1";
845 } else {
846 item.sfczr = "0";
847 }
848 });
849 }
850 } 799 }
851 save(this.ruleForm).then((res) => { 800 save(this.ruleForm).then((res) => {
852 if (res.code === 200) { 801 if (res.code === 200) {
......
...@@ -368,7 +368,7 @@ ...@@ -368,7 +368,7 @@
368 <el-form-item label="共有方式:"> 368 <el-form-item label="共有方式:">
369 <el-radio-group 369 <el-radio-group
370 :disabled="!ableOperation" 370 :disabled="!ableOperation"
371 v-model="ruleForm.sldy.gyfs"> 371 v-model="ruleForm.qlxx.gyfs">
372 <el-radio label="0">单独所有</el-radio> 372 <el-radio label="0">单独所有</el-radio>
373 <el-radio label="1">共同共有</el-radio> 373 <el-radio label="1">共同共有</el-radio>
374 <el-radio label="2">按份所有</el-radio> 374 <el-radio label="2">按份所有</el-radio>
...@@ -376,10 +376,10 @@ ...@@ -376,10 +376,10 @@
376 </el-radio-group> 376 </el-radio-group>
377 </el-form-item> 377 </el-form-item>
378 </el-col> 378 </el-col>
379 <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> 379 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
380 <el-form-item label="是否分别持证:"> 380 <el-form-item label="是否分别持证:">
381 <el-radio-group 381 <el-radio-group
382 v-model="ruleForm.sldy.sqfbcz" 382 v-model="ruleForm.qlxx.sqfbcz"
383 :disabled="!ableOperation"> 383 :disabled="!ableOperation">
384 <el-radio :label="1"></el-radio> 384 <el-radio :label="1"></el-radio>
385 <el-radio :label="0"></el-radio> 385 <el-radio :label="0"></el-radio>
...@@ -388,7 +388,7 @@ ...@@ -388,7 +388,7 @@
388 </el-col> 388 </el-col>
389 <el-col 389 <el-col
390 :span="6" 390 :span="6"
391 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> 391 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'">
392 <el-form-item label="持证人:"> 392 <el-form-item label="持证人:">
393 <el-select 393 <el-select
394 v-model="ruleForm.czr" 394 v-model="ruleForm.czr"
...@@ -402,7 +402,7 @@ ...@@ -402,7 +402,7 @@
402 </el-option> 402 </el-option>
403 </el-select> 403 </el-select>
404 </el-form-item> 404 </el-form-item>
405 </el-col> 405 </el-col> -->
406 </el-row> 406 </el-row>
407 <qlrCommonTable 407 <qlrCommonTable
408 :tableData="ruleForm.qlrData" 408 :tableData="ruleForm.qlrData"
...@@ -717,7 +717,7 @@ ...@@ -717,7 +717,7 @@
717 }); 717 });
718 return false; 718 return false;
719 } 719 }
720 if (this.ruleForm.sldy.gyfs == "0") { 720 if (this.ruleForm.qlxx.gyfs == "0") {
721 if (this.ruleForm.qlrData.length > 1) { 721 if (this.ruleForm.qlrData.length > 1) {
722 this.$message({ 722 this.$message({
723 showClose: true, 723 showClose: true,
...@@ -726,7 +726,6 @@ ...@@ -726,7 +726,6 @@
726 }); 726 });
727 return false; 727 return false;
728 } 728 }
729 this.ruleForm.qlrData[0].sfczr = "1";
730 } else { 729 } else {
731 if (this.ruleForm.qlrList.length <= 1) { 730 if (this.ruleForm.qlrList.length <= 1) {
732 this.$message({ 731 this.$message({
...@@ -736,29 +735,6 @@ ...@@ -736,29 +735,6 @@
736 }); 735 });
737 return false; 736 return false;
738 } 737 }
739 //是否分别持证
740 if (this.ruleForm.sldy.sqfbcz == "1") {
741 //是
742 this.ruleForm.qlrList.forEach((item, index) => {
743 item.sfczr = "1";
744 });
745 } else {
746 if (!that.ruleForm.czr) {
747 that.$message({
748 showClose: true,
749 message: "请选择持证人",
750 type: "error",
751 });
752 return false;
753 }
754 this.ruleForm.qlrList.forEach((item, index) => {
755 if (item.zjh == this.ruleForm.czr) {
756 item.sfczr = "1";
757 } else {
758 item.sfczr = "0";
759 }
760 });
761 }
762 } 738 }
763 save(this.ruleForm).then((res) => { 739 save(this.ruleForm).then((res) => {
764 if (res.code === 200) { 740 if (res.code === 200) {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 16:45:57 4 * @LastEditTime: 2023-08-07 18:12:57
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -14,9 +14,10 @@ ...@@ -14,9 +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 :show-message="false"
18 inline-message 17 inline-message
19 label-width="145px"> 18 :show-message="false"
19 label-width="145px"
20 >
20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 21 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
21 <div class="slxx_title title-block"> 22 <div class="slxx_title title-block">
22 补录信息 23 补录信息
...@@ -40,26 +41,30 @@ ...@@ -40,26 +41,30 @@
40 </el-col> 41 </el-col>
41 </el-row> 42 </el-row>
42 <div class="slxx_title title-block bdcqk"> 43 <div class="slxx_title title-block bdcqk">
43 房地产权信息 44 异议登记不动产情况
44 <div class="count" v-if="ssqlxxshow"> 45 <div class="count">
45 <el-form-item 46 <el-form-item
46 label="上手权利信息:" 47 label="抵押不动产信息:"
47 prop="ssQlxx.bdcqzh" 48 prop="ztQlxx.bdcqzh"
48 :rules="rules.ssQlxxrules"> 49 :rules="rules.ztQlxxrules"
50 >
49 <select-table 51 <select-table
50 v-model="ruleForm.ssQlxx" 52 v-model="ruleForm.ztQlxx"
51 :table-width="730" 53 :table-width="550"
52 :tableData="ssQlxxList" 54 :tableData="ztQlxxList"
53 :props="props" 55 :props="props"
54 @change="ssQlxxchange"> 56 @change="ztQlxxchange"
57 >
55 <el-table-column 58 <el-table-column
56 prop="qllxmc" 59 prop="qllxmc"
57 width="130" 60 width="130"
58 label="权利类型"></el-table-column> 61 label="权利类型"
62 ></el-table-column>
59 <el-table-column 63 <el-table-column
60 prop="bdcqzh" 64 prop="bdcqzh"
61 width="160" 65 width="160"
62 label="不动产权证书"></el-table-column> 66 label="不动产权证书"
67 ></el-table-column>
63 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 68 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
64 <el-table-column prop="mjmc" label="面积"></el-table-column> 69 <el-table-column prop="mjmc" label="面积"></el-table-column>
65 <el-table-column prop="ytmc" label="用途"></el-table-column> 70 <el-table-column prop="ytmc" label="用途"></el-table-column>
...@@ -69,270 +74,156 @@ ...@@ -69,270 +74,156 @@
69 </div> 74 </div>
70 <div class="triangle"></div> 75 <div class="triangle"></div>
71 </div> 76 </div>
72 <el-row :gutter="10"> 77 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
73 <el-col :span="8"> 78 <el-col :span="8">
74 <el-form-item label="不动产单元号:"> 79 <el-form-item label="权利人:">
75 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> 80 <el-input disabled v-model="ruleForm.ztQlxx.qlrmc"></el-input>
76 </el-form-item> 81 </el-form-item>
77 </el-col> 82 </el-col>
78 <el-col :span="8"> 83 <el-col :span="8">
79 <el-form-item 84 <el-form-item label="证件种类:">
80 label="业务号:" 85 <el-input disabled v-model="ruleForm.ztQlxx.qlrzjzl"></el-input>
81 prop="qlxx.ywh"
82 :rules="rules.ywhrules">
83 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
84 </el-form-item> 86 </el-form-item>
85 </el-col> 87 </el-col>
86 <el-col :span="8"> 88 <el-col :span="8">
87 <el-form-item label="上手业务号:"> 89 <el-form-item label="证件号:">
88 <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> 90 <el-input disabled v-model="ruleForm.ztQlxx.qlrzjhm"></el-input>
89 </el-form-item> 91 </el-form-item>
90 </el-col> 92 </el-col>
91 </el-row> 93 </el-row>
92 <el-row :gutter="10"> 94 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
93 <el-col :span="8"> 95 <el-col :span="8">
94 <el-form-item label="权利类型:"> 96 <el-form-item label="权利类型:">
95 <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> 97 <el-input disabled v-model="ruleForm.ztQlxx.qllxmc"></el-input>
96 </el-form-item> 98 </el-form-item>
97 </el-col> 99 </el-col>
98 <el-col :span="8"> 100 <el-col :span="8">
99 <el-form-item 101 <el-form-item label="不动产权证号:">
100 label="登记类型:" 102 <el-input disabled v-model="ruleForm.ztQlxx.bdcqzh"></el-input>
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>
111 </el-form-item> 103 </el-form-item>
112 </el-col> 104 </el-col>
113 <el-col :span="8"> 105 <el-col :span="8">
114 <el-form-item label="坐落:"> 106 <el-form-item label="坐落:">
115 <el-input disabled v-model="ruleForm.sldy.zl"></el-input> 107 <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input>
116 </el-form-item>
117 </el-col>
118 <el-col :span="8">
119 <el-form-item label="土地使用权人:">
120 <el-input v-model="ruleForm.fdcq2.tdsyqr"></el-input>
121 </el-form-item> 108 </el-form-item>
122 </el-col> 109 </el-col>
110 </el-row>
111 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
123 <el-col :span="8"> 112 <el-col :span="8">
124 <el-form-item label="独用土地面积:"> 113 <el-form-item label="不动产单元号:">
125 <div class="flex"> 114 <el-input disabled v-model="ruleForm.ztQlxx.bdcdyh"></el-input>
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>
138 </el-form-item> 115 </el-form-item>
139 </el-col> 116 </el-col>
140 <el-col :span="8"> 117 <el-col :span="8">
141 <el-form-item label="分摊土地面积:"> 118 <el-form-item label="面积:">
142 <div class="flex"> 119 <el-input disabled v-model="ruleForm.ztQlxx.mjmc"></el-input>
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>
155 </el-form-item> 120 </el-form-item>
156 </el-col> 121 </el-col>
157 <el-col :span="8"> 122 <el-col :span="8">
158 <!-- 下拉框 --> 123 <el-form-item label="用途:">
159 <el-form-item label="土地性质:" style="margin-bottom: 3px"> 124 <el-input disabled v-model="ruleForm.ztQlxx.ytmc"></el-input>
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> 125 </el-form-item>
168 </el-col> 126 </el-col>
169 <el-col :span="8"> 127 </el-row>
170 <el-form-item label="房地产交易价格:"> 128 <div class="slxx_title title-block bdcqk">
171 <div class="flex"> 129 异议登记信息
172 <el-input 130 <div class="count" v-if="ssqlxxshow">
173 v-model="ruleForm.fdcq2.qjjg" 131 <el-form-item
174 style="width: 500%" 132 label="上手权利信息:"
175 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 133 prop="ssQlxx.bdcqzh"
176 <el-select v-model="ruleForm.fdcq2.jedw"> 134 :rules="rules.ssQlxxrules"
177 <el-option 135 >
178 v-for="item in dictData['A57']" 136 <select-table
179 :key="item.dcode" 137 v-model="ruleForm.ssQlxx"
180 :label="item.dname" 138 :table-width="550"
181 :value="item.dcode"> 139 :tableData="ssQlxxList"
182 </el-option> 140 :props="props"
183 </el-select> 141 @change="ssQlxxchange"
184 </div> 142 >
143 <el-table-column
144 prop="qllxmc"
145 width="130"
146 label="权利类型"
147 ></el-table-column>
148 <el-table-column
149 prop="bdcqzh"
150 width="160"
151 label="不动产权证书"
152 ></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>
185 </el-form-item> 158 </el-form-item>
186 </el-col> 159 </div>
160 <div class="triangle"></div>
161 </div>
162 <el-row :gutter="10">
187 <el-col :span="8"> 163 <el-col :span="8">
188 <el-form-item label="权属状态:"> 164 <el-form-item label="不动产单元号:">
189 <el-select v-model="ruleForm.qlxx.qszt"> 165 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
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>
197 </el-form-item> 166 </el-form-item>
198 </el-col> 167 </el-col>
199 <el-col :span="8"> 168 <el-col :span="8">
200 <el-form-item label="规划用途:"> 169 <el-form-item
201 <el-select v-model="ruleForm.fdcq2.ghyt"> 170 label="业务号:"
202 <el-option 171 prop="qlxx.ywh"
203 v-for="item in dictData['A17']" 172 :rules="rules.ywhrules"
204 :key="item.dcode" 173 >
205 :label="item.dname" 174 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
206 :value="item.dcode">
207 </el-option>
208 </el-select>
209 </el-form-item> 175 </el-form-item>
210 </el-col> 176 </el-col>
211 <el-col :span="8"> 177 <el-col :span="8">
212 <el-form-item label="批准用途:"> 178 <el-form-item label="上手业务号:">
213 <el-input v-model="ruleForm.fdcq2.pzyt"></el-input> 179 <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input>
214 </el-form-item> 180 </el-form-item>
215 </el-col> 181 </el-col>
216 <el-col :span="8"> 182 </el-row>
217 <el-form-item label="实际用途:"> 183 <el-row :gutter="10">
218 <el-input v-model="ruleForm.fdcq2.sjyt"></el-input> 184 <!-- <el-col :span="8">
185 <el-form-item label="权利类型:">
186 <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input>
219 </el-form-item> 187 </el-form-item>
220 </el-col> 188 </el-col> -->
221 <el-col :span="8"> 189 <!-- <el-col :span="8">
222 <el-form-item label="房屋性质:"> 190 <el-form-item label="登记原因:">
223 <el-select v-model="ruleForm.fdcq2.fwxz"> 191 <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input>
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>
231 </el-form-item> 192 </el-form-item>
232 </el-col> 193 </el-col> -->
233 <el-col :span="8"> 194 <el-col :span="8">
234 <el-form-item 195 <el-form-item
235 label="房屋结构:" 196 label="登记类型:"
236 prop="fdcq2.fwjg" 197 prop="qlxx.djlx"
237 :rules="rules.fwjgrules"> 198 :rules="rules.djlxrules"
238 <el-select v-model="ruleForm.fdcq2.fwjg"> 199 >
200 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
239 <el-option 201 <el-option
240 v-for="item in dictData['A46']" 202 v-for="item in djlxlist"
241 :key="item.dcode" 203 :key="item.dcode"
242 :label="item.dname" 204 :label="item.dname"
243 :value="item.dcode"> 205 :value="item.dcode"
206 >
244 </el-option> 207 </el-option>
245 </el-select> 208 </el-select>
246 </el-form-item> 209 </el-form-item>
247 </el-col> 210 </el-col>
248 <el-col :span="8"> 211 <!-- <el-col :span="8">
249 <el-form-item label="所在层:"> 212 <el-form-item label="不动产坐落:">
250 <el-input v-model="ruleForm.fdcq2.szc"></el-input> 213 <el-input v-model="ruleForm.qlxx.zl"></el-input>
251 </el-form-item>
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> 214 </el-form-item>
320 </el-col> 215 </el-col> -->
321
322 <el-col :span="8"> 216 <el-col :span="8">
323 <el-form-item 217 <el-form-item
324 label="不动产权证号:" 218 label="不动产权证号:"
325 prop="qlxx.bdcqzh" 219 prop="qlxx.bdcqzh"
326 :rules="rules.bdcqzhrules"> 220 :rules="rules.bdcqzhrules"
221 >
327 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> 222 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
328 </el-form-item> 223 </el-form-item>
329 </el-col> 224 </el-col>
330 <!-- <el-col :span="8"> 225 <!-- <el-col :span="8">
331 <el-form-item 226 <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules">
332 label="区县代码:"
333 prop="qlxx.qxdm"
334 :rules="rules.qxdmrules"
335 >
336 <el-input v-model="ruleForm.qlxx.qxdm"></el-input> 227 <el-input v-model="ruleForm.qlxx.qxdm"></el-input>
337 </el-form-item> 228 </el-form-item>
338 </el-col> --> 229 </el-col> -->
...@@ -340,7 +231,8 @@ ...@@ -340,7 +231,8 @@
340 <el-form-item 231 <el-form-item
341 label="登记机构:" 232 label="登记机构:"
342 prop="qlxx.djjg" 233 prop="qlxx.djjg"
343 :rules="rules.djjgrules"> 234 :rules="rules.djjgrules"
235 >
344 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 236 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
345 </el-form-item> 237 </el-form-item>
346 </el-col> 238 </el-col>
...@@ -348,7 +240,8 @@ ...@@ -348,7 +240,8 @@
348 <el-form-item 240 <el-form-item
349 label="登簿人:" 241 label="登簿人:"
350 prop="qlxx.dbr" 242 prop="qlxx.dbr"
351 :rules="rules.dbrrules"> 243 :rules="rules.dbrrules"
244 >
352 <el-input v-model="ruleForm.qlxx.dbr"></el-input> 245 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
353 </el-form-item> 246 </el-form-item>
354 </el-col> 247 </el-col>
...@@ -356,41 +249,85 @@ ...@@ -356,41 +249,85 @@
356 <el-form-item 249 <el-form-item
357 label="登记时间:" 250 label="登记时间:"
358 prop="qlxx.djsj" 251 prop="qlxx.djsj"
359 :rules="rules.djsjrules"> 252 :rules="rules.djsjrules"
253 >
360 <el-date-picker 254 <el-date-picker
361 v-model="ruleForm.qlxx.djsj" 255 v-model="ruleForm.qlxx.djsj"
362 type="date"
363 class="width100" 256 class="width100"
257 type="date"
364 placeholder="选择日期" 258 placeholder="选择日期"
365 value-format="yyyy-MM-dd HH:mm:ss" 259 value-format="yyyy-MM-dd HH:mm:ss"
366 format="yyyy-MM-dd"> 260 format="yyyy-MM-dd"
261 >
367 </el-date-picker> 262 </el-date-picker>
368 </el-form-item> 263 </el-form-item>
369 </el-col> 264 </el-col>
370 </el-row> 265 <el-col :span="8">
371 <el-row> 266 <el-form-item label="权属状态:">
372 <el-col :span="24"> 267 <el-select v-model="ruleForm.qlxx.qszt">
373 <el-form-item label="登记原因:"> 268 <el-option
374 <el-input v-model="ruleForm.fdcq2.djyy"></el-input> 269 v-for="item in qsztlist"
270 :key="item.dcode"
271 :label="item.dname"
272 :value="item.dcode"
273 >
274 </el-option>
275 </el-select>
276 </el-form-item>
277 </el-col>
278
279 <el-col :span="8">
280 <el-form-item label="异议事项:"
281 prop="yydj.yysx"
282 :rules="rules.yysxrules">
283 <el-input v-model="ruleForm.yydj.yysx"></el-input>
284 </el-form-item>
285 </el-col>
286 <el-col :span="8">
287 <el-form-item label="不动产登记证明号:">
288 <el-input
289 v-model="ruleForm.yydj.bdcdjzmh"
290 prop="yydj.bdcdjzmh"
291 :rules="rules.bdcdjzmhrules"
292 >></el-input
293 >
375 </el-form-item> 294 </el-form-item>
376 </el-col> 295 </el-col>
377 </el-row>
378 <el-row>
379 <el-col :span="24"> 296 <el-col :span="24">
380 <el-form-item label="附记:"> 297 <el-form-item label="附记:">
381 <el-input v-model="ruleForm.fdcq2.fj"></el-input> 298 <el-input v-model="ruleForm.yydj.fj"></el-input>
299 </el-form-item>
300 </el-col>
301 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
302 <el-form-item label="注销异议业务号:">
303 <el-input v-model="ruleForm.yydj.zxyyywh"></el-input>
304 </el-form-item>
305 </el-col>
306 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
307 <el-form-item label="注销异议原因:">
308 <el-input v-model="ruleForm.yydj.zxyyyy"></el-input>
309 </el-form-item>
310 </el-col>
311 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
312 <el-form-item label="注销异议登簿人:">
313 <el-input v-model="ruleForm.yydj.zxyydbr"></el-input>
314 </el-form-item>
315 </el-col>
316 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
317 <el-form-item label="注销异议登记时间:">
318 <el-date-picker
319 v-model="ruleForm.yydj.zxyydjsj"
320 class="width100"
321 type="date"
322 placeholder="选择日期"
323 value-format="yyyy-MM-dd HH:mm:ss"
324 format="yyyy-MM-dd"
325 >
326 </el-date-picker>
382 </el-form-item> 327 </el-form-item>
383 </el-col> 328 </el-col>
384 </el-row> 329 </el-row>
385 <div class="slxx_title title-block"> 330 <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">
394 权利人信息 331 权利人信息
395 <div class="triangle"></div> 332 <div class="triangle"></div>
396 </div> 333 </div>
...@@ -399,7 +336,8 @@ ...@@ -399,7 +336,8 @@
399 <el-form-item label="共有方式:"> 336 <el-form-item label="共有方式:">
400 <el-radio-group 337 <el-radio-group
401 :disabled="!ableOperation" 338 :disabled="!ableOperation"
402 v-model="ruleForm.qlxx.gyfs"> 339 v-model="ruleForm.qlxx.gyfs"
340 >
403 <el-radio label="0">单独所有</el-radio> 341 <el-radio label="0">单独所有</el-radio>
404 <el-radio label="1">共同共有</el-radio> 342 <el-radio label="1">共同共有</el-radio>
405 <el-radio label="2">按份所有</el-radio> 343 <el-radio label="2">按份所有</el-radio>
...@@ -411,7 +349,8 @@ ...@@ -411,7 +349,8 @@
411 <el-form-item label="是否分别持证:"> 349 <el-form-item label="是否分别持证:">
412 <el-radio-group 350 <el-radio-group
413 v-model="ruleForm.qlxx.sqfbcz" 351 v-model="ruleForm.qlxx.sqfbcz"
414 :disabled="!ableOperation"> 352 :disabled="!ableOperation"
353 >
415 <el-radio :label="1"></el-radio> 354 <el-radio :label="1"></el-radio>
416 <el-radio :label="0"></el-radio> 355 <el-radio :label="0"></el-radio>
417 </el-radio-group> 356 </el-radio-group>
...@@ -419,17 +358,20 @@ ...@@ -419,17 +358,20 @@
419 </el-col> 358 </el-col>
420 <el-col 359 <el-col
421 :span="6" 360 :span="6"
422 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'"> 361 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'"
362 >
423 <el-form-item label="持证人:"> 363 <el-form-item label="持证人:">
424 <el-select 364 <el-select
425 v-model="ruleForm.czr" 365 v-model="ruleForm.czr"
426 placeholder="持证人" 366 placeholder="持证人"
427 :disabled="!ableOperation"> 367 :disabled="!ableOperation"
368 >
428 <el-option 369 <el-option
429 v-for="item in czrOptions" 370 v-for="item in czrOptions"
430 :key="item.zjh" 371 :key="item.zjh"
431 :label="item.sqrmc" 372 :label="item.sqrmc"
432 :value="item.zjh"> 373 :value="item.zjh"
374 >
433 </el-option> 375 </el-option>
434 </el-select> 376 </el-select>
435 </el-form-item> 377 </el-form-item>
...@@ -438,9 +380,23 @@ ...@@ -438,9 +380,23 @@
438 <qlrCommonTable 380 <qlrCommonTable
439 :tableData="ruleForm.qlrData" 381 :tableData="ruleForm.qlrData"
440 @upDateQlrxxList="upDateQlrxxList" 382 @upDateQlrxxList="upDateQlrxxList"
441 :ableOperation="ableOperation"
442 :key="key" 383 :key="key"
443 :gyfs="ruleForm.qlxx.gyfs" /> 384 :ableOperation="ableOperation"
385 :gyfs="ruleForm.qlxx.gyfs"
386 />
387 <div v-if="ruleForm.ywrData">
388 <div class="slxx_title title-block">
389 义务人信息
390 <div class="triangle"></div>
391 </div>
392 <ywrCommonTable
393 v-if="ruleForm.ywrData"
394 :tableData="ruleForm.ywrData"
395 :key="key"
396 :ableOperation="ableOperation"
397 @upDateQlrxxList="upDateYwrxxList"
398 />
399 </div>
444 </div> 400 </div>
445 <el-row class="btn" v-if="ableOperation"> 401 <el-row class="btn" v-if="ableOperation">
446 <el-form-item> 402 <el-form-item>
...@@ -451,167 +407,171 @@ ...@@ -451,167 +407,171 @@
451 </div> 407 </div>
452 </template> 408 </template>
453 <script> 409 <script>
454 import { mapGetters } from "vuex"; 410 import { mapGetters } from "vuex";
455 import ywmix from "@/views/ywbl/mixin/index"; 411 import ywmix from "@/views/ywbl/mixin/index";
456 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 412 import {
457 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 413 init,
458 import selectTable from "@/components/selectTable/index.vue"; 414 getSsQlxx,
459 import tdytTable from "@/views/workflow/components/tdytTable"; 415 getZtQlxx,
460 export default { 416 getQlxxByQlxxBsm,
461 mixins: [ywmix], 417 save,
462 components: { qlrCommonTable, tdytTable, selectTable }, 418 } from "@/api/djbRepair.js";
463 computed: { 419 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
464 ...mapGetters(["dictData", "flag"]), 420 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
465 // 根据流程判断表单是否为只读 421 import tdytTable from "@/views/workflow/components/tdytTable";
466 editDisabled () { 422 import selectTable from "@/components/selectTable/index.vue";
467 if (!this.ableOperation) { 423 export default {
468 //只读状态 424 mixins: [ywmix],
469 return true; 425 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
470 } 426 computed: {
471 return false; 427 ...mapGetters(["dictData", "flag"]),
472 }, 428 // 根据流程判断表单是否为只读
429 editDisabled() {
430 if (!this.ableOperation) {
431 //只读状态
432 return true;
433 }
434 return false;
473 }, 435 },
474 data () { 436 },
475 return { 437 data() {
476 mjdw: "1", 438 return {
477 ssqlxxshow: true, 439 ssqlxxshow: true,
478 props: { 440 props: {
479 label: "bdcqzh", 441 label: "bdcqzh",
480 value: "bdcdyid", 442 value: "bdcdyid",
443 },
444 //表单是否可操作
445 propsParam: this.$attrs,
446 key: 0,
447 isShow: false,
448 disabled: true,
449 czrOptions: [],
450 ssQlxxList: [],
451 ztQlxxList: [],
452 ruleForm: {},
453 // 登记类型
454 djlxlist: [
455 {
456 dcode: "100",
457 dname: "首次登记",
481 }, 458 },
482 // 键名转换,方法默认是label和children进行树状渲染 459 {
483 normalizer (node) { 460 dcode: "200",
484 //方法 461 dname: "转移登记",
485 if (node.children == null || node.children == "null") { 462 },
486 delete node.children; 463 {
487 } 464 dcode: "300",
488 return { 465 dname: "变更登记",
489 id: node.dcode, 466 },
490 label: node.dname, 467 {
491 }; 468 dcode: "500",
469 dname: "更正登记",
492 }, 470 },
493 471
494 //表单是否可操作 472 {
495 propsParam: this.$attrs, 473 dcode: "901",
496 // 登记类型 474 dname: "补证",
497 djlxlist: [ 475 },
498 { 476 {
499 dcode: "100", 477 dcode: "902",
500 dname: "首次登记", 478 dname: "换证",
501 },
502 {
503 dcode: "200",
504 dname: "转移登记",
505 },
506 {
507 dcode: "300",
508 dname: "变更登记",
509 },
510 {
511 dcode: "500",
512 dname: "更正登记",
513 },
514
515 {
516 dcode: "901",
517 dname: "补证",
518 },
519 {
520 dcode: "902",
521 dname: "换证",
522 },
523 ],
524 // 权属状态
525 qsztlist: [
526 {
527 dcode: "1",
528 dname: "现势",
529 },
530 {
531 dcode: "2",
532 dname: "历史",
533 },
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 }, 479 },
546 ableOperation: false, 480 ],
547 //传递参数\ 481 // 权属状态
548 rules: { 482 qsztlist: [
549 ssQlxxrules: [ 483 {
550 { required: true, message: "上手权利信息", trigger: "blur" }, 484 dcode: "1",
551 ], 485 dname: "现势",
552 bdcqzhrules: [
553 { required: true, message: "不动产权证号:", trigger: "blur" },
554 ],
555 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
556 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
557 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
558 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
559 fwjgrules: [{ required: true, message: "房屋结构", trigger: "change" }],
560 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
561 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
562 }, 486 },
563 }; 487 {
488 dcode: "2",
489 dname: "历史",
490 },
491 ],
492 //传递参数\
493 rules: {
494 ssQlxxrules: [
495 { required: true, message: "上手权利信息", trigger: "blur" },
496 ],
497 ztQlxxrules: [
498 { required: true, message: "抵押不动产信息", trigger: "blur" },
499 ],
500 bdcqzhrules: [
501 { required: true, message: "不动产证号 ", trigger: "blur" },
502 ],
503 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
504 djjgrules: [{ required: true, message: "登记机构", trigger: "change" }],
505 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
506 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
507 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
508 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
509 bdcdjzmhrules: [
510 { required: true, message: "不动产登记证明号: ", trigger: "blur" },
511 ],
512 yysxrules: [{ required: true, message: "异议事项", trigger: "blur" }],
513 },
514 ableOperation: false,
515 };
516 },
517 created() {
518 this.loadData();
519 },
520 mounted() {
521 this.ableOperation = this.$parent.ableOperation;
522 },
523 methods: {
524 /**
525 * @description: ztQlxxchange
526 * @param {*} val
527 * @author: renchao
528 */
529 ztQlxxchange(val) {
530 this.ruleForm.ztQlxx = val;
564 }, 531 },
565 created () { }, 532 /**
566 mounted () { 533 * @description: ssQlxxchange
567 this.loadData(); 534 * @param {*} val
568 this.ableOperation = this.$parent.ableOperation; 535 * @author: renchao
536 */
537 ssQlxxchange(val) {
538 this.ruleForm.ssQlxx = val;
539 this.ruleForm.qlxx.ssywh = val.ywh;
540 this.ssQlxxchangediolog(val);
569 }, 541 },
570 methods: { 542 // 弹框事件
571 /** 543 ssQlxxchangediolog(val) {
572 * @description: ssQlxxchange 544 this.$confirm("是否将上手权利信息同步到表单", "提示", {
573 * @param {*} val 545 iconClass: "el-icon-question", //自定义图标样式
574 * @author: renchao 546 confirmButtonText: "确认", //确认按钮文字更换
575 */ 547 cancelButtonText: "取消", //取消按钮文字更换
576 ssQlxxchange (val) { 548 showClose: true, //是否显示右上角关闭按钮
577 this.ruleForm.ssQlxx = val; 549 type: "warning",
578 this.ruleForm.qlxx.ssywh = val.ywh; 550 })
579 this.ssQlxxchangediolog(val); 551 .then(() => {
580 },
581 // 弹框事件
582 ssQlxxchangediolog (val) {
583 this.$confirm("是否将上手权利信息同步到表单", "提示", {
584 iconClass: "el-icon-question", //自定义图标样式
585 confirmButtonText: "确认", //确认按钮文字更换
586 cancelButtonText: "取消", //取消按钮文字更换
587 showClose: true, //是否显示右上角关闭按钮
588 type: "warning",
589
590
591 }).then(() => {
592 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 552 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
593 if (res.code == 200) { 553 if (res.code == 200) {
594 this.nowlist = res.result; 554 this.nowlist = res.result;
595 for (var key in this.ruleForm.fdcq2) { 555 for (var key in this.ruleForm.yydj) {
596 if ( 556 if (
597 this.ruleForm.fdcq2[key] == "" || 557 this.ruleForm.yydj[key] == "" ||
598 this.ruleForm.fdcq2[key] == null 558 this.ruleForm.yydj[key] == null
599 ) { 559 ) {
600 this.ruleForm.fdcq2[key] = this.nowlist.fdcq2[key]; 560 this.ruleForm.yydj[key] = this.nowlist.yydj[key];
601 } 561 }
602 } 562 }
603 for (var key in this.ruleForm.qlxx) { 563 for (var key in this.ruleForm.qlxx) {
604 if ( 564 if (
605 this.ruleForm.qlxx[key] == "" || 565 this.ruleForm.qlxx[key] == "" ||
606 this.ruleForm.qlxx[key] == null && 566 (this.ruleForm.qlxx[key] == null &&
607 key != "ywh" && 567 key != "ywh" &&
608 key != "dbr" && 568 key != "dbr" &&
609 key != "djsj" && 569 key != "djsj" &&
610 key != "ssywh" && 570 key != "ssywh" &&
611 key != "ssywh" && 571 key != "ssywh" &&
612 key != "bdcqzh") { 572 key != "bdcqzh")
573 ) {
613 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 574 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
614
615 } 575 }
616 } 576 }
617 if (!this.ruleForm.tdytqxList.length) { 577 if (!this.ruleForm.tdytqxList.length) {
...@@ -629,7 +589,8 @@ ...@@ -629,7 +589,8 @@
629 }); 589 });
630 } 590 }
631 }); 591 });
632 }).catch(() => { 592 })
593 .catch(() => {
633 this.$message({ 594 this.$message({
634 type: "info", 595 type: "info",
635 message: "已取消同步", 596 message: "已取消同步",
...@@ -652,13 +613,13 @@ ...@@ -652,13 +613,13 @@
652 * @description: loadData 613 * @description: loadData
653 * @author: renchao 614 * @author: renchao
654 */ 615 */
655 loadData () { 616 loadData () {
656 this.$startLoading(); 617 this.$startLoading();
657 this.propsParam.isEdit = this.$parent.isEdit; 618 this.propsParam.isEdit = this.$parent.isEdit;
658 init(this.propsParam).then((res) => { 619 init(this.propsParam).then((res) => {
659 if (res.code == 200) { 620 if (res.code == 200) {
660 this.ruleForm = res.result; 621 this.ruleForm = res.result;
661 this.ruleForm.qlrList.forEach((item, index) => { 622 this.ruleForm.qlrData.forEach((item, index) => {
662 if (item.sfczr == 1) { 623 if (item.sfczr == 1) {
663 this.ruleForm.czr = item.zjh 624 this.ruleForm.czr = item.zjh
664 } 625 }
...@@ -688,129 +649,114 @@ ...@@ -688,129 +649,114 @@
688 } 649 }
689 }); 650 });
690 }, 651 },
691 // 更新土地用途信息 652 // 更新土地用途信息
692 /** 653 /**
693 * @description: 更新土地用途信息 654 * @description: 更新土地用途信息
694 * @param {*} val 655 * @param {*} val
695 * @author: renchao 656 * @author: renchao
696 */ 657 */
697 upDateTdytxxList (val) { 658 upDateTdytxxList(val) {
698 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 659 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
699 this.key++; 660 this.key++;
700 }, 661 },
701 // 更新权利人信息 662 // 更新权利人信息
702 /** 663 /**
703 * @description: 更新权利人信息 664 * @description: 更新权利人信息
704 * @param {*} val 665 * @param {*} val
705 * @author: renchao 666 * @author: renchao
706 */ 667 */
707 upDateQlrxxList (val) { 668 upDateQlrxxList(val) {
708 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 669 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
709 this.czrOptions = this.ruleForm.qlrData; 670 this.czrOptions = this.ruleForm.qlrData;
710 this.key++; 671 this.key++;
711 }, 672 },
712 // 更新义务人信息 673 // 更新义务人信息
713 /** 674 /**
714 * @description: 更新义务人信息 675 * @description: 更新义务人信息
715 * @param {*} val 676 * @param {*} val
716 * @author: renchao 677 * @author: renchao
717 */ 678 */
718 upDateYwrxxList (val) { 679 upDateYwrxxList(val) {
719 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); 680 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
720 this.key++; 681 this.key++;
721 }, 682 },
722 /** 683 /**
723 * @description: onSubmit 684 * @description: onSubmit
724 * @author: renchao 685 * @author: renchao
725 */ 686 */
726 onSubmit () { 687 onSubmit() {
727 this.$refs.ruleForm.validate((valid) => { 688 this.$refs.ruleForm.validate((valid) => {
728 if (valid) { 689 if (valid) {
729 if (this.ruleForm.qlrData.length == 0) { 690 if (this.ruleForm.qlrData.length == 0) {
691 this.$message({
692 showClose: true,
693 message: "请确认权利人信息",
694 type: "error",
695 });
696 return false;
697 }
698 if (this.ruleForm.ywrData.length == 0) {
699 this.$message({
700 showClose: true,
701 message: "请确认义务人信息",
702 type: "error",
703 });
704 return false;
705 }
706 if (this.ruleForm.qlxx.gyfs == "0") {
707 if (this.ruleForm.qlrData.length > 1) {
730 this.$message({ 708 this.$message({
731 showClose: true, 709 showClose: true,
732 message: "请确认权利人信息", 710 message: "共有方式:单独所有,权利人只能是一个人",
733 type: "error", 711 type: "error",
734 }); 712 });
735 return false; 713 return false;
736 } 714 }
737 if (this.ruleForm.ywrData.length == 0) { 715 this.ruleForm.qlrData[0].sfczr = "1";
738 this.$message({ 716 }
739 showClose: true, 717 if (this.ruleForm.qlxx.gyfs == "1") {
740 message: "请确认义务人信息", 718 //是否分别持证
741 type: "error", 719 if (this.ruleForm.qlxx.sqfbcz == "1") {
720 //是
721 this.ruleForm.qlrData.forEach((item, index) => {
722 item.sfczr = "1";
742 }); 723 });
743 return false;
744 }
745 if (this.ruleForm.sldy.gyfs == "0") {
746 if (this.ruleForm.qlrData.length > 1) {
747 this.$message({
748 showClose: true,
749 message: "共有方式:单独所有,权利人只能是一个人",
750 type: "error",
751 });
752 return false;
753 }
754 this.ruleForm.qlrData[0].sfczr = "1";
755 } else { 724 } else {
756 if (this.ruleForm.qlrList.length <= 1) { 725 this.ruleForm.qlrData.forEach((item, index) => {
757 this.$message({ 726 if (item.zjh == this.ruleForm.czr) {
758 showClose: true,
759 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
760 type: "error",
761 });
762 return false;
763 }
764 //是否分别持证
765 if (this.ruleForm.sldy.sqfbcz == "1") {
766 //是
767 this.ruleForm.qlrList.forEach((item, index) => {
768 item.sfczr = "1"; 727 item.sfczr = "1";
769 }); 728 } else {
770 } else { 729 item.sfczr = "0";
771 if (!that.ruleForm.czr) {
772 that.$message({
773 showClose: true,
774 message: "请选择持证人",
775 type: "error",
776 });
777 return false;
778 } 730 }
779 this.ruleForm.qlrList.forEach((item, index) => { 731 });
780 if (item.zjh == this.ruleForm.czr) {
781 item.sfczr = "1";
782 } else {
783 item.sfczr = "0";
784 }
785 });
786 }
787 } 732 }
788 save(this.ruleForm).then((res) => {
789 if (res.code === 200) {
790 this.$message({
791 showClose: true,
792 message: "保存成功!",
793 type: "success",
794 });
795 this.$parent.changeywh();
796 this.$store.dispatch("user/refreshPage", true);
797 } else {
798 this.$message({
799 showClose: true,
800 message: res.message,
801 type: "error",
802 });
803 }
804 });
805 } else {
806 return false;
807 } 733 }
808 }); 734 save(this.ruleForm).then((res) => {
809 }, 735 if (res.code === 200) {
736 this.$message({
737 showClose: true,
738 message: "保存成功!",
739 type: "success",
740 });
741 this.$parent.changeywh();
742 this.$store.dispatch("user/refreshPage", true);
743 } else {
744 this.$message({
745 showClose: true,
746 message: res.message,
747 type: "error",
748 });
749 }
750 });
751 } else {
752 return false;
753 }
754 });
810 }, 755 },
811 }; 756 },
757 };
812 </script> 758 </script>
813 <style scoped lang="scss"> 759 <style scoped lang="scss">
814 @import "~@/styles/public.scss"; 760 @import "~@/styles/public.scss";
815 @import "~@/styles/slxx/slxx.scss"; 761 @import "~@/styles/slxx/slxx.scss";
816 </style> 762 </style>
......
...@@ -113,14 +113,6 @@ export default { ...@@ -113,14 +113,6 @@ export default {
113 }, 113 },
114 }, 114 },
115 mounted() { 115 mounted() {
116 console.log(
117 "bestepid: this.$route.query.bestepid,",
118 this.$route.query.bestepid
119 );
120 console.log(
121 "bestepid: this.$route.query.sqywbm,",
122 this.$route.query.sqywbm
123 );
124 this.ableOperation = this.$parent.ableOperation; 116 this.ableOperation = this.$parent.ableOperation;
125 }, 117 },
126 methods: { 118 methods: {
...@@ -162,7 +154,6 @@ export default { ...@@ -162,7 +154,6 @@ export default {
162 return new Promise((resolve) => { 154 return new Promise((resolve) => {
163 this.unitData = this.$parent.unitData; 155 this.unitData = this.$parent.unitData;
164 var formdata = new FormData(); 156 var formdata = new FormData();
165
166 formdata.append("bsmSlsq", this.$parent.bsmSlsq); 157 formdata.append("bsmSlsq", this.$parent.bsmSlsq);
167 if (this.$route.query.sqywbm == "DJBBL") { 158 if (this.$route.query.sqywbm == "DJBBL") {
168 formdata.append("bsmSldy", this.$parent.bsmRepair); 159 formdata.append("bsmSldy", this.$parent.bsmRepair);
...@@ -259,6 +250,9 @@ export default { ...@@ -259,6 +250,9 @@ export default {
259 sjlx: data.cllx, 250 sjlx: data.cllx,
260 sfxjcl: "1", // 是否必选 251 sfxjcl: "1", // 是否必选
261 }; 252 };
253 if (this.$route.query.sqywbm == "DJBBL") {
254 obj.bsmSldy=this.$parent.bsmRepair
255 }
262 saveClml(obj).then(async (res) => { 256 saveClml(obj).then(async (res) => {
263 if (res.code == 200) { 257 if (res.code == 200) {
264 let res = await this.clmlInitList(2); 258 let res = await this.clmlInitList(2);
...@@ -324,6 +318,7 @@ export default { ...@@ -324,6 +318,7 @@ export default {
324 data: this.tableData, 318 data: this.tableData,
325 unitData: this.$parent.unitData, 319 unitData: this.$parent.unitData,
326 ableOperation: this.$parent.ableOperation, 320 ableOperation: this.$parent.ableOperation,
321 bsmRepair:this.$parent.bsmRepair
327 }, 322 },
328 "60%", 323 "60%",
329 true 324 true
......
...@@ -209,9 +209,14 @@ ...@@ -209,9 +209,14 @@
209 return new Promise(resolve => { 209 return new Promise(resolve => {
210 this.unitData = this.$parent.unitData; 210 this.unitData = this.$parent.unitData;
211 var formdata = new FormData(); 211 var formdata = new FormData();
212 formdata.append("bsmSldy", this.formData.unitData[0]?.bsmSldy); 212 formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq);
213 formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq); 213 if (Vue.prototype.$currentRoute.query.sqywbm == "DJBBL") {
214 formdata.append("bsmSldy", this.formData.bsmRepair);
215 formdata.append("clfl", 3);
216 } else {
217 formdata.append("bsmSldy", this.formData.unitData[0]?.bsmSldy);
214 formdata.append("clfl", 2); 218 formdata.append("clfl", 2);
219 }
215 InitClml(formdata).then((res) => { 220 InitClml(formdata).then((res) => {
216 if (res.code == 200) { 221 if (res.code == 200) {
217 resolve(res.code) 222 resolve(res.code)
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 <i class="el-icon-question invalid-icon"></i> 9 <i class="el-icon-question invalid-icon"></i>
10 <div class="invalid-body">您是否确定终止该业务办理?</div> 10 <div class="invalid-body">您是否确定终止该业务办理?</div>
11 </div> 11 </div>
12 <div class="invalid-reson">终止原因:</div> 12 <div class="invalid-reson">退件原因:</div>
13 <el-input 13 <el-input
14 v-model="stopMessage" 14 v-model="stopMessage"
15 placeholder="请输入终止原因" 15 placeholder="请输入终止原因"
......