单个查询
This commit is contained in:
@@ -125,47 +125,51 @@ export const queryScoreSummaryPage = (params: any) => {
|
||||
/**
|
||||
* 单个学生学分确认详情
|
||||
* @param stuNo 学号
|
||||
* @param graduYear 毕业年份
|
||||
*/
|
||||
export const confirmScoreByStuNo = (stuNo: string) => {
|
||||
export const confirmScoreByStuNo = (stuNo: string, graduYear: string) => {
|
||||
return request({
|
||||
url: '/stuwork/stugraducheck/confirmScoreByStuNo',
|
||||
method: 'get',
|
||||
params: { stuNo }
|
||||
params: { stuNo, graduYear }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 单个学生操行确认详情
|
||||
* @param stuNo 学号
|
||||
* @param graduYear 毕业年份
|
||||
*/
|
||||
export const confirmConductByStuNo = (stuNo: string) => {
|
||||
export const confirmConductByStuNo = (stuNo: string, graduYear: string) => {
|
||||
return request({
|
||||
url: '/stuwork/stugraducheck/confirmConductByStuNo',
|
||||
method: 'get',
|
||||
params: { stuNo }
|
||||
params: { stuNo, graduYear }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 单个学生违纪确认详情
|
||||
* @param stuNo 学号
|
||||
* @param graduYear 毕业年份
|
||||
*/
|
||||
export const confirmPunishByStuNo = (stuNo: string) => {
|
||||
export const confirmPunishByStuNo = (stuNo: string, graduYear: string) => {
|
||||
return request({
|
||||
url: '/stuwork/stugraducheck/confirmPunishByStuNo',
|
||||
method: 'get',
|
||||
params: { stuNo }
|
||||
params: { stuNo, graduYear }
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 单个学生等级工确认详情
|
||||
* @param stuNo 学号
|
||||
* @param graduYear 毕业年份
|
||||
*/
|
||||
export const confirmSkillByStuNo = (stuNo: string) => {
|
||||
export const confirmSkillByStuNo = (stuNo: string, graduYear: string) => {
|
||||
return request({
|
||||
url: '/stuwork/stugraducheck/confirmSkillByStuNo',
|
||||
method: 'get',
|
||||
params: { stuNo }
|
||||
params: { stuNo, graduYear }
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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