feat: 新增很多页面
This commit is contained in:
@@ -177,7 +177,7 @@ export const saveStu = (obj: any) => {
|
||||
export const editIsleader = (obj: any) => {
|
||||
return request({
|
||||
url: '/basic/basicstudent/editIsleader',
|
||||
method: 'put',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
};
|
||||
@@ -416,6 +416,7 @@ export const exportStuInfoCard = (data: any) => {
|
||||
url: '/basic/file/exportStuInfoCard',
|
||||
method: 'post',
|
||||
data: data,
|
||||
responseType: 'blob',
|
||||
});
|
||||
};
|
||||
|
||||
@@ -463,3 +464,59 @@ export const batchUpdateAvatarAudit = (data: any) => {
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 学生信息导出
|
||||
* @param data
|
||||
*/
|
||||
export const exportStudentData = (data: any) => {
|
||||
return request({
|
||||
url: '/basic/basicstudent/stuDataExport',
|
||||
method: 'post',
|
||||
data: data,
|
||||
responseType: 'blob',
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 申请顶岗
|
||||
* @param data
|
||||
* TODO: 接口文档中未找到此接口,请提供正确的接口地址
|
||||
*/
|
||||
export const applyInternship = (data: any) => {
|
||||
return request({
|
||||
url: '/basic/basicstudent/applyInternship', // TODO: 接口文档中未找到此接口
|
||||
method: 'post',
|
||||
data: data,
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 段段清证书导入
|
||||
* @param formData
|
||||
* TODO: 接口文档中未找到此接口,请提供正确的接口地址
|
||||
*/
|
||||
export const importCertificate = (formData: FormData) => {
|
||||
return request({
|
||||
url: '/basic/basicstudent/importCertificate', // TODO: 接口文档中未找到此接口
|
||||
method: 'post',
|
||||
data: formData,
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data',
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 证书导出
|
||||
* @param data
|
||||
* TODO: 接口文档中未找到此接口,请提供正确的接口地址
|
||||
*/
|
||||
export const exportCertificate = (data: any) => {
|
||||
return request({
|
||||
url: '/basic/basicstudent/exportCertificate', // TODO: 接口文档中未找到此接口
|
||||
method: 'post',
|
||||
data: data,
|
||||
responseType: 'blob',
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user