--no commit message
Showing
15 changed files
with
436 additions
and
285 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"> |
... | @@ -90,85 +90,84 @@ | ... | @@ -90,85 +90,84 @@ |
90 | 房屋多幢明细 | 90 | 房屋多幢明细 |
91 | <div class="triangle"></div> | 91 | <div class="triangle"></div> |
92 | <fdcqxmTable | 92 | <fdcqxmTable |
93 | :ableOperation="ableOperation" | 93 | :ableOperation="ableOperation" |
94 | :tableData="ruleForm.fdcqxm" | 94 | :tableData="ruleForm.fdcqxm" |
95 | @upDateTdytxxList="upDateTdytxxList" /> | 95 | @upDateTdytxxList="upDateTdytxxList" /> |
96 | <div class="slxx_title title-block"> | 96 | <div class="slxx_title title-block"> |
97 | 土地用途 | 97 | 土地用途 |
98 | <div class="triangle"></div> | 98 | <div class="triangle"></div> |
99 | </div> | 99 | </div> |
100 | <tdytTable | 100 | <tdytTable |
101 | :ableOperation="ableOperation" | 101 | :ableOperation="ableOperation" |
102 | :tableData="ruleForm.tdytqxList" | 102 | :tableData="ruleForm.tdytqxList" |
103 | @upDateTdytxxList="upDateTdytxxList" /> | 103 | @upDateTdytxxList="upDateTdytxxList" /> |
104 | <div class="slxx_title title-block"> | 104 | <div class="slxx_title title-block"> |
105 | 权利人信息 | 105 | 权利人信息 |
106 | <div class="triangle"></div> | 106 | <div class="triangle"></div> |
107 | </div> | 107 | </div> |
108 | <el-row :gutter="10"> | 108 | <el-row :gutter="10"> |
109 | <el-col :span="14" v-if="ruleForm.qlxx"> | 109 | <el-col :span="14" v-if="ruleForm.qlxx"> |
110 | <el-form-item label="共有方式:"> | 110 | <el-form-item label="共有方式:"> |
111 | <el-radio-group :disabled="!ableOperation" @change="showCZInfo" | 111 | <el-radio-group :disabled="!ableOperation" @change="showCZInfo" |
112 | v-model="ruleForm.sldy.gyfs"> | 112 | v-model="ruleForm.sldy.gyfs"> |
113 | <el-radio label="0">单独所有</el-radio> | 113 | <el-radio label="0">单独所有</el-radio> |
114 | <el-radio label="1">共同共有</el-radio> | 114 | <el-radio label="1">共同共有</el-radio> |
115 | <el-radio label="2">按份所有</el-radio> | 115 | <el-radio label="2">按份所有</el-radio> |
116 | <el-radio label="3">其它共有</el-radio> | 116 | <el-radio label="3">其它共有</el-radio> |
117 | </el-radio-group> | 117 | </el-radio-group> |
118 | </el-form-item> | 118 | </el-form-item> |
119 | </el-col> | 119 | </el-col> |
120 | <el-col :span="5"> | 120 | <el-col :span="5"> |
121 | <el-form-item label="发证方式:"> | 121 | <el-form-item label="发证方式:"> |
122 | <el-radio-group v-model="ruleForm.slsq.fzfs" :disabled="!ableOperation"> | 122 | <el-radio-group v-model="ruleForm.slsq.fzfs" :disabled="!ableOperation"> |
123 | <el-radio label="1">小证</el-radio> | 123 | <el-radio label="1">小证</el-radio> |
124 | <el-radio label="2">大证</el-radio> | 124 | <el-radio label="2">大证</el-radio> |
125 | </el-radio-group> | 125 | </el-radio-group> |
126 | </el-form-item> | 126 | </el-form-item> |
127 | </el-col> | 127 | </el-col> |
128 | |||
129 | 128 | ||
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"> |
133 | <el-radio label="1">是</el-radio> | 132 | <el-radio label="1">是</el-radio> |
134 | <el-radio label="0">否</el-radio> | 133 | <el-radio label="0">否</el-radio> |
135 | </el-radio-group> | 134 | </el-radio-group> |
136 | </el-form-item> | 135 | </el-form-item> |
137 | </el-col> | 136 | </el-col> |
138 | <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> | 137 | <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> |
139 | <el-form-item label="持证人:"> | 138 | <el-form-item label="持证人:"> |
140 | <el-select v-model="ruleForm.slsq.czr" placeholder="持证人" :disabled="!ableOperation"> | 139 | <el-select v-model="ruleForm.slsq.czr" placeholder="持证人" :disabled="!ableOperation"> |
141 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> | 140 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> |
142 | </el-option> | 141 | </el-option> |
143 | </el-select> | 142 | </el-select> |
144 | </el-form-item> | 143 | </el-form-item> |
145 | </el-col> | 144 | </el-col> |
146 | </el-row> | 145 | </el-row> |
147 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation" | 146 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation" |
148 | :gyfs="ruleForm.slsq.gyfs" /> | 147 | :gyfs="ruleForm.slsq.gyfs" /> |
149 | 148 | ||
150 | <div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"> | 149 | <div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"> |
150 | <div class="slxx_title title-block"> | ||
151 | 义务人信息 | ||
152 | <div class="triangle"></div> | ||
153 | </div> | ||
154 | <qlrCommonTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" | ||
155 | :gyfs="ruleForm.qlxx.gyfs" /> | ||
156 | </div> | ||
151 | <div class="slxx_title title-block"> | 157 | <div class="slxx_title title-block"> |
152 | 义务人信息 | 158 | 登记原因 |
153 | <div class="triangle"></div> | 159 | <div class="triangle"></div> |
154 | </div> | 160 | </div> |
155 | <qlrCommonTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" | 161 | <el-row :gutter="10"> |
156 | :gyfs="ruleForm.qlxx.gyfs" /> | 162 | <el-col> |
157 | </div> | 163 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> |
158 | <div class="slxx_title title-block"> | 164 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" |
159 | 登记原因 | 165 | v-model="ruleForm.fdcq1.djyy"> |
160 | <div class="triangle"></div> | 166 | </el-input> |
167 | </el-form-item> | ||
168 | </el-col> | ||
169 | </el-row> | ||
161 | </div> | 170 | </div> |
162 | <el-row :gutter="10"> | ||
163 | <el-col> | ||
164 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> | ||
165 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | ||
166 | v-model="ruleForm.fdcq1.djyy"> | ||
167 | </el-input> | ||
168 | </el-form-item> | ||
169 | </el-col> | ||
170 | </el-row> | ||
171 | </div> | ||
172 | </div> | 171 | </div> |
173 | <el-row class="btn" v-if="ableOperation"> | 172 | <el-row class="btn" v-if="ableOperation"> |
174 | <el-form-item> | 173 | <el-form-item> |
... | @@ -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 | 受理信息 |
... | @@ -71,80 +70,80 @@ | ... | @@ -71,80 +70,80 @@ |
71 | <el-row :gutter="10"> | 70 | <el-row :gutter="10"> |
72 | <el-col :span="8"> | 71 | <el-col :span="8"> |
73 | <el-form-item label="发包方:"> | 72 | <el-form-item label="发包方:"> |
74 | <el-input v-model="ruleForm.lq.fbf"></el-input> | 73 | <el-input v-model="ruleForm.lq.fbf"></el-input> |
75 | </el-form-item> | 74 | </el-form-item> |
76 | </el-col> | 75 | </el-col> |
77 | <el-col :span="8"> | 76 | <el-col :span="8"> |
78 | <el-form-item label="发包方代码:"> | 77 | <el-form-item label="发包方代码:"> |
79 | <el-input v-model="ruleForm.lq.fbfdm"></el-input> | 78 | <el-input v-model="ruleForm.lq.fbfdm"></el-input> |
80 | </el-form-item> | 79 | </el-form-item> |
81 | </el-col> | 80 | </el-col> |
82 | <el-col :span="8"> | 81 | <el-col :span="8"> |
83 | <el-form-item label="使用权(承包)面积:"> | 82 | <el-form-item label="使用权(承包)面积:"> |
84 | <el-input v-model="ruleForm.lq.syqmj"></el-input> | 83 | <el-input v-model="ruleForm.lq.syqmj"></el-input> |
85 | </el-form-item> | 84 | </el-form-item> |
86 | </el-col> | 85 | </el-col> |
87 | </el-row> | 86 | </el-row> |
88 | <el-row :gutter="10"> | 87 | <el-row :gutter="10"> |
89 | <el-col :span="8"> | 88 | <el-col :span="8"> |
90 | <el-form-item label="林地所有权性质:"> | 89 | <el-form-item label="林地所有权性质:"> |
91 | <el-input v-model="ruleForm.lq.ldsyqxz"></el-input> | 90 | <el-input v-model="ruleForm.lq.ldsyqxz"></el-input> |
92 | </el-form-item> | 91 | </el-form-item> |
93 | </el-col> | 92 | </el-col> |
94 | <el-col :span="8"> | 93 | <el-col :span="8"> |
95 | <el-form-item label="森林类别:"> | 94 | <el-form-item label="森林类别:"> |
96 | <el-input v-model="ruleForm.lq.sllb"></el-input> | 95 | <el-input v-model="ruleForm.lq.sllb"></el-input> |
97 | </el-form-item> | 96 | </el-form-item> |
98 | </el-col> | 97 | </el-col> |
99 | <el-col :span="8"> | 98 | <el-col :span="8"> |
100 | <el-form-item label="主要树种:"> | 99 | <el-form-item label="主要树种:"> |
101 | <el-input v-model="ruleForm.lq.zysz"></el-input> | 100 | <el-input v-model="ruleForm.lq.zysz"></el-input> |
102 | </el-form-item> | 101 | </el-form-item> |
103 | </el-col> | 102 | </el-col> |
104 | </el-row> | 103 | </el-row> |
105 | <el-row :gutter="10"> | 104 | <el-row :gutter="10"> |
106 | <el-col :span="8"> | 105 | <el-col :span="8"> |
107 | <el-form-item label="株数:"> | 106 | <el-form-item label="株数:"> |
108 | <el-input v-model="ruleForm.lq.zs"></el-input> | 107 | <el-input v-model="ruleForm.lq.zs"></el-input> |
109 | </el-form-item> | 108 | </el-form-item> |
110 | </el-col> | 109 | </el-col> |
111 | <el-col :span="8"> | 110 | <el-col :span="8"> |
112 | <el-form-item label="林种:"> | 111 | <el-form-item label="林种:"> |
113 | <el-input v-model="ruleForm.lq.lz"></el-input> | 112 | <el-input v-model="ruleForm.lq.lz"></el-input> |
114 | </el-form-item> | 113 | </el-form-item> |
115 | </el-col> | 114 | </el-col> |
116 | <el-col :span="8"> | 115 | <el-col :span="8"> |
117 | <el-form-item label="起源:"> | 116 | <el-form-item label="起源:"> |
118 | <el-input v-model="ruleForm.lq.qy"></el-input> | 117 | <el-input v-model="ruleForm.lq.qy"></el-input> |
119 | </el-form-item> | 118 | </el-form-item> |
120 | </el-col> | 119 | </el-col> |
121 | </el-row> | 120 | </el-row> |
122 | <el-row :gutter="10"> | 121 | <el-row :gutter="10"> |
123 | <el-col :span="8"> | 122 | <el-col :span="8"> |
124 | <el-form-item label="造林年度:"> | 123 | <el-form-item label="造林年度:"> |
125 | <el-input v-model="ruleForm.lq.zlnd"></el-input> | 124 | <el-input v-model="ruleForm.lq.zlnd"></el-input> |
126 | </el-form-item> | 125 | </el-form-item> |
127 | </el-col> | 126 | </el-col> |
128 | <el-col :span="8"> | 127 | <el-col :span="8"> |
129 | <el-form-item label="林班:"> | 128 | <el-form-item label="林班:"> |
130 | <el-input v-model="ruleForm.lq.lb"></el-input> | 129 | <el-input v-model="ruleForm.lq.lb"></el-input> |
131 | </el-form-item> | 130 | </el-form-item> |
132 | </el-col> | 131 | </el-col> |
133 | <el-col :span="8"> | 132 | <el-col :span="8"> |
134 | <el-form-item label="小班:"> | 133 | <el-form-item label="小班:"> |
135 | <el-input v-model="ruleForm.lq.xb"></el-input> | 134 | <el-input v-model="ruleForm.lq.xb"></el-input> |
136 | </el-form-item> | 135 | </el-form-item> |
137 | </el-col> | 136 | </el-col> |
138 | </el-row> | 137 | </el-row> |
139 | <el-row :gutter="10"> | 138 | <el-row :gutter="10"> |
140 | <el-col :span="8"> | 139 | <el-col :span="8"> |
141 | <el-form-item label="小地名:"> | 140 | <el-form-item label="小地名:"> |
142 | <el-input v-model="ruleForm.lq.xdm"></el-input> | 141 | <el-input v-model="ruleForm.lq.xdm"></el-input> |
143 | </el-form-item> | 142 | </el-form-item> |
144 | </el-col> | 143 | </el-col> |
145 | <el-col :span="8"> | 144 | <el-col :span="8"> |
146 | <el-form-item label="附记:"> | 145 | <el-form-item label="附记:"> |
147 | <el-input v-model="ruleForm.lq.fj"></el-input> | 146 | <el-input v-model="ruleForm.lq.fj"></el-input> |
148 | </el-form-item> | 147 | </el-form-item> |
149 | </el-col> | 148 | </el-col> |
150 | </el-row> | 149 | </el-row> |
... | @@ -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,194 +250,203 @@ | ... | @@ -259,194 +250,203 @@ |
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(); |
273 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 264 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
274 | formdata.append("djlx", this.propsParam.djlx); | 265 | formdata.append("djlx", this.propsParam.djlx); |
275 | formdata.append("isEdit", this.ableOperation); | 266 | formdata.append("isEdit", this.ableOperation); |
276 | Init(formdata).then((res) => { | 267 | Init(formdata).then((res) => { |
277 | if (res.code === 200 && res.result) { | 268 | if (res.code === 200 && res.result) { |
278 | this.ruleForm = { | 269 | this.ruleForm = { |
279 | ...res.result, | 270 | ...res.result, |
280 | ...res.result.qlxxdatas, | 271 | ...res.result.qlxxdatas, |
281 | }; | 272 | }; |
282 | //初始化发证方式,1:小证,2:大正 | 273 | //初始化发证方式,1:小证,2:大正 |
283 | this.ruleForm.slsq.fzfs == null | 274 | this.ruleForm.slsq.fzfs == null |
284 | ? (this.ruleForm.slsq.fzfs = "1") | 275 | ? (this.ruleForm.slsq.fzfs = "1") |
285 | : this.ruleForm.slsq.fzfs; | 276 | : this.ruleForm.slsq.fzfs; |
286 | } | 277 | } |
287 | }); | 278 | }); |
288 | }, | ||
289 | components: { qlrCommonTable, tdytTable }, | ||
290 | computed: { | ||
291 | ...mapGetters(["dictData", "flag"]), | ||
292 | }, | ||
293 | data() { | ||
294 | return { | ||
295 | disabled: true, | ||
296 | tdytOption: [], | ||
297 | czrOptions: [], | ||
298 | ruleForm: { | ||
299 | flow: { | ||
300 | ywh: "", | ||
301 | }, | ||
302 | qlxx: { | ||
303 | mj: "", | ||
304 | }, | ||
305 | sldy: { | ||
306 | gyfs: "", | ||
307 | }, | ||
308 | slsq: {}, | ||
309 | fdcq2: { | ||
310 | zyjzmj: "", | ||
311 | ftjzmj: "", | ||
312 | }, | ||
313 | zdjbxx: { | ||
314 | ghytmc: "", | ||
315 | }, | ||
316 | }, | ||
317 | //传递参数 | ||
318 | propsParam: this.$attrs, | ||
319 | //表单是否可操作 | ||
320 | ableOperation: true, | ||
321 | rules: {}, | ||
322 | }; | ||
323 | }, | ||
324 | methods: { | ||
325 | // 更新土地用途信息 | ||
326 | /** | ||
327 | * @description: 更新土地用途信息 | ||
328 | * @param {*} val | ||
329 | * @author: renchao | ||
330 | */ | ||
331 | upDateTdytxxList(val) { | ||
332 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
333 | this.key++; | ||
334 | }, | 279 | }, |
335 | // 更新权利人信息 | 280 | components: { qlrCommonTable, tdytTable }, |
336 | /** | 281 | computed: { |
337 | * @description: 更新权利人信息 | 282 | ...mapGetters(["dictData", "flag"]), |
338 | * @param {*} val | ||
339 | * @author: renchao | ||
340 | */ | ||
341 | upDateQlrxxList(val) { | ||
342 | this.ruleForm.qlrList = _.cloneDeep(val); | ||
343 | }, | 283 | }, |
344 | // 更新权利人信息 | 284 | data () { |
345 | /** | 285 | return { |
346 | * @description: 更新权利人信息 | 286 | disabled: true, |
347 | * @param {*} val | 287 | tdytOption: [], |
348 | * @author: renchao | 288 | czrOptions: [], |
349 | */ | 289 | ruleForm: { |
350 | upDateYwrxxList(val) { | 290 | flow: { |
351 | this.ruleForm.ywrList = _.cloneDeep(val); | 291 | ywh: "", |
292 | }, | ||
293 | qlxx: { | ||
294 | mj: "", | ||
295 | }, | ||
296 | sldy: { | ||
297 | gyfs: "", | ||
298 | }, | ||
299 | slsq: {}, | ||
300 | fdcq2: { | ||
301 | zyjzmj: "", | ||
302 | ftjzmj: "", | ||
303 | }, | ||
304 | zdjbxx: { | ||
305 | ghytmc: "", | ||
306 | }, | ||
307 | }, | ||
308 | //传递参数 | ||
309 | propsParam: this.$attrs, | ||
310 | //表单是否可操作 | ||
311 | ableOperation: true, | ||
312 | rules: {}, | ||
313 | }; | ||
352 | }, | 314 | }, |
353 | /** | 315 | methods: { |
354 | * @description: onSubmit | 316 | // 更新土地用途信息 |
355 | * @author: renchao | 317 | /** |
356 | */ | 318 | * @description: 更新土地用途信息 |
357 | onSubmit() { | 319 | * @param {*} val |
358 | saveData(this.ruleForm).then((res) => { | 320 | * @author: renchao |
359 | if (res.code === 200) { | 321 | */ |
360 | this.$message({ | 322 | upDateTdytxxList (val) { |
361 | showClose: true, | 323 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
362 | message: "保存成功!", | 324 | this.key++; |
363 | type: "success", | 325 | }, |
364 | }); | 326 | // 更新权利人信息 |
365 | this.$store.dispatch("user/refreshPage", true); | 327 | /** |
366 | } else { | 328 | * @description: 更新权利人信息 |
329 | * @param {*} val | ||
330 | * @author: renchao | ||
331 | */ | ||
332 | upDateQlrxxList (val) { | ||
333 | this.ruleForm.qlrList = _.cloneDeep(val); | ||
334 | }, | ||
335 | // 更新权利人信息 | ||
336 | /** | ||
337 | * @description: 更新权利人信息 | ||
338 | * @param {*} val | ||
339 | * @author: renchao | ||
340 | */ | ||
341 | upDateYwrxxList (val) { | ||
342 | this.ruleForm.ywrList = _.cloneDeep(val); | ||
343 | }, | ||
344 | /** | ||
345 | * @description: onSubmit | ||
346 | * @author: renchao | ||
347 | */ | ||
348 | onSubmit () { | ||
349 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
350 | if (arr.length > 0) { | ||
367 | this.$message({ | 351 | this.$message({ |
368 | showClose: true, | 352 | showClose: true, |
369 | message: res.message, | 353 | message: "土地用途不能为空", |
370 | type: "error", | 354 | type: "error", |
371 | }); | 355 | }); |
356 | return false; | ||
372 | } | 357 | } |
373 | }); | 358 | saveData(this.ruleForm).then((res) => { |
359 | if (res.code === 200) { | ||
360 | this.$message({ | ||
361 | showClose: true, | ||
362 | message: "保存成功!", | ||
363 | type: "success", | ||
364 | }); | ||
365 | this.$store.dispatch("user/refreshPage", true); | ||
366 | } else { | ||
367 | this.$message({ | ||
368 | showClose: true, | ||
369 | message: res.message, | ||
370 | type: "error", | ||
371 | }); | ||
372 | } | ||
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; |
428 | margin-bottom: 10px; | 428 | margin-bottom: 10px; |
429 | margin-top: 5px; | 429 | margin-top: 5px; |
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