This commit is contained in:
weizhong committed 2025-10-10 17:05:57 +08:00
commit 4a6a6728e4
7 files changed
+304 -10

No files matched your search

+13
View File
@@ -5,6 +5,7 @@ import {
InternshipInfoQuery,
InternshipInfoAddBO,
InternshipInfoEditBO,
InternshipInfoChangeBO,
ClassInfoVO,
InternshipStatisticsVO
} from '@/api/zsjy/types';
@@ -113,3 +114,15 @@ export const delInternshipInfo = (internshipId: string | number): AxiosPromise<R
method: 'delete'
});
};
/**
* 实习信息变更
* @param data 变更数据
*/
export const changeInternshipInfo = (data: InternshipInfoChangeBO): AxiosPromise<R<void>> => {
return request({
url: '/zsjy/internship/change',
method: 'post',
data: data
});
};
+105
View File
@@ -1139,6 +1139,111 @@ export interface InternshipInfoEditBO {
remark?: string;
}
/**
* 实习信息变更 BO
*/
export interface InternshipInfoChangeBO {
/**
* 原实习信息ID(要变更的实习记录ID)
*/
internshipId: string | number;
/**
* 学生ID
*/
studentId: string | number;
/**
* 变更原因(必填)
*/
changeReason: string;
/**
* 实习状态(1进行中 2已完成 3中断)
*/
internshipStatus: string;
/**
* 实习单位名称
*/
companyName: string;
/**
* 实习单位地址
*/
companyAddress: string;
/**
* 单位联系人
*/
companyContact: string;
/**
* 联系人电话
*/
companyPhone: string;
/**
* 行业类型
*/
companyIndustry?: string;
/**
* 单位规模
*/
companyScale?: string;
/**
* 岗位名称
*/
positionName: string;
/**
* 岗位职责
*/
positionDuties?: string;
/**
* 实习津贴
*/
internshipAllowance?: number;
/**
* 工作时长
*/
workHours?: string;
/**
* 住宿地址
*/
accommodationAddress?: string;
/**
* 住宿类型
*/
accommodationType?: string;
/**
* 住宿费用
*/
accommodationCost?: number;
/**
* 实习开始日期
*/
startDate: string;
/**
* 实习结束日期
*/
endDate: string;
/**
* 备注信息
*/
remark?: string;
}
/**
* 实习信息查询 BO
*/