imeik-bizui 1.5.8 → 1.6.1
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 +14 -9
- package/dist/imeik-bizui.common.js +92 -86
- 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 +92 -86
- package/dist/imeik-bizui.umd.js.gz +0 -0
- package/dist/imeik-bizui.umd.min.js +3 -3
- package/dist/imeik-bizui.umd.min.js.gz +0 -0
- package/package.json +1 -1
|
@@ -13,20 +13,22 @@
|
|
|
13
13
|
<template slot="organizations" slot-scope="{ row }">
|
|
14
14
|
<div class="expertOther">
|
|
15
15
|
<p v-if="!row.doctorNumber">-</p>
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
<div v-if="Array.isArray(row.doctorOrg)">
|
|
17
|
+
<ImOneLineDot v-for="(item, index) in row.doctorOrg" :key="index" :text="item">{{ item }}</ImOneLineDot>
|
|
18
|
+
</div>
|
|
19
19
|
</div>
|
|
20
20
|
</template>
|
|
21
21
|
<!-- 其他信息 -->
|
|
22
22
|
<template slot="otherInfo" slot-scope="{ row }">
|
|
23
23
|
<div class="expertOther">
|
|
24
24
|
<p v-if="!row.doctorNumber">-</p>
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
<div v-else>
|
|
26
|
+
<ImOneLineDot :text="row.doctorNumber">专家编号:{{ row.doctorNumber }}</ImOneLineDot>
|
|
27
|
+
<ImOneLineDot :text="formatPhone(row.doctorPhone)">手机号:{{ formatPhone(row.doctorPhone) }}</ImOneLineDot>
|
|
28
|
+
<ImOneLineDot :text="row.doctorType">类型:{{ row.doctorType }}</ImOneLineDot>
|
|
29
|
+
<ImOneLineDot :text="row.doctorPosition">职业:{{ row.doctorPosition }}</ImOneLineDot>
|
|
30
|
+
<ImOneLineDot :text="row.doctorPost">职称:{{ row.doctorPost }}</ImOneLineDot>
|
|
31
|
+
</div>
|
|
30
32
|
</div>
|
|
31
33
|
</template>
|
|
32
34
|
<!-- 角色等级 -->
|
|
@@ -408,13 +410,16 @@ export default {
|
|
|
408
410
|
this.$message.error('该专家已存在')
|
|
409
411
|
return
|
|
410
412
|
}
|
|
413
|
+
if (typeof doctorInfo.doctorOrg === 'string') {
|
|
414
|
+
doctorInfo.doctorOrg = doctorInfo.doctorOrg.split(',')
|
|
415
|
+
}
|
|
411
416
|
for (const key in doctorInfo) {
|
|
412
417
|
this.$set(row, key, doctorInfo[key])
|
|
413
418
|
}
|
|
414
419
|
if (!type) {
|
|
415
420
|
this.$set(row, 'doctorServiceSceneCode', '')
|
|
416
421
|
this.$set(row, 'describe', '')
|
|
417
|
-
row.roleList = doctorInfo.doctorRoleInfoList.map(item => ({ value: item.roleCode, label: item.roleName }))
|
|
422
|
+
row.roleList = doctorInfo.doctorRoleInfoList.map((item) => ({ value: item.roleCode, label: item.roleName }))
|
|
418
423
|
this.setDefaultRoleInfo(row)
|
|
419
424
|
}
|
|
420
425
|
},
|