讲师管理bug

This commit is contained in:
zhangsir
2024-12-01 17:38:40 +08:00
parent c5ea811d69
commit e9d181b99f
5 changed files with 32 additions and 3 deletions

View File

@@ -1018,8 +1018,13 @@ getAllLevelList().then((res) => {
state.formParam.tsystemName = state.tSystemNames.systemName
state.formParam.tsystemId = state.tSystemNames.systemId
state.formParam.courseName = state.formParam.courseName?.trim()
if(state.formParam.studys==0){
state.formParam.studys = null
}
if(state.formParam.score){
state.formParam.score = String(state.formParam.score)
}else{
state.formParam.score = null
}
if(state.formParam.levelPay){
state.formParam.levelPay = String(state.formParam.levelPay)