fix: 参数配置教师操作学生应用和退回

This commit is contained in:
TsMask
2024-07-18 15:04:51 +08:00
parent 4d755cea5d
commit c35a5a9c33
4 changed files with 86 additions and 50 deletions

View File

@@ -1,12 +1,24 @@
import { request } from '@/plugins/http-fetch';
/**
* 班级学生列表 (仅教师操作)
* @param params 数据 {userName}
* @returns object
*/
export function getPtClassStudents(params?: Record<string, any>) {
return request({
url: `/pt/neConfigApply/students`,
params,
method: 'get',
});
}
/**
* 网元参数配置应用申请列表
* @param params 数据 {neType,paramName}
* @returns object
*/
export function getPtNeConfigApply(params: Record<string, any>) {
export function getPtNeConfigApplyList(params: Record<string, any>) {
return request({
url: `/pt/neConfigApply/list`,
params,
@@ -39,5 +51,3 @@ export function updatePtNeConfigApply(data: Record<string, any>) {
data: data,
});
}