imeik-bizui 1.9.4 → 1.9.6
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 +12 -10
- package/dist/imeik-bizui.common.js +104 -99
- 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 +104 -99
- package/dist/imeik-bizui.umd.js.gz +0 -0
- package/dist/imeik-bizui.umd.min.js +4 -4
- package/dist/imeik-bizui.umd.min.js.gz +0 -0
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
v-if="!isView"
|
|
8
8
|
v-model="row.doctorNumber"
|
|
9
9
|
:class="{ 'is-error': row.valid === false && !row.doctorNumber }"
|
|
10
|
-
:attrs="doctorAttrs"
|
|
10
|
+
:attrs="{ ...doctorAttrs, disabled: !!row.acceptanceDoctorTimes }"
|
|
11
11
|
:listeners="{ focus: onDoctorFocus }"
|
|
12
12
|
@input="changedoctorName(row)"
|
|
13
13
|
></ImSelect>
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
v-if="!isView"
|
|
52
52
|
v-model="row.doctorLevel"
|
|
53
53
|
:class="{ 'is-error': row.valid === false && !row.doctorLevel }"
|
|
54
|
-
:attrs="{ options: row.roleList }"
|
|
54
|
+
:attrs="{ options: row.roleList, disabled: !!row.acceptanceDoctorTimes }"
|
|
55
55
|
@input="changeDoctorLevel(row)"
|
|
56
56
|
></ImSelect>
|
|
57
57
|
<div v-else>
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
<ImSelect
|
|
66
66
|
v-model="row.doctorServiceSceneCode"
|
|
67
67
|
:class="{ 'is-error': row.valid === false && !row.doctorLevel }"
|
|
68
|
-
:attrs="{ options: row.scenarioList, loading: scenarioLoading }"
|
|
68
|
+
:attrs="{ options: row.scenarioList, loading: scenarioLoading, disabled: !!row.acceptanceDoctorTimes }"
|
|
69
69
|
@input="(val) => changeScenario(val, row)"
|
|
70
70
|
></ImSelect>
|
|
71
71
|
<p v-if="row.describe" class="tips-text">{{ row.describe }}</p>
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
v-else
|
|
85
85
|
v-model="row.identity"
|
|
86
86
|
:class="{ 'is-error': row.valid === false && !row.identity }"
|
|
87
|
-
:attrs="{ options: row.shenfenList_new }"
|
|
87
|
+
:attrs="{ options: row.shenfenList_new, disabled: !!row.acceptanceDoctorTimes }"
|
|
88
88
|
@input="(val) => handleChangeIdentity(val, row)"
|
|
89
89
|
></ImSelect>
|
|
90
90
|
</div>
|
|
@@ -96,7 +96,12 @@
|
|
|
96
96
|
<!-- 授课名称 -->
|
|
97
97
|
<template slot="className" slot-scope="{ row }">
|
|
98
98
|
<div v-if="!isView && checkHasCourse(row)">
|
|
99
|
-
<ImInput
|
|
99
|
+
<ImInput
|
|
100
|
+
v-model="row.courseName"
|
|
101
|
+
:attrs="{ disabled: !!row.acceptanceDoctorTimes }"
|
|
102
|
+
placeholder="请输入"
|
|
103
|
+
maxlength="100"
|
|
104
|
+
></ImInput>
|
|
100
105
|
</div>
|
|
101
106
|
<div v-else>
|
|
102
107
|
<ImDiffText v-if="showDiff" :show-diff="showDiff" :old-value="row.courseName" :no-absolute="true" :new-value="row._newData?.courseName" />
|
|
@@ -139,9 +144,9 @@
|
|
|
139
144
|
<div v-else>{{ row.remark }}</div>
|
|
140
145
|
</div>
|
|
141
146
|
</template>
|
|
142
|
-
<template slot="operation" slot-scope="{ $index }">
|
|
147
|
+
<template slot="operation" slot-scope="{ row, $index }">
|
|
143
148
|
<el-button type="text" @click="addExpert($index)">新增</el-button>
|
|
144
|
-
<el-button class="delete-button" type="text" @click="deleteExpert($index)">移除</el-button>
|
|
149
|
+
<el-button :disabled="!!row.acceptanceDoctorTimes" class="delete-button" type="text" @click="deleteExpert($index)">移除</el-button>
|
|
145
150
|
</template>
|
|
146
151
|
<template slot="changeType" slot-scope="{ row }">
|
|
147
152
|
<p>{{ formatChangeType(row._changeType) }}</p>
|
|
@@ -369,9 +374,6 @@ export default {
|
|
|
369
374
|
} else if (!item.doctorServiceSceneCode) {
|
|
370
375
|
res && showMessage && this.$message.warning('请检查服务场景')
|
|
371
376
|
res = false
|
|
372
|
-
} else if (this.checkHasCourse(item) && !item.courseName) {
|
|
373
|
-
res && showMessage && this.$message.warning('请填写授课名称')
|
|
374
|
-
res = false
|
|
375
377
|
} else if (!item.costAmount) {
|
|
376
378
|
res && showMessage && this.$message.warning('请检查费用金额')
|
|
377
379
|
res = false
|