wuzhen update
This commit is contained in:
1 parent
27c2a307e6
commit
7173f86bdf
20 files changed
+3322
-2
No files matched your search
@@ -33,6 +33,17 @@ export const getInternshipInfo = (studentId: string | number): AxiosPromise<R<In
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 获取当前学生实习信息
|
||||
* @returns 当前登录学生的实习信息
|
||||
*/
|
||||
export const getCurrentStudentInternship = (): AxiosPromise<R<InternshipInfoVO>> => {
|
||||
return request({
|
||||
url: '/zsjy/internship/current',
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 导出实习信息列表
|
||||
* @param query 查询参数
|
||||
|
||||
@@ -0,0 +1,102 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询学生月度总结列表
|
||||
export function listInternshipMonthly(query: any) {
|
||||
return request({
|
||||
url: '/zsjy/internship/monthly/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获取学生月度总结详细信息
|
||||
export function getInternshipMonthly(monthlyId: string | number) {
|
||||
return request({
|
||||
url: '/zsjy/internship/monthly/' + monthlyId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增学生月度总结
|
||||
export function addInternshipMonthly(data: any) {
|
||||
return request({
|
||||
url: '/zsjy/internship/monthly',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改学生月度总结
|
||||
export function updateInternshipMonthly(data: any) {
|
||||
return request({
|
||||
url: '/zsjy/internship/monthly',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除学生月度总结
|
||||
export function delInternshipMonthly(monthlyIds: string | number | Array<string | number>) {
|
||||
return request({
|
||||
url: '/zsjy/internship/monthly/' + monthlyIds,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 提交月度总结审批
|
||||
export function submitInternshipMonthly(monthlyId: string | number) {
|
||||
return request({
|
||||
url: '/zsjy/internship/monthly/submit/' + monthlyId,
|
||||
method: 'put'
|
||||
})
|
||||
}
|
||||
|
||||
// 自动保存草稿
|
||||
export function autosaveInternshipMonthly(data: any) {
|
||||
return request({
|
||||
url: '/zsjy/internship/monthly/autosave',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 检查月份重复
|
||||
export function checkSummaryMonth(summaryMonth: string) {
|
||||
return request({
|
||||
url: '/zsjy/internship/monthly/check/' + summaryMonth,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取月度总结模板
|
||||
export function getMonthlyTemplate(summaryMonth: string) {
|
||||
return request({
|
||||
url: '/zsjy/internship/monthly/template/' + summaryMonth,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取状态统计
|
||||
export function getMonthlyStatistics() {
|
||||
return request({
|
||||
url: '/zsjy/internship/monthly/statistics',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出月度总结数据
|
||||
export function exportInternshipMonthly(query: any) {
|
||||
return request({
|
||||
url: '/zsjy/internship/monthly/export',
|
||||
method: 'post',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 获取学生当前实习信息
|
||||
export function getCurrentInternshipInfo() {
|
||||
return request({
|
||||
url: '/zsjy/internship/monthly/current-internship',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user