imeik-bizui 2.1.6 → 2.1.7

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.
@@ -15,6 +15,7 @@
15
15
  </template>
16
16
  <!-- 专家 -->
17
17
  <template slot="doctorName" slot-scope="{ row }">
18
+ <p v-if="!isView" style="font-size: 12px; color: red; line-height: 18px;margin-bottom: 8px;">标记“暂不可用”的专家是因为缺少计算专家费必要字段,请前往用户中心维护专家信息</p>
18
19
  <ImSelect
19
20
  v-if="!isView"
20
21
  v-model="row.doctorNumber"
@@ -417,8 +418,10 @@ export default {
417
418
  this.doctorLoading = false
418
419
  if (res.code === 200) {
419
420
  res.data.list.forEach((item) => {
420
- item.label = item.doctorName
421
+ const disabled = !item.doctorRoleInfoList?.length || !item.doctorType
422
+ item.label = item.doctorName + (disabled ? '(暂不可用)' : '')
421
423
  item.value = item.doctorNumber
424
+ item.disabled = disabled
422
425
  })
423
426
  this.doctorAttrs.options = res.data.list
424
427
  data && this.changedoctorName(data, 'refresh')