imeik-bizui 1.8.3 → 1.8.5

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>
@@ -94,7 +94,7 @@
94
94
  <!-- 授课名称 -->
95
95
  <template slot="className" slot-scope="{ row }">
96
96
  <div v-if="!isView">
97
- <ImInput v-model="row.className" :class="{ 'is-error': row.valid === false && checkHasCourse(row) }" placeholder="请输入" maxlength="100"></ImInput>
97
+ <ImInput v-model="row.courseName" :class="{ 'is-error': row.valid === false && checkHasCourse(row) }" placeholder="请输入" maxlength="100"></ImInput>
98
98
  </div>
99
99
  <div v-else>
100
100
  <ImDiffText v-if="showDiff" :show-diff="showDiff" :old-value="row.courseName" :no-absolute="true" :new-value="row._newData?.courseName" />
@@ -367,7 +367,7 @@ export default {
367
367
  } else if (!item.doctorServiceSceneCode) {
368
368
  res && showMessage && this.$message.warning('请检查服务场景')
369
369
  res = false
370
- } else if (this.checkHasCourse(item) && !item.className) {
370
+ } else if (this.checkHasCourse(item) && !item.courseName) {
371
371
  res && showMessage && this.$message.warning('请填写授课名称')
372
372
  res = false
373
373
  } else if (!item.costAmount) {
@@ -455,6 +455,7 @@ 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, '测试')
458
459
  },
459
460
  // 修改专家回调
460
461
  changedoctorName(row, type) {
@@ -479,6 +480,7 @@ export default {
479
480
  if (!type) {
480
481
  this.$set(row, 'doctorServiceSceneCode', '')
481
482
  this.$set(row, 'describe', '')
483
+ this.$set(row, 'identity', '')
482
484
  this.setDefaultRoleInfo(row)
483
485
  }
484
486
  },
@@ -506,6 +508,9 @@ export default {
506
508
  value: item.value?.split('_')[1] ?? item.value ?? ''
507
509
  })) ?? []
508
510
  this.$set(row, 'shenfenList_new', shenfenList_new)
511
+ if (!row.doctorExpertType) {
512
+ this.handleChangeIdentity('', row)
513
+ }
509
514
  }
510
515
  this.checkStandardAmountsIsBeyond(row)
511
516
  },