style:抵押权人信息
Showing
8 changed files
with
97 additions
and
36 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-13 13:51:33 | 4 | * @LastEditTime: 2023-09-13 14:21:14 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -104,7 +104,7 @@ | ... | @@ -104,7 +104,7 @@ |
104 | that.currentSelectProps = res.result[0]; | 104 | that.currentSelectProps = res.result[0]; |
105 | that.$emit('getCurrentSelectProps', this.currentSelectProps); | 105 | that.$emit('getCurrentSelectProps', this.currentSelectProps); |
106 | that.judgeBatchShow(); | 106 | that.judgeBatchShow(); |
107 | if (sessionStorage.getItem('keyPath')) { | 107 | if (sessionStorage.getItem('keyPath') && sessionStorage.getItem('keyPath') >= 0) { |
108 | that.unitClick(sessionStorage.getItem('keyPath') - 0) | 108 | that.unitClick(sessionStorage.getItem('keyPath') - 0) |
109 | } else { | 109 | } else { |
110 | that.unitClick(0) | 110 | that.unitClick(0) |
... | @@ -123,7 +123,7 @@ | ... | @@ -123,7 +123,7 @@ |
123 | this.currentSelectProps = res.result[0]; | 123 | this.currentSelectProps = res.result[0]; |
124 | this.$emit('getCurrentSelectProps', this.currentSelectProps); | 124 | this.$emit('getCurrentSelectProps', this.currentSelectProps); |
125 | this.judgeBatchShow(); | 125 | this.judgeBatchShow(); |
126 | if (sessionStorage.getItem('keyPath')) { | 126 | if (sessionStorage.getItem('keyPath') && sessionStorage.getItem('keyPath') >= 0) { |
127 | that.unitClick(sessionStorage.getItem('keyPath') - 0) | 127 | that.unitClick(sessionStorage.getItem('keyPath') - 0) |
128 | } else { | 128 | } else { |
129 | that.unitClick(0) | 129 | that.unitClick(0) |
... | @@ -208,6 +208,7 @@ | ... | @@ -208,6 +208,7 @@ |
208 | this.currentSelectProps.batchOperation = true; | 208 | this.currentSelectProps.batchOperation = true; |
209 | this.activeIndex = "-1"; | 209 | this.activeIndex = "-1"; |
210 | this.$parent.stepForm(0); | 210 | this.$parent.stepForm(0); |
211 | sessionStorage.setItem('keyPath', this.activeIndex); | ||
211 | }, | 212 | }, |
212 | /** | 213 | /** |
213 | * @description: 批量操作 | 214 | * @description: 批量操作 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-12 09:56:07 | 4 | * @LastEditTime: 2023-09-13 14:16:46 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -410,9 +410,19 @@ | ... | @@ -410,9 +410,19 @@ |
410 | * @author: renchao | 410 | * @author: renchao |
411 | */ | 411 | */ |
412 | upDateQlrxxList (val) { | 412 | upDateQlrxxList (val) { |
413 | if (!_.isEqual(val, this.ruleForm.qlrList)) { | ||
413 | this.ruleForm.qlrList = _.cloneDeep(val); | 414 | this.ruleForm.qlrList = _.cloneDeep(val); |
414 | this.czrOptions = this.ruleForm.qlrList; | 415 | this.czrOptions = this.ruleForm.qlrList; |
415 | this.key++; | 416 | } |
417 | this.num = 0 | ||
418 | this.ruleForm.qlrList.forEach(item => { | ||
419 | if (item.zjh == this.czr) { | ||
420 | this.num++ | ||
421 | } | ||
422 | }) | ||
423 | if (this.num == 0) { | ||
424 | this.czr = '' | ||
425 | } | ||
416 | }, | 426 | }, |
417 | // 更新权利人信息 | 427 | // 更新权利人信息 |
418 | /** | 428 | /** | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-17 14:14:53 | 4 | * @LastEditTime: 2023-09-13 14:17:15 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -336,11 +336,20 @@ | ... | @@ -336,11 +336,20 @@ |
336 | * @author: renchao | 336 | * @author: renchao |
337 | */ | 337 | */ |
338 | upDateQlrxxList (val) { | 338 | upDateQlrxxList (val) { |
339 | if (!_.isEqual(val, this.ruleForm.qlrList)) { | ||
339 | this.ruleForm.qlrList = _.cloneDeep(val); | 340 | this.ruleForm.qlrList = _.cloneDeep(val); |
340 | this.czrOptions = this.ruleForm.qlrList; | 341 | this.czrOptions = this.ruleForm.qlrList; |
342 | } | ||
343 | this.num = 0 | ||
344 | this.ruleForm.qlrList.forEach(item => { | ||
345 | if (item.zjh == this.czr) { | ||
346 | this.num++ | ||
347 | } | ||
348 | }) | ||
349 | if (this.num == 0) { | ||
350 | this.czr = '' | ||
351 | } | ||
341 | }, | 352 | }, |
342 | |||
343 | |||
344 | // 是否持证人变化 | 353 | // 是否持证人变化 |
345 | /** | 354 | /** |
346 | * @description: 是否持证人变化 | 355 | * @description: 是否持证人变化 | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | <!-- | 2 | <!-- |
3 | * @Description: | 3 | * @Description: |
4 | * @Autor: renchao | 4 | * @Autor: renchao |
5 | * @LastEditTime: 2023-08-22 16:25:54 | 5 | * @LastEditTime: 2023-09-13 14:17:49 |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
8 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
... | @@ -286,9 +286,19 @@ | ... | @@ -286,9 +286,19 @@ |
286 | * @author: renchao | 286 | * @author: renchao |
287 | */ | 287 | */ |
288 | upDateQlrxxList (val) { | 288 | upDateQlrxxList (val) { |
289 | if (!_.isEqual(val, this.ruleForm.qlrList)) { | ||
289 | this.ruleForm.qlrList = _.cloneDeep(val); | 290 | this.ruleForm.qlrList = _.cloneDeep(val); |
290 | this.czrOptions = this.ruleForm.qlrList; | 291 | this.czrOptions = this.ruleForm.qlrList; |
291 | this.key++; | 292 | } |
293 | this.num = 0 | ||
294 | this.ruleForm.qlrList.forEach(item => { | ||
295 | if (item.zjh == this.czr) { | ||
296 | this.num++ | ||
297 | } | ||
298 | }) | ||
299 | if (this.num == 0) { | ||
300 | this.czr = '' | ||
301 | } | ||
292 | }, | 302 | }, |
293 | // 是否持证人变化 | 303 | // 是否持证人变化 |
294 | /** | 304 | /** | ... | ... |
... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
4 | <el-form | 4 | <el-form |
5 | :model="ruleForm" | 5 | :model="ruleForm" |
6 | :rules="rules" | 6 | :rules="rules" |
7 | class="loadingtext" | 7 | v-Loading="loading" |
8 | ref="ruleForm" | 8 | ref="ruleForm" |
9 | :label-position="flag ? 'top' : ''" | 9 | :label-position="flag ? 'top' : ''" |
10 | :inline="flag" | 10 | :inline="flag" |
... | @@ -324,21 +324,23 @@ | ... | @@ -324,21 +324,23 @@ |
324 | mounted () { | 324 | mounted () { |
325 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; | 325 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; |
326 | this.propsParam = this.$attrs; | 326 | this.propsParam = this.$attrs; |
327 | this.$startLoading(); | 327 | this.loading = true |
328 | var formdata = new FormData(); | 328 | var formdata = new FormData(); |
329 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 329 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
330 | formdata.append("djlx", this.propsParam.djlx); | 330 | formdata.append("djlx", this.propsParam.djlx); |
331 | formdata.append("isEdit", this.viewEdit); | 331 | formdata.append("isEdit", this.viewEdit); |
332 | Init(formdata).then((res) => { | 332 | Init(formdata).then((res) => { |
333 | this.loading = false | ||
333 | this.ruleForm = res.result; | 334 | this.ruleForm = res.result; |
334 | this.czrOptions = this.ruleForm.qlrList; | 335 | this.czrOptions = this.ruleForm.qlrList; |
335 | this.ruleForm.qlrList.forEach((item) => { | 336 | this.ruleForm.qlrList.forEach((item) => { |
336 | if (item.sfczr == 1) { | 337 | if (item.sfczr == 1) { |
337 | this.czr = item.zjh | 338 | this.czr = item.zjh |
338 | } | 339 | } |
339 | }); | 340 | }) |
340 | this.$endLoading(); | 341 | }).catch(() => { |
341 | }); | 342 | this.loading = false |
343 | }) | ||
342 | }, | 344 | }, |
343 | components: { qlrCommonTable, JtcyTable }, | 345 | components: { qlrCommonTable, JtcyTable }, |
344 | computed: { | 346 | computed: { |
... | @@ -346,6 +348,7 @@ | ... | @@ -346,6 +348,7 @@ |
346 | }, | 348 | }, |
347 | data () { | 349 | data () { |
348 | return { | 350 | return { |
351 | loading: false, | ||
349 | disabled: true, | 352 | disabled: true, |
350 | //持证人选项 | 353 | //持证人选项 |
351 | czrOptions: [], | 354 | czrOptions: [], |
... | @@ -446,10 +449,20 @@ | ... | @@ -446,10 +449,20 @@ |
446 | * @author: renchao | 449 | * @author: renchao |
447 | */ | 450 | */ |
448 | upDateQlrxxList (val) { | 451 | upDateQlrxxList (val) { |
452 | if (!_.isEqual(val, this.ruleForm.qlrList)) { | ||
449 | this.ruleForm.qlrList = _.cloneDeep(val); | 453 | this.ruleForm.qlrList = _.cloneDeep(val); |
450 | this.czrOptions = this.ruleForm.qlrList; | 454 | this.czrOptions = this.ruleForm.qlrList; |
455 | } | ||
456 | this.num = 0 | ||
457 | this.ruleForm.qlrList.forEach(item => { | ||
458 | if (item.zjh == this.czr) { | ||
459 | this.num++ | ||
460 | } | ||
461 | }) | ||
462 | if (this.num == 0) { | ||
463 | this.czr = '' | ||
464 | } | ||
451 | }, | 465 | }, |
452 | // 是否持证人变化 | ||
453 | /** | 466 | /** |
454 | * @description: 是否持证人变化 | 467 | * @description: 是否持证人变化 |
455 | * @param {*} val | 468 | * @param {*} val | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | <!-- 受理信息 --> | 2 | <!-- 受理信息 --> |
3 | <div class="slxx"> | 3 | <div class="slxx"> |
4 | <el-form | 4 | <el-form |
5 | class="loadingtext" | 5 | v-Loading="loading" |
6 | :label-position="flag ? 'top' : ''" | 6 | :label-position="flag ? 'top' : ''" |
7 | :inline="flag" | 7 | :inline="flag" |
8 | label-width="140px"> | 8 | label-width="140px"> |
... | @@ -211,8 +211,8 @@ | ... | @@ -211,8 +211,8 @@ |
211 | v-model="ruleForm.sldyList[0].sqfbcz" | 211 | v-model="ruleForm.sldyList[0].sqfbcz" |
212 | :disabled="!viewEdit" | 212 | :disabled="!viewEdit" |
213 | @input="updaterow()"> | 213 | @input="updaterow()"> |
214 | <el-radio label="1">是</el-radio> | 214 | <el-radio :label="1">是</el-radio> |
215 | <el-radio label="0">否</el-radio> | 215 | <el-radio :label="0">否</el-radio> |
216 | </el-radio-group> | 216 | </el-radio-group> |
217 | </el-form-item> | 217 | </el-form-item> |
218 | </el-col> | 218 | </el-col> |
... | @@ -229,9 +229,9 @@ | ... | @@ -229,9 +229,9 @@ |
229 | :disabled="!viewEdit"> | 229 | :disabled="!viewEdit"> |
230 | <el-option | 230 | <el-option |
231 | v-for="item in czrOptions" | 231 | v-for="item in czrOptions" |
232 | :key="item.value" | 232 | :key="item.zjh" |
233 | :label="item.label" | 233 | :label="item.sqrmc" |
234 | :value="item.value"> | 234 | :value="item.zjh"> |
235 | </el-option> | 235 | </el-option> |
236 | </el-select> | 236 | </el-select> |
237 | </el-form-item> | 237 | </el-form-item> |
... | @@ -303,12 +303,12 @@ | ... | @@ -303,12 +303,12 @@ |
303 | this.propsParam = this.$attrs; | 303 | this.propsParam = this.$attrs; |
304 | var formdata = new FormData(); | 304 | var formdata = new FormData(); |
305 | 305 | ||
306 | this.$startLoading(); | 306 | this.loading = true |
307 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | 307 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
308 | formdata.append("djlx", this.propsParam.djlx); | 308 | formdata.append("djlx", this.propsParam.djlx); |
309 | formdata.append("isEdit", this.viewEdit); | 309 | formdata.append("isEdit", this.viewEdit); |
310 | bacthInit(formdata).then((res) => { | 310 | bacthInit(formdata).then((res) => { |
311 | this.$endLoading(); | 311 | this.loading = false |
312 | if (res.code === 200 && res.result) { | 312 | if (res.code === 200 && res.result) { |
313 | this.ruleForm = res.result; | 313 | this.ruleForm = res.result; |
314 | this.czrOptions = this.ruleForm.qlrList; | 314 | this.czrOptions = this.ruleForm.qlrList; |
... | @@ -316,11 +316,13 @@ | ... | @@ -316,11 +316,13 @@ |
316 | if (item.sfczr == 1) { | 316 | if (item.sfczr == 1) { |
317 | this.czr = item.zjh | 317 | this.czr = item.zjh |
318 | } | 318 | } |
319 | }); | 319 | }) |
320 | } else { | 320 | } else { |
321 | this.$message.error(res.message); | 321 | this.$message.error(res.message) |
322 | } | 322 | } |
323 | }); | 323 | }).catch(() => { |
324 | this.loading = false | ||
325 | }) | ||
324 | }, | 326 | }, |
325 | components: { qlrCommonTable, qjhTable }, | 327 | components: { qlrCommonTable, qjhTable }, |
326 | computed: { | 328 | computed: { |
... | @@ -328,6 +330,7 @@ | ... | @@ -328,6 +330,7 @@ |
328 | }, | 330 | }, |
329 | data () { | 331 | data () { |
330 | return { | 332 | return { |
333 | loading: false, | ||
331 | //表单是否可操作 | 334 | //表单是否可操作 |
332 | viewEdit: true, | 335 | viewEdit: true, |
333 | disabled: true, | 336 | disabled: true, |
... | @@ -355,7 +358,7 @@ | ... | @@ -355,7 +358,7 @@ |
355 | }); | 358 | }); |
356 | return false; | 359 | return false; |
357 | } | 360 | } |
358 | if (ruleForm.sldyList[0].gyfs == "0") { | 361 | if (this.ruleForm.sldyList[0].gyfs == "0") { |
359 | if (this.ruleForm.qlrList.length > 1) { | 362 | if (this.ruleForm.qlrList.length > 1) { |
360 | this.$message({ | 363 | this.$message({ |
361 | showClose: true, | 364 | showClose: true, |
... | @@ -379,8 +382,8 @@ | ... | @@ -379,8 +382,8 @@ |
379 | if (this.ruleForm.sldyList[0].sqfbcz == "1") { | 382 | if (this.ruleForm.sldyList[0].sqfbcz == "1") { |
380 | //是 | 383 | //是 |
381 | this.ruleForm.qlrList.forEach((item, index) => { | 384 | this.ruleForm.qlrList.forEach((item, index) => { |
382 | item.sfczr = "1"; | 385 | item.sfczr = "1" |
383 | }); | 386 | }) |
384 | } else { | 387 | } else { |
385 | if (!that.czr) { | 388 | if (!that.czr) { |
386 | that.$message({ | 389 | that.$message({ |
... | @@ -416,7 +419,6 @@ | ... | @@ -416,7 +419,6 @@ |
416 | } | 419 | } |
417 | }); | 420 | }); |
418 | }, | 421 | }, |
419 | // 是否持证人变化 | ||
420 | /** | 422 | /** |
421 | * @description: 是否持证人变化 | 423 | * @description: 是否持证人变化 |
422 | * @param {*} val | 424 | * @param {*} val |
... | @@ -435,6 +437,15 @@ | ... | @@ -435,6 +437,15 @@ |
435 | this.ruleForm.qlrList = _.cloneDeep(val); | 437 | this.ruleForm.qlrList = _.cloneDeep(val); |
436 | this.czrOptions = this.ruleForm.qlrList; | 438 | this.czrOptions = this.ruleForm.qlrList; |
437 | } | 439 | } |
440 | this.num = 0 | ||
441 | this.ruleForm.qlrList.forEach(item => { | ||
442 | if (item.zjh == this.czr) { | ||
443 | this.num++ | ||
444 | } | ||
445 | }) | ||
446 | if (this.num == 0) { | ||
447 | this.czr = '' | ||
448 | } | ||
438 | }, | 449 | }, |
439 | /** | 450 | /** |
440 | * @description: 更新义务人信息 | 451 | * @description: 更新义务人信息 |
... | @@ -445,9 +456,9 @@ | ... | @@ -445,9 +456,9 @@ |
445 | if (!_.isEqual(val, this.ruleForm.ywrList)) { | 456 | if (!_.isEqual(val, this.ruleForm.ywrList)) { |
446 | this.ruleForm.ywrList = _.cloneDeep(val); | 457 | this.ruleForm.ywrList = _.cloneDeep(val); |
447 | } | 458 | } |
448 | }, | 459 | } |
449 | }, | 460 | } |
450 | }; | 461 | } |
451 | </script> | 462 | </script> |
452 | <style scoped lang="scss"> | 463 | <style scoped lang="scss"> |
453 | @import "~@/styles/public.scss"; | 464 | @import "~@/styles/public.scss"; | ... | ... |
... | @@ -456,7 +456,6 @@ | ... | @@ -456,7 +456,6 @@ |
456 | } | 456 | } |
457 | }); | 457 | }); |
458 | }, | 458 | }, |
459 | |||
460 | /** | 459 | /** |
461 | * @description: 更新权利人信息 | 460 | * @description: 更新权利人信息 |
462 | * @param {*} val | 461 | * @param {*} val |
... | @@ -467,6 +466,15 @@ | ... | @@ -467,6 +466,15 @@ |
467 | this.ruleForm.qlrList = _.cloneDeep(val); | 466 | this.ruleForm.qlrList = _.cloneDeep(val); |
468 | this.czrOptions = this.ruleForm.qlrList; | 467 | this.czrOptions = this.ruleForm.qlrList; |
469 | } | 468 | } |
469 | this.num = 0 | ||
470 | this.ruleForm.qlrList.forEach(item => { | ||
471 | if (item.zjh == this.czr) { | ||
472 | this.num++ | ||
473 | } | ||
474 | }) | ||
475 | if (this.num == 0) { | ||
476 | this.czr = '' | ||
477 | } | ||
470 | }, | 478 | }, |
471 | // 是否持证人变化 | 479 | // 是否持证人变化 |
472 | /** | 480 | /** | ... | ... |
-
Please register or sign in to post a comment