style:土地承包经营权
Showing
1 changed file
with
45 additions
and
22 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-23 16:05:38 | 4 | * @LastEditTime: 2024-01-25 14:13:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -90,7 +90,7 @@ | ... | @@ -90,7 +90,7 @@ |
90 | </el-form-item> | 90 | </el-form-item> |
91 | </el-col> | 91 | </el-col> |
92 | <el-col :span="8"> | 92 | <el-col :span="8"> |
93 | <el-form-item label="地块名称:"> | 93 | <el-form-item label="地块名称:" prop="tdcbjyq.dkmc"> |
94 | <el-input v-model="ruleForm.tdcbjyq.dkmc" :disabled="!viewEdit"></el-input> | 94 | <el-input v-model="ruleForm.tdcbjyq.dkmc" :disabled="!viewEdit"></el-input> |
95 | </el-form-item> | 95 | </el-form-item> |
96 | </el-col> | 96 | </el-col> |
... | @@ -179,7 +179,10 @@ | ... | @@ -179,7 +179,10 @@ |
179 | </el-col> | 179 | </el-col> |
180 | <el-col :span="8"> | 180 | <el-col :span="8"> |
181 | <el-form-item label="土地所有权性质:"> | 181 | <el-form-item label="土地所有权性质:"> |
182 | <el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.tdsyqxz"></el-input> | 182 | <el-select clearable v-model="ruleForm.tdcbjyq.tdsyqxz" class="width100" placeholder="请选择" :disabled="!viewEdit"> |
183 | <el-option v-for="item in dictData['A45']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
184 | </el-option> | ||
185 | </el-select> | ||
183 | </el-form-item> | 186 | </el-form-item> |
184 | </el-col> | 187 | </el-col> |
185 | </el-row> | 188 | </el-row> |
... | @@ -207,7 +210,10 @@ | ... | @@ -207,7 +210,10 @@ |
207 | </el-col> | 210 | </el-col> |
208 | <el-col :span="8"> | 211 | <el-col :span="8"> |
209 | <el-form-item label="用地用海分类:"> | 212 | <el-form-item label="用地用海分类:"> |
210 | <el-input :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.ydyhfl"></el-input> | 213 | <el-select clearable v-model="ruleForm.tdcbjyq.ydyhfl" class="width100" placeholder="请选择" :disabled="!viewEdit"> |
214 | <el-option v-for="item in dictData['A56']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
215 | </el-option> | ||
216 | </el-select> | ||
211 | </el-form-item> | 217 | </el-form-item> |
212 | </el-col> | 218 | </el-col> |
213 | </el-row> | 219 | </el-row> |
... | @@ -215,7 +221,10 @@ | ... | @@ -215,7 +221,10 @@ |
215 | <el-row :gutter="10"> | 221 | <el-row :gutter="10"> |
216 | <el-col :span="8"> | 222 | <el-col :span="8"> |
217 | <el-form-item label="承包经营权取得方式:"> | 223 | <el-form-item label="承包经营权取得方式:"> |
218 | <el-input :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.cbjyqqdfs"></el-input> | 224 | <el-select clearable v-model="ruleForm.tdcbjyq.cbjyqqdfs" class="width100" placeholder="请选择" :disabled="!viewEdit"> |
225 | <el-option v-for="item in dictData['A59']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
226 | </el-option> | ||
227 | </el-select> | ||
219 | </el-form-item> | 228 | </el-form-item> |
220 | </el-col> | 229 | </el-col> |
221 | <el-col :span="16"> | 230 | <el-col :span="16"> |
... | @@ -278,7 +287,7 @@ | ... | @@ -278,7 +287,7 @@ |
278 | :key="key" | 287 | :key="key" |
279 | :gyfs="ruleForm.sldy.gyfs" /> | 288 | :gyfs="ruleForm.sldy.gyfs" /> |
280 | 289 | ||
281 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> | 290 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0 && ruleForm.qlxx.djlx == '200'"> |
282 | <div class="slxx_title title-block"> | 291 | <div class="slxx_title title-block"> |
283 | 义务人信息 | 292 | 义务人信息 |
284 | <div class="triangle"></div> | 293 | <div class="triangle"></div> |
... | @@ -401,8 +410,12 @@ | ... | @@ -401,8 +410,12 @@ |
401 | ruleForm: {}, | 410 | ruleForm: {}, |
402 | //传递参数 | 411 | //传递参数 |
403 | propsParam: {}, | 412 | propsParam: {}, |
404 | rules: {}, | 413 | rules: { |
405 | }; | 414 | 'tdcbjyq.dkmc': [ |
415 | { required: true, message: '请填写', trigger: 'blur' } | ||
416 | ] | ||
417 | } | ||
418 | } | ||
406 | }, | 419 | }, |
407 | methods: { | 420 | methods: { |
408 | /** | 421 | /** |
... | @@ -502,21 +515,28 @@ | ... | @@ -502,21 +515,28 @@ |
502 | * @description: saveData | 515 | * @description: saveData |
503 | * @author: renchao | 516 | * @author: renchao |
504 | */ | 517 | */ |
505 | this.$store.dispatch("user/refreshPage", false); | 518 | |
506 | saveData(this.ruleForm).then((res) => { | 519 | this.$refs['ruleForm'].validate((valid) => { |
507 | if (res.code === 200) { | 520 | if (valid) { |
508 | this.$message({ | 521 | that.$store.dispatch("user/refreshPage", false); |
509 | showClose: true, | 522 | saveData(that.ruleForm).then((res) => { |
510 | message: "保存成功!", | 523 | if (res.code === 200) { |
511 | type: "success", | 524 | that.$message({ |
512 | }); | 525 | showClose: true, |
513 | this.$store.dispatch("user/refreshPage", true); | 526 | message: "保存成功!", |
514 | } else { | 527 | type: "success", |
515 | this.$message({ | 528 | }); |
516 | showClose: true, | 529 | that.$store.dispatch("user/refreshPage", true); |
517 | message: res.message, | 530 | } else { |
518 | type: "error" | 531 | that.$message({ |
532 | showClose: true, | ||
533 | message: res.message, | ||
534 | type: "error" | ||
535 | }) | ||
536 | } | ||
519 | }) | 537 | }) |
538 | } else { | ||
539 | return false; | ||
520 | } | 540 | } |
521 | }) | 541 | }) |
522 | } | 542 | } |
... | @@ -526,4 +546,7 @@ | ... | @@ -526,4 +546,7 @@ |
526 | <style scoped lang="scss"> | 546 | <style scoped lang="scss"> |
527 | @import "~@/styles/public.scss"; | 547 | @import "~@/styles/public.scss"; |
528 | @import "~@/styles/slxx/slxx.scss"; | 548 | @import "~@/styles/slxx/slxx.scss"; |
549 | /deep/.el-form-item__error { | ||
550 | display: none; | ||
551 | } | ||
529 | </style> | 552 | </style> | ... | ... |
-
Please register or sign in to post a comment