Merge branch 'dev'
Showing
16 changed files
with
175 additions
and
161 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 16:44:30 | 4 | * @LastEditTime: 2023-08-16 10:01:28 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -252,7 +252,7 @@ | ... | @@ -252,7 +252,7 @@ |
252 | </el-col> | 252 | </el-col> |
253 | <el-col :span="8"> | 253 | <el-col :span="8"> |
254 | <el-form-item label="总层数:"> | 254 | <el-form-item label="总层数:"> |
255 | <el-input v-model="ruleForm.fdcq2.zcs"></el-input> | 255 | <el-input v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input> |
256 | </el-form-item> | 256 | </el-form-item> |
257 | </el-col> | 257 | </el-col> |
258 | <el-col :span="8"> | 258 | <el-col :span="8"> |
... | @@ -583,7 +583,6 @@ | ... | @@ -583,7 +583,6 @@ |
583 | this.ssQlxxList = res.result; | 583 | this.ssQlxxList = res.result; |
584 | } | 584 | } |
585 | }); | 585 | }); |
586 | return false; | ||
587 | } | 586 | } |
588 | }); | 587 | }); |
589 | }, | 588 | }, |
... | @@ -647,6 +646,17 @@ | ... | @@ -647,6 +646,17 @@ |
647 | message: "请补充土地性质", | 646 | message: "请补充土地性质", |
648 | type: "error", | 647 | type: "error", |
649 | }); | 648 | }); |
649 | return false; | ||
650 | } | ||
651 | if (this.ruleForm.qlxx.gyfs == "0") { | ||
652 | if (this.ruleForm.qlrData.length > 1) { | ||
653 | this.$message({ | ||
654 | showClose: true, | ||
655 | message: "请确认权利人信息", | ||
656 | type: "error", | ||
657 | }); | ||
658 | return false; | ||
659 | } | ||
650 | } | 660 | } |
651 | if (this.ruleForm.qlxx.gyfs == "0") { | 661 | if (this.ruleForm.qlxx.gyfs == "0") { |
652 | if (this.ruleForm.qlrData.length > 1) { | 662 | if (this.ruleForm.qlrData.length > 1) { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-10 14:12:58 | 4 | * @LastEditTime: 2023-08-16 10:01:49 |
5 | :show-message="false" | 5 | :show-message="false" |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
... | @@ -326,7 +326,7 @@ | ... | @@ -326,7 +326,7 @@ |
326 | </el-col> | 326 | </el-col> |
327 | <el-col :span="8"> | 327 | <el-col :span="8"> |
328 | <el-form-item label="总层数:"> | 328 | <el-form-item label="总层数:"> |
329 | <el-input oninput = "value=value.replace(/[^\d]/g,'')" maxlength="4" v-model="ruleForm.ygdj.zcs"></el-input> | 329 | <el-input oninput="value=value.replace(/[^\d]/g,'')" maxlength="4" v-model.number="ruleForm.ygdj.zcs"></el-input> |
330 | </el-form-item> | 330 | </el-form-item> |
331 | </el-col> | 331 | </el-col> |
332 | <el-col :span="8"> | 332 | <el-col :span="8"> |
... | @@ -414,13 +414,13 @@ | ... | @@ -414,13 +414,13 @@ |
414 | <span type="text" style="color: #444" size="mini">是否存在禁止...:</span> | 414 | <span type="text" style="color: #444" size="mini">是否存在禁止...:</span> |
415 | </el-tooltip> | 415 | </el-tooltip> |
416 | </span> | 416 | </span> |
417 | <el-radio-group v-model="ruleForm.ygdj.sfczjzhxz"> | 417 | <el-radio-group v-model="ruleForm.ygdj.sfczjzhxz"> |
418 | <el-radio label="1">是</el-radio> | 418 | <el-radio label="1">是</el-radio> |
419 | <el-radio label="2">否</el-radio> | 419 | <el-radio label="2">否</el-radio> |
420 | </el-radio-group> | 420 | </el-radio-group> |
421 | </el-form-item> | 421 | </el-form-item> |
422 | </el-col> | 422 | </el-col> |
423 | <!-- <el-col :span="8"> | 423 | <!-- <el-col :span="8"> |
424 | <el-form-item | 424 | <el-form-item |
425 | label="是否存在禁止或限制转让抵押不动产的约定:" label-width="345px"> | 425 | label="是否存在禁止或限制转让抵押不动产的约定:" label-width="345px"> |
426 | <el-radio-group v-model="ruleForm.ygdj.sfczjzhxz" @change="djlxchange"> | 426 | <el-radio-group v-model="ruleForm.ygdj.sfczjzhxz" @change="djlxchange"> |
... | @@ -488,7 +488,7 @@ | ... | @@ -488,7 +488,7 @@ |
488 | </div> | 488 | </div> |
489 | </template> | 489 | </template> |
490 | <script> | 490 | <script> |
491 | import ywmix from "./dataprocessing"; | 491 | import ywmix from "./dataprocessing"; |
492 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 492 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
493 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | 493 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
494 | import tdytTable from "@/views/workflow/components/tdytTable"; | 494 | import tdytTable from "@/views/workflow/components/tdytTable"; | ... | ... |
... | @@ -42,7 +42,7 @@ | ... | @@ -42,7 +42,7 @@ |
42 | <el-row> | 42 | <el-row> |
43 | <el-col :span="24"> | 43 | <el-col :span="24"> |
44 | <el-form-item label="权利其他状况模板" prop="qlqtzk"> | 44 | <el-form-item label="权利其他状况模板" prop="qlqtzk"> |
45 | <el-input type="textarea" :rows="3" placeholder="请输入内容" v-model="ruleForm.qlqtzk"> | 45 | <el-input type="textarea" :rows="8" placeholder="请输入内容" v-model="ruleForm.qlqtzk"> |
46 | </el-input> | 46 | </el-input> |
47 | </el-form-item> | 47 | </el-form-item> |
48 | </el-col> | 48 | </el-col> | ... | ... |
... | @@ -24,7 +24,7 @@ | ... | @@ -24,7 +24,7 @@ |
24 | <el-input v-model="ruleForm.qlr" clearable placeholder="请输入权利人"></el-input> | 24 | <el-input v-model="ruleForm.qlr" clearable placeholder="请输入权利人"></el-input> |
25 | </el-form-item> | 25 | </el-form-item> |
26 | </el-col> | 26 | </el-col> |
27 | <el-col :span="6" class="btnColRight" v-if="ableOperation"> | 27 | <el-col :span="6" class="btnColRight" v-if="viewEdit"> |
28 | <el-form-item> | 28 | <el-form-item> |
29 | <el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button> | 29 | <el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button> |
30 | <el-button type="primary" icon="el-icon-search" @click="zslqClick">证书领取</el-button> | 30 | <el-button type="primary" icon="el-icon-search" @click="zslqClick">证书领取</el-button> |
... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
50 | data () { | 50 | data () { |
51 | return { | 51 | return { |
52 | //表单是否可操作 | 52 | //表单是否可操作 |
53 | ableOperation: true, | 53 | viewEdit: false, |
54 | ruleForm: { | 54 | ruleForm: { |
55 | ysxlh: '', | 55 | ysxlh: '', |
56 | zsh: '', | 56 | zsh: '', |
... | @@ -66,7 +66,7 @@ | ... | @@ -66,7 +66,7 @@ |
66 | } | 66 | } |
67 | }, | 67 | }, |
68 | created () { | 68 | created () { |
69 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 69 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
70 | }, | 70 | }, |
71 | computed: { | 71 | computed: { |
72 | ...mapGetters(['workFresh']) | 72 | ...mapGetters(['workFresh']) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-03 14:13:59 | 4 | * @LastEditTime: 2023-08-16 09:48:00 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="szxx"> | 7 | <div class="szxx"> |
... | @@ -41,7 +41,7 @@ | ... | @@ -41,7 +41,7 @@ |
41 | <span>印刷序列号:{{ item.ysxlh }}</span> | 41 | <span>印刷序列号:{{ item.ysxlh }}</span> |
42 | </div> | 42 | </div> |
43 | </div> | 43 | </div> |
44 | <div class="card_padding" v-if="ableOperation"> | 44 | <div class="card_padding" v-if="viewEdit"> |
45 | <div class="top_line middle_margin"></div> | 45 | <div class="top_line middle_margin"></div> |
46 | <div class="text" v-if="item.ysxlh"> | 46 | <div class="text" v-if="item.ysxlh"> |
47 | <el-button class="operation_button" type="text" @click="openInvalidDiglog(item)">再次打印({{ item.szcs | 47 | <el-button class="operation_button" type="text" @click="openInvalidDiglog(item)">再次打印({{ item.szcs |
... | @@ -81,7 +81,7 @@ | ... | @@ -81,7 +81,7 @@ |
81 | data () { | 81 | data () { |
82 | return { | 82 | return { |
83 | //表单是否可操作 | 83 | //表单是否可操作 |
84 | ableOperation: true, | 84 | viewEdit: false, |
85 | dialog: false, | 85 | dialog: false, |
86 | tableData: [], | 86 | tableData: [], |
87 | bdcqzlx: 1, | 87 | bdcqzlx: 1, |
... | @@ -104,7 +104,7 @@ | ... | @@ -104,7 +104,7 @@ |
104 | }, | 104 | }, |
105 | created () { | 105 | created () { |
106 | this.list() | 106 | this.list() |
107 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 107 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
108 | }, | 108 | }, |
109 | methods: { | 109 | methods: { |
110 | //初始化列表 | 110 | //初始化列表 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-11 09:57:17 | 4 | * @LastEditTime: 2023-08-16 09:50:02 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -152,14 +152,14 @@ | ... | @@ -152,14 +152,14 @@ |
152 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> | 152 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> |
153 | <el-input | 153 | <el-input |
154 | v-model="ruleForm.cfdj.cfjg" | 154 | v-model="ruleForm.cfdj.cfjg" |
155 | :disabled="!ableOperation || ableEdit || isJfOperation"></el-input> | 155 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> |
156 | </el-form-item> | 156 | </el-form-item> |
157 | </el-col> | 157 | </el-col> |
158 | <el-col :span="8"> | 158 | <el-col :span="8"> |
159 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh"> | 159 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh"> |
160 | <el-input | 160 | <el-input |
161 | v-model="ruleForm.cfdj.cfwh" | 161 | v-model="ruleForm.cfdj.cfwh" |
162 | :disabled="!ableOperation || ableEdit || isJfOperation"></el-input> | 162 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> |
163 | </el-form-item> | 163 | </el-form-item> |
164 | </el-col> | 164 | </el-col> |
165 | <el-col :span="8"> | 165 | <el-col :span="8"> |
... | @@ -173,7 +173,7 @@ | ... | @@ -173,7 +173,7 @@ |
173 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx"> | 173 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx"> |
174 | <el-input | 174 | <el-input |
175 | v-model="ruleForm.cfdj.cfqx" | 175 | v-model="ruleForm.cfdj.cfqx" |
176 | :disabled="!ableOperation || ableEdit || isJfOperation"></el-input> | 176 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> |
177 | </el-form-item> | 177 | </el-form-item> |
178 | </el-col> | 178 | </el-col> |
179 | <el-col :span="8"> | 179 | <el-col :span="8"> |
... | @@ -184,7 +184,7 @@ | ... | @@ -184,7 +184,7 @@ |
184 | type="date" | 184 | type="date" |
185 | placeholder="选择日期" | 185 | placeholder="选择日期" |
186 | value-format="yyyy-MM-dd" | 186 | value-format="yyyy-MM-dd" |
187 | :disabled="!ableOperation || ableEdit || isJfOperation"></el-date-picker> | 187 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-date-picker> |
188 | </el-form-item> | 188 | </el-form-item> |
189 | </el-col> | 189 | </el-col> |
190 | <el-col :span="8"> | 190 | <el-col :span="8"> |
... | @@ -192,7 +192,7 @@ | ... | @@ -192,7 +192,7 @@ |
192 | <el-date-picker | 192 | <el-date-picker |
193 | v-model="ruleForm.cfdj.cfjssj" | 193 | v-model="ruleForm.cfdj.cfjssj" |
194 | class="width100" | 194 | class="width100" |
195 | :disabled="!ableOperation || ableEdit || isJfOperation" | 195 | :disabled="!viewEdit || ableEdit || isJfOperation" |
196 | type="date" | 196 | type="date" |
197 | placeholder="选择日期" | 197 | placeholder="选择日期" |
198 | value-format="yyyy-MM-dd"></el-date-picker> | 198 | value-format="yyyy-MM-dd"></el-date-picker> |
... | @@ -204,14 +204,14 @@ | ... | @@ -204,14 +204,14 @@ |
204 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> | 204 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> |
205 | <el-input | 205 | <el-input |
206 | v-model="ruleForm.cfdj.cfwj" | 206 | v-model="ruleForm.cfdj.cfwj" |
207 | :disabled="!ableOperation || ableEdit || isJfOperation"></el-input> | 207 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> |
208 | </el-form-item> | 208 | </el-form-item> |
209 | </el-col> | 209 | </el-col> |
210 | <el-col :span="16"> | 210 | <el-col :span="16"> |
211 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> | 211 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> |
212 | <el-input | 212 | <el-input |
213 | v-model="ruleForm.cfdj.cffw" | 213 | v-model="ruleForm.cfdj.cffw" |
214 | :disabled="!ableOperation || ableEdit || isJfOperation"></el-input> | 214 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> |
215 | </el-form-item> | 215 | </el-form-item> |
216 | </el-col> | 216 | </el-col> |
217 | </el-row> | 217 | </el-row> |
... | @@ -221,7 +221,7 @@ | ... | @@ -221,7 +221,7 @@ |
221 | <el-input | 221 | <el-input |
222 | v-model="ruleForm.cfdj.fj" | 222 | v-model="ruleForm.cfdj.fj" |
223 | type="textarea" | 223 | type="textarea" |
224 | :disabled="!ableOperation || ableEdit || isJfOperation"></el-input> | 224 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> |
225 | </el-form-item> | 225 | </el-form-item> |
226 | </el-col> | 226 | </el-col> |
227 | </el-row> | 227 | </el-row> |
... | @@ -232,7 +232,7 @@ | ... | @@ -232,7 +232,7 @@ |
232 | class="textArea" | 232 | class="textArea" |
233 | type="textarea" | 233 | type="textarea" |
234 | v-model="ruleForm.cfdj.djyy" | 234 | v-model="ruleForm.cfdj.djyy" |
235 | :disabled="!ableOperation || ableEdit || isJfOperation"></el-input> | 235 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> |
236 | </el-form-item> | 236 | </el-form-item> |
237 | </el-col> | 237 | </el-col> |
238 | </el-row> | 238 | </el-row> |
... | @@ -246,27 +246,27 @@ | ... | @@ -246,27 +246,27 @@ |
246 | <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg"> | 246 | <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg"> |
247 | <el-input | 247 | <el-input |
248 | v-model="ruleForm.cfdj.jfjg" | 248 | v-model="ruleForm.cfdj.jfjg" |
249 | :disabled="!ableOperation || ableEdit"></el-input> | 249 | :disabled="!viewEdit || ableEdit"></el-input> |
250 | </el-form-item> | 250 | </el-form-item> |
251 | </el-col> | 251 | </el-col> |
252 | <el-col :span="8"> | 252 | <el-col :span="8"> |
253 | <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj"> | 253 | <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj"> |
254 | <el-input | 254 | <el-input |
255 | v-model="ruleForm.cfdj.jfwj" | 255 | v-model="ruleForm.cfdj.jfwj" |
256 | :disabled="!ableOperation || ableEdit"></el-input> | 256 | :disabled="!viewEdit || ableEdit"></el-input> |
257 | </el-form-item> | 257 | </el-form-item> |
258 | </el-col> | 258 | </el-col> |
259 | <el-col :span="8"> | 259 | <el-col :span="8"> |
260 | <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh"> | 260 | <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh"> |
261 | <el-input | 261 | <el-input |
262 | v-model="ruleForm.cfdj.jfwh" | 262 | v-model="ruleForm.cfdj.jfwh" |
263 | :disabled="!ableOperation || ableEdit"></el-input> | 263 | :disabled="!viewEdit || ableEdit"></el-input> |
264 | </el-form-item> | 264 | </el-form-item> |
265 | </el-col> | 265 | </el-col> |
266 | </el-row> | 266 | </el-row> |
267 | </div> | 267 | </div> |
268 | </div> | 268 | </div> |
269 | <el-row class="btn" v-if="ableOperation && !ableEdit"> | 269 | <el-row class="btn" v-if="viewEdit && !ableEdit"> |
270 | <el-form-item :class="flag ? 'marginBot0' : ''"> | 270 | <el-form-item :class="flag ? 'marginBot0' : ''"> |
271 | <el-button type="primary" @click="onSubmit">保存</el-button> | 271 | <el-button type="primary" @click="onSubmit">保存</el-button> |
272 | </el-form-item> | 272 | </el-form-item> |
... | @@ -282,7 +282,7 @@ | ... | @@ -282,7 +282,7 @@ |
282 | data () { | 282 | data () { |
283 | return { | 283 | return { |
284 | //表单是否可操作 | 284 | //表单是否可操作 |
285 | ableOperation: true, | 285 | viewEdit: false, |
286 | disabled: true, | 286 | disabled: true, |
287 | flagTop: this.flag ? "top" : "", | 287 | flagTop: this.flag ? "top" : "", |
288 | rules: {}, | 288 | rules: {}, |
... | @@ -299,14 +299,14 @@ | ... | @@ -299,14 +299,14 @@ |
299 | async created () { | 299 | async created () { |
300 | this.propsParam = this.$attrs; | 300 | this.propsParam = this.$attrs; |
301 | this.ableEdit = this.$parent.showBatch; | 301 | this.ableEdit = this.$parent.showBatch; |
302 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 302 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
303 | if (this.propsParam.djlx == "400") { | 303 | if (this.propsParam.djlx == "400") { |
304 | this.isJfOperation = true; | 304 | this.isJfOperation = true; |
305 | } | 305 | } |
306 | var formdata = new FormData(); | 306 | var formdata = new FormData(); |
307 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 307 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
308 | formdata.append("djlx", this.propsParam.djlx); | 308 | formdata.append("djlx", this.propsParam.djlx); |
309 | formdata.append("isEdit", this.ableOperation); | 309 | formdata.append("isEdit", this.viewEdit); |
310 | Init(formdata).then((res) => { | 310 | Init(formdata).then((res) => { |
311 | if (res.code === 200 && res.result) { | 311 | if (res.code === 200 && res.result) { |
312 | this.ruleForm = res.result; | 312 | this.ruleForm = res.result; | ... | ... |
... | @@ -90,7 +90,7 @@ | ... | @@ -90,7 +90,7 @@ |
90 | 房屋多幢明细 | 90 | 房屋多幢明细 |
91 | <div class="triangle"></div> | 91 | <div class="triangle"></div> |
92 | <fdcqxmTable | 92 | <fdcqxmTable |
93 | :ableOperation="ableOperation" | 93 | :ableOperation="viewEdit" |
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"> |
... | @@ -98,7 +98,7 @@ | ... | @@ -98,7 +98,7 @@ |
98 | <div class="triangle"></div> | 98 | <div class="triangle"></div> |
99 | </div> | 99 | </div> |
100 | <tdytTable | 100 | <tdytTable |
101 | :ableOperation="ableOperation" | 101 | :ableOperation="viewEdit" |
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"> |
... | @@ -108,7 +108,7 @@ | ... | @@ -108,7 +108,7 @@ |
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="!viewEdit" @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> |
... | @@ -121,7 +121,7 @@ | ... | @@ -121,7 +121,7 @@ |
121 | <el-form-item label="是否分别持证:"> | 121 | <el-form-item label="是否分别持证:"> |
122 | <el-radio-group | 122 | <el-radio-group |
123 | v-model="ruleForm.sldy.sqfbcz" | 123 | v-model="ruleForm.sldy.sqfbcz" |
124 | :disabled="!ableOperation"> | 124 | :disabled="!viewEdit"> |
125 | <el-radio :label="1">是</el-radio> | 125 | <el-radio :label="1">是</el-radio> |
126 | <el-radio :label="0">否</el-radio> | 126 | <el-radio :label="0">否</el-radio> |
127 | </el-radio-group> | 127 | </el-radio-group> |
... | @@ -134,7 +134,7 @@ | ... | @@ -134,7 +134,7 @@ |
134 | <el-select | 134 | <el-select |
135 | v-model="ruleForm.czr" | 135 | v-model="ruleForm.czr" |
136 | placeholder="持证人" | 136 | placeholder="持证人" |
137 | :disabled="!ableOperation"> | 137 | :disabled="!viewEdit"> |
138 | <el-option | 138 | <el-option |
139 | v-for="item in czrOptions" | 139 | v-for="item in czrOptions" |
140 | :key="item.zjh" | 140 | :key="item.zjh" |
... | @@ -146,7 +146,7 @@ | ... | @@ -146,7 +146,7 @@ |
146 | </el-col> | 146 | </el-col> |
147 | 147 | ||
148 | </el-row> | 148 | </el-row> |
149 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation" | 149 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!viewEdit" |
150 | :gyfs="ruleForm.slsq.gyfs" /> | 150 | :gyfs="ruleForm.slsq.gyfs" /> |
151 | 151 | ||
152 | <div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"> | 152 | <div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"> |
... | @@ -164,7 +164,7 @@ | ... | @@ -164,7 +164,7 @@ |
164 | <el-row :gutter="10"> | 164 | <el-row :gutter="10"> |
165 | <el-col> | 165 | <el-col> |
166 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> | 166 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> |
167 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" | 167 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" |
168 | v-model="ruleForm.fdcq1.djyy"> | 168 | v-model="ruleForm.fdcq1.djyy"> |
169 | </el-input> | 169 | </el-input> |
170 | </el-form-item> | 170 | </el-form-item> |
... | @@ -172,7 +172,7 @@ | ... | @@ -172,7 +172,7 @@ |
172 | </el-row> | 172 | </el-row> |
173 | </div> | 173 | </div> |
174 | </div> | 174 | </div> |
175 | <el-row class="btn" v-if="ableOperation"> | 175 | <el-row class="btn" v-if="viewEdit"> |
176 | <el-form-item> | 176 | <el-form-item> |
177 | <el-button type="primary" @click="onSubmit">保存</el-button> | 177 | <el-button type="primary" @click="onSubmit">保存</el-button> |
178 | </el-form-item> | 178 | </el-form-item> |
... | @@ -190,12 +190,12 @@ | ... | @@ -190,12 +190,12 @@ |
190 | export default { | 190 | export default { |
191 | mixins: [ywmix], | 191 | mixins: [ywmix], |
192 | mounted () { | 192 | mounted () { |
193 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 193 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
194 | this.propsParam = this.$attrs; | 194 | this.propsParam = this.$attrs; |
195 | var formdata = new FormData(); | 195 | var formdata = new FormData(); |
196 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 196 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
197 | formdata.append("djlx", this.propsParam.djlx); | 197 | formdata.append("djlx", this.propsParam.djlx); |
198 | formdata.append("isEdit", this.ableOperation); | 198 | formdata.append("isEdit", this.viewEdit); |
199 | Init(formdata).then((res) => { | 199 | Init(formdata).then((res) => { |
200 | if (res.code === 200 && res.result) { | 200 | if (res.code === 200 && res.result) { |
201 | this.ruleForm = { | 201 | this.ruleForm = { |
... | @@ -244,7 +244,7 @@ | ... | @@ -244,7 +244,7 @@ |
244 | //传递参数 | 244 | //传递参数 |
245 | propsParam: this.$attrs, | 245 | propsParam: this.$attrs, |
246 | //表单是否可操作 | 246 | //表单是否可操作 |
247 | ableOperation: true, | 247 | viewEdit: false, |
248 | rules: {} | 248 | rules: {} |
249 | } | 249 | } |
250 | }, | 250 | }, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 09:15:51 | 4 | * @LastEditTime: 2023-08-16 09:42:18 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -202,7 +202,7 @@ | ... | @@ -202,7 +202,7 @@ |
202 | </el-col> | 202 | </el-col> |
203 | <el-col :span="8"> | 203 | <el-col :span="8"> |
204 | <el-form-item label="总层数:"> | 204 | <el-form-item label="总层数:"> |
205 | <el-input v-model="ruleForm.fdcq2.zcs"></el-input> | 205 | <el-input v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input> |
206 | </el-form-item> | 206 | </el-form-item> |
207 | </el-col> | 207 | </el-col> |
208 | <el-col :span="8"> | 208 | <el-col :span="8"> |
... | @@ -284,7 +284,11 @@ | ... | @@ -284,7 +284,11 @@ |
284 | </el-col> | 284 | </el-col> |
285 | </el-row> | 285 | </el-row> |
286 | <el-row :gutter="10"> | 286 | <el-row :gutter="10"> |
287 | 287 | <el-col :span="24"> | |
288 | <el-form-item label="附记:"> | ||
289 | <el-input v-model="ruleForm.fdcq2.fj"></el-input> | ||
290 | </el-form-item> | ||
291 | </el-col> | ||
288 | </el-row> | 292 | </el-row> |
289 | <div class="slxx_title title-block"> | 293 | <div class="slxx_title title-block"> |
290 | 土地用途 | 294 | 土地用途 |
... | @@ -356,7 +360,7 @@ | ... | @@ -356,7 +360,7 @@ |
356 | <el-row :gutter="10"> | 360 | <el-row :gutter="10"> |
357 | <el-col> | 361 | <el-col> |
358 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> | 362 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> |
359 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" | 363 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" |
360 | v-model="ruleForm.fdcq2.djyy"> | 364 | v-model="ruleForm.fdcq2.djyy"> |
361 | </el-input> | 365 | </el-input> |
362 | </el-form-item> | 366 | </el-form-item> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 09:06:05 | 4 | * @LastEditTime: 2023-08-16 10:01:56 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -111,7 +111,7 @@ | ... | @@ -111,7 +111,7 @@ |
111 | </el-col> | 111 | </el-col> |
112 | <el-col :span="8"> | 112 | <el-col :span="8"> |
113 | <el-form-item label="总层数:"> | 113 | <el-form-item label="总层数:"> |
114 | <el-input disabled v-model="ruleForm.fdcq2.zcs"></el-input> | 114 | <el-input disabled v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input> |
115 | </el-form-item> | 115 | </el-form-item> |
116 | </el-col> | 116 | </el-col> |
117 | <el-col :span="8"> | 117 | <el-col :span="8"> |
... | @@ -184,7 +184,7 @@ | ... | @@ -184,7 +184,7 @@ |
184 | <div class="triangle"></div> | 184 | <div class="triangle"></div> |
185 | </div> | 185 | </div> |
186 | <tdytTable | 186 | <tdytTable |
187 | :ableOperation="ableOperation" | 187 | :ableOperation="viewEdit" |
188 | :tableData="ruleForm.tdytqxList" | 188 | :tableData="ruleForm.tdytqxList" |
189 | @upDateTdytxxList="upDateTdytxxList" /> | 189 | @upDateTdytxxList="upDateTdytxxList" /> |
190 | <div class="slxx_title title-block"> | 190 | <div class="slxx_title title-block"> |
... | @@ -194,7 +194,7 @@ | ... | @@ -194,7 +194,7 @@ |
194 | <el-row :gutter="10"> | 194 | <el-row :gutter="10"> |
195 | <el-col :span="12"> | 195 | <el-col :span="12"> |
196 | <el-form-item label="共有方式:"> | 196 | <el-form-item label="共有方式:"> |
197 | <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs"> | 197 | <el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldy.gyfs"> |
198 | <el-radio label="0">单独所有</el-radio> | 198 | <el-radio label="0">单独所有</el-radio> |
199 | <el-radio label="1">共同共有</el-radio> | 199 | <el-radio label="1">共同共有</el-radio> |
200 | <el-radio label="2">按份所有</el-radio> | 200 | <el-radio label="2">按份所有</el-radio> |
... | @@ -206,7 +206,7 @@ | ... | @@ -206,7 +206,7 @@ |
206 | <el-form-item label="是否分别持证:"> | 206 | <el-form-item label="是否分别持证:"> |
207 | <el-radio-group | 207 | <el-radio-group |
208 | v-model="ruleForm.sldy.sqfbcz" | 208 | v-model="ruleForm.sldy.sqfbcz" |
209 | :disabled="!ableOperation"> | 209 | :disabled="!viewEdit"> |
210 | <el-radio :label="1">是</el-radio> | 210 | <el-radio :label="1">是</el-radio> |
211 | <el-radio :label="0">否</el-radio> | 211 | <el-radio :label="0">否</el-radio> |
212 | </el-radio-group> | 212 | </el-radio-group> |
... | @@ -219,7 +219,7 @@ | ... | @@ -219,7 +219,7 @@ |
219 | <el-select | 219 | <el-select |
220 | v-model="ruleForm.czr" | 220 | v-model="ruleForm.czr" |
221 | placeholder="持证人" | 221 | placeholder="持证人" |
222 | :disabled="!ableOperation"> | 222 | :disabled="!viewEdit"> |
223 | <el-option | 223 | <el-option |
224 | v-for="item in czrOptions" | 224 | v-for="item in czrOptions" |
225 | :key="item.zjh" | 225 | :key="item.zjh" |
... | @@ -230,7 +230,7 @@ | ... | @@ -230,7 +230,7 @@ |
230 | </el-form-item> | 230 | </el-form-item> |
231 | </el-col> | 231 | </el-col> |
232 | </el-row> | 232 | </el-row> |
233 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :tableData="ruleForm.qlrList" | 233 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :disabled="!viewEdit" :tableData="ruleForm.qlrList" |
234 | :gyfs="ruleForm.slsq.gyfs" /> | 234 | :gyfs="ruleForm.slsq.gyfs" /> |
235 | <div class="slxx_title title-block"> | 235 | <div class="slxx_title title-block"> |
236 | 登记原因 | 236 | 登记原因 |
... | @@ -239,14 +239,14 @@ | ... | @@ -239,14 +239,14 @@ |
239 | <el-row :gutter="10"> | 239 | <el-row :gutter="10"> |
240 | <el-col> | 240 | <el-col> |
241 | <el-form-item v-if="ruleForm.fdcq2" label="登记原因:" prop="djyy"> | 241 | <el-form-item v-if="ruleForm.fdcq2" label="登记原因:" prop="djyy"> |
242 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" | 242 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" |
243 | v-model="ruleForm.fdcq2.djyy"> | 243 | v-model="ruleForm.fdcq2.djyy"> |
244 | </el-input> | 244 | </el-input> |
245 | </el-form-item> | 245 | </el-form-item> |
246 | </el-col> | 246 | </el-col> |
247 | </el-row> | 247 | </el-row> |
248 | </div> | 248 | </div> |
249 | <el-row class="btn" v-if="ableOperation"> | 249 | <el-row class="btn" v-if="viewEdit"> |
250 | <el-form-item> | 250 | <el-form-item> |
251 | <el-button type="primary" @click="onSubmit">保存</el-button> | 251 | <el-button type="primary" @click="onSubmit">保存</el-button> |
252 | </el-form-item> | 252 | </el-form-item> |
... | @@ -263,12 +263,12 @@ | ... | @@ -263,12 +263,12 @@ |
263 | export default { | 263 | export default { |
264 | mixins: [ywmix], | 264 | mixins: [ywmix], |
265 | mounted () { | 265 | mounted () { |
266 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 266 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
267 | this.propsParam = this.$attrs; | 267 | this.propsParam = this.$attrs; |
268 | var formdata = new FormData(); | 268 | var formdata = new FormData(); |
269 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 269 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
270 | formdata.append("djlx", this.propsParam.djlx); | 270 | formdata.append("djlx", this.propsParam.djlx); |
271 | formdata.append("isEdit", this.ableOperation); | 271 | formdata.append("isEdit", this.viewEdit); |
272 | Init(formdata).then((res) => { | 272 | Init(formdata).then((res) => { |
273 | if (res.code === 200 && res.result) { | 273 | if (res.code === 200 && res.result) { |
274 | this.ruleForm = { | 274 | this.ruleForm = { |
... | @@ -294,7 +294,7 @@ | ... | @@ -294,7 +294,7 @@ |
294 | return { | 294 | return { |
295 | mjdw: "1", | 295 | mjdw: "1", |
296 | //表单是否可操作 | 296 | //表单是否可操作 |
297 | ableOperation: true, | 297 | viewEdit: false, |
298 | disabled: true, | 298 | disabled: true, |
299 | tdytOption: [], | 299 | tdytOption: [], |
300 | czrOptions: [], | 300 | czrOptions: [], | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 09:06:15 | 4 | * @LastEditTime: 2023-08-16 10:02:06 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -129,7 +129,7 @@ | ... | @@ -129,7 +129,7 @@ |
129 | <div class="triangle"></div> | 129 | <div class="triangle"></div> |
130 | </div> | 130 | </div> |
131 | <tdytTable | 131 | <tdytTable |
132 | :ableOperation="ableOperation" | 132 | :ableOperation="viewEdit" |
133 | :tableData="ruleForm.tdytqxList" | 133 | :tableData="ruleForm.tdytqxList" |
134 | @upDateTdytxxList="upDateTdytxxList" /> | 134 | @upDateTdytxxList="upDateTdytxxList" /> |
135 | <div class="slxx_title title-block"> | 135 | <div class="slxx_title title-block"> |
... | @@ -139,7 +139,7 @@ | ... | @@ -139,7 +139,7 @@ |
139 | <el-row :gutter="10"> | 139 | <el-row :gutter="10"> |
140 | <el-col :span="14"> | 140 | <el-col :span="14"> |
141 | <el-form-item label="共有方式:"> | 141 | <el-form-item label="共有方式:"> |
142 | <el-radio-group :disabled="!ableOperation" v-model="ruleForm.gyfs"> | 142 | <el-radio-group :disabled="!viewEdit" v-model="ruleForm.gyfs"> |
143 | <el-radio label="1">单独所有</el-radio> | 143 | <el-radio label="1">单独所有</el-radio> |
144 | <el-radio label="2">共同共有</el-radio> | 144 | <el-radio label="2">共同共有</el-radio> |
145 | <el-radio label="3">按份所有</el-radio> | 145 | <el-radio label="3">按份所有</el-radio> |
... | @@ -148,7 +148,7 @@ | ... | @@ -148,7 +148,7 @@ |
148 | </el-col> | 148 | </el-col> |
149 | <el-col :span="5" v-show="ruleForm.gyfs == '2'"> | 149 | <el-col :span="5" v-show="ruleForm.gyfs == '2'"> |
150 | <el-form-item label="是否分别持证:"> | 150 | <el-form-item label="是否分别持证:"> |
151 | <el-radio-group v-model="ruleForm.sffbcz" :disabled="!ableOperation"> | 151 | <el-radio-group v-model="ruleForm.sffbcz" :disabled="!viewEdit"> |
152 | <el-radio label="1">是</el-radio> | 152 | <el-radio label="1">是</el-radio> |
153 | <el-radio label="0">否</el-radio> | 153 | <el-radio label="0">否</el-radio> |
154 | </el-radio-group> | 154 | </el-radio-group> |
... | @@ -156,14 +156,14 @@ | ... | @@ -156,14 +156,14 @@ |
156 | </el-col> | 156 | </el-col> |
157 | <el-col :span="5" v-show="ruleForm.gyfs == '2'"> | 157 | <el-col :span="5" v-show="ruleForm.gyfs == '2'"> |
158 | <el-form-item label="持证人:"> | 158 | <el-form-item label="持证人:"> |
159 | <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation"> | 159 | <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!viewEdit"> |
160 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> | 160 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> |
161 | </el-option> | 161 | </el-option> |
162 | </el-select> | 162 | </el-select> |
163 | </el-form-item> | 163 | </el-form-item> |
164 | </el-col> | 164 | </el-col> |
165 | </el-row> | 165 | </el-row> |
166 | <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :gyfs="ruleForm.gyfs" :disabled="!ableOperation" /> | 166 | <qlrCommonTable :tableData="ruleForm.qlrList" :gyfs="ruleForm.gyfs" :disabled="!viewEdit" /> |
167 | <div class="slxx_title title-block"> | 167 | <div class="slxx_title title-block"> |
168 | 登记原因 | 168 | 登记原因 |
169 | <div class="triangle"></div> | 169 | <div class="triangle"></div> |
... | @@ -171,13 +171,13 @@ | ... | @@ -171,13 +171,13 @@ |
171 | <el-row :gutter="10"> | 171 | <el-row :gutter="10"> |
172 | <el-col> | 172 | <el-col> |
173 | <el-form-item label="登记原因:" prop="djyy"> | 173 | <el-form-item label="登记原因:" prop="djyy"> |
174 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" v-model="ruleForm.djyy"> | 174 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" v-model="ruleForm.djyy"> |
175 | </el-input> | 175 | </el-input> |
176 | </el-form-item> | 176 | </el-form-item> |
177 | </el-col> | 177 | </el-col> |
178 | </el-row> | 178 | </el-row> |
179 | </div> | 179 | </div> |
180 | <el-row class="btn" v-if="ableOperation"> | 180 | <el-row class="btn" v-if="viewEdit"> |
181 | <el-form-item> | 181 | <el-form-item> |
182 | <el-button type="primary" @click="onSubmit">保存</el-button> | 182 | <el-button type="primary" @click="onSubmit">保存</el-button> |
183 | </el-form-item> | 183 | </el-form-item> |
... | @@ -194,7 +194,7 @@ | ... | @@ -194,7 +194,7 @@ |
194 | export default { | 194 | export default { |
195 | mixins: [ywmix], | 195 | mixins: [ywmix], |
196 | mounted () { | 196 | mounted () { |
197 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 197 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
198 | this.propsParam = this.$attrs; | 198 | this.propsParam = this.$attrs; |
199 | var formdata = new FormData(); | 199 | var formdata = new FormData(); |
200 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 200 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
... | @@ -222,7 +222,7 @@ | ... | @@ -222,7 +222,7 @@ |
222 | data () { | 222 | data () { |
223 | return { | 223 | return { |
224 | //表单是否可操作 | 224 | //表单是否可操作 |
225 | ableOperation: true, | 225 | viewEdit: false, |
226 | disabled: true, | 226 | disabled: true, |
227 | tdytOption: [], | 227 | tdytOption: [], |
228 | czrOptions: [], | 228 | czrOptions: [], |
... | @@ -286,7 +286,7 @@ | ... | @@ -286,7 +286,7 @@ |
286 | list (bsmSldy) { | 286 | list (bsmSldy) { |
287 | var formdata = new FormData(); | 287 | var formdata = new FormData(); |
288 | formdata.append("bsmSldy", bsmSldy); | 288 | formdata.append("bsmSldy", bsmSldy); |
289 | formdata.append("isEdit", this.ableOperation); | 289 | formdata.append("isEdit", this.viewEdit); |
290 | Init(formdata).then((res) => { | 290 | Init(formdata).then((res) => { |
291 | if (res.code === 200 && res.result) { | 291 | if (res.code === 200 && res.result) { |
292 | this.ruleForm = { | 292 | this.ruleForm = { | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | <!-- | 2 | <!-- |
3 | * @Description: | 3 | * @Description: |
4 | * @Autor: renchao | 4 | * @Autor: renchao |
5 | * @LastEditTime: 2023-08-16 09:06:23 | 5 | * @LastEditTime: 2023-08-16 09:56:08 |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
8 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
... | @@ -126,7 +126,7 @@ | ... | @@ -126,7 +126,7 @@ |
126 | <el-input | 126 | <el-input |
127 | type="textarea" | 127 | type="textarea" |
128 | v-model="ruleForm.jsydsyq.fj" | 128 | v-model="ruleForm.jsydsyq.fj" |
129 | :disabled="!ableOperation"></el-input> | 129 | :disabled="!viewEdit"></el-input> |
130 | </el-form-item> | 130 | </el-form-item> |
131 | </el-col> | 131 | </el-col> |
132 | </el-row> | 132 | </el-row> |
... | @@ -136,7 +136,7 @@ | ... | @@ -136,7 +136,7 @@ |
136 | </div> | 136 | </div> |
137 | <tdytTable | 137 | <tdytTable |
138 | :tableData="ruleForm.tdytqxList" | 138 | :tableData="ruleForm.tdytqxList" |
139 | :ableOperation="ableOperation" | 139 | :ableOperation="viewEdit" |
140 | @upDateTdytxxList="upDateTdytxxList" /> | 140 | @upDateTdytxxList="upDateTdytxxList" /> |
141 | <div class="slxx_title title-block"> | 141 | <div class="slxx_title title-block"> |
142 | 权利人信息 | 142 | 权利人信息 |
... | @@ -146,7 +146,7 @@ | ... | @@ -146,7 +146,7 @@ |
146 | <el-col :span="12"> | 146 | <el-col :span="12"> |
147 | <el-form-item label="共有方式:"> | 147 | <el-form-item label="共有方式:"> |
148 | <el-radio-group | 148 | <el-radio-group |
149 | :disabled="!ableOperation" | 149 | :disabled="!viewEdit" |
150 | v-model="ruleForm.sldy.gyfs"> | 150 | v-model="ruleForm.sldy.gyfs"> |
151 | <el-radio label="0">单独所有</el-radio> | 151 | <el-radio label="0">单独所有</el-radio> |
152 | <el-radio label="1">共同共有</el-radio> | 152 | <el-radio label="1">共同共有</el-radio> |
... | @@ -159,7 +159,7 @@ | ... | @@ -159,7 +159,7 @@ |
159 | <el-form-item label="是否分别持证:"> | 159 | <el-form-item label="是否分别持证:"> |
160 | <el-radio-group | 160 | <el-radio-group |
161 | v-model="ruleForm.sldy.sqfbcz" | 161 | v-model="ruleForm.sldy.sqfbcz" |
162 | :disabled="!ableOperation"> | 162 | :disabled="!viewEdit"> |
163 | <el-radio :label="1">是</el-radio> | 163 | <el-radio :label="1">是</el-radio> |
164 | <el-radio :label="0">否</el-radio> | 164 | <el-radio :label="0">否</el-radio> |
165 | </el-radio-group> | 165 | </el-radio-group> |
... | @@ -172,7 +172,7 @@ | ... | @@ -172,7 +172,7 @@ |
172 | <el-select | 172 | <el-select |
173 | v-model="ruleForm.czr" | 173 | v-model="ruleForm.czr" |
174 | placeholder="持证人" | 174 | placeholder="持证人" |
175 | :disabled="!ableOperation"> | 175 | :disabled="!viewEdit"> |
176 | <el-option | 176 | <el-option |
177 | v-for="item in czrOptions" | 177 | v-for="item in czrOptions" |
178 | :key="item.zjh" | 178 | :key="item.zjh" |
... | @@ -185,7 +185,7 @@ | ... | @@ -185,7 +185,7 @@ |
185 | </el-row> | 185 | </el-row> |
186 | <qlrCommonTable | 186 | <qlrCommonTable |
187 | :tableData="ruleForm.qlrList" | 187 | :tableData="ruleForm.qlrList" |
188 | :disabled="!ableOperation" | 188 | :disabled="!viewEdit" |
189 | @upDateQlrxxList="upDateQlrxxList" | 189 | @upDateQlrxxList="upDateQlrxxList" |
190 | :gyfs="ruleForm.sldy.gyfs" /> | 190 | :gyfs="ruleForm.sldy.gyfs" /> |
191 | <div class="slxx_title title-block"> | 191 | <div class="slxx_title title-block"> |
... | @@ -199,14 +199,14 @@ | ... | @@ -199,14 +199,14 @@ |
199 | class="textArea" | 199 | class="textArea" |
200 | type="textarea" | 200 | type="textarea" |
201 | maxlength="500" show-word-limit | 201 | maxlength="500" show-word-limit |
202 | :disabled="!ableOperation" | 202 | :disabled="!viewEdit" |
203 | v-model="ruleForm.jsydsyq.djyy"> | 203 | v-model="ruleForm.jsydsyq.djyy"> |
204 | </el-input> | 204 | </el-input> |
205 | </el-form-item> | 205 | </el-form-item> |
206 | </el-col> | 206 | </el-col> |
207 | </el-row> | 207 | </el-row> |
208 | </div> | 208 | </div> |
209 | <el-row class="btn" v-if="ableOperation"> | 209 | <el-row class="btn" v-if="viewEdit"> |
210 | <el-form-item> | 210 | <el-form-item> |
211 | <el-button type="primary" @click="onSubmit">保存</el-button> | 211 | <el-button type="primary" @click="onSubmit">保存</el-button> |
212 | </el-form-item> | 212 | </el-form-item> |
... | @@ -223,13 +223,13 @@ | ... | @@ -223,13 +223,13 @@ |
223 | export default { | 223 | export default { |
224 | mixins: [ywmix], | 224 | mixins: [ywmix], |
225 | mounted () { | 225 | mounted () { |
226 | this.ableOperation = this.$parent.currentSelectTab.ableOperation; | 226 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; |
227 | this.propsParam = this.$attrs; | 227 | this.propsParam = this.$attrs; |
228 | var formdata = new FormData(); | 228 | var formdata = new FormData(); |
229 | this.$startLoading(); | 229 | this.$startLoading(); |
230 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 230 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
231 | formdata.append("djlx", this.propsParam.djlx); | 231 | formdata.append("djlx", this.propsParam.djlx); |
232 | formdata.append("isEdit", this.ableOperation); | 232 | formdata.append("isEdit", this.viewEdit); |
233 | Init(formdata).then((res) => { | 233 | Init(formdata).then((res) => { |
234 | if (res.code === 200 && res.result) { | 234 | if (res.code === 200 && res.result) { |
235 | this.ruleForm = res.result; | 235 | this.ruleForm = res.result; |
... | @@ -250,7 +250,7 @@ | ... | @@ -250,7 +250,7 @@ |
250 | data () { | 250 | data () { |
251 | return { | 251 | return { |
252 | //表单是否可操作 | 252 | //表单是否可操作 |
253 | ableOperation: true, | 253 | viewEdit: false, |
254 | disabled: true, | 254 | disabled: true, |
255 | czrOptions: [], | 255 | czrOptions: [], |
256 | ruleForm: { | 256 | ruleForm: { | ... | ... |
... | @@ -100,7 +100,7 @@ | ... | @@ -100,7 +100,7 @@ |
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" :disabled="!ableOperation" class="width100" filterable clearable> | 103 | <el-select v-model="ruleForm.nydsyq.tdsyqxzmc" :disabled="!viewEdit" class="width100" 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" class="width100" :disabled="!ableOperation" filterable clearable @change="changeYdyhfl"> | 153 | <el-select v-model="ruleForm.nydsyq.ydyhfl" class="width100" :disabled="!viewEdit" 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 v-model="ruleForm.sldy.gyfs" :disabled="!ableOperation"> | 179 | <el-radio-group v-model="ruleForm.sldy.gyfs" :disabled="!viewEdit"> |
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,12 +212,12 @@ | ... | @@ -212,12 +212,12 @@ |
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.slywxx.gyfs" /> | 215 | <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!viewEdit" :gyfs="ruleForm.slywxx.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 | <JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" :disabled="!ableOperation" :gyfs="ruleForm.slywxx.gyfs" /> | 220 | <JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" :disabled="!viewEdit" :gyfs="ruleForm.slywxx.gyfs" /> |
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> |
... | @@ -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.nydsyq.djyy"> | 229 | v-model="ruleForm.nydsyq.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> |
... | @@ -249,13 +249,13 @@ | ... | @@ -249,13 +249,13 @@ |
249 | export default { | 249 | export default { |
250 | mixins: [ywmix], | 250 | mixins: [ywmix], |
251 | mounted () { | 251 | mounted () { |
252 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 252 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
253 | this.propsParam = this.$attrs; | 253 | this.propsParam = this.$attrs; |
254 | this.$startLoading(); | 254 | this.$startLoading(); |
255 | var formdata = new FormData(); | 255 | var formdata = new FormData(); |
256 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 256 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
257 | formdata.append("djlx", this.propsParam.djlx); | 257 | formdata.append("djlx", this.propsParam.djlx); |
258 | formdata.append("isEdit", this.ableOperation); | 258 | formdata.append("isEdit", this.viewEdit); |
259 | Init(formdata).then((res) => { | 259 | Init(formdata).then((res) => { |
260 | this.ruleForm = res.result; | 260 | this.ruleForm = res.result; |
261 | this.ruleForm.qlrList.forEach((item, index) => { | 261 | this.ruleForm.qlrList.forEach((item, index) => { |
... | @@ -284,7 +284,7 @@ | ... | @@ -284,7 +284,7 @@ |
284 | //传递参数 | 284 | //传递参数 |
285 | propsParam: {}, | 285 | propsParam: {}, |
286 | //表单是否可操作 | 286 | //表单是否可操作 |
287 | ableOperation: true, | 287 | viewEdit: true, |
288 | rules: {} | 288 | rules: {} |
289 | } | 289 | } |
290 | }, | 290 | }, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 09:06:39 | 4 | * @LastEditTime: 2023-08-16 09:58:36 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -92,11 +92,11 @@ | ... | @@ -92,11 +92,11 @@ |
92 | <div class="flex"> | 92 | <div class="flex"> |
93 | <el-input | 93 | <el-input |
94 | v-model="ruleForm.tdsyq.nydmj" | 94 | v-model="ruleForm.tdsyq.nydmj" |
95 | :disabled="!ableOperation" | 95 | :disabled="!viewEdit" |
96 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 96 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
97 | <el-select | 97 | <el-select |
98 | v-model="mjdw" | 98 | v-model="mjdw" |
99 | :disabled="!ableOperation" | 99 | :disabled="!viewEdit" |
100 | style="width: 20%"> | 100 | style="width: 20%"> |
101 | <el-option | 101 | <el-option |
102 | v-for="item in dictData['A7']" | 102 | v-for="item in dictData['A7']" |
... | @@ -113,11 +113,11 @@ | ... | @@ -113,11 +113,11 @@ |
113 | <div class="flex"> | 113 | <div class="flex"> |
114 | <el-input | 114 | <el-input |
115 | v-model="ruleForm.tdsyq.gdmj" | 115 | v-model="ruleForm.tdsyq.gdmj" |
116 | :disabled="!ableOperation" | 116 | :disabled="!viewEdit" |
117 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 117 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
118 | <el-select | 118 | <el-select |
119 | v-model="mjdw" | 119 | v-model="mjdw" |
120 | :disabled="!ableOperation" | 120 | :disabled="!viewEdit" |
121 | style="width: 20%"> | 121 | style="width: 20%"> |
122 | <el-option | 122 | <el-option |
123 | v-for="item in dictData['A7']" | 123 | v-for="item in dictData['A7']" |
... | @@ -134,11 +134,11 @@ | ... | @@ -134,11 +134,11 @@ |
134 | <div class="flex"> | 134 | <div class="flex"> |
135 | <el-input | 135 | <el-input |
136 | v-model="ruleForm.tdsyq.ldmj" | 136 | v-model="ruleForm.tdsyq.ldmj" |
137 | :disabled="!ableOperation" | 137 | :disabled="!viewEdit" |
138 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 138 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
139 | <el-select | 139 | <el-select |
140 | v-model="mjdw" | 140 | v-model="mjdw" |
141 | :disabled="!ableOperation" | 141 | :disabled="!viewEdit" |
142 | style="width: 20%"> | 142 | style="width: 20%"> |
143 | <el-option | 143 | <el-option |
144 | v-for="item in dictData['A7']" | 144 | v-for="item in dictData['A7']" |
... | @@ -157,11 +157,11 @@ | ... | @@ -157,11 +157,11 @@ |
157 | <div class="flex"> | 157 | <div class="flex"> |
158 | <el-input | 158 | <el-input |
159 | v-model="ruleForm.tdsyq.cdmj" | 159 | v-model="ruleForm.tdsyq.cdmj" |
160 | :disabled="!ableOperation" | 160 | :disabled="!viewEdit" |
161 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 161 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
162 | <el-select | 162 | <el-select |
163 | v-model="mjdw" | 163 | v-model="mjdw" |
164 | :disabled="!ableOperation" | 164 | :disabled="!viewEdit" |
165 | style="width: 20%"> | 165 | style="width: 20%"> |
166 | <el-option | 166 | <el-option |
167 | v-for="item in dictData['A7']" | 167 | v-for="item in dictData['A7']" |
... | @@ -178,11 +178,11 @@ | ... | @@ -178,11 +178,11 @@ |
178 | <div class="flex"> | 178 | <div class="flex"> |
179 | <el-input | 179 | <el-input |
180 | v-model="ruleForm.tdsyq.qtnydmj" | 180 | v-model="ruleForm.tdsyq.qtnydmj" |
181 | :disabled="!ableOperation" | 181 | :disabled="!viewEdit" |
182 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 182 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
183 | <el-select | 183 | <el-select |
184 | v-model="mjdw" | 184 | v-model="mjdw" |
185 | :disabled="!ableOperation" | 185 | :disabled="!viewEdit" |
186 | style="width: 20%"> | 186 | style="width: 20%"> |
187 | <el-option | 187 | <el-option |
188 | v-for="item in dictData['A7']" | 188 | v-for="item in dictData['A7']" |
... | @@ -199,11 +199,11 @@ | ... | @@ -199,11 +199,11 @@ |
199 | <div class="flex"> | 199 | <div class="flex"> |
200 | <el-input | 200 | <el-input |
201 | v-model="ruleForm.tdsyq.jsydmj" | 201 | v-model="ruleForm.tdsyq.jsydmj" |
202 | :disabled="!ableOperation" | 202 | :disabled="!viewEdit" |
203 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 203 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
204 | <el-select | 204 | <el-select |
205 | v-model="mjdw" | 205 | v-model="mjdw" |
206 | :disabled="!ableOperation" | 206 | :disabled="!viewEdit" |
207 | style="width: 20%"> | 207 | style="width: 20%"> |
208 | <el-option | 208 | <el-option |
209 | v-for="item in dictData['A7']" | 209 | v-for="item in dictData['A7']" |
... | @@ -222,11 +222,11 @@ | ... | @@ -222,11 +222,11 @@ |
222 | <div class="flex"> | 222 | <div class="flex"> |
223 | <el-input | 223 | <el-input |
224 | v-model="ruleForm.tdsyq.wlydmj" | 224 | v-model="ruleForm.tdsyq.wlydmj" |
225 | :disabled="!ableOperation" | 225 | :disabled="!viewEdit" |
226 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 226 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
227 | <el-select | 227 | <el-select |
228 | v-model="mjdw" | 228 | v-model="mjdw" |
229 | :disabled="!ableOperation" | 229 | :disabled="!viewEdit" |
230 | style="width: 20%"> | 230 | style="width: 20%"> |
231 | <el-option | 231 | <el-option |
232 | v-for="item in dictData['A7']" | 232 | v-for="item in dictData['A7']" |
... | @@ -245,7 +245,7 @@ | ... | @@ -245,7 +245,7 @@ |
245 | </div> | 245 | </div> |
246 | <tdytTable | 246 | <tdytTable |
247 | :tableData="ruleForm.tdytqxList" | 247 | :tableData="ruleForm.tdytqxList" |
248 | :ableOperation="ableOperation" | 248 | :ableOperation="viewEdit" |
249 | @upDateTdytxxList="upDateTdytxxList" /> | 249 | @upDateTdytxxList="upDateTdytxxList" /> |
250 | <div class="slxx_title title-block"> | 250 | <div class="slxx_title title-block"> |
251 | 权利人信息 | 251 | 权利人信息 |
... | @@ -255,7 +255,7 @@ | ... | @@ -255,7 +255,7 @@ |
255 | <el-col :span="12"> | 255 | <el-col :span="12"> |
256 | <el-form-item label="共有方式:"> | 256 | <el-form-item label="共有方式:"> |
257 | <el-radio-group | 257 | <el-radio-group |
258 | :disabled="!ableOperation" | 258 | :disabled="!viewEdit" |
259 | v-model="ruleForm.sldy.gyfs"> | 259 | v-model="ruleForm.sldy.gyfs"> |
260 | <el-radio label="0">单独所有</el-radio> | 260 | <el-radio label="0">单独所有</el-radio> |
261 | <el-radio label="1">共同共有</el-radio> | 261 | <el-radio label="1">共同共有</el-radio> |
... | @@ -268,7 +268,7 @@ | ... | @@ -268,7 +268,7 @@ |
268 | <el-form-item label="是否分别持证:"> | 268 | <el-form-item label="是否分别持证:"> |
269 | <el-radio-group | 269 | <el-radio-group |
270 | v-model="ruleForm.sldy.sqfbcz" | 270 | v-model="ruleForm.sldy.sqfbcz" |
271 | :disabled="!ableOperation"> | 271 | :disabled="!viewEdit"> |
272 | <el-radio :label="1">是</el-radio> | 272 | <el-radio :label="1">是</el-radio> |
273 | <el-radio :label="0">否</el-radio> | 273 | <el-radio :label="0">否</el-radio> |
274 | </el-radio-group> | 274 | </el-radio-group> |
... | @@ -281,7 +281,7 @@ | ... | @@ -281,7 +281,7 @@ |
281 | <el-select | 281 | <el-select |
282 | v-model="ruleForm.czr" | 282 | v-model="ruleForm.czr" |
283 | placeholder="持证人" | 283 | placeholder="持证人" |
284 | :disabled="!ableOperation"> | 284 | :disabled="!viewEdit"> |
285 | <el-option | 285 | <el-option |
286 | v-for="item in czrOptions" | 286 | v-for="item in czrOptions" |
287 | :key="item.zjh" | 287 | :key="item.zjh" |
... | @@ -294,7 +294,7 @@ | ... | @@ -294,7 +294,7 @@ |
294 | </el-row> | 294 | </el-row> |
295 | <qlrCommonTable | 295 | <qlrCommonTable |
296 | :tableData="ruleForm.qlrList" | 296 | :tableData="ruleForm.qlrList" |
297 | :disabled="!ableOperation" | 297 | :disabled="!viewEdit" |
298 | @upDateQlrxxList="upDateQlrxxList" | 298 | @upDateQlrxxList="upDateQlrxxList" |
299 | :key="key" | 299 | :key="key" |
300 | :gyfs="ruleForm.sldy.gyfs" /> | 300 | :gyfs="ruleForm.sldy.gyfs" /> |
... | @@ -306,7 +306,7 @@ | ... | @@ -306,7 +306,7 @@ |
306 | </div> | 306 | </div> |
307 | <qlrCommonTable | 307 | <qlrCommonTable |
308 | v-if="ruleForm.ywrList" | 308 | v-if="ruleForm.ywrList" |
309 | :disabled="!ableOperation" | 309 | :disabled="!viewEdit" |
310 | :tableData="ruleForm.ywrList" | 310 | :tableData="ruleForm.ywrList" |
311 | :key="key" | 311 | :key="key" |
312 | @upDateQlrxxList="upDateYwrxxList" /> | 312 | @upDateQlrxxList="upDateYwrxxList" /> |
... | @@ -323,14 +323,14 @@ | ... | @@ -323,14 +323,14 @@ |
323 | class="textArea" | 323 | class="textArea" |
324 | maxlength="500" show-word-limit | 324 | maxlength="500" show-word-limit |
325 | type="textarea" | 325 | type="textarea" |
326 | :disabled="!ableOperation" | 326 | :disabled="!viewEdit" |
327 | v-model="ruleForm.tdsyq.djyy"> | 327 | v-model="ruleForm.tdsyq.djyy"> |
328 | </el-input> | 328 | </el-input> |
329 | </el-form-item> | 329 | </el-form-item> |
330 | </el-col> | 330 | </el-col> |
331 | </el-row> | 331 | </el-row> |
332 | </div> | 332 | </div> |
333 | <el-row class="btn" v-if="ableOperation"> | 333 | <el-row class="btn" v-if="viewEdit"> |
334 | <el-form-item> | 334 | <el-form-item> |
335 | <el-button type="primary" @click="onSubmit">保存</el-button> | 335 | <el-button type="primary" @click="onSubmit">保存</el-button> |
336 | </el-form-item> | 336 | </el-form-item> |
... | @@ -348,14 +348,14 @@ | ... | @@ -348,14 +348,14 @@ |
348 | mixins: [ywmix], | 348 | mixins: [ywmix], |
349 | components: { qlrCommonTable, tdytTable }, | 349 | components: { qlrCommonTable, tdytTable }, |
350 | mounted () { | 350 | mounted () { |
351 | this.ableOperation = this.$parent.currentSelectTab.ableOperation; | 351 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; |
352 | this.propsParam = this.$attrs; | 352 | this.propsParam = this.$attrs; |
353 | var formdata = new FormData(); | 353 | var formdata = new FormData(); |
354 | let that = this; | 354 | let that = this; |
355 | this.$startLoading(); | 355 | this.$startLoading(); |
356 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 356 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
357 | formdata.append("djlx", this.propsParam.djlx); | 357 | formdata.append("djlx", this.propsParam.djlx); |
358 | formdata.append("isEdit", this.ableOperation); | 358 | formdata.append("isEdit", this.viewEdit); |
359 | Init(formdata).then((res) => { | 359 | Init(formdata).then((res) => { |
360 | this.$nextTick(() => { | 360 | this.$nextTick(() => { |
361 | that.ruleForm = res.result; | 361 | that.ruleForm = res.result; |
... | @@ -388,7 +388,7 @@ | ... | @@ -388,7 +388,7 @@ |
388 | }, | 388 | }, |
389 | 389 | ||
390 | //表单是否可操作 | 390 | //表单是否可操作 |
391 | ableOperation: true, | 391 | viewEdit: true, |
392 | key: 0, | 392 | key: 0, |
393 | isShow: false, | 393 | isShow: false, |
394 | disabled: true, | 394 | disabled: true, | ... | ... |
... | @@ -134,7 +134,7 @@ | ... | @@ -134,7 +134,7 @@ |
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-input v-model="ruleForm.ygdj.zcs"></el-input> | 137 | <el-input v-model.number="ruleForm.ygdj.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input> |
138 | </el-form-item> | 138 | </el-form-item> |
139 | </el-col> | 139 | </el-col> |
140 | </el-row> | 140 | </el-row> | ... | ... |
... | @@ -102,7 +102,7 @@ | ... | @@ -102,7 +102,7 @@ |
102 | </el-col> | 102 | </el-col> |
103 | <el-col :span="8"> | 103 | <el-col :span="8"> |
104 | <el-form-item label="总层数:"> | 104 | <el-form-item label="总层数:"> |
105 | <el-input disabled v-model="ruleForm.ygdj.zcs"></el-input> | 105 | <el-input disabled v-model.number="ruleForm.ygdj.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input> |
106 | </el-form-item> | 106 | </el-form-item> |
107 | </el-col> | 107 | </el-col> |
108 | </el-row> | 108 | </el-row> |
... | @@ -113,7 +113,7 @@ | ... | @@ -113,7 +113,7 @@ |
113 | <el-row :gutter="10"> | 113 | <el-row :gutter="10"> |
114 | <el-col :span="12" v-if="ruleForm.qlxx"> | 114 | <el-col :span="12" v-if="ruleForm.qlxx"> |
115 | <el-form-item label="共有方式:"> | 115 | <el-form-item label="共有方式:"> |
116 | <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs"> | 116 | <el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldy.gyfs"> |
117 | <el-radio label="0">单独所有</el-radio> | 117 | <el-radio label="0">单独所有</el-radio> |
118 | <el-radio label="1">共同共有</el-radio> | 118 | <el-radio label="1">共同共有</el-radio> |
119 | <el-radio label="2">按份所有</el-radio> | 119 | <el-radio label="2">按份所有</el-radio> |
... | @@ -125,7 +125,7 @@ | ... | @@ -125,7 +125,7 @@ |
125 | <el-form-item label="是否分别持证:"> | 125 | <el-form-item label="是否分别持证:"> |
126 | <el-radio-group | 126 | <el-radio-group |
127 | v-model="ruleForm.sldy.sqfbcz" | 127 | v-model="ruleForm.sldy.sqfbcz" |
128 | :disabled="!ableOperation"> | 128 | :disabled="!viewEdit"> |
129 | <el-radio :label="1">是</el-radio> | 129 | <el-radio :label="1">是</el-radio> |
130 | <el-radio :label="0">否</el-radio> | 130 | <el-radio :label="0">否</el-radio> |
131 | </el-radio-group> | 131 | </el-radio-group> |
... | @@ -138,7 +138,7 @@ | ... | @@ -138,7 +138,7 @@ |
138 | <el-select | 138 | <el-select |
139 | v-model="ruleForm.czr" | 139 | v-model="ruleForm.czr" |
140 | placeholder="持证人" | 140 | placeholder="持证人" |
141 | :disabled="!ableOperation"> | 141 | :disabled="!viewEdit"> |
142 | <el-option | 142 | <el-option |
143 | v-for="item in czrOptions" | 143 | v-for="item in czrOptions" |
144 | :key="item.zjh" | 144 | :key="item.zjh" |
... | @@ -149,13 +149,13 @@ | ... | @@ -149,13 +149,13 @@ |
149 | </el-form-item> | 149 | </el-form-item> |
150 | </el-col> | 150 | </el-col> |
151 | </el-row> | 151 | </el-row> |
152 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation" | 152 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!viewEdit" |
153 | :gyfs="ruleForm.sldy.gyfs" /> | 153 | :gyfs="ruleForm.sldy.gyfs" /> |
154 | <div class="slxx_title title-block"> | 154 | <div class="slxx_title title-block"> |
155 | 义务人信息 | 155 | 义务人信息 |
156 | <div class="triangle"></div> | 156 | <div class="triangle"></div> |
157 | </div> | 157 | </div> |
158 | <qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" :disabled="!ableOperation" | 158 | <qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" :disabled="!viewEdit" |
159 | :gyfs="ruleForm.sldy.gyfs" /> | 159 | :gyfs="ruleForm.sldy.gyfs" /> |
160 | <div class="slxx_title title-block"> | 160 | <div class="slxx_title title-block"> |
161 | 登记原因 | 161 | 登记原因 |
... | @@ -164,14 +164,14 @@ | ... | @@ -164,14 +164,14 @@ |
164 | <el-row :gutter="10"> | 164 | <el-row :gutter="10"> |
165 | <el-col> | 165 | <el-col> |
166 | <el-form-item label="登记原因:" prop="djyy"> | 166 | <el-form-item label="登记原因:" prop="djyy"> |
167 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" | 167 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" |
168 | v-model="ruleForm.ygdj.djyy"> | 168 | v-model="ruleForm.ygdj.djyy"> |
169 | </el-input> | 169 | </el-input> |
170 | </el-form-item> | 170 | </el-form-item> |
171 | </el-col> | 171 | </el-col> |
172 | </el-row> | 172 | </el-row> |
173 | </div> | 173 | </div> |
174 | <el-row class="btn" v-if="ableOperation"> | 174 | <el-row class="btn" v-if="viewEdit"> |
175 | <el-form-item> | 175 | <el-form-item> |
176 | <el-button type="primary" @click="onSubmit">保存</el-button> | 176 | <el-button type="primary" @click="onSubmit">保存</el-button> |
177 | </el-form-item> | 177 | </el-form-item> |
... | @@ -187,13 +187,13 @@ | ... | @@ -187,13 +187,13 @@ |
187 | export default { | 187 | export default { |
188 | mixins: [ywmix], | 188 | mixins: [ywmix], |
189 | mounted () { | 189 | mounted () { |
190 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 190 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
191 | this.propsParam = this.$attrs; | 191 | this.propsParam = this.$attrs; |
192 | var formdata = new FormData(); | 192 | var formdata = new FormData(); |
193 | this.$startLoading(); | 193 | this.$startLoading(); |
194 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 194 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
195 | formdata.append("djlx", this.propsParam.djlx); | 195 | formdata.append("djlx", this.propsParam.djlx); |
196 | formdata.append("isEdit", this.ableOperation); | 196 | formdata.append("isEdit", this.viewEdit); |
197 | Init(formdata).then((res) => { | 197 | Init(formdata).then((res) => { |
198 | if (res.code === 200 && res.result) { | 198 | if (res.code === 200 && res.result) { |
199 | this.$endLoading(); | 199 | this.$endLoading(); |
... | @@ -214,7 +214,7 @@ | ... | @@ -214,7 +214,7 @@ |
214 | data () { | 214 | data () { |
215 | return { | 215 | return { |
216 | //表单是否可操作 | 216 | //表单是否可操作 |
217 | ableOperation: true, | 217 | viewEdit: true, |
218 | disabled: true, | 218 | disabled: true, |
219 | tdytOption: [], | 219 | tdytOption: [], |
220 | czrOptions: [], | 220 | czrOptions: [], | ... | ... |
... | @@ -62,7 +62,7 @@ | ... | @@ -62,7 +62,7 @@ |
62 | </el-col> | 62 | </el-col> |
63 | <el-col :span="8"> | 63 | <el-col :span="8"> |
64 | <el-form-item label="抵押金额类型:"> | 64 | <el-form-item label="抵押金额类型:"> |
65 | <el-radio-group v-model="ruleForm.diyaqList[0].dyjelx" :disabled="!ableOperation"> | 65 | <el-radio-group v-model="ruleForm.diyaqList[0].dyjelx" :disabled="!viewEdit"> |
66 | <el-radio label="0">独立抵押</el-radio> | 66 | <el-radio label="0">独立抵押</el-radio> |
67 | <el-radio label="1">整体抵押</el-radio> | 67 | <el-radio label="1">整体抵押</el-radio> |
68 | </el-radio-group> | 68 | </el-radio-group> |
... | @@ -70,7 +70,7 @@ | ... | @@ -70,7 +70,7 @@ |
70 | </el-col> | 70 | </el-col> |
71 | <el-col :span="8"> | 71 | <el-col :span="8"> |
72 | <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> | 72 | <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> |
73 | <el-radio-group v-model="ruleForm.diyaqList[0].sfczjzhxz" :disabled="!ableOperation"> | 73 | <el-radio-group v-model="ruleForm.diyaqList[0].sfczjzhxz" :disabled="!viewEdit"> |
74 | <el-radio label="1">启用</el-radio> | 74 | <el-radio label="1">启用</el-radio> |
75 | <el-radio label="0">禁用</el-radio> | 75 | <el-radio label="0">禁用</el-radio> |
76 | </el-radio-group> | 76 | </el-radio-group> |
... | @@ -81,8 +81,8 @@ | ... | @@ -81,8 +81,8 @@ |
81 | <el-row :gutter="10" v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0"> | 81 | <el-row :gutter="10" v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0"> |
82 | <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1"> | 82 | <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1"> |
83 | <el-form-item label="被担保主债权数额:"> | 83 | <el-form-item label="被担保主债权数额:"> |
84 | <el-input v-model="ruleForm.diyaqList[0].bdbzzqse" :disabled="!ableOperation"></el-input> | 84 | <el-input v-model="ruleForm.diyaqList[0].bdbzzqse" :disabled="!viewEdit"></el-input> |
85 | <el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="!ableOperation"> | 85 | <el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="!viewEdit"> |
86 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 86 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
87 | </el-option> | 87 | </el-option> |
88 | </el-select> | 88 | </el-select> |
... | @@ -91,8 +91,8 @@ | ... | @@ -91,8 +91,8 @@ |
91 | 91 | ||
92 | <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 2"> | 92 | <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 2"> |
93 | <el-form-item label="最高债权额:"> | 93 | <el-form-item label="最高债权额:"> |
94 | <el-input v-model="ruleForm.diyaqList[0].zgzqse" :disabled="!ableOperation"></el-input> | 94 | <el-input v-model="ruleForm.diyaqList[0].zgzqse" :disabled="!viewEdit"></el-input> |
95 | <el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="!ableOperation"> | 95 | <el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="!viewEdit"> |
96 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 96 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
97 | </el-option> | 97 | </el-option> |
98 | </el-select> | 98 | </el-select> |
... | @@ -101,13 +101,13 @@ | ... | @@ -101,13 +101,13 @@ |
101 | 101 | ||
102 | <el-col :span="8"> | 102 | <el-col :span="8"> |
103 | <el-form-item label="债务履行起始时间:"> | 103 | <el-form-item label="债务履行起始时间:"> |
104 | <el-date-picker v-model="ruleForm.diyaqList[0].zwlxqssj" :disabled="!ableOperation" type="date"> | 104 | <el-date-picker v-model="ruleForm.diyaqList[0].zwlxqssj" :disabled="!viewEdit" type="date"> |
105 | </el-date-picker> | 105 | </el-date-picker> |
106 | </el-form-item> | 106 | </el-form-item> |
107 | </el-col> | 107 | </el-col> |
108 | <el-col :span="8"> | 108 | <el-col :span="8"> |
109 | <el-form-item label="债务履行结束时间:"> | 109 | <el-form-item label="债务履行结束时间:"> |
110 | <el-date-picker v-model="ruleForm.diyaqList[0].zwlxjssj" :disabled="!ableOperation" type="date"> | 110 | <el-date-picker v-model="ruleForm.diyaqList[0].zwlxjssj" :disabled="!viewEdit" type="date"> |
111 | </el-date-picker> | 111 | </el-date-picker> |
112 | </el-form-item> | 112 | </el-form-item> |
113 | </el-col> | 113 | </el-col> |
... | @@ -117,21 +117,21 @@ | ... | @@ -117,21 +117,21 @@ |
117 | <el-col :span="24"> | 117 | <el-col :span="24"> |
118 | <el-form-item label="担保范围:"> | 118 | <el-form-item label="担保范围:"> |
119 | <el-input v-model="ruleForm.diyaqList[0].dbfw" | 119 | <el-input v-model="ruleForm.diyaqList[0].dbfw" |
120 | :disabled="ruleForm.sldyList[0].djlx == '300' && !ableOperation"></el-input> | 120 | :disabled="ruleForm.sldyList[0].djlx == '300' && !viewEdit"></el-input> |
121 | </el-form-item> | 121 | </el-form-item> |
122 | </el-col> | 122 | </el-col> |
123 | </el-row> | 123 | </el-row> |
124 | <el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0"> | 124 | <el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0"> |
125 | <el-col :span="24"> | 125 | <el-col :span="24"> |
126 | <el-form-item label="最高债权确定事实和数额:"> | 126 | <el-form-item label="最高债权确定事实和数额:"> |
127 | <el-input v-model="ruleForm.diyaqList[0].zgzqqdss" :disabled="!ableOperation"></el-input> | 127 | <el-input v-model="ruleForm.diyaqList[0].zgzqqdss" :disabled="!viewEdit"></el-input> |
128 | </el-form-item> | 128 | </el-form-item> |
129 | </el-col> | 129 | </el-col> |
130 | </el-row> | 130 | </el-row> |
131 | <el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0"> | 131 | <el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0"> |
132 | <el-col> | 132 | <el-col> |
133 | <el-form-item label="附记:" prop="fj"> | 133 | <el-form-item label="附记:" prop="fj"> |
134 | <el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="!ableOperation"></el-input> | 134 | <el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="!viewEdit"></el-input> |
135 | </el-form-item> | 135 | </el-form-item> |
136 | </el-col> | 136 | </el-col> |
137 | </el-row> | 137 | </el-row> |
... | @@ -143,7 +143,7 @@ | ... | @@ -143,7 +143,7 @@ |
143 | <el-row :gutter="10" v-if="ruleForm.sldyList && ruleForm.sldyList.length>0"> | 143 | <el-row :gutter="10" v-if="ruleForm.sldyList && ruleForm.sldyList.length>0"> |
144 | <el-col :span="14"> | 144 | <el-col :span="14"> |
145 | <el-form-item label="共有方式:"> | 145 | <el-form-item label="共有方式:"> |
146 | <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldyList[0].gyfs"> | 146 | <el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldyList[0].gyfs"> |
147 | <el-radio label="0">单独所有</el-radio> | 147 | <el-radio label="0">单独所有</el-radio> |
148 | <el-radio label="1">共同共有</el-radio> | 148 | <el-radio label="1">共同共有</el-radio> |
149 | <el-radio label="2">按份所有</el-radio> | 149 | <el-radio label="2">按份所有</el-radio> |
... | @@ -154,7 +154,7 @@ | ... | @@ -154,7 +154,7 @@ |
154 | 154 | ||
155 | <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs != '0'"> | 155 | <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs != '0'"> |
156 | <el-form-item label="是否分别持证:"> | 156 | <el-form-item label="是否分别持证:"> |
157 | <el-radio-group v-model="ruleForm.sldyList[0].sqfbcz" :disabled="!ableOperation"> | 157 | <el-radio-group v-model="ruleForm.sldyList[0].sqfbcz" :disabled="!viewEdit"> |
158 | <el-radio label="1">是</el-radio> | 158 | <el-radio label="1">是</el-radio> |
159 | <el-radio label="0">否</el-radio> | 159 | <el-radio label="0">否</el-radio> |
160 | </el-radio-group> | 160 | </el-radio-group> |
... | @@ -162,7 +162,7 @@ | ... | @@ -162,7 +162,7 @@ |
162 | </el-col> | 162 | </el-col> |
163 | <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs != '0'"> | 163 | <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs != '0'"> |
164 | <el-form-item label="持证人:"> | 164 | <el-form-item label="持证人:"> |
165 | <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation"> | 165 | <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!viewEdit"> |
166 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> | 166 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> |
167 | </el-option> | 167 | </el-option> |
168 | </el-select> | 168 | </el-select> |
... | @@ -170,12 +170,12 @@ | ... | @@ -170,12 +170,12 @@ |
170 | </el-col> | 170 | </el-col> |
171 | </el-row> | 171 | </el-row> |
172 | <qlrCommonTable v-if="ruleForm.sldyList && ruleForm.sldyList.length>0" :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" | 172 | <qlrCommonTable v-if="ruleForm.sldyList && ruleForm.sldyList.length>0" :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" |
173 | :disabled="!ableOperation" :gyfs="ruleForm.sldyList[0].gyfs" /> | 173 | :disabled="!viewEdit" :gyfs="ruleForm.sldyList[0].gyfs" /> |
174 | <div class="slxx_title title-block"> | 174 | <div class="slxx_title title-block"> |
175 | 抵押人信息 | 175 | 抵押人信息 |
176 | <div class="triangle"></div> | 176 | <div class="triangle"></div> |
177 | </div> | 177 | </div> |
178 | <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation" /> | 178 | <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!viewEdit" /> |
179 | 179 | ||
180 | <div class="slxx_title title-block"> | 180 | <div class="slxx_title title-block"> |
181 | 登记原因 | 181 | 登记原因 |
... | @@ -184,19 +184,19 @@ | ... | @@ -184,19 +184,19 @@ |
184 | <el-row :gutter="10" v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0"> | 184 | <el-row :gutter="10" v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0"> |
185 | <el-col> | 185 | <el-col> |
186 | <el-form-item v-if="ruleForm.sldyList[0].djlx == '400'" label="注销抵押原因:" prop="djyy"> | 186 | <el-form-item v-if="ruleForm.sldyList[0].djlx == '400'" label="注销抵押原因:" prop="djyy"> |
187 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | 187 | <el-input class="textArea" type="textarea" :disabled="!viewEdit" |
188 | v-model="ruleForm.diyaqList[0].zxdyyy"> | 188 | v-model="ruleForm.diyaqList[0].zxdyyy"> |
189 | </el-input> | 189 | </el-input> |
190 | </el-form-item> | 190 | </el-form-item> |
191 | <el-form-item v-else label="登记原因:" prop="djyy"> | 191 | <el-form-item v-else label="登记原因:" prop="djyy"> |
192 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" | 192 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" |
193 | v-model="ruleForm.diyaqList[0].djyy"> | 193 | v-model="ruleForm.diyaqList[0].djyy"> |
194 | </el-input> | 194 | </el-input> |
195 | </el-form-item> | 195 | </el-form-item> |
196 | </el-col> | 196 | </el-col> |
197 | </el-row> | 197 | </el-row> |
198 | </div> | 198 | </div> |
199 | <el-row class="btn" v-if="ableOperation"> | 199 | <el-row class="btn" v-if="viewEdit"> |
200 | <el-form-item> | 200 | <el-form-item> |
201 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> | 201 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> |
202 | </el-form-item> | 202 | </el-form-item> |
... | @@ -211,14 +211,14 @@ | ... | @@ -211,14 +211,14 @@ |
211 | import { mapGetters } from "vuex"; | 211 | import { mapGetters } from "vuex"; |
212 | export default { | 212 | export default { |
213 | mounted () { | 213 | mounted () { |
214 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 214 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
215 | this.propsParam = this.$attrs; | 215 | this.propsParam = this.$attrs; |
216 | var formdata = new FormData(); | 216 | var formdata = new FormData(); |
217 | 217 | ||
218 | this.$startLoading(); | 218 | this.$startLoading(); |
219 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | 219 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
220 | formdata.append("djlx", this.propsParam.djlx); | 220 | formdata.append("djlx", this.propsParam.djlx); |
221 | formdata.append("isEdit", this.ableOperation); | 221 | formdata.append("isEdit", this.viewEdit); |
222 | bacthInit(formdata).then((res) => { | 222 | bacthInit(formdata).then((res) => { |
223 | this.$endLoading(); | 223 | this.$endLoading(); |
224 | if (res.code === 200 && res.result) { | 224 | if (res.code === 200 && res.result) { |
... | @@ -241,7 +241,7 @@ | ... | @@ -241,7 +241,7 @@ |
241 | data () { | 241 | data () { |
242 | return { | 242 | return { |
243 | //表单是否可操作 | 243 | //表单是否可操作 |
244 | ableOperation: true, | 244 | viewEdit: true, |
245 | disabled: true, | 245 | disabled: true, |
246 | czrOptions: [], | 246 | czrOptions: [], |
247 | ruleForm: {}, | 247 | ruleForm: {}, | ... | ... |
-
Please register or sign in to post a comment