| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610 |
- export const currentUser = {
- id: 'ZY20230128', name: '陈晓雨', initials: '陈', department: '人力资源部', position: '人事专员',
- company: '中盈智能制造有限公司', phone: '138 **** 7621', entryDate: '2023-02-13', workAge: '3年5个月',
- maritalStatus: '已婚',
- bankCardList: [
- { id: 'icbc_8621', cardNumber: '6212 26 **** 8621', openingBank: '中国工商银行', branch: '北京海淀支行' },
- { id: 'ccb_4019', cardNumber: '6217 00 **** 4019', openingBank: '中国建设银行', branch: '北京中关村支行' },
- ],
- defaultBankCardId: 'icbc_8621',
- }
- 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: 'resign', label: '离职', icon: '离', color: '#ee6666' },
- ]
- 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 onboardStatus = {
- pending: { label: '待入职', class: 'status-pending' },
- processing: { label: '入职中', class: 'status-processing' },
- done: { label: '已入职', class: 'status-approved' },
- overdue: { label: '已逾期', class: 'status-rejected' },
- }
- // 入职流程节点定义(详情页时间线用)
- export const onboardStages = [
- { key: 'offer', label: 'Offer 确认', desc: '候选人确认入职意向与到岗日期' },
- { key: 'materials', label: '资料收集', desc: '身份证、学历、体检等入职材料' },
- { key: 'contract', label: '合同签订', desc: '电子合同 / 纸质合同签署' },
- { key: 'social', label: '社保办理', desc: '社保、公积金参保登记' },
- { key: 'account', label: '账号开通', desc: '邮箱、门禁、办公系统账号' },
- { key: 'training', label: '岗前培训', desc: '新员工入职培训与考试' },
- { key: 'onboard', label: '部门接收', desc: '工位分配、直属上级、试用期安排' },
- ]
- // 办理步骤(与 PC 端 onboardingHandling 五步一致)
- export const onboardingStepDefs = [
- { key: 'offer', label: 'Offer 发起', icon: '发', desc: '候选人确认入职意向与 Offer' },
- { key: 'profile', label: '档案录入', icon: '录', desc: '候选人手机端提交档案资料' },
- { key: 'contract', label: '签署合同', icon: '签', desc: '电子合同 / 纸质合同签署' },
- { key: 'assets', label: '物品领用', icon: '领', desc: '工牌、工位、办公设备发放' },
- { key: 'complete', label: '完成入职', icon: '完', desc: '完成全部流程,进入试用期' },
- ]
- export const onboardingStepText = {
- offer: { empty: '未发起', done: '已发起' },
- profile: { empty: '待录入', done: '档案已完善' },
- contract: { empty: '未签署', done: '已签署' },
- assets: { empty: '未领用', done: '已领用' },
- complete: { empty: '待确认', done: '已完成' },
- }
- export const onboardingDepartments = [
- { id: 10, name: '中盈智能科技股份有限公司', type: 'company', parentId: 0, sort: 1 },
- { id: 11, name: '中盈产业集团有限公司', type: 'company', parentId: 0, sort: 2 },
- { id: 20, name: '北京天成伟达工程有限公司', type: 'company', parentId: 0, sort: 3 },
- { id: 101, name: '总经办', type: 'dept', parentId: 10, sort: 1 },
- { id: 102, name: '人力资源部', type: 'dept', parentId: 10, sort: 2 },
- { id: 103, name: '财务部', type: 'dept', parentId: 10, sort: 3 },
- { id: 104, name: '产品研发部', type: 'dept', parentId: 10, sort: 4 },
- { id: 105, name: '生产运营部', type: 'dept', parentId: 10, sort: 5 },
- { id: 110, name: '人力资源部', type: 'dept', parentId: 11, sort: 1 },
- { id: 111, name: '市场部', type: 'dept', parentId: 11, sort: 2 },
- { id: 112, name: '商务部', type: 'dept', parentId: 11, sort: 3 },
- { id: 201, name: '前端组', type: 'dept', parentId: 104, sort: 1 },
- { id: 202, name: '后端组', type: 'dept', parentId: 104, sort: 2 },
- { id: 203, name: '测试组', type: 'dept', parentId: 104, sort: 3 },
- { id: 204, name: '生产一部', type: 'dept', parentId: 105, sort: 1 },
- { id: 205, name: '生产二部', type: 'dept', parentId: 105, sort: 2 },
- { id: 206, name: '设备管理部', type: 'dept', parentId: 105, sort: 3 },
- { id: 207, name: '品质管理部', type: 'dept', parentId: 105, sort: 4 },
- { id: 301, name: '3 号产线', type: 'dept', parentId: 204, sort: 1 },
- { id: 302, name: '装配班组', type: 'dept', parentId: 205, sort: 1 },
- ]
- export const employmentTypes = [
- { value: 'FULL_TIME', label: '全职' },
- { value: 'INTERN', label: '实习' },
- { value: 'PART_TIME', label: '兼职' },
- { value: 'OTHER', label: '其他' },
- ]
- export const probationMonthOptions = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
- export const invitationValidDays = [3, 7, 14, 30, 60, 90]
- export const defaultOnboardingInvitations = [
- {
- invitationId: 'INV20260915001',
- invitationNo: 'INV20260915001',
- onboardingId: 'ZY20260915',
- name: '孙浩',
- department: '生产一部',
- position: '工艺员',
- legalId: 10,
- employmentType: 'FULL_TIME',
- offer: '待填写',
- invitationStatus: 'PENDING',
- publicPath: '/onboarding/public/ZY20260915',
- publicToken: 'ZY20260915',
- expiresAt: '2026-10-15T00:00:00',
- createdAt: '2026-09-12T00:00:00',
- },
- ]
- export const onboardings = [
- {
- id: 'ZY20260915',
- onboardingId: 'ZY20260915',
- invitationId: 'INV20260915001',
- invitationNo: 'INV20260915001',
- employeeNo: 'ZY20260915',
- name: '孙浩',
- avatar: '孙',
- company: '中盈智能科技股份有限公司',
- legalId: 10,
- department: '生产一部',
- deptId: 204,
- position: '工艺员',
- positionId: 5,
- source: '社会招聘',
- status: 'pending',
- expectedEntryDate: '2026-09-15',
- entryDate: null,
- probationMonths: 3,
- probationEndDate: '2026-12-15',
- probationFlag: 1,
- validDays: 7,
- createMode: 'manual',
- flow: '待补充档案',
- offer: '待填写',
- contract: '未签署',
- assets: '未领用',
- remark: '',
- publicPath: '/onboarding/public/ZY20260915',
- publicToken: 'ZY20260915',
- invitationStatus: 'PENDING',
- rowType: 'record',
- phone: '186 1234 5678',
- email: 'sunhao@aimill.com',
- idNumber: '430102********1826',
- gender: '男',
- age: 28,
- employmentType: 'FULL_TIME',
- mentor: '李明',
- materials: {
- identityCard: true,
- degreeCertificate: true,
- physicalReport: true,
- photo: true,
- bankCard: true,
- resignationCert: false,
- },
- contractDetail: { status: '待签订', signMethod: '电子签', deadline: '2026-09-14' },
- socialSecurity: { status: '办理中', city: '北京', deadline: '2026-09-30' },
- training: { status: '未开始', name: '新员工入职培训', duration: '2天', deadline: '2026-09-20' },
- workstation: { status: '已分配', location: '生产一部 3号工位' },
- itAccount: { status: '待开通', items: ['邮箱', '门禁', 'OA'] },
- stage: 'materials',
- },
- {
- id: 'ZY20260918',
- onboardingId: 'ZY20260918',
- invitationId: '',
- invitationNo: '',
- employeeNo: 'ZY20260918',
- name: '胡静',
- avatar: '胡',
- company: '中盈智能科技股份有限公司',
- legalId: 10,
- department: '财务部',
- deptId: 103,
- position: '出纳',
- positionId: 5,
- source: '社会招聘',
- status: 'processing',
- expectedEntryDate: '2026-09-18',
- entryDate: '2026-09-18',
- probationMonths: 6,
- probationEndDate: '2027-03-18',
- probationFlag: 1,
- validDays: 7,
- createMode: 'manual',
- flow: '档案已完善',
- offer: '已发起',
- contract: '已签署',
- assets: '已领用',
- remark: '',
- publicPath: '',
- publicToken: '',
- invitationStatus: '',
- rowType: 'record',
- phone: '135 7721 4521',
- email: 'hujing@aimill.com',
- idNumber: '110108********3261',
- gender: '女',
- age: 24,
- employmentType: 'FULL_TIME',
- mentor: '周倩',
- materials: {
- identityCard: true,
- degreeCertificate: true,
- physicalReport: true,
- photo: true,
- bankCard: true,
- resignationCert: true,
- },
- contractDetail: { status: '已签订', signMethod: '电子签', signDate: '2026-09-10' },
- socialSecurity: { status: '已办理', city: '北京', deadline: '2026-09-25' },
- training: { status: '进行中', name: '新员工入职培训', duration: '2天', deadline: '2026-09-20' },
- workstation: { status: '已分配', location: '财务部 2楼 201' },
- itAccount: { status: '已开通', items: ['邮箱', '门禁', 'OA', '财务系统'] },
- stage: 'training',
- },
- {
- id: 'ZY20260804',
- onboardingId: 'ZY20260804',
- invitationId: '',
- invitationNo: '',
- employeeNo: 'ZY20260804',
- name: '郑凯',
- avatar: '郑',
- company: '中盈智能科技股份有限公司',
- legalId: 10,
- department: '设备管理部',
- deptId: 206,
- position: '技工',
- positionId: 5,
- source: '社会招聘',
- status: 'done',
- expectedEntryDate: '2026-08-04',
- entryDate: '2026-08-04',
- probationMonths: 3,
- probationEndDate: '2026-11-04',
- probationFlag: 1,
- validDays: 7,
- createMode: 'manual',
- flow: '档案已完善',
- offer: '已发起',
- contract: '已签署',
- assets: '已领用',
- remark: '',
- publicPath: '',
- publicToken: '',
- invitationStatus: '',
- rowType: 'record',
- phone: '137 2098 3201',
- email: 'zhengkai@aimill.com',
- idNumber: '370105********9214',
- gender: '男',
- age: 32,
- employmentType: 'FULL_TIME',
- mentor: '王建国',
- materials: {
- identityCard: true,
- degreeCertificate: true,
- physicalReport: true,
- photo: true,
- bankCard: true,
- resignationCert: true,
- },
- contractDetail: { status: '已签订', signMethod: '纸质签', signDate: '2026-08-03' },
- socialSecurity: { status: '已办理', city: '北京', deadline: '2026-08-20' },
- training: { status: '已完成', name: '新员工入职培训', duration: '2天', deadline: '2026-08-08' },
- workstation: { status: '已分配', location: '设备管理部 主楼 B102' },
- itAccount: { status: '已开通', items: ['邮箱', '门禁', 'OA', 'EAM'] },
- stage: 'onboard',
- },
- {
- id: 'ZY20260905',
- onboardingId: 'ZY20260905',
- invitationId: '',
- invitationNo: '',
- employeeNo: 'ZY20260905',
- name: '刘洋',
- avatar: '刘',
- company: '中盈智能科技股份有限公司',
- legalId: 10,
- department: '品质管理部',
- deptId: 207,
- position: '质量工程师',
- positionId: 5,
- source: '社会招聘',
- status: 'overdue',
- expectedEntryDate: '2026-09-05',
- entryDate: null,
- probationMonths: 3,
- probationEndDate: null,
- probationFlag: 1,
- validDays: 7,
- createMode: 'manual',
- flow: '档案已完善',
- offer: '已发起',
- contract: '待签署',
- assets: '未领用',
- remark: '',
- publicPath: '',
- publicToken: '',
- invitationStatus: '',
- rowType: 'record',
- phone: '186 9988 1100',
- email: 'liuyang@aimill.com',
- idNumber: '510104********5418',
- gender: '女',
- age: 29,
- employmentType: 'FULL_TIME',
- mentor: '赵磊',
- materials: {
- identityCard: true,
- degreeCertificate: true,
- physicalReport: false,
- photo: false,
- bankCard: false,
- resignationCert: true,
- },
- contractDetail: { status: '待签订', signMethod: '电子签', deadline: '2026-09-04' },
- socialSecurity: { status: '未办理', city: '北京', deadline: null },
- training: { status: '未开始', name: '新员工入职培训', duration: '2天', deadline: null },
- workstation: { status: '待分配', location: '' },
- itAccount: { status: '未开通', items: [] },
- stage: 'contract',
- },
- ]
- // 内置入职记录(mock);用户通过表单新增的记录由 storage.js 维护
- export const defaultOnboardings = onboardings
- // 入职流程可选项
- export const onboardOptions = {
- sources: ['社会招聘', '校园招聘', '内部转岗', '实习留用'],
- departments: [
- '总经办',
- '人力资源部',
- '财务部',
- '生产一部',
- '生产二部',
- '研发中心',
- '品质管理部',
- '设备管理部',
- '采购部',
- '市场部',
- ],
- probationMonths: [1, 2, 3, 6],
- signMethods: ['电子签', '纸质签'],
- }
- // 工号生成:ZY + YYYYMMDD + 3 位序号;同一日期去重
- export function generateEmployeeId(usedIds = []) {
- const d = new Date()
- const ymd = `${d.getFullYear()}${String(d.getMonth() + 1).padStart(2, '0')}${String(d.getDate()).padStart(2, '0')}`
- for (let i = 0; i < 999; i++) {
- const seq = String(i + 1).padStart(3, '0')
- const id = `ZY${ymd}${seq}`
- if (!usedIds.includes(id)) return id
- }
- return `ZY${ymd}${Date.now().toString().slice(-3)}`
- }
- 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' },
- { label: '离职申请', icon: '离', color: '#ee6666', url: '/pages/apply/form?type=resign' },
- ] },
- { 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: '#ee6666', url: '/pages/manage/index?type=resign' },
- { label: '数据看板', icon: '数', color: '#5ad8a6', url: '/pages/manage/index?type=dashboard' },
- ] },
- ]
- export const resignStatus = {
- pending: { label: '待审批', class: 'status-pending' },
- processing: { label: '进行中', class: 'status-processing' },
- done: { label: '已离职', class: 'status-approved' },
- overdue: { label: '已逾期', class: 'status-rejected' },
- cancelled: { label: '已撤回', class: 'status-rejected' },
- }
- export const resignStages = [
- { key: 'submit', label: '申请提交', desc: '员工提交离职申请并填写预计离职日' },
- { key: 'manager', label: '直属主管审批', desc: '直属上级确认业务交接可行性' },
- { key: 'department', label: '部门负责人审批', desc: '部门负责人审批离职安排' },
- { key: 'hrbp', label: 'HRBP 审批', desc: 'HRBP 复核离职条件与补偿方案' },
- { key: 'handover', label: '工作交接', desc: '交接人确认工作内容、客户与文档移交' },
- { key: 'assetReturn', label: '资产归还', desc: '办公设备、工牌、门禁卡归还登记' },
- { key: 'finance', label: '财务结算', desc: '工资、补偿金、年假折算与社保停缴' },
- { key: 'certificate', label: '离职证明/账号注销', desc: '开具离职证明并注销 OA/门禁/邮箱账号' },
- ]
- export const resignings = [
- {
- id: 'ZY20260812',
- name: '郭峰',
- avatar: '郭',
- department: '设备管理部',
- position: '设备维修工',
- entryDate: '2019-03-18',
- status: 'processing',
- expectedLeaveDate: '2026-08-25',
- lastWorkDate: null,
- submitDate: '2026-08-12',
- type: '主动离职',
- reason: '寻求个人发展',
- handover: {
- person: '王建国',
- dept: '设备管理部',
- progress: '70%',
- deadline: '2026-08-25',
- items: [
- 'EAM 系统权限与账号交接',
- '3 号产线设备维护记录归档',
- '测量仪器校准台账移交',
- '备件库存盘点表交接',
- ],
- },
- compensation: { scheme: 'N+1', amount: '¥ 48,200', status: '审批中', note: '按最近 12 个月平均工资计算' },
- assetReturn: {
- status: '部分归还',
- items: [
- { name: '工牌', returned: true, remark: '已交还前台' },
- { name: '门禁卡', returned: true, remark: '已注销' },
- { name: '办公电脑', returned: false, remark: '预计 8/24 归还' },
- { name: '测量仪器', returned: false, remark: '等待王建国验收' },
- ],
- },
- contractTermination: { method: '协商解除', deadline: '2026-08-25', status: '办理中' },
- socialSecurity: { stopMonth: '2026-08', city: '北京', status: '办理中' },
- financeSettle: { lastSalary: '¥ 12,800', annualLeave: '3 天', compensation: '¥ 23,400', payoutDate: '2026-08-31', status: '办理中' },
- accountOff: { status: '办理中', items: ['OA', '门禁', 'EAM'] },
- certificate: { status: '待开具', needCopy: true },
- stage: 'handover',
- },
- {
- id: 'ZY20260710',
- name: '陈静',
- avatar: '陈',
- department: '财务部',
- position: '成本会计',
- entryDate: '2018-06-01',
- status: 'done',
- expectedLeaveDate: '2026-07-31',
- lastWorkDate: '2026-07-31',
- submitDate: '2026-07-10',
- type: '主动离职',
- reason: '家庭原因',
- handover: {
- person: '周倩',
- dept: '财务部',
- progress: '100%',
- deadline: '2026-07-31',
- items: [
- '成本核算月度结转 SOP',
- '供应商对账单归档',
- 'ERP 系统操作权限交接',
- '银行回单与发票管理移交',
- ],
- },
- compensation: { scheme: '协商一致', amount: '¥ 32,000', status: '已发放', note: '一次性协商补偿' },
- assetReturn: {
- status: '已归还',
- items: [
- { name: '工牌', returned: true, remark: '已归档' },
- { name: '门禁卡', returned: true, remark: '已注销' },
- { name: '办公电脑', returned: true, remark: '已回收' },
- ],
- },
- contractTermination: { method: '协商解除', deadline: '2026-07-31', status: '已解除' },
- socialSecurity: { stopMonth: '2026-07', city: '北京', status: '已停缴' },
- financeSettle: { lastSalary: '¥ 14,500', annualLeave: '5 天', compensation: '¥ 32,000', payoutDate: '2026-08-15', status: '已结算' },
- accountOff: { status: '已注销', items: ['OA', '门禁', '邮箱', 'ERP'] },
- certificate: { status: '已开具', needCopy: true },
- stage: 'certificate',
- },
- {
- id: 'ZY20260825',
- name: '黄亮',
- avatar: '黄',
- department: '研发中心',
- position: '前端工程师',
- entryDate: '2022-04-11',
- status: 'pending',
- expectedLeaveDate: '2026-09-30',
- lastWorkDate: null,
- submitDate: '2026-08-25',
- type: '主动离职',
- reason: '职业转型',
- handover: {
- person: '待指派',
- dept: '研发中心',
- progress: '0%',
- deadline: '2026-09-30',
- items: [
- 'HR H5 前端代码仓库交接',
- 'BPM 表单设计文档移交',
- '组件库版本与权限交接',
- '未完成工单与发布计划',
- ],
- },
- compensation: { scheme: 'N', amount: '—', status: '待核算', note: 'HRBP 复核中' },
- assetReturn: {
- status: '未开始',
- items: [
- { name: '工牌', returned: false, remark: '' },
- { name: '门禁卡', returned: false, remark: '' },
- { name: '办公电脑', returned: false, remark: '' },
- ],
- },
- contractTermination: { method: '提前 30 日通知', deadline: '2026-09-30', status: '待解除' },
- socialSecurity: { stopMonth: '2026-09', city: '北京', status: '待办理' },
- financeSettle: { lastSalary: '¥ 18,000', annualLeave: '2 天', compensation: '—', payoutDate: '', status: '待核算' },
- accountOff: { status: '待注销', items: [] },
- certificate: { status: '待开具', needCopy: true },
- stage: 'submit',
- },
- {
- id: 'ZY20260805',
- name: '马涛',
- avatar: '马',
- department: '生产一部',
- position: '工艺工程师',
- entryDate: '2020-09-15',
- status: 'overdue',
- expectedLeaveDate: '2026-08-05',
- lastWorkDate: '2026-08-05',
- submitDate: '2026-07-25',
- type: '协商离职',
- reason: '公司调整',
- handover: {
- person: '李明',
- dept: '生产一部',
- progress: '40%',
- deadline: '2026-08-05',
- items: [
- '工艺路线文档移交',
- '3 号产线 SOP 交接',
- '质量异常台账',
- '设备参数与配方归档',
- ],
- },
- compensation: { scheme: 'N+1', amount: '¥ 56,800', status: '审批中', note: '需 HRBP 加急复核' },
- assetReturn: {
- status: '部分归还',
- items: [
- { name: '工牌', returned: true, remark: '已交还' },
- { name: '门禁卡', returned: false, remark: '未归还' },
- { name: '办公电脑', returned: false, remark: '未归还' },
- { name: '测量仪器', returned: true, remark: '已交接' },
- ],
- },
- contractTermination: { method: '协商解除', deadline: '2026-08-05', status: '已逾期' },
- socialSecurity: { stopMonth: '2026-08', city: '北京', status: '已逾期' },
- financeSettle: { lastSalary: '¥ 13,200', annualLeave: '4 天', compensation: '¥ 56,800', payoutDate: '', status: '已逾期' },
- accountOff: { status: '部分注销', items: ['门禁'] },
- certificate: { status: '待开具', needCopy: true },
- stage: 'assetReturn',
- },
- ]
|