imeik-bizui 1.7.5 → 1.7.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.
@@ -3,7 +3,7 @@
3
3
  <ImTable :table="tableConfig" style="margin-bottom: 20px">
4
4
  <!-- 专家 -->
5
5
  <template slot="doctorName" slot-scope="{ row }">
6
- <ImSelect v-if="!isView" v-model="row.doctorNumber" :class="{ 'is-error': row.valid === false && !row.doctorNumber }" :attrs="doctorAttrs" @input="changedoctorName(row)"></ImSelect>
6
+ <ImSelect v-if="!isView" v-model="row.doctorNumber" :class="{ 'is-error': row.valid === false && !row.doctorNumber }" :attrs="doctorAttrs" :listeners="{ focus: onDoctorFocus}" @input="changedoctorName(row)"></ImSelect>
7
7
  <div v-else>
8
8
  <!-- <div v-if="showDiff">
9
9
  <p class="text-button" @click="viewdoctorDetailItem(row)">{{ row.doctorName }}</p>
@@ -557,6 +557,10 @@ export default {
557
557
  const token = this.$bizui.userTokenFunc()
558
558
  const url = `${host}/user/expertDatabase/expertDetails?objectCode=${row.doctorNumber}&type=list&token=${token}&hideBar=1`
559
559
  window.open(url)
560
+ },
561
+ // 获取焦点的时候清楚当前options缓存
562
+ onDoctorFocus() {
563
+ this.doctorAttrs.options = []
560
564
  }
561
565
  }
562
566
  }