--no commit message
Showing
15 changed files
with
225 additions
and
74 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:01 | 4 | * @LastEditTime: 2023-08-04 15:53:09 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -843,6 +843,14 @@ | ... | @@ -843,6 +843,14 @@ |
843 | } | 843 | } |
844 | this.ruleForm.qlrData[0].sfczr = "1"; | 844 | this.ruleForm.qlrData[0].sfczr = "1"; |
845 | } else { | 845 | } else { |
846 | if (this.ruleForm.qlrList.length <= 1) { | ||
847 | this.$message({ | ||
848 | showClose: true, | ||
849 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
850 | type: "error", | ||
851 | }); | ||
852 | return false; | ||
853 | } | ||
846 | //是否分别持证 | 854 | //是否分别持证 |
847 | if (this.ruleForm.sldy.sqfbcz == "1") { | 855 | if (this.ruleForm.sldy.sqfbcz == "1") { |
848 | //是 | 856 | //是 | ... | ... |
... | @@ -733,6 +733,14 @@ | ... | @@ -733,6 +733,14 @@ |
733 | } | 733 | } |
734 | this.ruleForm.qlrData[0].sfczr = "1"; | 734 | this.ruleForm.qlrData[0].sfczr = "1"; |
735 | } else { | 735 | } else { |
736 | if (this.ruleForm.qlrList.length <= 1) { | ||
737 | this.$message({ | ||
738 | showClose: true, | ||
739 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
740 | type: "error", | ||
741 | }); | ||
742 | return false; | ||
743 | } | ||
736 | //是否分别持证 | 744 | //是否分别持证 |
737 | if (this.ruleForm.sldy.sqfbcz == "1") { | 745 | if (this.ruleForm.sldy.sqfbcz == "1") { |
738 | //是 | 746 | //是 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:16 | 4 | * @LastEditTime: 2023-08-04 15:53:29 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -773,6 +773,14 @@ djlxchange(val) { | ... | @@ -773,6 +773,14 @@ djlxchange(val) { |
773 | } | 773 | } |
774 | this.ruleForm.qlrData[0].sfczr = "1"; | 774 | this.ruleForm.qlrData[0].sfczr = "1"; |
775 | } else { | 775 | } else { |
776 | if (this.ruleForm.qlrList.length <= 1) { | ||
777 | this.$message({ | ||
778 | showClose: true, | ||
779 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
780 | type: "error", | ||
781 | }); | ||
782 | return false; | ||
783 | } | ||
776 | //是否分别持证 | 784 | //是否分别持证 |
777 | if (this.ruleForm.sldy.sqfbcz == "1") { | 785 | if (this.ruleForm.sldy.sqfbcz == "1") { |
778 | //是 | 786 | //是 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:24 | 4 | * @LastEditTime: 2023-08-04 15:53:36 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -578,6 +578,15 @@ export default { | ... | @@ -578,6 +578,15 @@ export default { |
578 | onSubmit () { | 578 | onSubmit () { |
579 | this.$refs.ruleForm.validate((valid) => { | 579 | this.$refs.ruleForm.validate((valid) => { |
580 | if (valid) { | 580 | if (valid) { |
581 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
582 | if (arr.length > 0) { | ||
583 | this.$message({ | ||
584 | showClose: true, | ||
585 | message: "土地用途不能为空", | ||
586 | type: "error", | ||
587 | }); | ||
588 | return false; | ||
589 | } | ||
581 | if (this.ruleForm.qlrData.length == 0) { | 590 | if (this.ruleForm.qlrData.length == 0) { |
582 | this.$message({ | 591 | this.$message({ |
583 | showClose: true, | 592 | showClose: true, |
... | @@ -605,6 +614,14 @@ export default { | ... | @@ -605,6 +614,14 @@ export default { |
605 | } | 614 | } |
606 | this.ruleForm.qlrData[0].sfczr = "1"; | 615 | this.ruleForm.qlrData[0].sfczr = "1"; |
607 | } else { | 616 | } else { |
617 | if (this.ruleForm.qlrList.length <= 1) { | ||
618 | this.$message({ | ||
619 | showClose: true, | ||
620 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
621 | type: "error", | ||
622 | }); | ||
623 | return false; | ||
624 | } | ||
608 | //是否分别持证 | 625 | //是否分别持证 |
609 | if (this.ruleForm.qlxx.sqfbcz == "1") { | 626 | if (this.ruleForm.qlxx.sqfbcz == "1") { |
610 | //是 | 627 | //是 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:28 | 4 | * @LastEditTime: 2023-08-04 15:53:40 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -665,6 +665,15 @@ export default { | ... | @@ -665,6 +665,15 @@ export default { |
665 | onSubmit () { | 665 | onSubmit () { |
666 | this.$refs.ruleForm.validate((valid) => { | 666 | this.$refs.ruleForm.validate((valid) => { |
667 | if (valid) { | 667 | if (valid) { |
668 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
669 | if (arr.length > 0) { | ||
670 | this.$message({ | ||
671 | showClose: true, | ||
672 | message: "土地用途不能为空", | ||
673 | type: "error", | ||
674 | }); | ||
675 | return false; | ||
676 | } | ||
668 | if (this.ruleForm.qlrData.length == 0) { | 677 | if (this.ruleForm.qlrData.length == 0) { |
669 | this.$message({ | 678 | this.$message({ |
670 | showClose: true, | 679 | showClose: true, |
... | @@ -684,6 +693,14 @@ export default { | ... | @@ -684,6 +693,14 @@ export default { |
684 | } | 693 | } |
685 | this.ruleForm.qlrData[0].sfczr = "1"; | 694 | this.ruleForm.qlrData[0].sfczr = "1"; |
686 | } else { | 695 | } else { |
696 | if (this.ruleForm.qlrList.length <= 1) { | ||
697 | this.$message({ | ||
698 | showClose: true, | ||
699 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
700 | type: "error", | ||
701 | }); | ||
702 | return false; | ||
703 | } | ||
687 | //是否分别持证 | 704 | //是否分别持证 |
688 | if (this.ruleForm.qlxx.sqfbcz == "1") { | 705 | if (this.ruleForm.qlxx.sqfbcz == "1") { |
689 | //是 | 706 | //是 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:33 | 4 | * @LastEditTime: 2023-08-04 15:53:44 |
5 | :show-message="false" | 5 | :show-message="false" |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
... | @@ -818,6 +818,14 @@ created() { | ... | @@ -818,6 +818,14 @@ created() { |
818 | } | 818 | } |
819 | this.ruleForm.qlrData[0].sfczr = "1"; | 819 | this.ruleForm.qlrData[0].sfczr = "1"; |
820 | } else { | 820 | } else { |
821 | if (this.ruleForm.qlrList.length <= 1) { | ||
822 | this.$message({ | ||
823 | showClose: true, | ||
824 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
825 | type: "error", | ||
826 | }); | ||
827 | return false; | ||
828 | } | ||
821 | //是否分别持证 | 829 | //是否分别持证 |
822 | if (this.ruleForm.sldy.sqfbcz == "1") { | 830 | if (this.ruleForm.sldy.sqfbcz == "1") { |
823 | //是 | 831 | //是 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:42 | 4 | * @LastEditTime: 2023-08-04 15:53:48 |
5 | :show-message="false" | 5 | :show-message="false" |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
... | @@ -723,6 +723,14 @@ created() { | ... | @@ -723,6 +723,14 @@ created() { |
723 | } | 723 | } |
724 | this.ruleForm.qlrData[0].sfczr = "1"; | 724 | this.ruleForm.qlrData[0].sfczr = "1"; |
725 | } else { | 725 | } else { |
726 | if (this.ruleForm.qlrList.length <= 1) { | ||
727 | this.$message({ | ||
728 | showClose: true, | ||
729 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
730 | type: "error", | ||
731 | }); | ||
732 | return false; | ||
733 | } | ||
726 | //是否分别持证 | 734 | //是否分别持证 |
727 | if (this.ruleForm.sldy.sqfbcz == "1") { | 735 | if (this.ruleForm.sldy.sqfbcz == "1") { |
728 | //是 | 736 | //是 | ... | ... |
... | @@ -787,6 +787,14 @@ export default { | ... | @@ -787,6 +787,14 @@ export default { |
787 | } | 787 | } |
788 | this.ruleForm.qlrData[0].sfczr = "1"; | 788 | this.ruleForm.qlrData[0].sfczr = "1"; |
789 | } else { | 789 | } else { |
790 | if (this.ruleForm.qlrList.length <= 1) { | ||
791 | this.$message({ | ||
792 | showClose: true, | ||
793 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
794 | type: "error", | ||
795 | }); | ||
796 | return false; | ||
797 | } | ||
790 | //是否分别持证 | 798 | //是否分别持证 |
791 | if (this.ruleForm.sldy.sqfbcz == "1") { | 799 | if (this.ruleForm.sldy.sqfbcz == "1") { |
792 | //是 | 800 | //是 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 房屋多幢受理信息 | 2 | * @Description: 房屋多幢受理信息 |
3 | * @Autor: ssq | 3 | * @Autor: ssq |
4 | * @LastEditTime: 2023-08-02 08:40:35 | 4 | * @LastEditTime: 2023-08-04 15:45:27 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -126,7 +126,6 @@ | ... | @@ -126,7 +126,6 @@ |
126 | </el-form-item> | 126 | </el-form-item> |
127 | </el-col> | 127 | </el-col> |
128 | 128 | ||
129 | |||
130 | <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> | 129 | <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> |
131 | <el-form-item label="是否分别持证:"> | 130 | <el-form-item label="是否分别持证:"> |
132 | <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation"> | 131 | <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation"> |
... | @@ -205,7 +204,7 @@ | ... | @@ -205,7 +204,7 @@ |
205 | } | 204 | } |
206 | }); | 205 | }); |
207 | }, | 206 | }, |
208 | components: { qlrCommonTable, tdytTable ,fdcqxmTable}, | 207 | components: { qlrCommonTable, tdytTable, fdcqxmTable }, |
209 | computed: { | 208 | computed: { |
210 | ...mapGetters(["dictData", "flag"]), | 209 | ...mapGetters(["dictData", "flag"]), |
211 | }, | 210 | }, |
... | @@ -283,6 +282,15 @@ | ... | @@ -283,6 +282,15 @@ |
283 | * @author: renchao | 282 | * @author: renchao |
284 | */ | 283 | */ |
285 | onSubmit () { | 284 | onSubmit () { |
285 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
286 | if (arr.length > 0) { | ||
287 | this.$message({ | ||
288 | showClose: true, | ||
289 | message: "土地用途不能为空", | ||
290 | type: "error", | ||
291 | }); | ||
292 | return false; | ||
293 | } | ||
286 | saveData(this.ruleForm).then((res) => { | 294 | saveData(this.ruleForm).then((res) => { |
287 | if (res.code === 200) { | 295 | if (res.code === 200) { |
288 | this.$message({ | 296 | this.$message({ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-02 08:46:35 | 4 | * @LastEditTime: 2023-08-04 15:45:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -392,6 +392,15 @@ | ... | @@ -392,6 +392,15 @@ |
392 | * @author: renchao | 392 | * @author: renchao |
393 | */ | 393 | */ |
394 | onSubmit () { | 394 | onSubmit () { |
395 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
396 | if (arr.length > 0) { | ||
397 | this.$message({ | ||
398 | showClose: true, | ||
399 | message: "土地用途不能为空", | ||
400 | type: "error", | ||
401 | }); | ||
402 | return false; | ||
403 | } | ||
395 | saveData(this.ruleForm).then((res) => { | 404 | saveData(this.ruleForm).then((res) => { |
396 | if (res.code === 200) { | 405 | if (res.code === 200) { |
397 | this.$message({ | 406 | this.$message({ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-01 18:14:28 | 4 | * @LastEditTime: 2023-08-04 15:45:47 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -293,6 +293,15 @@ | ... | @@ -293,6 +293,15 @@ |
293 | * @author: renchao | 293 | * @author: renchao |
294 | */ | 294 | */ |
295 | onSubmit () { | 295 | onSubmit () { |
296 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
297 | if (arr.length > 0) { | ||
298 | this.$message({ | ||
299 | showClose: true, | ||
300 | message: "土地用途不能为空", | ||
301 | type: "error", | ||
302 | }); | ||
303 | return false; | ||
304 | } | ||
296 | fristReg(this.ruleForm).then((res) => { | 305 | fristReg(this.ruleForm).then((res) => { |
297 | if (res.code === 200 && res.result) { | 306 | if (res.code === 200 && res.result) { |
298 | console.log(res); | 307 | console.log(res); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:56:39 | 4 | * @LastEditTime: 2023-08-04 15:54:00 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -276,7 +276,6 @@ | ... | @@ -276,7 +276,6 @@ |
276 | } | 276 | } |
277 | }, | 277 | }, |
278 | methods: { | 278 | methods: { |
279 | // 更新土地用途信息 | ||
280 | /** | 279 | /** |
281 | * @description: 更新土地用途信息 | 280 | * @description: 更新土地用途信息 |
282 | * @param {*} val | 281 | * @param {*} val |
... | @@ -313,6 +312,15 @@ | ... | @@ -313,6 +312,15 @@ |
313 | */ | 312 | */ |
314 | onSubmit () { | 313 | onSubmit () { |
315 | let that = this | 314 | let that = this |
315 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
316 | if (arr.length > 0) { | ||
317 | this.$message({ | ||
318 | showClose: true, | ||
319 | message: "土地用途不能为空", | ||
320 | type: "error", | ||
321 | }); | ||
322 | return false; | ||
323 | } | ||
316 | if (this.ruleForm.qlrList.length == 0) { | 324 | if (this.ruleForm.qlrList.length == 0) { |
317 | this.$message({ | 325 | this.$message({ |
318 | showClose: true, | 326 | showClose: true, |
... | @@ -332,6 +340,14 @@ | ... | @@ -332,6 +340,14 @@ |
332 | } | 340 | } |
333 | this.ruleForm.qlrList[0].sfczr = "1"; | 341 | this.ruleForm.qlrList[0].sfczr = "1"; |
334 | } else { | 342 | } else { |
343 | if (this.ruleForm.qlrList.length <= 1) { | ||
344 | this.$message({ | ||
345 | showClose: true, | ||
346 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
347 | type: "error", | ||
348 | }); | ||
349 | return false; | ||
350 | } | ||
335 | //是否分别持证 | 351 | //是否分别持证 |
336 | if (this.ruleForm.sldy.sqfbcz == "1") { | 352 | if (this.ruleForm.sldy.sqfbcz == "1") { |
337 | //是 | 353 | //是 | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | <!-- | 2 | <!-- |
3 | * @Description: | 3 | * @Description: |
4 | * @Autor: renchao | 4 | * @Autor: renchao |
5 | * @LastEditTime: 2023-08-02 08:45:44 | 5 | * @LastEditTime: 2023-08-04 15:46:02 |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
8 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
... | @@ -280,6 +280,15 @@ | ... | @@ -280,6 +280,15 @@ |
280 | * @author: renchao | 280 | * @author: renchao |
281 | */ | 281 | */ |
282 | onSubmit () { | 282 | onSubmit () { |
283 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
284 | if (arr.length > 0) { | ||
285 | this.$message({ | ||
286 | showClose: true, | ||
287 | message: "土地用途不能为空", | ||
288 | type: "error", | ||
289 | }); | ||
290 | return false; | ||
291 | } | ||
283 | saveData(this.ruleForm).then((res) => { | 292 | saveData(this.ruleForm).then((res) => { |
284 | if (res.code === 200) { | 293 | if (res.code === 200) { |
285 | this.$message({ | 294 | this.$message({ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 房屋多幢受理信息 | 2 | * @Description: 房屋多幢受理信息 |
3 | * @Autor: ssq | 3 | * @Autor: ssq |
4 | * @LastEditTime: 2023-08-03 14:37:14 | 4 | * @LastEditTime: 2023-08-04 15:46:17 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -11,8 +11,7 @@ | ... | @@ -11,8 +11,7 @@ |
11 | ref="ruleForm" | 11 | ref="ruleForm" |
12 | :label-position="flag ? 'top' : ''" | 12 | :label-position="flag ? 'top' : ''" |
13 | :inline="flag" | 13 | :inline="flag" |
14 | label-width="140px" | 14 | label-width="140px"> |
15 | > | ||
16 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> | 15 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> |
17 | <div class="slxx_title title-block"> | 16 | <div class="slxx_title title-block"> |
18 | 受理信息 | 17 | 受理信息 |
... | @@ -155,8 +154,7 @@ | ... | @@ -155,8 +154,7 @@ |
155 | <tdytTable | 154 | <tdytTable |
156 | :ableOperation="ableOperation" | 155 | :ableOperation="ableOperation" |
157 | :tableData="ruleForm.tdytqxList" | 156 | :tableData="ruleForm.tdytqxList" |
158 | @upDateTdytxxList="upDateTdytxxList" | 157 | @upDateTdytxxList="upDateTdytxxList" /> |
159 | /> | ||
160 | <div class="slxx_title title-block"> | 158 | <div class="slxx_title title-block"> |
161 | 权利人信息 | 159 | 权利人信息 |
162 | <div class="triangle"></div> | 160 | <div class="triangle"></div> |
... | @@ -166,8 +164,7 @@ | ... | @@ -166,8 +164,7 @@ |
166 | <el-form-item label="共有方式:"> | 164 | <el-form-item label="共有方式:"> |
167 | <el-radio-group | 165 | <el-radio-group |
168 | :disabled="!ableOperation" | 166 | :disabled="!ableOperation" |
169 | v-model="ruleForm.sldy.gyfs" | 167 | v-model="ruleForm.sldy.gyfs"> |
170 | > | ||
171 | <el-radio label="0">单独所有</el-radio> | 168 | <el-radio label="0">单独所有</el-radio> |
172 | <el-radio label="1">共同共有</el-radio> | 169 | <el-radio label="1">共同共有</el-radio> |
173 | <el-radio label="2">按份所有</el-radio> | 170 | <el-radio label="2">按份所有</el-radio> |
... | @@ -188,8 +185,7 @@ | ... | @@ -188,8 +185,7 @@ |
188 | <el-form-item label="是否分别持证:"> | 185 | <el-form-item label="是否分别持证:"> |
189 | <el-radio-group | 186 | <el-radio-group |
190 | v-model="ruleForm.sldy.sqfbcz" | 187 | v-model="ruleForm.sldy.sqfbcz" |
191 | :disabled="!ableOperation" | 188 | :disabled="!ableOperation"> |
192 | > | ||
193 | <el-radio label="1">是</el-radio> | 189 | <el-radio label="1">是</el-radio> |
194 | <el-radio label="0">否</el-radio> | 190 | <el-radio label="0">否</el-radio> |
195 | </el-radio-group> | 191 | </el-radio-group> |
... | @@ -200,14 +196,12 @@ | ... | @@ -200,14 +196,12 @@ |
200 | <el-select | 196 | <el-select |
201 | v-model="ruleForm.slsq.czr" | 197 | v-model="ruleForm.slsq.czr" |
202 | placeholder="持证人" | 198 | placeholder="持证人" |
203 | :disabled="!ableOperation" | 199 | :disabled="!ableOperation"> |
204 | > | ||
205 | <el-option | 200 | <el-option |
206 | v-for="item in czrOptions" | 201 | v-for="item in czrOptions" |
207 | :key="item.value" | 202 | :key="item.value" |
208 | :label="item.label" | 203 | :label="item.label" |
209 | :value="item.value" | 204 | :value="item.value"> |
210 | > | ||
211 | </el-option> | 205 | </el-option> |
212 | </el-select> | 206 | </el-select> |
213 | </el-form-item> | 207 | </el-form-item> |
... | @@ -217,8 +211,7 @@ | ... | @@ -217,8 +211,7 @@ |
217 | @upDateQlrxxList="upDateQlrxxList" | 211 | @upDateQlrxxList="upDateQlrxxList" |
218 | :tableData="ruleForm.qlrList" | 212 | :tableData="ruleForm.qlrList" |
219 | :disabled="!ableOperation" | 213 | :disabled="!ableOperation" |
220 | :gyfs="ruleForm.slsq.gyfs" | 214 | :gyfs="ruleForm.slsq.gyfs" /> |
221 | /> | ||
222 | 215 | ||
223 | <div v-if="ruleForm.ywrList && ruleForm.slsq.djlx == '200'"> | 216 | <div v-if="ruleForm.ywrList && ruleForm.slsq.djlx == '200'"> |
224 | <div class="slxx_title title-block"> | 217 | <div class="slxx_title title-block"> |
... | @@ -229,8 +222,7 @@ | ... | @@ -229,8 +222,7 @@ |
229 | v-if="ruleForm.qlxx" | 222 | v-if="ruleForm.qlxx" |
230 | @upDateQlrxxList="upDateYwrxxList" | 223 | @upDateQlrxxList="upDateYwrxxList" |
231 | :tableData="ruleForm.ywrList" | 224 | :tableData="ruleForm.ywrList" |
232 | :gyfs="ruleForm.qlxx.gyfs" | 225 | :gyfs="ruleForm.qlxx.gyfs" /> |
233 | /> | ||
234 | </div> | 226 | </div> |
235 | <div class="slxx_title title-block"> | 227 | <div class="slxx_title title-block"> |
236 | 登记原因 | 228 | 登记原因 |
... | @@ -243,8 +235,7 @@ | ... | @@ -243,8 +235,7 @@ |
243 | class="textArea" | 235 | class="textArea" |
244 | type="textarea" | 236 | type="textarea" |
245 | :disabled="!ableOperation" | 237 | :disabled="!ableOperation" |
246 | v-model="ruleForm.lq.djyy" | 238 | v-model="ruleForm.lq.djyy"> |
247 | > | ||
248 | </el-input> | 239 | </el-input> |
249 | </el-form-item> | 240 | </el-form-item> |
250 | </el-col> | 241 | </el-col> |
... | @@ -259,14 +250,14 @@ | ... | @@ -259,14 +250,14 @@ |
259 | </div> | 250 | </div> |
260 | </template> | 251 | </template> |
261 | <script> | 252 | <script> |
262 | import ywmix from "@/views/ywbl/mixin/index"; | 253 | import ywmix from "@/views/ywbl/mixin/index"; |
263 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 254 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
264 | import tdytTable from "@/views/workflow/components/tdytTable"; | 255 | import tdytTable from "@/views/workflow/components/tdytTable"; |
265 | import { Init, saveData } from "@/api/workflow/lqFlow.js"; | 256 | import { Init, saveData } from "@/api/workflow/lqFlow.js"; |
266 | import { mapGetters } from "vuex"; | 257 | import { mapGetters } from "vuex"; |
267 | export default { | 258 | export default { |
268 | mixins: [ywmix], | 259 | mixins: [ywmix], |
269 | mounted() { | 260 | mounted () { |
270 | this.ableOperation = this.$parent.currentSelectTab.ableOperation; | 261 | this.ableOperation = this.$parent.currentSelectTab.ableOperation; |
271 | this.propsParam = this.$attrs; | 262 | this.propsParam = this.$attrs; |
272 | var formdata = new FormData(); | 263 | var formdata = new FormData(); |
... | @@ -290,7 +281,7 @@ export default { | ... | @@ -290,7 +281,7 @@ export default { |
290 | computed: { | 281 | computed: { |
291 | ...mapGetters(["dictData", "flag"]), | 282 | ...mapGetters(["dictData", "flag"]), |
292 | }, | 283 | }, |
293 | data() { | 284 | data () { |
294 | return { | 285 | return { |
295 | disabled: true, | 286 | disabled: true, |
296 | tdytOption: [], | 287 | tdytOption: [], |
... | @@ -328,7 +319,7 @@ export default { | ... | @@ -328,7 +319,7 @@ export default { |
328 | * @param {*} val | 319 | * @param {*} val |
329 | * @author: renchao | 320 | * @author: renchao |
330 | */ | 321 | */ |
331 | upDateTdytxxList(val) { | 322 | upDateTdytxxList (val) { |
332 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 323 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
333 | this.key++; | 324 | this.key++; |
334 | }, | 325 | }, |
... | @@ -338,7 +329,7 @@ export default { | ... | @@ -338,7 +329,7 @@ export default { |
338 | * @param {*} val | 329 | * @param {*} val |
339 | * @author: renchao | 330 | * @author: renchao |
340 | */ | 331 | */ |
341 | upDateQlrxxList(val) { | 332 | upDateQlrxxList (val) { |
342 | this.ruleForm.qlrList = _.cloneDeep(val); | 333 | this.ruleForm.qlrList = _.cloneDeep(val); |
343 | }, | 334 | }, |
344 | // 更新权利人信息 | 335 | // 更新权利人信息 |
... | @@ -347,14 +338,23 @@ export default { | ... | @@ -347,14 +338,23 @@ export default { |
347 | * @param {*} val | 338 | * @param {*} val |
348 | * @author: renchao | 339 | * @author: renchao |
349 | */ | 340 | */ |
350 | upDateYwrxxList(val) { | 341 | upDateYwrxxList (val) { |
351 | this.ruleForm.ywrList = _.cloneDeep(val); | 342 | this.ruleForm.ywrList = _.cloneDeep(val); |
352 | }, | 343 | }, |
353 | /** | 344 | /** |
354 | * @description: onSubmit | 345 | * @description: onSubmit |
355 | * @author: renchao | 346 | * @author: renchao |
356 | */ | 347 | */ |
357 | onSubmit() { | 348 | onSubmit () { |
349 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
350 | if (arr.length > 0) { | ||
351 | this.$message({ | ||
352 | showClose: true, | ||
353 | message: "土地用途不能为空", | ||
354 | type: "error", | ||
355 | }); | ||
356 | return false; | ||
357 | } | ||
358 | saveData(this.ruleForm).then((res) => { | 358 | saveData(this.ruleForm).then((res) => { |
359 | if (res.code === 200) { | 359 | if (res.code === 200) { |
360 | this.$message({ | 360 | this.$message({ |
... | @@ -373,55 +373,55 @@ export default { | ... | @@ -373,55 +373,55 @@ export default { |
373 | }); | 373 | }); |
374 | }, | 374 | }, |
375 | }, | 375 | }, |
376 | }; | 376 | }; |
377 | </script> | 377 | </script> |
378 | <style scoped lang="scss"> | 378 | <style scoped lang="scss"> |
379 | @import "~@/styles/public.scss"; | 379 | @import "~@/styles/public.scss"; |
380 | 380 | ||
381 | /deep/.el-form { | 381 | /deep/.el-form { |
382 | display: flex; | 382 | display: flex; |
383 | flex-direction: column; | 383 | flex-direction: column; |
384 | height: calc(100vh - 130px); | 384 | height: calc(100vh - 130px); |
385 | } | 385 | } |
386 | 386 | ||
387 | /deep/.el-form-item__label { | 387 | /deep/.el-form-item__label { |
388 | padding: 0; | 388 | padding: 0; |
389 | } | 389 | } |
390 | 390 | ||
391 | /deep/.el-radio { | 391 | /deep/.el-radio { |
392 | margin-right: 10px; | 392 | margin-right: 10px; |
393 | } | 393 | } |
394 | 394 | ||
395 | /deep/.el-select { | 395 | /deep/.el-select { |
396 | width: 100%; | 396 | width: 100%; |
397 | } | 397 | } |
398 | 398 | ||
399 | /deep/.el-form-item { | 399 | /deep/.el-form-item { |
400 | margin-bottom: 8px; | 400 | margin-bottom: 8px; |
401 | } | 401 | } |
402 | 402 | ||
403 | .marginBot0 { | 403 | .marginBot0 { |
404 | margin-bottom: 0 !important; | 404 | margin-bottom: 0 !important; |
405 | } | 405 | } |
406 | 406 | ||
407 | .slxx { | 407 | .slxx { |
408 | box-sizing: border-box; | 408 | box-sizing: border-box; |
409 | } | 409 | } |
410 | 410 | ||
411 | .slxx_con { | 411 | .slxx_con { |
412 | flex: 1; | 412 | flex: 1; |
413 | height: 100%; | 413 | height: 100%; |
414 | background-color: #ffffff; | 414 | background-color: #ffffff; |
415 | overflow-y: auto; | 415 | overflow-y: auto; |
416 | padding-right: 3px; | 416 | padding-right: 3px; |
417 | overflow-x: hidden; | 417 | overflow-x: hidden; |
418 | } | 418 | } |
419 | 419 | ||
420 | .submit_btn { | 420 | .submit_btn { |
421 | height: 50px; | 421 | height: 50px; |
422 | } | 422 | } |
423 | 423 | ||
424 | .slxx_title { | 424 | .slxx_title { |
425 | border-bottom: 1px solid $borderColor; | 425 | border-bottom: 1px solid $borderColor; |
426 | padding-left: 10px; | 426 | padding-left: 10px; |
427 | padding-bottom: 5px; | 427 | padding-bottom: 5px; |
... | @@ -430,23 +430,23 @@ export default { | ... | @@ -430,23 +430,23 @@ export default { |
430 | font-size: 16px; | 430 | font-size: 16px; |
431 | font-weight: 500; | 431 | font-weight: 500; |
432 | color: #4a4a4a; | 432 | color: #4a4a4a; |
433 | } | 433 | } |
434 | 434 | ||
435 | .btn { | 435 | .btn { |
436 | text-align: center; | 436 | text-align: center; |
437 | padding-top: 10px; | 437 | padding-top: 10px; |
438 | height: 36px; | 438 | height: 36px; |
439 | background-color: #ffffff; | 439 | background-color: #ffffff; |
440 | padding: 5px 0; | 440 | padding: 5px 0; |
441 | } | 441 | } |
442 | 442 | ||
443 | .textArea { | 443 | .textArea { |
444 | /deep/.el-textarea__inner { | 444 | /deep/.el-textarea__inner { |
445 | min-height: 90px !important; | 445 | min-height: 90px !important; |
446 | } | 446 | } |
447 | } | 447 | } |
448 | 448 | ||
449 | /deep/.el-form-item__label { | 449 | /deep/.el-form-item__label { |
450 | padding-bottom: 0px; | 450 | padding-bottom: 0px; |
451 | } | 451 | } |
452 | </style> | 452 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 10:59:55 | 4 | * @LastEditTime: 2023-08-04 15:51:27 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -430,6 +430,16 @@ | ... | @@ -430,6 +430,16 @@ |
430 | * @author: renchao | 430 | * @author: renchao |
431 | */ | 431 | */ |
432 | onSubmit () { | 432 | onSubmit () { |
433 | let that = this | ||
434 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
435 | if (arr.length > 0) { | ||
436 | this.$message({ | ||
437 | showClose: true, | ||
438 | message: "土地用途不能为空", | ||
439 | type: "error", | ||
440 | }); | ||
441 | return false; | ||
442 | } | ||
433 | if (this.ruleForm.qlrList.length == 0) { | 443 | if (this.ruleForm.qlrList.length == 0) { |
434 | this.$message({ | 444 | this.$message({ |
435 | showClose: true, | 445 | showClose: true, |
... | @@ -450,6 +460,14 @@ | ... | @@ -450,6 +460,14 @@ |
450 | } | 460 | } |
451 | this.ruleForm.qlrList[0].sfczr = "1"; | 461 | this.ruleForm.qlrList[0].sfczr = "1"; |
452 | } else { | 462 | } else { |
463 | if (this.ruleForm.qlrList.length <= 1) { | ||
464 | this.$message({ | ||
465 | showClose: true, | ||
466 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", | ||
467 | type: "error", | ||
468 | }); | ||
469 | return false; | ||
470 | } | ||
453 | //是否分别持证 | 471 | //是否分别持证 |
454 | if (this.ruleForm.sldy.sqfbcz == "1") { | 472 | if (this.ruleForm.sldy.sqfbcz == "1") { |
455 | //是 | 473 | //是 | ... | ... |
-
Please register or sign in to post a comment