imeik-bizui 1.7.5 → 1.7.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.
- package/dist/bizui/src/FieldExpertSelect/index.vue +9 -1
- package/dist/imeik-bizui.common.js +91 -80
- package/dist/imeik-bizui.common.js.gz +0 -0
- package/dist/imeik-bizui.css +1 -1
- package/dist/imeik-bizui.css.gz +0 -0
- package/dist/imeik-bizui.umd.js +91 -80
- package/dist/imeik-bizui.umd.js.gz +0 -0
- package/dist/imeik-bizui.umd.min.js +5 -5
- package/dist/imeik-bizui.umd.min.js.gz +0 -0
- package/package.json +1 -1
|
@@ -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>
|
|
@@ -462,6 +462,10 @@ export default {
|
|
|
462
462
|
},
|
|
463
463
|
// 添加专家行
|
|
464
464
|
addExpert() {
|
|
465
|
+
if (this.tableConfig.data.length >= 50) {
|
|
466
|
+
this.$message.warning('最多添加50行专家信息')
|
|
467
|
+
return
|
|
468
|
+
}
|
|
465
469
|
this.tableConfig.data.push({})
|
|
466
470
|
},
|
|
467
471
|
// 删除专家行
|
|
@@ -557,6 +561,10 @@ export default {
|
|
|
557
561
|
const token = this.$bizui.userTokenFunc()
|
|
558
562
|
const url = `${host}/user/expertDatabase/expertDetails?objectCode=${row.doctorNumber}&type=list&token=${token}&hideBar=1`
|
|
559
563
|
window.open(url)
|
|
564
|
+
},
|
|
565
|
+
// 获取焦点的时候清楚当前options缓存
|
|
566
|
+
onDoctorFocus() {
|
|
567
|
+
this.doctorAttrs.options = []
|
|
560
568
|
}
|
|
561
569
|
}
|
|
562
570
|
}
|