imeik-bizui 1.9.6 → 1.9.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 +22 -15
- package/dist/imeik-bizui.common.js +107 -95
- 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 +107 -95
- package/dist/imeik-bizui.umd.js.gz +0 -0
- package/dist/imeik-bizui.umd.min.js +16 -16
- package/dist/imeik-bizui.umd.min.js.gz +0 -0
- package/package.json +1 -1
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="page-view">
|
|
3
3
|
<ImTable :table="tableConfig" style="margin-bottom: 20px">
|
|
4
|
+
<template slot="doctorNameHead">
|
|
5
|
+
<p><span v-if="!isView" class="start">*</span>专家名称</p>
|
|
6
|
+
</template>
|
|
7
|
+
<template slot="doctorLevelHead">
|
|
8
|
+
<p><span v-if="!isView" class="start">*</span>角色/等级</p>
|
|
9
|
+
</template>
|
|
10
|
+
<template slot="scenarioHead">
|
|
11
|
+
<p><span v-if="!isView" class="start">*</span>服务场景</p>
|
|
12
|
+
</template>
|
|
13
|
+
<template slot="costAmountHead">
|
|
14
|
+
<p><span v-if="!isView" class="start">*</span>费用金额(元)</p>
|
|
15
|
+
</template>
|
|
4
16
|
<!-- 专家 -->
|
|
5
17
|
<template slot="doctorName" slot-scope="{ row }">
|
|
6
18
|
<ImSelect
|
|
@@ -64,7 +76,7 @@
|
|
|
64
76
|
<div v-if="!isView">
|
|
65
77
|
<ImSelect
|
|
66
78
|
v-model="row.doctorServiceSceneCode"
|
|
67
|
-
:class="{ 'is-error': row.valid === false && !row.
|
|
79
|
+
:class="{ 'is-error': row.valid === false && !row.doctorServiceSceneCode }"
|
|
68
80
|
:attrs="{ options: row.scenarioList, loading: scenarioLoading, disabled: !!row.acceptanceDoctorTimes }"
|
|
69
81
|
@input="(val) => changeScenario(val, row)"
|
|
70
82
|
></ImSelect>
|
|
@@ -96,12 +108,7 @@
|
|
|
96
108
|
<!-- 授课名称 -->
|
|
97
109
|
<template slot="className" slot-scope="{ row }">
|
|
98
110
|
<div v-if="!isView && checkHasCourse(row)">
|
|
99
|
-
<ImInput
|
|
100
|
-
v-model="row.courseName"
|
|
101
|
-
:attrs="{ disabled: !!row.acceptanceDoctorTimes }"
|
|
102
|
-
placeholder="请输入"
|
|
103
|
-
maxlength="100"
|
|
104
|
-
></ImInput>
|
|
111
|
+
<ImInput v-model="row.courseName" :attrs="{ disabled: !!row.acceptanceDoctorTimes }" placeholder="请输入" maxlength="100"></ImInput>
|
|
105
112
|
</div>
|
|
106
113
|
<div v-else>
|
|
107
114
|
<ImDiffText v-if="showDiff" :show-diff="showDiff" :old-value="row.courseName" :no-absolute="true" :new-value="row._newData?.courseName" />
|
|
@@ -218,6 +225,7 @@ export default {
|
|
|
218
225
|
prop: 'doctorName',
|
|
219
226
|
type: 'slot',
|
|
220
227
|
slot: 'doctorName',
|
|
228
|
+
headSlot: 'doctorNameHead',
|
|
221
229
|
attrs: {
|
|
222
230
|
'min-width': '120'
|
|
223
231
|
}
|
|
@@ -245,6 +253,7 @@ export default {
|
|
|
245
253
|
prop: 'doctorLevel',
|
|
246
254
|
type: 'slot',
|
|
247
255
|
slot: 'doctorLevel',
|
|
256
|
+
headSlot: 'doctorLevelHead',
|
|
248
257
|
attrs: {
|
|
249
258
|
'min-width': '150'
|
|
250
259
|
}
|
|
@@ -254,6 +263,7 @@ export default {
|
|
|
254
263
|
prop: 'scenario',
|
|
255
264
|
type: 'slot',
|
|
256
265
|
slot: 'scenario',
|
|
266
|
+
headSlot: 'scenarioHead',
|
|
257
267
|
attrs: {
|
|
258
268
|
'min-width': '150'
|
|
259
269
|
}
|
|
@@ -281,6 +291,7 @@ export default {
|
|
|
281
291
|
prop: 'costAmount',
|
|
282
292
|
type: 'slot',
|
|
283
293
|
slot: 'costAmount',
|
|
294
|
+
headSlot: 'costAmountHead',
|
|
284
295
|
attrs: {
|
|
285
296
|
'min-width': '160'
|
|
286
297
|
}
|
|
@@ -559,14 +570,6 @@ export default {
|
|
|
559
570
|
},
|
|
560
571
|
onUpdate() {
|
|
561
572
|
const data = JSON.parse(JSON.stringify(this.tableConfig.data))
|
|
562
|
-
data.forEach((item) => {
|
|
563
|
-
if (item.roleList) {
|
|
564
|
-
delete item.roleList
|
|
565
|
-
}
|
|
566
|
-
if (item.scenarioList) {
|
|
567
|
-
delete item.scenarioList
|
|
568
|
-
}
|
|
569
|
-
})
|
|
570
573
|
this.$emit('input', data)
|
|
571
574
|
this.$emit('change', data)
|
|
572
575
|
},
|
|
@@ -715,4 +718,8 @@ export default {
|
|
|
715
718
|
font-weight: 500;
|
|
716
719
|
cursor: pointer;
|
|
717
720
|
}
|
|
721
|
+
.start {
|
|
722
|
+
color: #f56c6c;
|
|
723
|
+
margin-right: 4px;
|
|
724
|
+
}
|
|
718
725
|
</style>
|