From 138a250f2819ff58ccc03e0b3ec60807b985a4fc Mon Sep 17 00:00:00 2001 From: wuzhen <52326163@qq.com> Date: Wed, 13 Aug 2025 13:35:35 +0800 Subject: [PATCH] wuzhen update test --- .../dormBedStudent/dormBedStudent/types.ts | 14 +- web/src/api/zsjy/types.ts | 245 ++++++++++++++++++ web/src/components/FileUpload/index.vue | 4 +- web/src/views/cw/approverConfig/index.vue | 2 +- web/src/views/cw/statistics/index.vue | 4 +- web/src/views/hq/pm/repairOrder/index.vue | 4 +- .../components/ApplicationDetail.vue | 20 +- .../components/PendingApplications.vue | 32 +-- web/src/views/xg/xsjcxx/xsqj/xjdialog.vue | 2 +- .../xljk/consultation/calendar/WeekView.vue | 6 +- .../xljk/consultation/calendar/index.vue | 2 +- .../views/zsjy/enrollmentStatistics/index.vue | 2 +- 12 files changed, 274 insertions(+), 63 deletions(-) diff --git a/web/src/api/xg/xgss/dormBedStudent/dormBedStudent/types.ts b/web/src/api/xg/xgss/dormBedStudent/dormBedStudent/types.ts index 37c0d532..df1ac28a 100644 --- a/web/src/api/xg/xgss/dormBedStudent/dormBedStudent/types.ts +++ b/web/src/api/xg/xgss/dormBedStudent/dormBedStudent/types.ts @@ -73,7 +73,6 @@ export interface DormBedStudentVO { * 备注 */ remark: string; - } export interface DormBedStudentForm extends BaseEntity { @@ -151,11 +150,9 @@ export interface DormBedStudentForm extends BaseEntity { * 备注 */ remark?: string; - } export interface DormBedStudentQuery extends PageQuery { - /** * 分配学院ID */ @@ -221,11 +218,8 @@ export interface DormBedStudentQuery extends PageQuery { */ deleted?: string; - /** - * 日期范围参数 - */ - params?: any; + /** + * 日期范围参数 + */ + params?: any; } - - - diff --git a/web/src/api/zsjy/types.ts b/web/src/api/zsjy/types.ts index 82077599..b14fa103 100644 --- a/web/src/api/zsjy/types.ts +++ b/web/src/api/zsjy/types.ts @@ -741,3 +741,248 @@ export interface GraduateStatisticsVO { salaryRange?: string; salaryRangeName?: string; } + +/** + * 实习信息 VO + */ +export interface InternshipInfoVO { + /** + * 学生ID + */ + studentId?: string | number; + + /** + * 学号 + */ + studentNo?: string; + + /** + * 学生姓名 + */ + studentName?: string; + + /** + * 性别 + */ + gender?: string; + + /** + * 手机号 + */ + mobile?: string; + + /** + * 学院ID + */ + collegeId?: string | number; + + /** + * 学院名称 + */ + collegeName?: string; + + /** + * 专业ID + */ + majorId?: string | number; + + /** + * 专业名称 + */ + majorName?: string; + + /** + * 班级ID + */ + classId?: string | number; + + /** + * 班级名称 + */ + className?: string; + + /** + * 班主任姓名 + */ + classMasterName?: string; + + /** + * 实习状态 (0=未实习, 1=实习中, 2=实习完成) + */ + internshipStatus?: string; + + /** + * 实习状态名称 + */ + internshipStatusName?: string; + + /** + * 实习公司 + */ + internshipCompany?: string; + + /** + * 实习岗位 + */ + internshipPosition?: string; + + /** + * 实习开始时间 + */ + internshipStartTime?: string; + + /** + * 实习结束时间 + */ + internshipEndTime?: string; + + /** + * 实习地点 + */ + internshipLocation?: string; + + /** + * 创建时间 + */ + createTime?: string; + + /** + * 创建者 + */ + createBy?: number; + + /** + * 更新时间 + */ + updateTime?: string; + + /** + * 更新者 + */ + updateBy?: number; +} + +/** + * 实习信息查询 BO + */ +export interface InternshipInfoQuery { + /** + * 页码 + */ + pageNum?: number; + + /** + * 页面大小 + */ + pageSize?: number; + + /** + * 学生姓名 + */ + studentName?: string; + + /** + * 学号 + */ + studentNo?: string; + + /** + * 学院ID + */ + collegeId?: string | number; + + /** + * 专业ID + */ + majorId?: string | number; + + /** + * 班级ID + */ + classId?: string | number; + + /** + * 实习状态 (0=未实习, 1=实习中, 2=实习完成) + */ + internshipStatus?: string; + + /** + * 实习公司 + */ + internshipCompany?: string; + + /** + * 开始时间范围 + */ + startTimeBegin?: string; + + /** + * 开始时间范围 + */ + startTimeEnd?: string; +} + +/** + * 班级信息 VO(用于下拉选择) + */ +export interface ClassInfoVO { + /** + * 班级ID + */ + classId?: string | number; + + /** + * 班级名称 + */ + className?: string; + + /** + * 学院ID + */ + collegeId?: string | number; + + /** + * 学院名称 + */ + collegeName?: string; + + /** + * 专业ID + */ + majorId?: string | number; + + /** + * 专业名称 + */ + majorName?: string; + + /** + * 班主任姓名 + */ + classMasterName?: string; +} + +/** + * 实习统计信息 VO + */ +export interface InternshipStatisticsVO { + /** + * 总学生数 + */ + totalCount?: number; + + /** + * 未实习学生数 + */ + noInternshipCount?: number; + + /** + * 实习学生数 + */ + internshipCount?: number; + + /** + * 实习率(百分比字符串,如 "85.67%") + */ + internshipRate?: string; +} diff --git a/web/src/components/FileUpload/index.vue b/web/src/components/FileUpload/index.vue index 0613874e..a4dd55c1 100644 --- a/web/src/components/FileUpload/index.vue +++ b/web/src/components/FileUpload/index.vue @@ -121,8 +121,8 @@ watch( /** 下载附件 */ const handleDownloadAttachment = async (file: any) => { - let downloadUrl = file.ossId; - let fileName = file.name || 'attachment'; + const downloadUrl = file.ossId; + const fileName = file.name || 'attachment'; if (!downloadUrl) { proxy?.$modal.msgError('无法获取文件下载地址'); diff --git a/web/src/views/cw/approverConfig/index.vue b/web/src/views/cw/approverConfig/index.vue index 383c05a5..48a8e191 100644 --- a/web/src/views/cw/approverConfig/index.vue +++ b/web/src/views/cw/approverConfig/index.vue @@ -578,7 +578,7 @@ export default { /** 状态变更 */ handleStatusChange(row) { - let text = row.status === '1' ? '启用' : '停用'; + const text = row.status === '1' ? '启用' : '停用'; this.$modal .confirm('确认要"' + text + '""' + row.configName + '"配置吗?') .then(() => { diff --git a/web/src/views/cw/statistics/index.vue b/web/src/views/cw/statistics/index.vue index 28702708..1d0c6441 100644 --- a/web/src/views/cw/statistics/index.vue +++ b/web/src/views/cw/statistics/index.vue @@ -174,8 +174,8 @@ diff --git a/web/src/views/hq/pm/repairOrder/index.vue b/web/src/views/hq/pm/repairOrder/index.vue index 44d585f2..463dabde 100644 --- a/web/src/views/hq/pm/repairOrder/index.vue +++ b/web/src/views/hq/pm/repairOrder/index.vue @@ -1871,8 +1871,8 @@ const submitForm = () => { /** 处理待关联的附件 */ const handlePendingAttachments = async (orderId: string | number) => { let hasOperations = false; - let successMessages: string[] = []; - let errorMessages: string[] = []; + const successMessages: string[] = []; + const errorMessages: string[] = []; // 处理待删除的附件(编辑模式) if (pendingDeleteAttachmentIds.value.length > 0) { diff --git a/web/src/views/jcbt/workstudy/depreview/components/ApplicationDetail.vue b/web/src/views/jcbt/workstudy/depreview/components/ApplicationDetail.vue index 7e445678..89049c7e 100644 --- a/web/src/views/jcbt/workstudy/depreview/components/ApplicationDetail.vue +++ b/web/src/views/jcbt/workstudy/depreview/components/ApplicationDetail.vue @@ -1,10 +1,5 @@