feat: 我的计划、计划查看

This commit is contained in:
wangzhuo
2025-08-12 17:29:09 +08:00
parent 77b8f42f92
commit 7902cc3e6d
9 changed files with 1473 additions and 103 deletions

View File

@@ -0,0 +1,59 @@
const ordinals = [
"firstDayOfThe", // 第1天
"secondDayOfThis", // 第2天
"thirdDayOfThe", // 第3天
"fourthDayOfThe", // 第4天
"fifthDayOfThe", // 第5天
"sixthDayOfThe", // 第6天
"seventhDayOfThe", // 第7天
]
const week = [
"Monday", // 周一
"Tuesday", // 周二
"Wednesday", // 周三
"Thursday", // 周四
"Friday", // 周五
"Saturday", // 周六
"Sunday", // 周日
]
const weekCN = [
"一",
"二",
"三",
"四",
"五",
"六",
"日"
]
export const WORK_TYPE = [ // 工作类型
"外出",
"出差",
"公司",
"办事处",
"请假",
"法定假日"
];
export const COLOR_MAP = {
"外出": "#04C660",
"出差": "#41b883",
"公司": "#20A0F1",
"办事处": "#307af5",
"请假": "#f2c55c",
"法定假日": "#e88f89",/*#ED8A73*/
"null": "#e7e7e7"
};
// 地区/部门
export const AreaList = [
"北京",
"市场二部",
"南区",
"北区",
"西区",
"市场三部"
];
export const OrdinalDate = ordinals.map(item => `${item}Week`);
export const WeekCN = weekCN.map(item => `星期${item}`);
export const WeekShortCN = weekCN.map(item => `${item}`);
export const WorkType = week.map(item => `typeOf${item}`);
export const WorkEvent = week.map(item => `eventOf${item}`);