imeik-bizui 1.5.8 → 1.6.0

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.
@@ -13,9 +13,9 @@
13
13
  <template slot="organizations" slot-scope="{ row }">
14
14
  <div class="expertOther">
15
15
  <p v-if="!row.doctorNumber">-</p>
16
- <ImOneLineDot v-if="row.doctorOrg" :text="row.doctorOrg">第一执业:{{ row.doctorOrg }}</ImOneLineDot>
17
- <!-- <p v-if="row.doctorOrg">第一执业:{{ row.doctorOrg }}</p> -->
18
- <!-- <p>其他执业:北京苏明成医疗美容有限公司</p> -->
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
  <!-- 其他信息 -->
@@ -408,6 +408,9 @@ export default {
408
408
  this.$message.error('该专家已存在')
409
409
  return
410
410
  }
411
+ if (typeof doctorInfo.doctorOrg === 'string') {
412
+ doctorInfo.doctorOrg = doctorInfo.doctorOrg.split(',')
413
+ }
411
414
  for (const key in doctorInfo) {
412
415
  this.$set(row, key, doctorInfo[key])
413
416
  }