style:受理申请
Showing
6 changed files
with
105 additions
and
104 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: 审批意见 | 2 | * @Description: 审批意见 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:41:24 | 4 | * @LastEditTime: 2023-08-16 14:39:55 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="spyj loadingtext"> | 7 | <div class="spyj loadingtext"> |
... | @@ -25,7 +25,7 @@ | ... | @@ -25,7 +25,7 @@ |
25 | <el-col :span="24"> | 25 | <el-col :span="24"> |
26 | <el-form-item label-width="0" class="opinion_item"> | 26 | <el-form-item label-width="0" class="opinion_item"> |
27 | <el-input | 27 | <el-input |
28 | :disabled="!ableOperation || item.show" | 28 | :disabled="!viewEdit || item.show" |
29 | type="textarea" | 29 | type="textarea" |
30 | :rows="4" | 30 | :rows="4" |
31 | class="opinion" | 31 | class="opinion" |
... | @@ -35,7 +35,7 @@ | ... | @@ -35,7 +35,7 @@ |
35 | <el-button | 35 | <el-button |
36 | class="opinion_btn" | 36 | class="opinion_btn" |
37 | @click="commonOpinion(index)" | 37 | @click="commonOpinion(index)" |
38 | v-if="ableOperation" | 38 | v-if="viewEdit" |
39 | >常用意见</el-button | 39 | >常用意见</el-button |
40 | > | 40 | > |
41 | </el-form-item> | 41 | </el-form-item> |
... | @@ -57,7 +57,7 @@ | ... | @@ -57,7 +57,7 @@ |
57 | </div> | 57 | </div> |
58 | </el-form> | 58 | </el-form> |
59 | </div> | 59 | </div> |
60 | <div class="submit_button" v-if="ableOperation"> | 60 | <div class="submit_button" v-if="viewEdit"> |
61 | <el-button type="primary" :disabled="shows" @click="onSubmit()">保存</el-button> | 61 | <el-button type="primary" :disabled="shows" @click="onSubmit()">保存</el-button> |
62 | </div> | 62 | </div> |
63 | </div> | 63 | </div> |
... | @@ -78,7 +78,7 @@ export default { | ... | @@ -78,7 +78,7 @@ export default { |
78 | currentindex: 0, | 78 | currentindex: 0, |
79 | bsmSlsq: "", | 79 | bsmSlsq: "", |
80 | refresh: 10, | 80 | refresh: 10, |
81 | ableOperation: false, | 81 | viewEdit: false, |
82 | bsmSlsq: this.$route.query.bsmSlsq, | 82 | bsmSlsq: this.$route.query.bsmSlsq, |
83 | bestepid: this.$route.query.bestepid, | 83 | bestepid: this.$route.query.bestepid, |
84 | propsParam: {}, | 84 | propsParam: {}, |
... | @@ -103,8 +103,7 @@ export default { | ... | @@ -103,8 +103,7 @@ export default { |
103 | created() {}, | 103 | created() {}, |
104 | mounted() { | 104 | mounted() { |
105 | this.propsParam = this.$attrs; | 105 | this.propsParam = this.$attrs; |
106 | this.ableOperation = this.$parent.currentSelectTab.ableOperation; | 106 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; |
107 | // this.ableOperation = this.$parent.ableOperation; | ||
108 | this.getShList(); | 107 | this.getShList(); |
109 | 108 | ||
110 | switch (this.$parent.dqhj) { | 109 | switch (this.$parent.dqhj) { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-14 12:56:43 | 4 | * @LastEditTime: 2023-08-16 14:40:56 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -126,7 +126,7 @@ | ... | @@ -126,7 +126,7 @@ |
126 | </el-col> | 126 | </el-col> |
127 | <el-col :span="9"> | 127 | <el-col :span="9"> |
128 | <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> | 128 | <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> |
129 | <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!ableOperation|| isJfOperation"> | 129 | <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!viewEdit|| isJfOperation"> |
130 | <el-radio label="1">启用</el-radio> | 130 | <el-radio label="1">启用</el-radio> |
131 | <el-radio label="0">禁用</el-radio> | 131 | <el-radio label="0">禁用</el-radio> |
132 | </el-radio-group> | 132 | </el-radio-group> |
... | @@ -138,8 +138,8 @@ | ... | @@ -138,8 +138,8 @@ |
138 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> | 138 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> |
139 | <el-form-item label="被担保主债权数额:"> | 139 | <el-form-item label="被担保主债权数额:"> |
140 | <div style="display:flex"> | 140 | <div style="display:flex"> |
141 | <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation|| isJfOperation" style="width:500%"></el-input> | 141 | <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!viewEdit|| isJfOperation" style="width:500%"></el-input> |
142 | <el-select v-model="ruleForm.diyaq.jedw" :disabled="!ableOperation|| isJfOperation"> | 142 | <el-select v-model="ruleForm.diyaq.jedw" :disabled="!viewEdit|| isJfOperation"> |
143 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 143 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
144 | </el-option> | 144 | </el-option> |
145 | </el-select> | 145 | </el-select> |
... | @@ -149,19 +149,19 @@ | ... | @@ -149,19 +149,19 @@ |
149 | 149 | ||
150 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> | 150 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> |
151 | <el-form-item label="最高债权额:"> | 151 | <el-form-item label="最高债权额:"> |
152 | <el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!ableOperation|| isJfOperation"></el-input> | 152 | <el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!viewEdit|| isJfOperation"></el-input> |
153 | </el-form-item> | 153 | </el-form-item> |
154 | </el-col> | 154 | </el-col> |
155 | 155 | ||
156 | <el-col :span="8"> | 156 | <el-col :span="8"> |
157 | <el-form-item label="债务履行起始时间:"> | 157 | <el-form-item label="债务履行起始时间:"> |
158 | <el-date-picker v-model="ruleForm.diyaq.zwlxqssj" :disabled="!ableOperation|| isJfOperation" type="date"> | 158 | <el-date-picker v-model="ruleForm.diyaq.zwlxqssj" :disabled="!viewEdit|| isJfOperation" type="date"> |
159 | </el-date-picker> | 159 | </el-date-picker> |
160 | </el-form-item> | 160 | </el-form-item> |
161 | </el-col> | 161 | </el-col> |
162 | <el-col :span="8"> | 162 | <el-col :span="8"> |
163 | <el-form-item label="债务履行结束时间:"> | 163 | <el-form-item label="债务履行结束时间:"> |
164 | <el-date-picker v-model="ruleForm.diyaq.zwlxjssj" :disabled="!ableOperation|| isJfOperation" type="date"> | 164 | <el-date-picker v-model="ruleForm.diyaq.zwlxjssj" :disabled="!viewEdit|| isJfOperation" type="date"> |
165 | </el-date-picker> | 165 | </el-date-picker> |
166 | </el-form-item> | 166 | </el-form-item> |
167 | </el-col> | 167 | </el-col> |
... | @@ -170,21 +170,21 @@ | ... | @@ -170,21 +170,21 @@ |
170 | <el-col :span="24"> | 170 | <el-col :span="24"> |
171 | <el-form-item label="担保范围:"> | 171 | <el-form-item label="担保范围:"> |
172 | <el-input v-model="ruleForm.diyaq.dbfw" | 172 | <el-input v-model="ruleForm.diyaq.dbfw" |
173 | :disabled="ruleForm.sldy.djlx == '300'&& !ableOperation|| isJfOperation"></el-input> | 173 | :disabled="ruleForm.sldy.djlx == '300'&& !viewEdit|| isJfOperation"></el-input> |
174 | </el-form-item> | 174 | </el-form-item> |
175 | </el-col> | 175 | </el-col> |
176 | </el-row> | 176 | </el-row> |
177 | <el-row> | 177 | <el-row> |
178 | <el-col :span="24"> | 178 | <el-col :span="24"> |
179 | <el-form-item label="最高债权确定事实和数额:"> | 179 | <el-form-item label="最高债权确定事实和数额:"> |
180 | <el-input v-model="ruleForm.diyaq.zgzqqdss" :disabled="!ableOperation|| isJfOperation"></el-input> | 180 | <el-input v-model="ruleForm.diyaq.zgzqqdss" :disabled="!viewEdit|| isJfOperation"></el-input> |
181 | </el-form-item> | 181 | </el-form-item> |
182 | </el-col> | 182 | </el-col> |
183 | </el-row> | 183 | </el-row> |
184 | <el-row> | 184 | <el-row> |
185 | <el-col> | 185 | <el-col> |
186 | <el-form-item label="附记:" prop="fj"> | 186 | <el-form-item label="附记:" prop="fj"> |
187 | <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!ableOperation|| isJfOperation"></el-input> | 187 | <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!viewEdit|| isJfOperation"></el-input> |
188 | </el-form-item> | 188 | </el-form-item> |
189 | </el-col> | 189 | </el-col> |
190 | </el-row> | 190 | </el-row> |
... | @@ -196,7 +196,7 @@ | ... | @@ -196,7 +196,7 @@ |
196 | <el-row :gutter="10"> | 196 | <el-row :gutter="10"> |
197 | <el-col :span="12"> | 197 | <el-col :span="12"> |
198 | <el-form-item label="共有方式:"> | 198 | <el-form-item label="共有方式:"> |
199 | <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs"> | 199 | <el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldy.gyfs"> |
200 | <el-radio label="0">单独所有</el-radio> | 200 | <el-radio label="0">单独所有</el-radio> |
201 | <el-radio label="1">共同共有</el-radio> | 201 | <el-radio label="1">共同共有</el-radio> |
202 | <el-radio label="2">按份所有</el-radio> | 202 | <el-radio label="2">按份所有</el-radio> |
... | @@ -208,7 +208,7 @@ | ... | @@ -208,7 +208,7 @@ |
208 | <el-form-item label="是否分别持证:"> | 208 | <el-form-item label="是否分别持证:"> |
209 | <el-radio-group | 209 | <el-radio-group |
210 | v-model="ruleForm.sldy.sqfbcz" | 210 | v-model="ruleForm.sldy.sqfbcz" |
211 | :disabled="!ableOperation"> | 211 | :disabled="!viewEdit"> |
212 | <el-radio :label="1">是</el-radio> | 212 | <el-radio :label="1">是</el-radio> |
213 | <el-radio :label="0">否</el-radio> | 213 | <el-radio :label="0">否</el-radio> |
214 | </el-radio-group> | 214 | </el-radio-group> |
... | @@ -221,7 +221,7 @@ | ... | @@ -221,7 +221,7 @@ |
221 | <el-select | 221 | <el-select |
222 | v-model="ruleForm.czr" | 222 | v-model="ruleForm.czr" |
223 | placeholder="持证人" | 223 | placeholder="持证人" |
224 | :disabled="!ableOperation"> | 224 | :disabled="!viewEdit"> |
225 | <el-option | 225 | <el-option |
226 | v-for="item in czrOptions" | 226 | v-for="item in czrOptions" |
227 | :key="item.zjh" | 227 | :key="item.zjh" |
... | @@ -232,14 +232,13 @@ | ... | @@ -232,14 +232,13 @@ |
232 | </el-form-item> | 232 | </el-form-item> |
233 | </el-col> | 233 | </el-col> |
234 | </el-row> | 234 | </el-row> |
235 | <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!ableOperation" @upDateQlrxxList="upDateQlrxxList" | 235 | <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!viewEdit" @upDateQlrxxList="upDateQlrxxList" |
236 | :viewtype="!ableOperation" :gyfs="ruleForm.sldy.gyfs" /> | 236 | :gyfs="ruleForm.sldy.gyfs" /> |
237 | <div class="slxx_title title-block"> | 237 | <div class="slxx_title title-block"> |
238 | 抵押人信息 | 238 | 抵押人信息 |
239 | <div class="triangle"></div> | 239 | <div class="triangle"></div> |
240 | </div> | 240 | </div> |
241 | <qlrCommonTable :tableData="ruleForm.ywrList" :disabled="!ableOperation" @upDateQlrxxList="upDateYwrxxList" | 241 | <qlrCommonTable :tableData="ruleForm.ywrList" :disabled="!viewEdit" @upDateQlrxxList="upDateYwrxxList" /> |
242 | :viewtype="!ableOperation" /> | ||
243 | 242 | ||
244 | <div class="slxx_title title-block"> | 243 | <div class="slxx_title title-block"> |
245 | 登记原因 | 244 | 登记原因 |
... | @@ -248,12 +247,12 @@ | ... | @@ -248,12 +247,12 @@ |
248 | <el-row :gutter="10"> | 247 | <el-row :gutter="10"> |
249 | <el-col> | 248 | <el-col> |
250 | <el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy"> | 249 | <el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy"> |
251 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | 250 | <el-input class="textArea" type="textarea" :disabled="!viewEdit" |
252 | v-model="ruleForm.diyaq.zxdyyy"> | 251 | v-model="ruleForm.diyaq.zxdyyy"> |
253 | </el-input> | 252 | </el-input> |
254 | </el-form-item> | 253 | </el-form-item> |
255 | <el-form-item v-else label="登记原因:" prop="djyy"> | 254 | <el-form-item v-else label="登记原因:" prop="djyy"> |
256 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" | 255 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" |
257 | v-model="ruleForm.diyaq.djyy"> | 256 | v-model="ruleForm.diyaq.djyy"> |
258 | </el-input> | 257 | </el-input> |
259 | </el-form-item> | 258 | </el-form-item> |
... | @@ -261,7 +260,7 @@ | ... | @@ -261,7 +260,7 @@ |
261 | </el-row> | 260 | </el-row> |
262 | 261 | ||
263 | </div> | 262 | </div> |
264 | <el-row class="btn" v-if="ableOperation"> | 263 | <el-row class="btn" v-if="viewEdit"> |
265 | <el-form-item> | 264 | <el-form-item> |
266 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> | 265 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> |
267 | </el-form-item> | 266 | </el-form-item> |
... | @@ -275,7 +274,7 @@ | ... | @@ -275,7 +274,7 @@ |
275 | import { mapGetters } from "vuex"; | 274 | import { mapGetters } from "vuex"; |
276 | export default { | 275 | export default { |
277 | mounted () { | 276 | mounted () { |
278 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 277 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
279 | this.propsParam = this.$attrs; | 278 | this.propsParam = this.$attrs; |
280 | var formdata = new FormData(); | 279 | var formdata = new FormData(); |
281 | if (this.propsParam.djlx == '400') { | 280 | if (this.propsParam.djlx == '400') { |
... | @@ -285,7 +284,7 @@ | ... | @@ -285,7 +284,7 @@ |
285 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 284 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
286 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | 285 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
287 | formdata.append("djlx", this.propsParam.djlx); | 286 | formdata.append("djlx", this.propsParam.djlx); |
288 | formdata.append("isEdit", this.ableOperation); | 287 | formdata.append("isEdit", this.viewEdit); |
289 | Init(formdata).then((res) => { | 288 | Init(formdata).then((res) => { |
290 | if (res.code === 200 && res.result) { | 289 | if (res.code === 200 && res.result) { |
291 | this.ruleForm = res.result; | 290 | this.ruleForm = res.result; |
... | @@ -302,7 +301,7 @@ | ... | @@ -302,7 +301,7 @@ |
302 | data () { | 301 | data () { |
303 | return { | 302 | return { |
304 | //表单是否可操作 | 303 | //表单是否可操作 |
305 | ableOperation: true, | 304 | viewEdit: true, |
306 | disabled: true, | 305 | disabled: true, |
307 | czrOptions: [], | 306 | czrOptions: [], |
308 | ruleForm: { | 307 | ruleForm: { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 11:06:29 | 4 | * @LastEditTime: 2023-08-16 14:38:36 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -94,6 +94,7 @@ | ... | @@ -94,6 +94,7 @@ |
94 | <el-col :span="8"> | 94 | <el-col :span="8"> |
95 | <el-form-item label="土地性质:"> | 95 | <el-form-item label="土地性质:"> |
96 | <treeselect | 96 | <treeselect |
97 | :disabled="!viewEdit" | ||
97 | v-model="ruleForm.fdcq2.tdxz" | 98 | v-model="ruleForm.fdcq2.tdxz" |
98 | noOptionsText="暂无数据" | 99 | noOptionsText="暂无数据" |
99 | placeholder="" | 100 | placeholder="" |
... | @@ -109,7 +110,7 @@ | ... | @@ -109,7 +110,7 @@ |
109 | <el-col :span="8"> | 110 | <el-col :span="8"> |
110 | <el-form-item label="独用土地面积:"> | 111 | <el-form-item label="独用土地面积:"> |
111 | <div class="flex"> | 112 | <div class="flex"> |
112 | <el-input v-model="ruleForm.fdcq2.dytdmj" | 113 | <el-input v-model="ruleForm.fdcq2.dytdmj" :disabled="!viewEdit" |
113 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 114 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
114 | <el-select | 115 | <el-select |
115 | disabled | 116 | disabled |
... | @@ -128,7 +129,7 @@ | ... | @@ -128,7 +129,7 @@ |
128 | <el-col :span="8"> | 129 | <el-col :span="8"> |
129 | <el-form-item label="分摊土地面积:"> | 130 | <el-form-item label="分摊土地面积:"> |
130 | <div class="flex"> | 131 | <div class="flex"> |
131 | <el-input v-model="ruleForm.fdcq2.fttdmj" | 132 | <el-input v-model="ruleForm.fdcq2.fttdmj" :disabled="!viewEdit" |
132 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 133 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
133 | <el-select | 134 | <el-select |
134 | disabled | 135 | disabled |
... | @@ -146,7 +147,7 @@ | ... | @@ -146,7 +147,7 @@ |
146 | </el-col> | 147 | </el-col> |
147 | <el-col :span="8"> | 148 | <el-col :span="8"> |
148 | <el-form-item label="房屋性质:"> | 149 | <el-form-item label="房屋性质:"> |
149 | <el-select v-model="ruleForm.fdcq2.fwxz"> | 150 | <el-select v-model="ruleForm.fdcq2.fwxz" :disabled="!viewEdit"> |
150 | <el-option | 151 | <el-option |
151 | v-for="item in dictData['A19']" | 152 | v-for="item in dictData['A19']" |
152 | :key="item.dcode" | 153 | :key="item.dcode" |
... | @@ -162,6 +163,7 @@ | ... | @@ -162,6 +163,7 @@ |
162 | <el-form-item label="房屋用途:"> | 163 | <el-form-item label="房屋用途:"> |
163 | <treeselect | 164 | <treeselect |
164 | v-model="ruleForm.fdcq2.ghyt" | 165 | v-model="ruleForm.fdcq2.ghyt" |
166 | :disabled="!viewEdit" | ||
165 | noOptionsText="" | 167 | noOptionsText="" |
166 | placeholder="" | 168 | placeholder="" |
167 | :normalizer="normalizer" | 169 | :normalizer="normalizer" |
... | @@ -172,7 +174,7 @@ | ... | @@ -172,7 +174,7 @@ |
172 | </el-col> | 174 | </el-col> |
173 | <el-col :span="8"> | 175 | <el-col :span="8"> |
174 | <el-form-item label="房屋结构:"> | 176 | <el-form-item label="房屋结构:"> |
175 | <el-select v-model="ruleForm.fdcq2.fwjg"> | 177 | <el-select v-model="ruleForm.fdcq2.fwjg" :disabled="!viewEdit"> |
176 | <el-option | 178 | <el-option |
177 | v-for="item in dictData['A46']" | 179 | v-for="item in dictData['A46']" |
178 | :key="item.dcode" | 180 | :key="item.dcode" |
... | @@ -191,19 +193,19 @@ | ... | @@ -191,19 +193,19 @@ |
191 | type="date" | 193 | type="date" |
192 | placeholder="选择日期" | 194 | placeholder="选择日期" |
193 | value-format="yyyy-MM-dd" | 195 | value-format="yyyy-MM-dd" |
194 | :disabled="!ableOperation || ableEdit || isJfOperation"></el-date-picker> | 196 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-date-picker> |
195 | </el-form-item> | 197 | </el-form-item> |
196 | </el-col> | 198 | </el-col> |
197 | </el-row> | 199 | </el-row> |
198 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | 200 | <el-row :gutter="10" v-if="ruleForm.qlxx"> |
199 | <el-col :span="8"> | 201 | <el-col :span="8"> |
200 | <el-form-item label="所在层:"> | 202 | <el-form-item label="所在层:"> |
201 | <el-input v-model="ruleForm.fdcq2.szc"></el-input> | 203 | <el-input v-model="ruleForm.fdcq2.szc" :disabled="!viewEdit"></el-input> |
202 | </el-form-item> | 204 | </el-form-item> |
203 | </el-col> | 205 | </el-col> |
204 | <el-col :span="8"> | 206 | <el-col :span="8"> |
205 | <el-form-item label="总层数:"> | 207 | <el-form-item label="总层数:"> |
206 | <el-input v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input> | 208 | <el-input :disabled="!viewEdit" v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input> |
207 | </el-form-item> | 209 | </el-form-item> |
208 | </el-col> | 210 | </el-col> |
209 | <el-col :span="8"> | 211 | <el-col :span="8"> |
... | @@ -212,8 +214,9 @@ | ... | @@ -212,8 +214,9 @@ |
212 | <el-input | 214 | <el-input |
213 | v-model="ruleForm.fdcq2.fdcjyjg" | 215 | v-model="ruleForm.fdcq2.fdcjyjg" |
214 | style="width: 500%" | 216 | style="width: 500%" |
217 | :disabled="!viewEdit" | ||
215 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 218 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
216 | <el-select v-model="ruleForm.fdcq2.jedw"> | 219 | <el-select v-model="ruleForm.fdcq2.jedw" :disabled="!viewEdit"> |
217 | <el-option | 220 | <el-option |
218 | v-for="item in dictData['A57']" | 221 | v-for="item in dictData['A57']" |
219 | :key="item.dcode" | 222 | :key="item.dcode" |
... | @@ -229,7 +232,7 @@ | ... | @@ -229,7 +232,7 @@ |
229 | <el-col :span="8"> | 232 | <el-col :span="8"> |
230 | <el-form-item label="建筑面积:"> | 233 | <el-form-item label="建筑面积:"> |
231 | <div class="flex"> | 234 | <div class="flex"> |
232 | <el-input v-model="ruleForm.fdcq2.jzmj" | 235 | <el-input v-model="ruleForm.fdcq2.jzmj" :disabled="!viewEdit" |
233 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 236 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
234 | <el-select | 237 | <el-select |
235 | disabled | 238 | disabled |
... | @@ -248,7 +251,7 @@ | ... | @@ -248,7 +251,7 @@ |
248 | <el-col :span="8"> | 251 | <el-col :span="8"> |
249 | <el-form-item label="专有建筑面积:"> | 252 | <el-form-item label="专有建筑面积:"> |
250 | <div class="flex"> | 253 | <div class="flex"> |
251 | <el-input v-model="ruleForm.fdcq2.zyjzmj" | 254 | <el-input v-model="ruleForm.fdcq2.zyjzmj" :disabled="!viewEdit" |
252 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 255 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
253 | <el-select | 256 | <el-select |
254 | disabled | 257 | disabled |
... | @@ -267,7 +270,7 @@ | ... | @@ -267,7 +270,7 @@ |
267 | <el-col :span="8"> | 270 | <el-col :span="8"> |
268 | <el-form-item label="分摊建筑面积:"> | 271 | <el-form-item label="分摊建筑面积:"> |
269 | <div class="flex"> | 272 | <div class="flex"> |
270 | <el-input v-model="ruleForm.fdcq2.ftjzmj" | 273 | <el-input v-model="ruleForm.fdcq2.ftjzmj" :disabled="!viewEdit" |
271 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 274 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
272 | <el-select | 275 | <el-select |
273 | disabled | 276 | disabled |
... | @@ -287,7 +290,7 @@ | ... | @@ -287,7 +290,7 @@ |
287 | <el-row :gutter="10"> | 290 | <el-row :gutter="10"> |
288 | <el-col :span="24"> | 291 | <el-col :span="24"> |
289 | <el-form-item label="附记:"> | 292 | <el-form-item label="附记:"> |
290 | <el-input v-model="ruleForm.fdcq2.fj"></el-input> | 293 | <el-input v-model="ruleForm.fdcq2.fj" :disabled="!viewEdit"></el-input> |
291 | </el-form-item> | 294 | </el-form-item> |
292 | </el-col> | 295 | </el-col> |
293 | </el-row> | 296 | </el-row> |
... | @@ -296,7 +299,7 @@ | ... | @@ -296,7 +299,7 @@ |
296 | <div class="triangle"></div> | 299 | <div class="triangle"></div> |
297 | </div> | 300 | </div> |
298 | <tdytTable | 301 | <tdytTable |
299 | :ableOperation="ableOperation" | 302 | :ableOperation="viewEdit" |
300 | :tableData="ruleForm.tdytqxList" | 303 | :tableData="ruleForm.tdytqxList" |
301 | @upDateTdytxxList="upDateTdytxxList" /> | 304 | @upDateTdytxxList="upDateTdytxxList" /> |
302 | <div class="slxx_title title-block"> | 305 | <div class="slxx_title title-block"> |
... | @@ -306,7 +309,7 @@ | ... | @@ -306,7 +309,7 @@ |
306 | <el-row :gutter="10"> | 309 | <el-row :gutter="10"> |
307 | <el-col :span="12" v-if="ruleForm.qlxx"> | 310 | <el-col :span="12" v-if="ruleForm.qlxx"> |
308 | <el-form-item label="共有方式:"> | 311 | <el-form-item label="共有方式:"> |
309 | <el-radio-group :disabled="!ableOperation" | 312 | <el-radio-group :disabled="!viewEdit" |
310 | v-model="ruleForm.sldy.gyfs"> | 313 | v-model="ruleForm.sldy.gyfs"> |
311 | <el-radio label="0">单独所有</el-radio> | 314 | <el-radio label="0">单独所有</el-radio> |
312 | <el-radio label="1">共同共有</el-radio> | 315 | <el-radio label="1">共同共有</el-radio> |
... | @@ -319,7 +322,7 @@ | ... | @@ -319,7 +322,7 @@ |
319 | <el-form-item label="是否分别持证:"> | 322 | <el-form-item label="是否分别持证:"> |
320 | <el-radio-group | 323 | <el-radio-group |
321 | v-model="ruleForm.sldy.sqfbcz" | 324 | v-model="ruleForm.sldy.sqfbcz" |
322 | :disabled="!ableOperation"> | 325 | :disabled="!viewEdit"> |
323 | <el-radio :label="1">是</el-radio> | 326 | <el-radio :label="1">是</el-radio> |
324 | <el-radio :label="0">否</el-radio> | 327 | <el-radio :label="0">否</el-radio> |
325 | </el-radio-group> | 328 | </el-radio-group> |
... | @@ -332,7 +335,7 @@ | ... | @@ -332,7 +335,7 @@ |
332 | <el-select | 335 | <el-select |
333 | v-model="ruleForm.czr" | 336 | v-model="ruleForm.czr" |
334 | placeholder="持证人" | 337 | placeholder="持证人" |
335 | :disabled="!ableOperation"> | 338 | :disabled="!viewEdit"> |
336 | <el-option | 339 | <el-option |
337 | v-for="item in czrOptions" | 340 | v-for="item in czrOptions" |
338 | :key="item.zjh" | 341 | :key="item.zjh" |
... | @@ -343,7 +346,7 @@ | ... | @@ -343,7 +346,7 @@ |
343 | </el-form-item> | 346 | </el-form-item> |
344 | </el-col> | 347 | </el-col> |
345 | </el-row> | 348 | </el-row> |
346 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation" | 349 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="viewEdit" |
347 | :gyfs="ruleForm.qlxx.gyfs" /> | 350 | :gyfs="ruleForm.qlxx.gyfs" /> |
348 | 351 | ||
349 | <div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"> | 352 | <div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"> |
... | @@ -361,14 +364,14 @@ | ... | @@ -361,14 +364,14 @@ |
361 | <el-row :gutter="10"> | 364 | <el-row :gutter="10"> |
362 | <el-col> | 365 | <el-col> |
363 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> | 366 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> |
364 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" | 367 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" |
365 | v-model="ruleForm.fdcq2.djyy"> | 368 | v-model="ruleForm.fdcq2.djyy"> |
366 | </el-input> | 369 | </el-input> |
367 | </el-form-item> | 370 | </el-form-item> |
368 | </el-col> | 371 | </el-col> |
369 | </el-row> | 372 | </el-row> |
370 | </div> | 373 | </div> |
371 | <el-row class="btn" v-if="ableOperation"> | 374 | <el-row class="btn" v-if="viewEdit"> |
372 | <el-form-item> | 375 | <el-form-item> |
373 | <el-button type="primary" @click="onSubmit">保存</el-button> | 376 | <el-button type="primary" @click="onSubmit">保存</el-button> |
374 | </el-form-item> | 377 | </el-form-item> |
... | @@ -385,12 +388,12 @@ | ... | @@ -385,12 +388,12 @@ |
385 | export default { | 388 | export default { |
386 | mixins: [ywmix], | 389 | mixins: [ywmix], |
387 | mounted () { | 390 | mounted () { |
388 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 391 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
389 | this.propsParam = this.$attrs; | 392 | this.propsParam = this.$attrs; |
390 | var formdata = new FormData(); | 393 | var formdata = new FormData(); |
391 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 394 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
392 | formdata.append("djlx", this.propsParam.djlx); | 395 | formdata.append("djlx", this.propsParam.djlx); |
393 | formdata.append("isEdit", this.ableOperation); | 396 | formdata.append("isEdit", this.viewEdit); |
394 | Init(formdata).then((res) => { | 397 | Init(formdata).then((res) => { |
395 | if (res.code === 200 && res.result) { | 398 | if (res.code === 200 && res.result) { |
396 | this.ruleForm = { | 399 | this.ruleForm = { |
... | @@ -448,7 +451,7 @@ | ... | @@ -448,7 +451,7 @@ |
448 | //传递参数 | 451 | //传递参数 |
449 | propsParam: this.$attrs, | 452 | propsParam: this.$attrs, |
450 | //表单是否可操作 | 453 | //表单是否可操作 |
451 | ableOperation: true, | 454 | viewEdit: true, |
452 | rules: {} | 455 | rules: {} |
453 | } | 456 | } |
454 | }, | 457 | }, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-14 13:04:38 | 4 | * @LastEditTime: 2023-08-16 14:42:19 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -142,7 +142,7 @@ | ... | @@ -142,7 +142,7 @@ |
142 | <div class="triangle"></div> | 142 | <div class="triangle"></div> |
143 | </div> | 143 | </div> |
144 | <tdytTable | 144 | <tdytTable |
145 | :ableOperation="ableOperation" | 145 | :ableOperation="viewEdit" |
146 | :tableData="ruleForm.tdytqxList" | 146 | :tableData="ruleForm.tdytqxList" |
147 | @upDateTdytxxList="upDateTdytxxList" /> | 147 | @upDateTdytxxList="upDateTdytxxList" /> |
148 | <div class="slxx_title title-block"> | 148 | <div class="slxx_title title-block"> |
... | @@ -152,7 +152,7 @@ | ... | @@ -152,7 +152,7 @@ |
152 | <el-row :gutter="10"> | 152 | <el-row :gutter="10"> |
153 | <el-col :span="12"> | 153 | <el-col :span="12"> |
154 | <el-form-item label="共有方式:"> | 154 | <el-form-item label="共有方式:"> |
155 | <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs"> | 155 | <el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldy.gyfs"> |
156 | <el-radio label="0">单独所有</el-radio> | 156 | <el-radio label="0">单独所有</el-radio> |
157 | <el-radio label="1">共同共有</el-radio> | 157 | <el-radio label="1">共同共有</el-radio> |
158 | <el-radio label="2">按份所有</el-radio> | 158 | <el-radio label="2">按份所有</el-radio> |
... | @@ -164,7 +164,7 @@ | ... | @@ -164,7 +164,7 @@ |
164 | <el-form-item label="是否分别持证:"> | 164 | <el-form-item label="是否分别持证:"> |
165 | <el-radio-group | 165 | <el-radio-group |
166 | v-model="ruleForm.sldy.sqfbcz" | 166 | v-model="ruleForm.sldy.sqfbcz" |
167 | :disabled="!ableOperation"> | 167 | :disabled="!viewEdit"> |
168 | <el-radio :label="1">是</el-radio> | 168 | <el-radio :label="1">是</el-radio> |
169 | <el-radio :label="0">否</el-radio> | 169 | <el-radio :label="0">否</el-radio> |
170 | </el-radio-group> | 170 | </el-radio-group> |
... | @@ -177,7 +177,7 @@ | ... | @@ -177,7 +177,7 @@ |
177 | <el-select | 177 | <el-select |
178 | v-model="ruleForm.czr" | 178 | v-model="ruleForm.czr" |
179 | placeholder="持证人" | 179 | placeholder="持证人" |
180 | :disabled="!ableOperation"> | 180 | :disabled="!viewEdit"> |
181 | <el-option | 181 | <el-option |
182 | v-for="(item,index) in czrOptions" | 182 | v-for="(item,index) in czrOptions" |
183 | :key="index" | 183 | :key="index" |
... | @@ -189,7 +189,7 @@ | ... | @@ -189,7 +189,7 @@ |
189 | </el-col> | 189 | </el-col> |
190 | </el-row> | 190 | </el-row> |
191 | <qlrCommonTable :tableData="ruleForm.qlrList" | 191 | <qlrCommonTable :tableData="ruleForm.qlrList" |
192 | :disabled="!ableOperation" | 192 | :disabled="!viewEdit" |
193 | @upDateQlrxxList="upDateQlrxxList" :key="key" :gyfs="ruleForm.sldy.gyfs" /> | 193 | @upDateQlrxxList="upDateQlrxxList" :key="key" :gyfs="ruleForm.sldy.gyfs" /> |
194 | 194 | ||
195 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> | 195 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> |
... | @@ -197,7 +197,7 @@ | ... | @@ -197,7 +197,7 @@ |
197 | 义务人信息 | 197 | 义务人信息 |
198 | <div class="triangle"></div> | 198 | <div class="triangle"></div> |
199 | </div> | 199 | </div> |
200 | <qlrCommonTable v-if="ruleForm.ywrList" :disabled="!ableOperation" :tableData="ruleForm.ywrList" :key="key" @upDateQlrxxList="upDateYwrxxList" /> | 200 | <qlrCommonTable v-if="ruleForm.ywrList" :disabled="!viewEdit" :tableData="ruleForm.ywrList" :key="key" @upDateQlrxxList="upDateYwrxxList" /> |
201 | </div> | 201 | </div> |
202 | 202 | ||
203 | <div class="slxx_title title-block"> | 203 | <div class="slxx_title title-block"> |
... | @@ -207,14 +207,14 @@ | ... | @@ -207,14 +207,14 @@ |
207 | <el-row :gutter="10"> | 207 | <el-row :gutter="10"> |
208 | <el-col> | 208 | <el-col> |
209 | <el-form-item label="登记原因:" prop="djyy"> | 209 | <el-form-item label="登记原因:" prop="djyy"> |
210 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" | 210 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" |
211 | v-model="ruleForm.jsydsyq.djyy"> | 211 | v-model="ruleForm.jsydsyq.djyy"> |
212 | </el-input> | 212 | </el-input> |
213 | </el-form-item> | 213 | </el-form-item> |
214 | </el-col> | 214 | </el-col> |
215 | </el-row> | 215 | </el-row> |
216 | </div> | 216 | </div> |
217 | <el-row class="btn" v-if="ableOperation"> | 217 | <el-row class="btn" v-if="viewEdit"> |
218 | <el-form-item> | 218 | <el-form-item> |
219 | <el-button type="primary" @click="onSubmit">保存</el-button> | 219 | <el-button type="primary" @click="onSubmit">保存</el-button> |
220 | </el-form-item> | 220 | </el-form-item> |
... | @@ -231,14 +231,14 @@ | ... | @@ -231,14 +231,14 @@ |
231 | export default { | 231 | export default { |
232 | mixins: [ywmix], | 232 | mixins: [ywmix], |
233 | mounted () { | 233 | mounted () { |
234 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 234 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
235 | this.propsParam = this.$attrs; | 235 | this.propsParam = this.$attrs; |
236 | var formdata = new FormData(); | 236 | var formdata = new FormData(); |
237 | let that = this | 237 | let that = this |
238 | this.$startLoading(); | 238 | this.$startLoading(); |
239 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 239 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
240 | formdata.append("djlx", this.propsParam.djlx); | 240 | formdata.append("djlx", this.propsParam.djlx); |
241 | formdata.append("isEdit", this.ableOperation); | 241 | formdata.append("isEdit", this.viewEdit); |
242 | Init(formdata).then((res) => { | 242 | Init(formdata).then((res) => { |
243 | this.$nextTick(() => { | 243 | this.$nextTick(() => { |
244 | that.ruleForm = res.result; | 244 | that.ruleForm = res.result; |
... | @@ -253,7 +253,7 @@ | ... | @@ -253,7 +253,7 @@ |
253 | ...mapGetters(["dictData", "flag"]), | 253 | ...mapGetters(["dictData", "flag"]), |
254 | // 根据流程判断表单是否为只读 | 254 | // 根据流程判断表单是否为只读 |
255 | editDisabled () { | 255 | editDisabled () { |
256 | if (!this.ableOperation) { | 256 | if (!this.viewEdit) { |
257 | //只读状态 | 257 | //只读状态 |
258 | return true; | 258 | return true; |
259 | } | 259 | } |
... | @@ -264,7 +264,7 @@ | ... | @@ -264,7 +264,7 @@ |
264 | return { | 264 | return { |
265 | mjdw: "1", | 265 | mjdw: "1", |
266 | //表单是否可操作 | 266 | //表单是否可操作 |
267 | ableOperation: true, | 267 | viewEdit: true, |
268 | key: 0, | 268 | key: 0, |
269 | isShow: false, | 269 | isShow: false, |
270 | disabled: true, | 270 | disabled: true, | ... | ... |
... | @@ -90,17 +90,17 @@ | ... | @@ -90,17 +90,17 @@ |
90 | <el-row :gutter="10"> | 90 | <el-row :gutter="10"> |
91 | <el-col :span="8"> | 91 | <el-col :span="8"> |
92 | <el-form-item label="发包方名称:"> | 92 | <el-form-item label="发包方名称:"> |
93 | <el-input v-model="ruleForm.nydsyq.fbfmc" :disabled="!ableOperation"></el-input> | 93 | <el-input v-model="ruleForm.nydsyq.fbfmc" :disabled="!viewEdit"></el-input> |
94 | </el-form-item> | 94 | </el-form-item> |
95 | </el-col> | 95 | </el-col> |
96 | <el-col :span="8"> | 96 | <el-col :span="8"> |
97 | <el-form-item label="发包方代码:"> | 97 | <el-form-item label="发包方代码:"> |
98 | <el-input v-model="ruleForm.nydsyq.fbfdm" :disabled="!ableOperation"></el-input> | 98 | <el-input v-model="ruleForm.nydsyq.fbfdm" :disabled="!viewEdit"></el-input> |
99 | </el-form-item> | 99 | </el-form-item> |
100 | </el-col> | 100 | </el-col> |
101 | <el-col :span="8"> | 101 | <el-col :span="8"> |
102 | <el-form-item label="土地所有权性质:"> | 102 | <el-form-item label="土地所有权性质:"> |
103 | <el-select v-model="ruleForm.nydsyq.tdsyqxzmc" class="width100" :disabled="!ableOperation" filterable clearable> | 103 | <el-select v-model="ruleForm.nydsyq.tdsyqxzmc" class="width100" :disabled="!viewEdit" filterable clearable> |
104 | <el-option v-for="item in dictData['A45']" :key="item.dname" :label="item.dname" :value="item.dname"> | 104 | <el-option v-for="item in dictData['A45']" :key="item.dname" :label="item.dname" :value="item.dname"> |
105 | </el-option> | 105 | </el-option> |
106 | </el-select> | 106 | </el-select> |
... | @@ -122,7 +122,7 @@ | ... | @@ -122,7 +122,7 @@ |
122 | <el-row :gutter="10"> | 122 | <el-row :gutter="10"> |
123 | <el-col :span="8"> | 123 | <el-col :span="8"> |
124 | <el-form-item label="水域滩涂类型:"> | 124 | <el-form-item label="水域滩涂类型:"> |
125 | <el-select v-model="ruleForm.nydsyq.syttlx" :disabled="!ableOperation" class="width100" filterable clearable @change="changeSyttlx"> | 125 | <el-select v-model="ruleForm.nydsyq.syttlx" :disabled="!viewEdit" class="width100" filterable clearable @change="changeSyttlx"> |
126 | <el-option v-for="item in dictData['A23']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 126 | <el-option v-for="item in dictData['A23']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
127 | </el-option> | 127 | </el-option> |
128 | </el-select> | 128 | </el-select> |
... | @@ -130,7 +130,7 @@ | ... | @@ -130,7 +130,7 @@ |
130 | </el-col> | 130 | </el-col> |
131 | <el-col :span="8"> | 131 | <el-col :span="8"> |
132 | <el-form-item label="养殖业方式:"> | 132 | <el-form-item label="养殖业方式:"> |
133 | <el-select v-model="ruleForm.nydsyq.yzyfs" :disabled="!ableOperation" class="width100" filterable clearable @change="changeYzyfs"> | 133 | <el-select v-model="ruleForm.nydsyq.yzyfs" :disabled="!viewEdit" class="width100" filterable clearable @change="changeYzyfs"> |
134 | <el-option v-for="item in dictData['A24']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 134 | <el-option v-for="item in dictData['A24']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
135 | </el-option> | 135 | </el-option> |
136 | </el-select> | 136 | </el-select> |
... | @@ -138,19 +138,19 @@ | ... | @@ -138,19 +138,19 @@ |
138 | </el-col> | 138 | </el-col> |
139 | <el-col :span="8"> | 139 | <el-col :span="8"> |
140 | <el-form-item label="草原质量:"> | 140 | <el-form-item label="草原质量:"> |
141 | <el-input v-model="ruleForm.nydsyq.cyzl" :disabled="!ableOperation"></el-input> | 141 | <el-input v-model="ruleForm.nydsyq.cyzl" :disabled="!viewEdit"></el-input> |
142 | </el-form-item> | 142 | </el-form-item> |
143 | </el-col> | 143 | </el-col> |
144 | </el-row> | 144 | </el-row> |
145 | <el-row :gutter="10"> | 145 | <el-row :gutter="10"> |
146 | <el-col :span="8"> | 146 | <el-col :span="8"> |
147 | <el-form-item label="适宜载畜量:"> | 147 | <el-form-item label="适宜载畜量:"> |
148 | <el-input v-model="ruleForm.nydsyq.syzcl" :disabled="!ableOperation" oninput="value=value.replace(/[^\d.]/g,'')"></el-input> | 148 | <el-input v-model="ruleForm.nydsyq.syzcl" :disabled="!viewEdit" oninput="value=value.replace(/[^\d.]/g,'')"></el-input> |
149 | </el-form-item> | 149 | </el-form-item> |
150 | </el-col> | 150 | </el-col> |
151 | <el-col :span="8"> | 151 | <el-col :span="8"> |
152 | <el-form-item label="用地用海分类:"> | 152 | <el-form-item label="用地用海分类:"> |
153 | <el-select v-model="ruleForm.nydsyq.ydyhfl" :disabled="!ableOperation" class="width100" filterable clearable @change="changeYdyhfl"> | 153 | <el-select v-model="ruleForm.nydsyq.ydyhfl" :disabled="!viewEdit" class="width100" filterable clearable @change="changeYdyhfl"> |
154 | <el-option v-for="item in dictData['A51']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 154 | <el-option v-for="item in dictData['A51']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
155 | </el-option> | 155 | </el-option> |
156 | </el-select> | 156 | </el-select> |
... | @@ -158,14 +158,14 @@ | ... | @@ -158,14 +158,14 @@ |
158 | </el-col> | 158 | </el-col> |
159 | <el-col :span="8"> | 159 | <el-col :span="8"> |
160 | <el-form-item label="土地承包合同:"> | 160 | <el-form-item label="土地承包合同:"> |
161 | <el-input v-model="ruleForm.nydsyq.tdcbht" :disabled="!ableOperation"></el-input> | 161 | <el-input v-model="ruleForm.nydsyq.tdcbht" :disabled="!viewEdit"></el-input> |
162 | </el-form-item> | 162 | </el-form-item> |
163 | </el-col> | 163 | </el-col> |
164 | </el-row> | 164 | </el-row> |
165 | <el-row :gutter="10"> | 165 | <el-row :gutter="10"> |
166 | <el-col> | 166 | <el-col> |
167 | <el-form-item label="附记:" prop="fj"> | 167 | <el-form-item label="附记:" prop="fj"> |
168 | <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="!ableOperation"></el-input> | 168 | <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="!viewEdit"></el-input> |
169 | </el-form-item> | 169 | </el-form-item> |
170 | </el-col> | 170 | </el-col> |
171 | </el-row> | 171 | </el-row> |
... | @@ -176,7 +176,7 @@ | ... | @@ -176,7 +176,7 @@ |
176 | <el-row :gutter="10"> | 176 | <el-row :gutter="10"> |
177 | <el-col :span="12"> | 177 | <el-col :span="12"> |
178 | <el-form-item label="共有方式:"> | 178 | <el-form-item label="共有方式:"> |
179 | <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs"> | 179 | <el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldy.gyfs"> |
180 | <el-radio label="0">单独所有</el-radio> | 180 | <el-radio label="0">单独所有</el-radio> |
181 | <el-radio label="1">共同共有</el-radio> | 181 | <el-radio label="1">共同共有</el-radio> |
182 | <el-radio label="2">按份所有</el-radio> | 182 | <el-radio label="2">按份所有</el-radio> |
... | @@ -188,7 +188,7 @@ | ... | @@ -188,7 +188,7 @@ |
188 | <el-form-item label="是否分别持证:"> | 188 | <el-form-item label="是否分别持证:"> |
189 | <el-radio-group | 189 | <el-radio-group |
190 | v-model="ruleForm.sldy.sqfbcz" | 190 | v-model="ruleForm.sldy.sqfbcz" |
191 | :disabled="!ableOperation"> | 191 | :disabled="!viewEdit"> |
192 | <el-radio :label="1">是</el-radio> | 192 | <el-radio :label="1">是</el-radio> |
193 | <el-radio :label="0">否</el-radio> | 193 | <el-radio :label="0">否</el-radio> |
194 | </el-radio-group> | 194 | </el-radio-group> |
... | @@ -201,7 +201,7 @@ | ... | @@ -201,7 +201,7 @@ |
201 | <el-select | 201 | <el-select |
202 | v-model="ruleForm.czr" | 202 | v-model="ruleForm.czr" |
203 | placeholder="持证人" | 203 | placeholder="持证人" |
204 | :disabled="!ableOperation"> | 204 | :disabled="!viewEdit"> |
205 | <el-option | 205 | <el-option |
206 | v-for="item in czrOptions" | 206 | v-for="item in czrOptions" |
207 | :key="item.zjh" | 207 | :key="item.zjh" |
... | @@ -212,17 +212,17 @@ | ... | @@ -212,17 +212,17 @@ |
212 | </el-form-item> | 212 | </el-form-item> |
213 | </el-col> | 213 | </el-col> |
214 | </el-row> | 214 | </el-row> |
215 | <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :gyfs="ruleForm.sldy.gyfs" /> | 215 | <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!viewEdit" :gyfs="ruleForm.sldy.gyfs" /> |
216 | <div class="slxx_title title-block"> | 216 | <div class="slxx_title title-block"> |
217 | 义务人信息 | 217 | 义务人信息 |
218 | <div class="triangle"></div> | 218 | <div class="triangle"></div> |
219 | </div> | 219 | </div> |
220 | <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation" /> | 220 | <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!viewEdit" /> |
221 | <div class="slxx_title title-block"> | 221 | <div class="slxx_title title-block"> |
222 | 家庭成员 | 222 | 家庭成员 |
223 | <div class="triangle"></div> | 223 | <div class="triangle"></div> |
224 | </div> | 224 | </div> |
225 | <JtcyTable :tableData="ruleForm.jtcyList" :disabled="!ableOperation" @upDateJtcyList="upDateJtcyList" :gyfs="ruleForm.slywxx.gyfs" /> | 225 | <JtcyTable :tableData="ruleForm.jtcyList" :disabled="!viewEdit" @upDateJtcyList="upDateJtcyList" :gyfs="ruleForm.slywxx.gyfs" /> |
226 | <div class="slxx_title title-block"> | 226 | <div class="slxx_title title-block"> |
227 | 登记原因 | 227 | 登记原因 |
228 | <div class="triangle"></div> | 228 | <div class="triangle"></div> |
... | @@ -230,14 +230,14 @@ | ... | @@ -230,14 +230,14 @@ |
230 | <el-row :gutter="10"> | 230 | <el-row :gutter="10"> |
231 | <el-col> | 231 | <el-col> |
232 | <el-form-item label="登记原因:" prop="djyy"> | 232 | <el-form-item label="登记原因:" prop="djyy"> |
233 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" | 233 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" |
234 | v-model="ruleForm.nydsyq.djyy"> | 234 | v-model="ruleForm.nydsyq.djyy"> |
235 | </el-input> | 235 | </el-input> |
236 | </el-form-item> | 236 | </el-form-item> |
237 | </el-col> | 237 | </el-col> |
238 | </el-row> | 238 | </el-row> |
239 | </div> | 239 | </div> |
240 | <el-row class="btn" v-if="ableOperation"> | 240 | <el-row class="btn" v-if="viewEdit"> |
241 | <el-form-item> | 241 | <el-form-item> |
242 | <el-button type="primary" @click="onSubmit">保存</el-button> | 242 | <el-button type="primary" @click="onSubmit">保存</el-button> |
243 | </el-form-item> | 243 | </el-form-item> |
... | @@ -254,13 +254,13 @@ | ... | @@ -254,13 +254,13 @@ |
254 | export default { | 254 | export default { |
255 | mixins: [ywmix], | 255 | mixins: [ywmix], |
256 | mounted () { | 256 | mounted () { |
257 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 257 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
258 | this.propsParam = this.$attrs; | 258 | this.propsParam = this.$attrs; |
259 | var formdata = new FormData(); | 259 | var formdata = new FormData(); |
260 | this.$startLoading(); | 260 | this.$startLoading(); |
261 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 261 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
262 | formdata.append("djlx", this.propsParam.djlx); | 262 | formdata.append("djlx", this.propsParam.djlx); |
263 | formdata.append("isEdit", this.ableOperation); | 263 | formdata.append("isEdit", this.viewEdit); |
264 | Init(formdata).then((res) => { | 264 | Init(formdata).then((res) => { |
265 | this.ruleForm = res.result; | 265 | this.ruleForm = res.result; |
266 | this.czrOptions = this.ruleForm.qlrList; | 266 | this.czrOptions = this.ruleForm.qlrList; |
... | @@ -275,7 +275,7 @@ | ... | @@ -275,7 +275,7 @@ |
275 | data () { | 275 | data () { |
276 | return { | 276 | return { |
277 | //表单是否可操作 | 277 | //表单是否可操作 |
278 | ableOperation: true, | 278 | viewEdit: true, |
279 | disabled: true, | 279 | disabled: true, |
280 | czrOptions: [], | 280 | czrOptions: [], |
281 | ruleForm: {}, | 281 | ruleForm: {}, | ... | ... |
... | @@ -117,10 +117,10 @@ | ... | @@ -117,10 +117,10 @@ |
117 | <el-col :span="8"> | 117 | <el-col :span="8"> |
118 | <el-form-item label="被担保主债权数额:"> | 118 | <el-form-item label="被担保主债权数额:"> |
119 | <div class="flex"> | 119 | <div class="flex"> |
120 | <el-input v-model="ruleForm.ygdj.qdjg" :disabled="!ableOperation"></el-input> | 120 | <el-input v-model="ruleForm.ygdj.qdjg" :disabled="!viewEdit"></el-input> |
121 | <el-select | 121 | <el-select |
122 | v-model="ruleForm.ygdj.jedw" | 122 | v-model="ruleForm.ygdj.jedw" |
123 | :disabled="!ableOperation" | 123 | :disabled="!viewEdit" |
124 | style="width: 68px"> | 124 | style="width: 68px"> |
125 | <el-option | 125 | <el-option |
126 | v-for="item in dictData['A57']" | 126 | v-for="item in dictData['A57']" |
... | @@ -134,13 +134,13 @@ | ... | @@ -134,13 +134,13 @@ |
134 | </el-col> | 134 | </el-col> |
135 | <el-col :span="8"> | 135 | <el-col :span="8"> |
136 | <el-form-item label="债务履行起始时间:"> | 136 | <el-form-item label="债务履行起始时间:"> |
137 | <el-date-picker v-model="ruleForm.ygdj.zwlxqssj" :disabled="!ableOperation" type="date"> | 137 | <el-date-picker v-model="ruleForm.ygdj.zwlxqssj" :disabled="!viewEdit" type="date"> |
138 | </el-date-picker> | 138 | </el-date-picker> |
139 | </el-form-item> | 139 | </el-form-item> |
140 | </el-col> | 140 | </el-col> |
141 | <el-col :span="8"> | 141 | <el-col :span="8"> |
142 | <el-form-item label="债务履行结束时间:"> | 142 | <el-form-item label="债务履行结束时间:"> |
143 | <el-date-picker v-model="ruleForm.ygdj.zwlxjssj" :disabled="!ableOperation" type="date"> | 143 | <el-date-picker v-model="ruleForm.ygdj.zwlxjssj" :disabled="!viewEdit" type="date"> |
144 | </el-date-picker> | 144 | </el-date-picker> |
145 | </el-form-item> | 145 | </el-form-item> |
146 | </el-col> | 146 | </el-col> |
... | @@ -149,13 +149,13 @@ | ... | @@ -149,13 +149,13 @@ |
149 | <el-col :span="16"> | 149 | <el-col :span="16"> |
150 | <el-form-item label="是否存在禁止或限制转让抵押不动产的约定:"> | 150 | <el-form-item label="是否存在禁止或限制转让抵押不动产的约定:"> |
151 | <el-input v-model="ruleForm.ygdj.sfczjzhxz" | 151 | <el-input v-model="ruleForm.ygdj.sfczjzhxz" |
152 | :disabled="ruleForm.sldy.djlx == '300' && !ableOperation"></el-input> | 152 | :disabled="ruleForm.sldy.djlx == '300' && !viewEdit"></el-input> |
153 | </el-form-item> | 153 | </el-form-item> |
154 | </el-col> | 154 | </el-col> |
155 | <el-col :span="8"> | 155 | <el-col :span="8"> |
156 | <el-form-item label="担保范围:"> | 156 | <el-form-item label="担保范围:"> |
157 | <el-input v-model="ruleForm.ygdj.dbfw" | 157 | <el-input v-model="ruleForm.ygdj.dbfw" |
158 | :disabled="ruleForm.sldy.djlx == '300' && !ableOperation"></el-input> | 158 | :disabled="ruleForm.sldy.djlx == '300' && !viewEdit"></el-input> |
159 | </el-form-item> | 159 | </el-form-item> |
160 | </el-col> | 160 | </el-col> |
161 | 161 | ||
... | @@ -163,7 +163,7 @@ | ... | @@ -163,7 +163,7 @@ |
163 | <el-row> | 163 | <el-row> |
164 | <el-col :span="24"> | 164 | <el-col :span="24"> |
165 | <el-form-item label="附记:" prop="fj"> | 165 | <el-form-item label="附记:" prop="fj"> |
166 | <el-input type="textarea" v-model="ruleForm.ygdj.fj" :disabled="!ableOperation"></el-input> | 166 | <el-input type="textarea" v-model="ruleForm.ygdj.fj" :disabled="!viewEdit"></el-input> |
167 | </el-form-item> | 167 | </el-form-item> |
168 | </el-col> | 168 | </el-col> |
169 | </el-row> | 169 | </el-row> |
... | @@ -174,7 +174,7 @@ | ... | @@ -174,7 +174,7 @@ |
174 | <el-row :gutter="10"> | 174 | <el-row :gutter="10"> |
175 | <el-col :span="12"> | 175 | <el-col :span="12"> |
176 | <el-form-item label="共有方式:"> | 176 | <el-form-item label="共有方式:"> |
177 | <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs"> | 177 | <el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldy.gyfs"> |
178 | <el-radio label="0">单独所有</el-radio> | 178 | <el-radio label="0">单独所有</el-radio> |
179 | <el-radio label="1">共同共有</el-radio> | 179 | <el-radio label="1">共同共有</el-radio> |
180 | <el-radio label="2">按份所有</el-radio> | 180 | <el-radio label="2">按份所有</el-radio> |
... | @@ -186,7 +186,7 @@ | ... | @@ -186,7 +186,7 @@ |
186 | <el-form-item label="是否分别持证:"> | 186 | <el-form-item label="是否分别持证:"> |
187 | <el-radio-group | 187 | <el-radio-group |
188 | v-model="ruleForm.sldy.sqfbcz" | 188 | v-model="ruleForm.sldy.sqfbcz" |
189 | :disabled="!ableOperation"> | 189 | :disabled="!viewEdit"> |
190 | <el-radio :label="1">是</el-radio> | 190 | <el-radio :label="1">是</el-radio> |
191 | <el-radio :label="0">否</el-radio> | 191 | <el-radio :label="0">否</el-radio> |
192 | </el-radio-group> | 192 | </el-radio-group> |
... | @@ -199,7 +199,7 @@ | ... | @@ -199,7 +199,7 @@ |
199 | <el-select | 199 | <el-select |
200 | v-model="ruleForm.czr" | 200 | v-model="ruleForm.czr" |
201 | placeholder="持证人" | 201 | placeholder="持证人" |
202 | :disabled="!ableOperation"> | 202 | :disabled="!viewEdit"> |
203 | <el-option | 203 | <el-option |
204 | v-for="item in czrOptions" | 204 | v-for="item in czrOptions" |
205 | :key="item.zjh" | 205 | :key="item.zjh" |
... | @@ -210,13 +210,13 @@ | ... | @@ -210,13 +210,13 @@ |
210 | </el-form-item> | 210 | </el-form-item> |
211 | </el-col> | 211 | </el-col> |
212 | </el-row> | 212 | </el-row> |
213 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation" | 213 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!viewEdit" |
214 | :gyfs="ruleForm.sldy.gyfs" /> | 214 | :gyfs="ruleForm.sldy.gyfs" /> |
215 | <div class="slxx_title title-block"> | 215 | <div class="slxx_title title-block"> |
216 | 义务人信息 | 216 | 义务人信息 |
217 | <div class="triangle"></div> | 217 | <div class="triangle"></div> |
218 | </div> | 218 | </div> |
219 | <qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" :disabled="!ableOperation" | 219 | <qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" :disabled="!viewEdit" |
220 | :gyfs="ruleForm.sldy.gyfs" /> | 220 | :gyfs="ruleForm.sldy.gyfs" /> |
221 | <div class="slxx_title title-block"> | 221 | <div class="slxx_title title-block"> |
222 | 登记原因 | 222 | 登记原因 |
... | @@ -225,14 +225,14 @@ | ... | @@ -225,14 +225,14 @@ |
225 | <el-row :gutter="10"> | 225 | <el-row :gutter="10"> |
226 | <el-col> | 226 | <el-col> |
227 | <el-form-item label="登记原因:" prop="djyy"> | 227 | <el-form-item label="登记原因:" prop="djyy"> |
228 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" | 228 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" |
229 | v-model="ruleForm.ygdj.djyy"> | 229 | v-model="ruleForm.ygdj.djyy"> |
230 | </el-input> | 230 | </el-input> |
231 | </el-form-item> | 231 | </el-form-item> |
232 | </el-col> | 232 | </el-col> |
233 | </el-row> | 233 | </el-row> |
234 | </div> | 234 | </div> |
235 | <el-row class="btn" v-if="ableOperation"> | 235 | <el-row class="btn" v-if="viewEdit"> |
236 | <el-form-item> | 236 | <el-form-item> |
237 | <el-button type="primary" @click="onSubmit">保存</el-button> | 237 | <el-button type="primary" @click="onSubmit">保存</el-button> |
238 | </el-form-item> | 238 | </el-form-item> |
... | @@ -248,7 +248,7 @@ | ... | @@ -248,7 +248,7 @@ |
248 | export default { | 248 | export default { |
249 | mixins: [ywmix], | 249 | mixins: [ywmix], |
250 | created () { | 250 | created () { |
251 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 251 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
252 | this.propsParam = this.$attrs; | 252 | this.propsParam = this.$attrs; |
253 | var formdata = new FormData(); | 253 | var formdata = new FormData(); |
254 | let that = this | 254 | let that = this |
... | @@ -256,7 +256,7 @@ | ... | @@ -256,7 +256,7 @@ |
256 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 256 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
257 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | 257 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
258 | formdata.append("djlx", this.propsParam.djlx); | 258 | formdata.append("djlx", this.propsParam.djlx); |
259 | formdata.append("isEdit", this.ableOperation); | 259 | formdata.append("isEdit", this.viewEdit); |
260 | Init(formdata).then((res) => { | 260 | Init(formdata).then((res) => { |
261 | if (res.code === 200 && res.result) { | 261 | if (res.code === 200 && res.result) { |
262 | that.ruleForm = res.result; | 262 | that.ruleForm = res.result; |
... | @@ -274,7 +274,7 @@ | ... | @@ -274,7 +274,7 @@ |
274 | data () { | 274 | data () { |
275 | return { | 275 | return { |
276 | //表单是否可操作 | 276 | //表单是否可操作 |
277 | ableOperation: true, | 277 | viewEdit: true, |
278 | loading: false, | 278 | loading: false, |
279 | disabled: true, | 279 | disabled: true, |
280 | tdytOption: [], | 280 | tdytOption: [], | ... | ... |
-
Please register or sign in to post a comment