style:土地用途
Showing
9 changed files
with
146 additions
and
76 deletions
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:44:40 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -573,6 +573,15 @@ | ... | @@ -573,6 +573,15 @@ |
573 | onSubmit () { | 573 | onSubmit () { |
574 | this.$refs.ruleForm.validate((valid) => { | 574 | this.$refs.ruleForm.validate((valid) => { |
575 | if (valid) { | 575 | if (valid) { |
576 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
577 | if (arr.length > 0) { | ||
578 | this.$message({ | ||
579 | showClose: true, | ||
580 | message: "土地用途不能为空", | ||
581 | type: "error", | ||
582 | }); | ||
583 | return false; | ||
584 | } | ||
576 | if (this.ruleForm.qlrData.length == 0) { | 585 | if (this.ruleForm.qlrData.length == 0) { |
577 | this.$message({ | 586 | this.$message({ |
578 | showClose: true, | 587 | showClose: true, | ... | ... |
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:44:14 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -351,7 +351,7 @@ | ... | @@ -351,7 +351,7 @@ |
351 | <el-form-item label="共有方式:"> | 351 | <el-form-item label="共有方式:"> |
352 | <el-radio-group | 352 | <el-radio-group |
353 | :disabled="!ableOperation" | 353 | :disabled="!ableOperation" |
354 | v-model="ruleForm.sldy.gyfs"> | 354 | v-model="ruleForm.qlxx.gyfs"> |
355 | <el-radio label="0">单独所有</el-radio> | 355 | <el-radio label="0">单独所有</el-radio> |
356 | <el-radio label="1">共同共有</el-radio> | 356 | <el-radio label="1">共同共有</el-radio> |
357 | <el-radio label="2">按份所有</el-radio> | 357 | <el-radio label="2">按份所有</el-radio> |
... | @@ -359,10 +359,10 @@ | ... | @@ -359,10 +359,10 @@ |
359 | </el-radio-group> | 359 | </el-radio-group> |
360 | </el-form-item> | 360 | </el-form-item> |
361 | </el-col> | 361 | </el-col> |
362 | <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> | 362 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> |
363 | <el-form-item label="是否分别持证:"> | 363 | <el-form-item label="是否分别持证:"> |
364 | <el-radio-group | 364 | <el-radio-group |
365 | v-model="ruleForm.sldy.sqfbcz" | 365 | v-model="ruleForm.qlxx.sqfbcz" |
366 | :disabled="!ableOperation"> | 366 | :disabled="!ableOperation"> |
367 | <el-radio :label="1">是</el-radio> | 367 | <el-radio :label="1">是</el-radio> |
368 | <el-radio :label="0">否</el-radio> | 368 | <el-radio :label="0">否</el-radio> |
... | @@ -371,7 +371,7 @@ | ... | @@ -371,7 +371,7 @@ |
371 | </el-col> | 371 | </el-col> |
372 | <el-col | 372 | <el-col |
373 | :span="6" | 373 | :span="6" |
374 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 374 | v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'"> |
375 | <el-form-item label="持证人:"> | 375 | <el-form-item label="持证人:"> |
376 | <el-select | 376 | <el-select |
377 | v-model="ruleForm.czr" | 377 | v-model="ruleForm.czr" |
... | @@ -659,6 +659,15 @@ | ... | @@ -659,6 +659,15 @@ |
659 | onSubmit () { | 659 | onSubmit () { |
660 | this.$refs.ruleForm.validate((valid) => { | 660 | this.$refs.ruleForm.validate((valid) => { |
661 | if (valid) { | 661 | if (valid) { |
662 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
663 | if (arr.length > 0) { | ||
664 | this.$message({ | ||
665 | showClose: true, | ||
666 | message: "土地用途不能为空", | ||
667 | type: "error", | ||
668 | }); | ||
669 | return false; | ||
670 | } | ||
662 | if (this.ruleForm.qlrData.length == 0) { | 671 | if (this.ruleForm.qlrData.length == 0) { |
663 | this.$message({ | 672 | this.$message({ |
664 | showClose: true, | 673 | showClose: true, |
... | @@ -667,7 +676,7 @@ | ... | @@ -667,7 +676,7 @@ |
667 | }); | 676 | }); |
668 | return false; | 677 | return false; |
669 | } | 678 | } |
670 | if (this.ruleForm.sldy.gyfs == "0") { | 679 | if (this.ruleForm.qlxx.gyfs == "0") { |
671 | if (this.ruleForm.qlrData.length > 1) { | 680 | if (this.ruleForm.qlrData.length > 1) { |
672 | this.$message({ | 681 | this.$message({ |
673 | showClose: true, | 682 | showClose: true, |
... | @@ -679,7 +688,7 @@ | ... | @@ -679,7 +688,7 @@ |
679 | this.ruleForm.qlrData[0].sfczr = "1"; | 688 | this.ruleForm.qlrData[0].sfczr = "1"; |
680 | } else { | 689 | } else { |
681 | //是否分别持证 | 690 | //是否分别持证 |
682 | if (this.ruleForm.sldy.sqfbcz == "1") { | 691 | if (this.ruleForm.qlxx.sqfbcz == "1") { |
683 | //是 | 692 | //是 |
684 | this.ruleForm.qlrList.forEach((item, index) => { | 693 | this.ruleForm.qlrList.forEach((item, index) => { |
685 | item.sfczr = "1"; | 694 | item.sfczr = "1"; | ... | ... |
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:18:26 |
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, | ... | ... |
... | @@ -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:46:30 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -430,6 +430,15 @@ | ... | @@ -430,6 +430,15 @@ |
430 | * @author: renchao | 430 | * @author: renchao |
431 | */ | 431 | */ |
432 | onSubmit () { | 432 | onSubmit () { |
433 | let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) | ||
434 | if (arr.length > 0) { | ||
435 | this.$message({ | ||
436 | showClose: true, | ||
437 | message: "土地用途不能为空", | ||
438 | type: "error", | ||
439 | }); | ||
440 | return false; | ||
441 | } | ||
433 | if (this.ruleForm.qlrList.length == 0) { | 442 | if (this.ruleForm.qlrList.length == 0) { |
434 | this.$message({ | 443 | this.$message({ |
435 | showClose: true, | 444 | showClose: true, | ... | ... |
-
Please register or sign in to post a comment