提交代码
This commit is contained in:
1 parent
33bbce34e2
commit
171b9b4a94
26 files changed
+3633
-260
No files matched your search
@@ -187,6 +187,15 @@ export function exportStudent(query?: StudentQuery): AxiosPromise<any> {
|
||||
}) as any;
|
||||
}
|
||||
|
||||
// 下载导入模板
|
||||
export function downloadImportTemplate(): AxiosPromise<any> {
|
||||
return request({
|
||||
url: '/studentMsg/studentMsg/importTemplate',
|
||||
method: 'post',
|
||||
responseType: 'blob'
|
||||
});
|
||||
}
|
||||
|
||||
// 学生状态修改
|
||||
export function changeStudentStatus(studentId: string | number, status: string): AxiosPromise<R<any>> {
|
||||
// 实际使用时连接后端接口
|
||||
|
||||
@@ -73,3 +73,14 @@ export const getPersonalInfo = (userId?: number): AxiosPromise<StudentMsgForm> =
|
||||
params: { userId }
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 下载导入模板
|
||||
*/
|
||||
export const downloadImportTemplate = () => {
|
||||
return request({
|
||||
url: '/studentMsg/studentMsg/importTemplate',
|
||||
method: 'post',
|
||||
responseType: 'blob'
|
||||
});
|
||||
};
|
||||
Reference in new issue
Block a user