| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- export const currentUser = {
- id: 'ZY20230128', name: '陈晓雨', initials: '陈', department: '人力资源部', position: '人事专员',
- company: '中盈智能制造有限公司', phone: '138 **** 7621', entryDate: '2023-02-13', workAge: '3年5个月',
- }
- export const quickActions = [
- { key: 'leave', label: '请假', icon: '假', color: '#5b8ff9' },
- { key: 'overtime', label: '加班', icon: '班', color: '#61cdbb' },
- { key: 'field', label: '外勤', icon: '外', color: '#65789b' },
- { key: 'trip', label: '出差', icon: '差', color: '#f6bd16' },
- { key: 'shift', label: '调班', icon: '调', color: '#7262fd' },
- { key: 'check', label: '补卡', icon: '卡', color: '#78d3f8' },
- { key: 'certificate', label: '证明', icon: '证', color: '#f6903d' },
- { key: 'more', label: '更多', icon: '•••', color: '#8b939f' },
- ]
- export const applicationTypes = {
- leave: { title: '请假申请', subtitle: '请选择假期类型与请假时间', icon: '假', color: '#5b8ff9' },
- overtime: { title: '加班申请', subtitle: '记录加班时间与工作内容', icon: '班', color: '#61cdbb' },
- field: { title: '外勤申请', subtitle: '填写外勤地点与工作事项', icon: '外', color: '#65789b' },
- trip: { title: '出差申请', subtitle: '填写出差行程与事由', icon: '差', color: '#f6bd16' },
- shift: { title: '调班申请', subtitle: '选择原班次与目标班次', icon: '调', color: '#7262fd' },
- check: { title: '补卡申请', subtitle: '选择异常日期并说明原因', icon: '卡', color: '#78d3f8' },
- resign: { title: '离职申请', subtitle: '填写预计离职日期与原因', icon: '离', color: '#ee6666' },
- transfer: { title: '调岗申请', subtitle: '填写目标岗位与申请理由', icon: '岗', color: '#9270ca' },
- regular: { title: '转正申请', subtitle: '提交试用期工作总结', icon: '正', color: '#269a99' },
- certificate: { title: '证明申请', subtitle: '选择需要开具的证明类型', icon: '证', color: '#f6903d' },
- }
- export const approvals = [
- { id: 101, type: '请假申请', applicant: '李明', dept: '生产一部', avatar: '李', summary: '年假 · 8月7日 08:30 至 8月8日 17:30', time: '今天 09:42', status: '待审批', color: '#5b8ff9', days: '2天', reason: '陪同家人前往医院复查,工作已与王强完成交接。' },
- { id: 102, type: '补卡申请', applicant: '周倩', dept: '财务部', avatar: '周', summary: '8月4日 下班卡 · 忘记打卡', time: '昨天 18:20', status: '待审批', color: '#78d3f8', days: '', reason: '下班时临时接待审计人员,离开公司时忘记打卡。' },
- { id: 103, type: '加班申请', applicant: '王建国', dept: '设备管理部', avatar: '王', summary: '8月6日 18:00-21:00 · 设备检修', time: '昨天 16:08', status: '待审批', color: '#61cdbb', days: '3小时', reason: '完成3号产线月度预防性维护。' },
- ]
- export const contacts = [
- { id: 1, name: '高志强', dept: '总经办', position: '总经理', avatar: '高', phone: '138 0013 8000' },
- { id: 2, name: '宋慧敏', dept: '人力资源部', position: '人力资源总监', avatar: '宋', phone: '139 1156 2038' },
- { id: 3, name: '陈晓雨', dept: '人力资源部', position: '人事专员', avatar: '陈', phone: '138 6678 7621' },
- { id: 4, name: '李明', dept: '生产一部', position: '工艺工程师', avatar: '李', phone: '186 3280 1902' },
- { id: 5, name: '王建国', dept: '设备管理部', position: '设备主管', avatar: '王', phone: '137 2098 3116' },
- { id: 6, name: '周倩', dept: '财务部', position: '成本会计', avatar: '周', phone: '135 7721 4520' },
- { id: 7, name: '赵磊', dept: '品质管理部', position: '质量工程师', avatar: '赵', phone: '187 1102 5821' },
- ]
- export const notices = [
- { id: 1, title: '关于2026年高温假及防暑降温工作的通知', date: '08-04', tag: '公司通知', read: false },
- { id: 2, title: '8月份员工生日会活动报名开始啦', date: '08-02', tag: '员工活动', read: false },
- { id: 3, title: '新版考勤管理制度自8月1日起执行', date: '07-28', tag: '制度发布', read: true },
- ]
- export const workModules = [
- { group: '员工服务', items: [
- { label: '我的申请', icon: '申', color: '#5b8ff9', url: '/pages/apply/list' },
- { label: '我的考勤', icon: '勤', color: '#61cdbb', url: '/pages/attendance/index' },
- { label: '工资条', icon: '薪', color: '#f6bd16', url: '/pages/salary/index' },
- { label: '假期余额', icon: '假', color: '#5d7092', url: '/pages/leave/index' },
- { label: '绩效记录', icon: '绩', color: '#9270ca', url: '/pages/performance/index' },
- { label: '培训学习', icon: '学', color: '#269a99', url: '/pages/training/index' },
- { label: '个人档案', icon: '档', color: '#f6903d', url: '/pages/profile/edit' },
- { label: '证明申请', icon: '证', color: '#6dc8ec', url: '/pages/apply/form?type=certificate' },
- ] },
- { group: '人事管理', items: [
- { label: '审批中心', icon: '审', color: '#1677ff', url: '/pages/approval/index', badge: 3 },
- { label: '排班查询', icon: '排', color: '#61cdbb', url: '/pages/attendance/index' },
- { label: '员工通讯录', icon: '员', color: '#65789b', url: '/pages/contacts/index' },
- { label: '招聘面试', icon: '聘', color: '#f6bd16', url: '/pages/manage/index?type=recruit' },
- { label: '合同管理', icon: '合', color: '#7262fd', url: '/pages/manage/index?type=contract' },
- { label: '员工入职', icon: '入', color: '#78d3f8', url: '/pages/manage/index?type=onboard' },
- { label: '人事异动', icon: '动', color: '#f6903d', url: '/pages/manage/index?type=transfer' },
- { label: '数据看板', icon: '数', color: '#5ad8a6', url: '/pages/manage/index?type=dashboard' },
- ] },
- ]
|