imeik-bizui 1.8.5 → 1.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -455,7 +455,6 @@ export default {
455
455
  handleChangeIdentity(val, row) {
456
456
  const sceneInfo = row.shenfenList_new.find((item) => item.value === val)
457
457
  this.$set(row, 'standardAmount', sceneInfo.standardAmount)
458
- console.log(row, '测试')
459
458
  },
460
459
  // 修改专家回调
461
460
  changedoctorName(row, type) {
@@ -481,6 +480,9 @@ export default {
481
480
  this.$set(row, 'doctorServiceSceneCode', '')
482
481
  this.$set(row, 'describe', '')
483
482
  this.$set(row, 'identity', '')
483
+ this.$set(row, 'courseName', '')
484
+ this.$set(row, 'standardAmount', '')
485
+ this.$set(row, 'costAmount', undefined)
484
486
  this.setDefaultRoleInfo(row)
485
487
  }
486
488
  },
@@ -496,7 +498,10 @@ export default {
496
498
  if (sceneInfo) {
497
499
  this.$set(row, 'doctorServiceSceneName', sceneInfo.label)
498
500
  this.$set(row, 'describe', sceneInfo.describe)
501
+ this.$set(row, 'identity', '')
499
502
  this.$set(row, 'courseName', '')
503
+ this.$set(row, 'standardAmount', '')
504
+ this.$set(row, 'costAmount', undefined)
500
505
  // 修改:在过滤后,对每个项处理label,取_之后的部分
501
506
  const shenfenList_new =
502
507
  row.shenfenList
@@ -508,7 +513,7 @@ export default {
508
513
  value: item.value?.split('_')[1] ?? item.value ?? ''
509
514
  })) ?? []
510
515
  this.$set(row, 'shenfenList_new', shenfenList_new)
511
- if (!row.doctorExpertType) {
516
+ if (shenfenList_new.length === 1 && row.shenfenList_new[0].value === '') {
512
517
  this.handleChangeIdentity('', row)
513
518
  }
514
519
  }
@@ -521,6 +526,10 @@ export default {
521
526
  this.$set(row, 'doctorLevelName', roleInfo.label)
522
527
  this.$set(row, 'doctorServiceSceneCode', '')
523
528
  this.$set(row, 'describe', '')
529
+ this.$set(row, 'identity', '')
530
+ this.$set(row, 'courseName', '')
531
+ this.$set(row, 'standardAmount', '')
532
+ this.$set(row, 'costAmount', undefined)
524
533
  }
525
534
  this.getSceneList(row)
526
535
  },