style:土地承包经营权
Showing
1 changed file
with
68 additions
and
41 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-23 15:13:01 | 4 | * @LastEditTime: 2024-01-23 15:36:15 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -14,7 +14,7 @@ | ... | @@ -14,7 +14,7 @@ |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
17 | label-width="120px"> | 17 | label-width="140px"> |
18 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> | 18 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> |
19 | <div class="slxx_title title-block"> | 19 | <div class="slxx_title title-block"> |
20 | 申请业务信息 | 20 | 申请业务信息 |
... | @@ -85,31 +85,77 @@ | ... | @@ -85,31 +85,77 @@ |
85 | </el-row> | 85 | </el-row> |
86 | <el-row :gutter="10"> | 86 | <el-row :gutter="10"> |
87 | <el-col :span="8"> | 87 | <el-col :span="8"> |
88 | <el-form-item label="权利设定方式:"> | 88 | <el-form-item label="地块代码:"> |
89 | <el-select v-model="ruleForm.zdjbxx.qlsdfs" :disabled="!viewEdit"> | 89 | <el-input v-model="ruleForm.tdcbjyq.dkdm" :disabled="!viewEdit"></el-input> |
90 | <el-option | 90 | </el-form-item> |
91 | v-for="item in dictData['A10']" | 91 | </el-col> |
92 | :key="item.dcode" | 92 | <el-col :span="8"> |
93 | :label="item.dname" | 93 | <el-form-item label="地块名称:"> |
94 | :value="item.dcode"> | 94 | <el-input v-model="ruleForm.tdcbjyq.dkmc" :disabled="!viewEdit"></el-input> |
95 | </el-option> | 95 | </el-form-item> |
96 | </el-select> | 96 | </el-col> |
97 | <el-col :span="8"> | ||
98 | <el-form-item label="承包方式:"> | ||
99 | <el-input v-model="ruleForm.tdcbjyq.cbfs" :disabled="!viewEdit"></el-input> | ||
100 | </el-form-item> | ||
101 | </el-col> | ||
102 | |||
103 | </el-row> | ||
104 | |||
105 | <el-row :gutter="10"> | ||
106 | <el-col :span="8"> | ||
107 | <el-form-item label="发包方代码:"> | ||
108 | <el-input v-model="ruleForm.tdcbjyq.fbfdm" :disabled="!viewEdit"></el-input> | ||
109 | </el-form-item> | ||
110 | </el-col> | ||
111 | <el-col :span="8"> | ||
112 | <el-form-item label="发包方全称:"> | ||
113 | <el-input v-model="ruleForm.tdcbjyq.fbfqc" :disabled="!viewEdit"></el-input> | ||
114 | </el-form-item> | ||
115 | </el-col> | ||
116 | <el-col :span="8"> | ||
117 | <el-form-item label="发包方负责人:"> | ||
118 | <el-input v-model="ruleForm.tdcbjyq.fbffzr" :disabled="!viewEdit"></el-input> | ||
119 | </el-form-item> | ||
120 | </el-col> | ||
121 | </el-row> | ||
122 | |||
123 | <el-row :gutter="10"> | ||
124 | <el-col :span="8"> | ||
125 | <el-form-item label="承包起始时间:"> | ||
126 | <el-input v-model="ruleForm.tdcbjyq.cbqssj" :disabled="!viewEdit"></el-input> | ||
127 | </el-form-item> | ||
128 | </el-col> | ||
129 | <el-col :span="8"> | ||
130 | <el-form-item label="承包结束时间:"> | ||
131 | <el-input v-model="ruleForm.tdcbjyq.cbjssj" :disabled="!viewEdit"></el-input> | ||
132 | </el-form-item> | ||
133 | </el-col> | ||
134 | <el-col :span="8"> | ||
135 | <el-form-item label="承包期限:"> | ||
136 | <el-input v-model="ruleForm.tdcbjyq.cbqx" :disabled="!viewEdit"></el-input> | ||
137 | </el-form-item> | ||
138 | </el-col> | ||
139 | </el-row> | ||
140 | <el-row :gutter="10"> | ||
141 | <el-col :span="8"> | ||
142 | <el-form-item label="承包经营权取得方式:"> | ||
143 | <el-input :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.cbjyqqdfs"></el-input> | ||
97 | </el-form-item> | 144 | </el-form-item> |
98 | </el-col> | 145 | </el-col> |
99 | <el-col :span="16"> | 146 | <el-col :span="16"> |
100 | <el-form-item label="坐落:"> | 147 | <el-form-item label="附记:"> |
101 | <el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.sldy.zl"></el-input> | 148 | <el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.fj"></el-input> |
149 | </el-form-item> | ||
150 | </el-col> | ||
151 | </el-row> | ||
152 | <el-row :gutter="10"> | ||
153 | <el-col :span="24"> | ||
154 | <el-form-item label="用途:"> | ||
155 | <el-input maxlength="100" :disabled="!viewEdit" v-model="ruleForm.tdcbjyq.yt"></el-input> | ||
102 | </el-form-item> | 156 | </el-form-item> |
103 | </el-col> | 157 | </el-col> |
104 | </el-row> | 158 | </el-row> |
105 | <div class="slxx_title title-block"> | ||
106 | 土地用途 | ||
107 | <div class="triangle"></div> | ||
108 | </div> | ||
109 | <tdytTable | ||
110 | :ableOperation="viewEdit" | ||
111 | :tableData="ruleForm.tdytqxList" | ||
112 | @upDateTdytxxList="upDateTdytxxList" /> | ||
113 | <div class="slxx_title title-block"> | 159 | <div class="slxx_title title-block"> |
114 | 权利人信息 | 160 | 权利人信息 |
115 | <div class="triangle"></div> | 161 | <div class="triangle"></div> |
... | @@ -189,7 +235,6 @@ | ... | @@ -189,7 +235,6 @@ |
189 | import { mapGetters } from "vuex"; | 235 | import { mapGetters } from "vuex"; |
190 | import ywmix from "@/views/ywbl/mixin/index"; | 236 | import ywmix from "@/views/ywbl/mixin/index"; |
191 | import { Init, saveData } from "@/api/workflow/tdcbjyq.js"; | 237 | import { Init, saveData } from "@/api/workflow/tdcbjyq.js"; |
192 | import tdytTable from "@/views/workflow/components/tdytTable"; | ||
193 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 238 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
194 | import ywrCommonTable from "@/views/workflow/components/ywrCommonTable"; | 239 | import ywrCommonTable from "@/views/workflow/components/ywrCommonTable"; |
195 | export default { | 240 | export default { |
... | @@ -230,7 +275,7 @@ | ... | @@ -230,7 +275,7 @@ |
230 | this.isSave = false | 275 | this.isSave = false |
231 | }) | 276 | }) |
232 | }, | 277 | }, |
233 | components: { qlrCommonTable, tdytTable, ywrCommonTable }, | 278 | components: { qlrCommonTable, ywrCommonTable }, |
234 | computed: { | 279 | computed: { |
235 | ...mapGetters(["dictData", "flag"]), | 280 | ...mapGetters(["dictData", "flag"]), |
236 | // 根据流程判断表单是否为只读 | 281 | // 根据流程判断表单是否为只读 |
... | @@ -272,15 +317,6 @@ | ... | @@ -272,15 +317,6 @@ |
272 | }, | 317 | }, |
273 | methods: { | 318 | methods: { |
274 | /** | 319 | /** |
275 | * @description: 更新土地用途信息 | ||
276 | * @param {*} val | ||
277 | * @author: renchao | ||
278 | */ | ||
279 | upDateTdytxxList (val) { | ||
280 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
281 | this.key++; | ||
282 | }, | ||
283 | /** | ||
284 | * @description: 更新权利人信息 | 320 | * @description: 更新权利人信息 |
285 | * @param {*} val | 321 | * @param {*} val |
286 | * @author: renchao | 322 | * @author: renchao |
... | @@ -321,15 +357,6 @@ | ... | @@ -321,15 +357,6 @@ |
321 | */ | 357 | */ |
322 | onSubmit () { | 358 | onSubmit () { |
323 | let that = this; | 359 | let that = this; |
324 | let arr = this.ruleForm.tdytqxList.filter((item) => !item.yt); | ||
325 | if (arr.length > 0) { | ||
326 | this.$message({ | ||
327 | showClose: true, | ||
328 | message: "土地用途不能为空", | ||
329 | type: "error", | ||
330 | }); | ||
331 | return false; | ||
332 | } | ||
333 | if (this.ruleForm.qlrList.length == 0) { | 360 | if (this.ruleForm.qlrList.length == 0) { |
334 | this.$message({ | 361 | this.$message({ |
335 | showClose: true, | 362 | showClose: true, | ... | ... |
-
Please register or sign in to post a comment