讲师管理bug

This commit is contained in:
zhangsir
2024-11-25 18:58:44 +08:00
parent 777dec4020
commit e6d8907a2b
4 changed files with 29 additions and 28 deletions

View File

@@ -200,7 +200,7 @@
<a-form-item label="初始授课时长" name="defaultTeachingTime">
<a-input v-model:value="formParam.defaultTeachingTime" style="width:80%; height: 40px; border-radius: 8px; "
:maxLength="8"
@blur="clearNonNumber" placeholder="0" allowClear suffix="分钟">
@change="clearNonNumber" placeholder="0" allowClear suffix="分钟">
</a-input>
<span style="margin-left: 5px ;" v-if="formParam.defaultTeachingTime === null">0.00小时</span>
<span style="margin-left: 5px ;" v-if="formParam.defaultTeachingTime != null">{{
@@ -988,6 +988,7 @@ export default {
state.formParam.expertise = state.formParam?.orgLists?.map(item => item.id).join(',')
state.formParam.expertiseNames = state.formParam?.orgLists?.map(item => item.name).join(',')
state.formParam = {...state.formParam,...state.tSystemNames}
delete state.formParam.teaching
if (state.vf == false) {
updateInTeacher(state.formParam).then(response => {
message.success("编辑成功");