提交
This commit is contained in:
1 parent
3b3d2bb157
commit
94f07a059b
69 files changed
+2787
-643
No files matched your search
@@ -152,6 +152,8 @@ export interface ClassMsgVO {
|
||||
lastCountUpdate?: string;
|
||||
/** 备注 */
|
||||
remark?: string;
|
||||
/** 学制 */
|
||||
schoolSystem?: string;
|
||||
}
|
||||
|
||||
/** 班级表单数据 */
|
||||
|
||||
@@ -227,7 +227,7 @@ const mockStudentData: StudentVO[] = [
|
||||
classId: 101,
|
||||
className: '计算机2001班',
|
||||
address: '北京市海淀区',
|
||||
status: '0',
|
||||
studentStatus: '1',
|
||||
createTime: '2023-01-01 10:00:00',
|
||||
remark: ''
|
||||
},
|
||||
@@ -248,7 +248,7 @@ const mockStudentData: StudentVO[] = [
|
||||
classId: 101,
|
||||
className: '计算机2001班',
|
||||
address: '上海市浦东新区',
|
||||
status: '0',
|
||||
studentStatus: '2',
|
||||
createTime: '2023-01-01 10:10:00',
|
||||
remark: ''
|
||||
},
|
||||
@@ -269,7 +269,7 @@ const mockStudentData: StudentVO[] = [
|
||||
classId: 201,
|
||||
className: '软工2001班',
|
||||
address: '广州市天河区',
|
||||
status: '0',
|
||||
studentStatus: '5',
|
||||
createTime: '2023-01-02 09:00:00',
|
||||
remark: ''
|
||||
},
|
||||
@@ -290,7 +290,7 @@ const mockStudentData: StudentVO[] = [
|
||||
classId: 201,
|
||||
className: '软工2001班',
|
||||
address: '深圳市南山区',
|
||||
status: '0',
|
||||
studentStatus: '3',
|
||||
createTime: '2023-01-02 10:30:00',
|
||||
remark: ''
|
||||
},
|
||||
@@ -311,7 +311,7 @@ const mockStudentData: StudentVO[] = [
|
||||
classId: 301,
|
||||
className: '人工智能2001班',
|
||||
address: '杭州市西湖区',
|
||||
status: '1', // 停用状态
|
||||
studentStatus: '4',
|
||||
createTime: '2023-01-03 11:20:00',
|
||||
remark: '休学中'
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ export interface StudentMsgVO {
|
||||
formerName: string;
|
||||
|
||||
/**
|
||||
* 性别:M-男,F-女
|
||||
* 性别:0-男,1-女
|
||||
*/
|
||||
gender: string;
|
||||
|
||||
@@ -558,7 +558,7 @@ export interface StudentMsgForm extends BaseEntity {
|
||||
formerName?: string;
|
||||
|
||||
/**
|
||||
* 性别:M-男,F-女
|
||||
* 性别:0-男,1-女
|
||||
*/
|
||||
gender?: string;
|
||||
|
||||
@@ -940,7 +940,7 @@ export interface StudentMsgForm extends BaseEntity {
|
||||
/**
|
||||
* 学历层次 - 预留,数据从班级表关联
|
||||
*/
|
||||
academicLevel?: string;
|
||||
academicLevel?: string | number;
|
||||
|
||||
/**
|
||||
* 培养方式:全日制、在职、函授、夜大等 - 预留,数据从班级表关联
|
||||
@@ -1077,7 +1077,7 @@ export interface StudentMsgQuery extends PageQuery {
|
||||
formerName?: string;
|
||||
|
||||
/**
|
||||
* 性别:M-男,F-女
|
||||
* 性别:0-男,1-女
|
||||
*/
|
||||
gender?: string;
|
||||
|
||||
|
||||
@@ -14,32 +14,32 @@ export interface XgDeptTreeVO extends BaseEntity {
|
||||
export interface StudentQuery {
|
||||
pageNum: number;
|
||||
pageSize: number;
|
||||
studentName?: string;
|
||||
name?: string;
|
||||
studentNo?: string;
|
||||
phonenumber?: string;
|
||||
status?: string;
|
||||
phone?: string;
|
||||
studentStatus?: string;
|
||||
deptId?: number;
|
||||
}
|
||||
|
||||
// 学生视图对象
|
||||
export interface StudentVO {
|
||||
studentId: number | string;
|
||||
id: number | string;
|
||||
studentNo: string;
|
||||
studentName: string;
|
||||
name: string;
|
||||
nickName?: string;
|
||||
sex?: string;
|
||||
gender?: string;
|
||||
age?: number;
|
||||
phonenumber?: string;
|
||||
phone?: string;
|
||||
email?: string;
|
||||
idCard?: string;
|
||||
deptId?: number;
|
||||
deptName?: string;
|
||||
collegeId?: number;
|
||||
colegeName?: string;
|
||||
majorId?: number;
|
||||
majorName?: string;
|
||||
classId?: number;
|
||||
className?: string;
|
||||
address?: string;
|
||||
status?: string;
|
||||
studentStatus?: string;
|
||||
createBy?: number;
|
||||
createTime?: string;
|
||||
updateBy?: number;
|
||||
@@ -49,6 +49,7 @@ export interface StudentVO {
|
||||
|
||||
// 学生表单对象
|
||||
export interface StudentForm {
|
||||
id?: number | string;
|
||||
// 原有字段
|
||||
studentId?: number | string;
|
||||
deptId?: number;
|
||||
@@ -129,8 +130,8 @@ export interface StudentForm {
|
||||
family_members?: string;
|
||||
|
||||
// 健康信息字段
|
||||
height?: string;
|
||||
weight?: string;
|
||||
height?: number | string;
|
||||
weight?: number | string;
|
||||
blood_type?: string;
|
||||
health_status?: string;
|
||||
special_condition?: string;
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import { SysRegionVO, SysRegionForm, SysRegionQuery } from '@/api/system/SysRegion/types';
|
||||
|
||||
/**
|
||||
* 查询行政区划列表
|
||||
* @param query
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const listSysRegion = (query?: SysRegionQuery): AxiosPromise<SysRegionVO[]> => {
|
||||
return request({
|
||||
url: '/system/SysRegion/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询行政区划详细
|
||||
* @param id
|
||||
*/
|
||||
export const getSysRegion = (id: string | number): AxiosPromise<SysRegionVO> => {
|
||||
return request({
|
||||
url: '/system/SysRegion/' + id,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 新增行政区划
|
||||
* @param data
|
||||
*/
|
||||
export const addSysRegion = (data: SysRegionForm) => {
|
||||
return request({
|
||||
url: '/system/SysRegion',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 修改行政区划
|
||||
* @param data
|
||||
*/
|
||||
export const updateSysRegion = (data: SysRegionForm) => {
|
||||
return request({
|
||||
url: '/system/SysRegion',
|
||||
method: 'put',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 删除行政区划
|
||||
* @param id
|
||||
*/
|
||||
export const delSysRegion = (id: string | number | Array<string | number>) => {
|
||||
return request({
|
||||
url: '/system/SysRegion/' + id,
|
||||
method: 'delete'
|
||||
});
|
||||
};
|
||||
@@ -0,0 +1,186 @@
|
||||
export interface SysRegionVO {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 行政区划编码
|
||||
*/
|
||||
code: string;
|
||||
|
||||
/**
|
||||
* 行政区划名称
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* 行政区划简称
|
||||
*/
|
||||
shortName: string;
|
||||
|
||||
/**
|
||||
* 父级行政区划编码,顶级为0
|
||||
*/
|
||||
parentCode: number;
|
||||
|
||||
/**
|
||||
* 层级(1:省,2:市,3:区/县,4:街道/镇)
|
||||
*/
|
||||
level: number;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
sort: number;
|
||||
|
||||
/**
|
||||
* 状态(0正常 1停用)
|
||||
*/
|
||||
status: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark: string;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
longitude: number;
|
||||
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
latitude: number;
|
||||
|
||||
/**
|
||||
* 逻辑删除标识(0未删除 1已删除)
|
||||
*/
|
||||
deleted: number;
|
||||
|
||||
}
|
||||
|
||||
export interface SysRegionForm extends BaseEntity {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 行政区划编码
|
||||
*/
|
||||
code?: string;
|
||||
|
||||
/**
|
||||
* 行政区划名称
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
/**
|
||||
* 行政区划简称
|
||||
*/
|
||||
shortName?: string;
|
||||
|
||||
/**
|
||||
* 父级行政区划编码,顶级为0
|
||||
*/
|
||||
parentCode?: number;
|
||||
|
||||
/**
|
||||
* 层级(1:省,2:市,3:区/县,4:街道/镇)
|
||||
*/
|
||||
level?: number;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
sort?: number;
|
||||
|
||||
/**
|
||||
* 状态(0正常 1停用)
|
||||
*/
|
||||
status?: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
longitude?: number;
|
||||
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
latitude?: number;
|
||||
|
||||
/**
|
||||
* 逻辑删除标识(0未删除 1已删除)
|
||||
*/
|
||||
deleted?: number;
|
||||
|
||||
}
|
||||
|
||||
export interface SysRegionQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* 行政区划编码
|
||||
*/
|
||||
code?: string;
|
||||
|
||||
/**
|
||||
* 行政区划名称
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
/**
|
||||
* 行政区划简称
|
||||
*/
|
||||
shortName?: string;
|
||||
|
||||
/**
|
||||
* 父级行政区划编码,顶级为0
|
||||
*/
|
||||
parentCode?: number;
|
||||
|
||||
/**
|
||||
* 层级(1:省,2:市,3:区/县,4:街道/镇)
|
||||
*/
|
||||
level?: number;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
sort?: number;
|
||||
|
||||
/**
|
||||
* 状态(0正常 1停用)
|
||||
*/
|
||||
status?: string;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
longitude?: number;
|
||||
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
latitude?: number;
|
||||
|
||||
/**
|
||||
* 逻辑删除标识(0未删除 1已删除)
|
||||
*/
|
||||
deleted?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -48,6 +48,7 @@ export interface UserVO extends BaseEntity {
|
||||
postIds: any;
|
||||
roleId: any;
|
||||
admin: boolean;
|
||||
accountType: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -236,7 +236,7 @@ export interface XljkEvaluationDetailVO {
|
||||
studentName: string;
|
||||
|
||||
/**
|
||||
* 性别(M-男,F-女)
|
||||
* 性别(0-男,1-女)
|
||||
*/
|
||||
gender: string;
|
||||
|
||||
@@ -328,7 +328,7 @@ export interface XljkEvaluationDetailForm extends BaseEntity {
|
||||
studentName?: string;
|
||||
|
||||
/**
|
||||
* 性别(M-男,F-女)
|
||||
* 性别(0-男,1-女)
|
||||
*/
|
||||
gender?: string;
|
||||
|
||||
@@ -407,7 +407,7 @@ export interface StudentInfo {
|
||||
studentName: string;
|
||||
|
||||
/**
|
||||
* 性别(M-男,F-女)
|
||||
* 性别(0-男,1-女)
|
||||
*/
|
||||
gender: string;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ export interface EnrollmentInfoVO {
|
||||
idCard: string;
|
||||
|
||||
/**
|
||||
* 性别(M-男 F-女)
|
||||
* 性别(0-男 1-女)
|
||||
*/
|
||||
gender: string;
|
||||
|
||||
@@ -197,7 +197,7 @@ export interface EnrollmentInfoForm extends BaseEntity {
|
||||
idCard?: string;
|
||||
|
||||
/**
|
||||
* 性别(M-男 F-女)
|
||||
* 性别(0-男 1-女)
|
||||
*/
|
||||
gender?: string;
|
||||
|
||||
@@ -354,7 +354,7 @@ export interface EnrollmentInfoQuery extends PageQuery {
|
||||
idCard?: string;
|
||||
|
||||
/**
|
||||
* 性别(M-男 F-女)
|
||||
* 性别(0-男 1-女)
|
||||
*/
|
||||
gender?: string;
|
||||
|
||||
|
||||
@@ -153,7 +153,7 @@ export interface EnrollmentProcessVO {
|
||||
updateTime: string
|
||||
|
||||
/**
|
||||
* 性别(M-男 F-女)
|
||||
* 性别(0-男 1-女)
|
||||
*/
|
||||
gender?: string
|
||||
|
||||
|
||||
Reference in new issue
Block a user