imeik-bizui 1.5.7 → 1.5.8
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/api/applycenter.js +14 -1
- package/dist/bizui/api/tagcenter.js +1 -14
- package/dist/bizui/src/FieldExpertSelect/index.vue +13 -35
- package/dist/imeik-bizui.common.js +129 -172
- 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 +129 -172
- 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
|
@@ -224,4 +224,17 @@ export function getExpertServiceFee(data) {
|
|
|
224
224
|
method: 'post',
|
|
225
225
|
data
|
|
226
226
|
})
|
|
227
|
-
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* 获取专家
|
|
231
|
+
* @param {*} data
|
|
232
|
+
* @returns
|
|
233
|
+
*/
|
|
234
|
+
export function getExpertsPageQuery(data) {
|
|
235
|
+
return request({
|
|
236
|
+
url: '/application-center-admin/data/exchange/getExpertInfoPage',
|
|
237
|
+
method: 'post',
|
|
238
|
+
data
|
|
239
|
+
})
|
|
240
|
+
}
|
|
@@ -11,17 +11,4 @@ export function queryTagList(params) {
|
|
|
11
11
|
method: 'get',
|
|
12
12
|
params
|
|
13
13
|
})
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 获取专家
|
|
18
|
-
* @param {*} data
|
|
19
|
-
* @returns
|
|
20
|
-
*/
|
|
21
|
-
export function getExpertsPageQuery(data) {
|
|
22
|
-
return request({
|
|
23
|
-
url: '/tagcenter-admin/tagApi/realTimePageQuery',
|
|
24
|
-
method: 'post',
|
|
25
|
-
data
|
|
26
|
-
})
|
|
27
|
-
}
|
|
14
|
+
}
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
<template slot="otherInfo" slot-scope="{ row }">
|
|
23
23
|
<div class="expertOther">
|
|
24
24
|
<p v-if="!row.doctorNumber">-</p>
|
|
25
|
-
<ImOneLineDot
|
|
26
|
-
<ImOneLineDot
|
|
27
|
-
<ImOneLineDot
|
|
28
|
-
<ImOneLineDot
|
|
29
|
-
<ImOneLineDot
|
|
25
|
+
<ImOneLineDot :text="row.doctorNumber">专家编号:{{ row.doctorNumber }}</ImOneLineDot>
|
|
26
|
+
<ImOneLineDot :text="formatPhone(row.doctorPhone)">手机号:{{ formatPhone(row.doctorPhone) }}</ImOneLineDot>
|
|
27
|
+
<ImOneLineDot :text="row.doctorType">类型:{{ row.doctorType }}</ImOneLineDot>
|
|
28
|
+
<ImOneLineDot :text="row.doctorPosition">职业:{{ row.doctorPosition }}</ImOneLineDot>
|
|
29
|
+
<ImOneLineDot :text="row.doctorPost">职称:{{ row.doctorPost }}</ImOneLineDot>
|
|
30
30
|
</div>
|
|
31
31
|
</template>
|
|
32
32
|
<!-- 角色等级 -->
|
|
@@ -118,8 +118,7 @@
|
|
|
118
118
|
</template>
|
|
119
119
|
|
|
120
120
|
<script>
|
|
121
|
-
import { getExpertsPageQuery } from '../../api/
|
|
122
|
-
import { getExpertServiceFee } from '../../api/applycenter'
|
|
121
|
+
import { getExpertServiceFee, getExpertsPageQuery } from '../../api/applycenter'
|
|
123
122
|
import { mergeArrayData } from '../../utils/diff'
|
|
124
123
|
export default {
|
|
125
124
|
name: 'FieldExpertSelect',
|
|
@@ -349,21 +348,17 @@ export default {
|
|
|
349
348
|
// 获取专家列表
|
|
350
349
|
getExpertsList(val, data) {
|
|
351
350
|
const params = {
|
|
352
|
-
|
|
353
|
-
{
|
|
354
|
-
op: 'LIKE',
|
|
355
|
-
tagCode: 'realName',
|
|
356
|
-
type: 'LEAF_NODE',
|
|
357
|
-
value: val || ''
|
|
358
|
-
}
|
|
359
|
-
],
|
|
360
|
-
tagModel: 'USER',
|
|
351
|
+
realName: val || '',
|
|
361
352
|
page: 1,
|
|
362
353
|
limit: 10
|
|
363
354
|
}
|
|
364
355
|
getExpertsPageQuery(params).then((res) => {
|
|
365
356
|
if (res.code === 200) {
|
|
366
|
-
|
|
357
|
+
res.data.list.forEach((item) => {
|
|
358
|
+
item.label = item.doctorName
|
|
359
|
+
item.value = item.doctorNumber
|
|
360
|
+
})
|
|
361
|
+
this.doctorAttrs.options = res.data.list
|
|
367
362
|
data && this.changedoctorName(data, 'refresh')
|
|
368
363
|
} else {
|
|
369
364
|
this.$message.error(res.message)
|
|
@@ -419,7 +414,7 @@ export default {
|
|
|
419
414
|
if (!type) {
|
|
420
415
|
this.$set(row, 'doctorServiceSceneCode', '')
|
|
421
416
|
this.$set(row, 'describe', '')
|
|
422
|
-
row.roleList = doctorInfo.
|
|
417
|
+
row.roleList = doctorInfo.doctorRoleInfoList.map(item => ({ value: item.roleCode, label: item.roleName }))
|
|
423
418
|
this.setDefaultRoleInfo(row)
|
|
424
419
|
}
|
|
425
420
|
},
|
|
@@ -481,23 +476,6 @@ export default {
|
|
|
481
476
|
return ''
|
|
482
477
|
}
|
|
483
478
|
},
|
|
484
|
-
// 格式化专家列表
|
|
485
|
-
formatExpertsList(list = []) {
|
|
486
|
-
return list.map((item) => {
|
|
487
|
-
return {
|
|
488
|
-
doctorNumber: item.bizID,
|
|
489
|
-
doctorName: item.realName,
|
|
490
|
-
doctorPhone: item.phone,
|
|
491
|
-
doctorOrg: item.oneHospital,
|
|
492
|
-
doctorPosition: item.doctorPosition,
|
|
493
|
-
doctorPost: item.realJobTitleName,
|
|
494
|
-
doctorType: item['us-zjlx'],
|
|
495
|
-
roleList: item['us-zjjs-extend'] ? JSON.parse(item['us-zjjs-extend']) : [],
|
|
496
|
-
label: item.realName,
|
|
497
|
-
value: item.bizID
|
|
498
|
-
}
|
|
499
|
-
})
|
|
500
|
-
},
|
|
501
479
|
// 检查专家价格是否超出
|
|
502
480
|
checkStandardAmountsIsBeyond(data) {
|
|
503
481
|
return Number(data.costAmount) > Number(data.standardAmount)
|