This commit is contained in:
guochunsi
2026-01-21 17:21:14 +08:00
parent 798e45dc04
commit d283a10257
6 changed files with 523 additions and 472 deletions

View File

@@ -56,31 +56,80 @@ export const FRONT_URL = "https://zhxy.czjsy.com";
* 招生相关常量
*/
// 缴费状态 使用字典recruit_pay_status
// 推送状态
export const PUSHED_STATUS_LIST = [
{ label: "未推送", value: "0" },
{ label: "已推送", value: "1" }
{ label: "未推送", value: "0" ,type: "danger"},
{ label: "已推送", value: "1" ,type: "success"},
];
// 数据来源
// 数据来源 (使用字典 recruit_data_source
export const DATA_SOURCE_LIST = [
{ label: "学校", value: "0" },
{ label: "市平台", value: "1" }
];
// 录取通知书发放状态
// 录取通知书发放状态
export const NOTICE_SEND_STATUS_LIST = [
{ label: "未发放", value: "0" },
{ label: "已发放", value: "1" }
];
// 审核状态 使用字典 recruit_audit_status
// 缴费状态使用字典 recruit_pay_status
export const PAY_STATUS_LIST = [
{ label: "已缴费", value: "10" ,type: "success"},
{ label: "未缴费", value: "0" ,type: "danger"},
{ label: "部分缴费", value: "5" ,type: "warning"},
];
// 审核状态(使用字典 recruit_audit_status
export const AUDIT_STATUS_LIST = [
{ label: "未录取", value: "-20" ,type: "danger"},
{ label: "待审核", value: "0" ,type: "warning"},
{ label: "已录取", value: "20" ,type: "success"},
];
// 市平台考试类型审核状态 使用字典recruit_city_exzm_type
// 市平台考试类型审核状态使用字典 recruit_city_exam_type
export const CITY_EXAM_TYPE_LIST = [
{ label: "待审核", value: "0" },
{ label: "通过", value: "1" },
{ label: "驳回", value: "2" }
];
// 宿舍范围状态(使用字典 recruit_dorm_range_status
export const DORM_RANGE_STATUS_LIST = [
{ label: "待确认", value: "0" },
{ label: "范围内", value: "1" },
{ label: "范围外", value: "2" }
];
// 宿舍范围状态 使用字典recruit_dorm_range_status
// 面试结果
export const INTERVIEW_DIC_LIST = [
{ label: "未面试", value: "0" ,type: "info",icon: "Document"},
{ label: "面试通过", value: "1" ,type: "success",icon: "CircleCheck"},
{ label: "面试未通过", value: "-1" ,type: "danger",icon: "CircleClose"},
];
// 招生资料审核状态(使用字典 recruit_zlsh包含图标和颜色配置
export const RECRUIT_MATERIAL_STATUS_LIST = [
{ label: "未填写", value: "0", type: "info", icon: "Document" },
{ label: "待审核", value: "1", type: "warning", icon: "Clock" },
{ label: "审核通过", value: "2", type: "success", icon: "CircleCheck" },
{ label: "审核驳回", value: "3", type: "danger", icon: "CircleClose" }
];
// 新市民材料上传状态(使用字典 recruit_new_city_material_status
export const NEW_CITY_MATERIAL_STATUS_LIST = [
{ label: "未上传", value: "0" },
{ label: "已上传", value: "1" },
];
/**
* 根据值从状态列表中获取配置项
* @param statusList 状态列表
* @param value 状态值
* @returns 配置项
*/
export const getStatusConfig = (statusList: any[], value: string | number) => {
return statusList.find(item => item.value === String(value));
};