imeik-bizui 1.9.3 → 1.9.5

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.
@@ -86,7 +86,7 @@ export default {
86
86
  if (this.myItem) {
87
87
  return this.myItem.fullname.replace(/\./g, '/')
88
88
  } else {
89
- return ''
89
+ return '-'
90
90
  }
91
91
  },
92
92
  myDiffLabel() {
@@ -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,13 @@
96
96
  <!-- 授课名称 -->
97
97
  <template slot="className" slot-scope="{ row }">
98
98
  <div v-if="!isView && checkHasCourse(row)">
99
- <ImInput v-model="row.courseName" :class="{ 'is-error': row.valid === false && checkHasCourse(row) }" placeholder="请输入" maxlength="100"></ImInput>
99
+ <ImInput
100
+ v-model="row.courseName"
101
+ :attrs="{ disabled: row.acceptanceDoctorTimes }"
102
+ :class="{ 'is-error': row.valid === false && checkHasCourse(row) }"
103
+ placeholder="请输入"
104
+ maxlength="100"
105
+ ></ImInput>
100
106
  </div>
101
107
  <div v-else>
102
108
  <ImDiffText v-if="showDiff" :show-diff="showDiff" :old-value="row.courseName" :no-absolute="true" :new-value="row._newData?.courseName" />
@@ -139,9 +145,9 @@
139
145
  <div v-else>{{ row.remark }}</div>
140
146
  </div>
141
147
  </template>
142
- <template slot="operation" slot-scope="{ $index }">
148
+ <template slot="operation" slot-scope="{ row, $index }">
143
149
  <el-button type="text" @click="addExpert($index)">新增</el-button>
144
- <el-button class="delete-button" type="text" @click="deleteExpert($index)">移除</el-button>
150
+ <el-button :disabled="row.acceptanceDoctorTimes" class="delete-button" type="text" @click="deleteExpert($index)">移除</el-button>
145
151
  </template>
146
152
  <template slot="changeType" slot-scope="{ row }">
147
153
  <p>{{ formatChangeType(row._changeType) }}</p>
@@ -4,7 +4,7 @@
4
4
  <ImSelect v-model="belongCompany" :attrs="companySelectAttrs" @input="onCompanyChange"></ImSelect>
5
5
  <ImSelect v-model="myValue" style="width: 100%" :attrs="numberSelectAttrs" @input="onNumberChange"></ImSelect>
6
6
  </div>
7
- <ImDiffText v-else :show-diff="showDiff" :old-value="myValue" :no-absolute="diffNoAbsolute" :new-value="diffValue" />
7
+ <ImDiffText v-else :show-diff="showDiff" :old-value="myValue || '-'" :no-absolute="diffNoAbsolute" :new-value="diffValue || '-'" />
8
8
  </div>
9
9
  </template>
10
10