单个查询
This commit is contained in:
@@ -702,16 +702,16 @@ const handleDetailConfirm = async (type: string, row: any) => {
|
||||
let res: any
|
||||
switch (type) {
|
||||
case 'score':
|
||||
res = await confirmScoreByStuNo(row.stuNo)
|
||||
res = await confirmScoreByStuNo(row.stuNo, row.graduYear)
|
||||
break
|
||||
case 'conduct':
|
||||
res = await confirmConductByStuNo(row.stuNo)
|
||||
res = await confirmConductByStuNo(row.stuNo, row.graduYear)
|
||||
break
|
||||
case 'punish':
|
||||
res = await confirmPunishByStuNo(row.stuNo)
|
||||
res = await confirmPunishByStuNo(row.stuNo, row.graduYear)
|
||||
break
|
||||
case 'skill':
|
||||
res = await confirmSkillByStuNo(row.stuNo)
|
||||
res = await confirmSkillByStuNo(row.stuNo, row.graduYear)
|
||||
break
|
||||
}
|
||||
if (res.data) {
|
||||
|
||||
Reference in New Issue
Block a user