imeik-bizui 1.8.2 → 1.8.4

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.
@@ -41,7 +41,7 @@
41
41
  <ImOneLineDot :text="formatPhone(row.doctorPhone)">手机号:{{ formatPhone(row.doctorPhone) }}</ImOneLineDot>
42
42
  <ImOneLineDot :text="row.doctorType">类型:{{ row.doctorType }}</ImOneLineDot>
43
43
  <ImOneLineDot :text="row.doctorPost">职称:{{ row.doctorPost }}</ImOneLineDot>
44
- <ImOneLineDot :text="row.doctorExpertType">医生类专家类别:{{ row.doctorExpertType }}</ImOneLineDot>
44
+ <ImOneLineDot v-if="row.doctorExpertType" :text="row.doctorExpertType">医生类专家类别:{{ row.doctorExpertType }}</ImOneLineDot>
45
45
  </div>
46
46
  </div>
47
47
  </template>
@@ -88,6 +88,7 @@
88
88
  </div>
89
89
  <div v-else>
90
90
  <ImDiffText v-if="showDiff" :show-diff="showDiff" :old-value="row.identity" :no-absolute="true" :new-value="row._newData?.identity" />
91
+ <p v-else>{{ row.identity }}</p>
91
92
  </div>
92
93
  </template>
93
94
  <!-- 授课名称 -->
@@ -454,6 +455,7 @@ export default {
454
455
  handleChangeIdentity(val, row) {
455
456
  const sceneInfo = row.shenfenList_new.find((item) => item.value === val)
456
457
  this.$set(row, 'standardAmount', sceneInfo.standardAmount)
458
+ console.log(row, '测试')
457
459
  },
458
460
  // 修改专家回调
459
461
  changedoctorName(row, type) {
@@ -478,6 +480,7 @@ export default {
478
480
  if (!type) {
479
481
  this.$set(row, 'doctorServiceSceneCode', '')
480
482
  this.$set(row, 'describe', '')
483
+ this.$set(row, 'identity', '')
481
484
  this.setDefaultRoleInfo(row)
482
485
  }
483
486
  },
@@ -505,6 +508,9 @@ export default {
505
508
  value: item.value?.split('_')[1] ?? item.value ?? ''
506
509
  })) ?? []
507
510
  this.$set(row, 'shenfenList_new', shenfenList_new)
511
+ if (!row.doctorExpertType) {
512
+ this.handleChangeIdentity('', row)
513
+ }
508
514
  }
509
515
  this.checkStandardAmountsIsBeyond(row)
510
516
  },