import type { RouteRecordRaw } from "vue-router"; const routes: RouteRecordRaw[] = [ { path: "/", redirect: "home", children: [ { path: "home", name: "Homoe", meta: { title: "首页", }, component: () => import("@/pages/home/index.vue"), }, { path: "handleCenter", name: "HandleCenter", meta: { title: "办件中心", }, component: () => import("@/pages/handleCenter/index.vue"), }, { path: "notice", name: "Notice", meta: { title: "通知公告", }, component: () => import("@/pages/notice/index.vue"), }, { path: "notice/detail", name: "NoticeDetail", meta: { title: "通知公告详情", }, component: () => import("@/pages/notice/details/index.vue"), }, { path: "leave", name: "Leave", meta: { title: "请假", }, component: () => import("@/pages/leave/index.vue"), }, { path: "travel", name: "Travel", meta: { title: "出差", }, component: () => import("@/pages/travel/index.vue"), }, { path: "attendanceNote", name: "AttendanceNote", meta: { title: "考勤说明条", }, component: () => import("@/pages/attendanceNote/index.vue"), }, { path: "travelCost", name: "TravelCost", meta: { title: "差旅报销", }, component: () => import("@/pages/travelCost/index.vue"), }, { path: "commonCost", name: "CommonCost", meta: { title: "普通报销", }, component: () => import("@/pages/commonCost/index.vue"), }, { path: "recruit", name: "Recruit", meta: { title: "招聘需求", }, component: () => import("@/pages/recruit/index.vue"), }, { path: "interview", name: "Interview", meta: { title: "录用审批", }, component: () => import("@/pages/interview/index.vue"), }, { path: "assetMy", name: "assetMy", meta: { title: "我的资产", }, component: () => import("@/pages/assetMy/index.vue"), }, { path: "staff", name: "staff", meta: { title: "入职申请", }, component: () => import("@/pages/staff/index.vue"), }, { path: "regular", name: "regular", meta: { title: "转正申请", }, component: () => import("@/pages/regular/index.vue"), }, { path: "loan", name: "loan", meta: { title: "借款申请", }, component: () => import("@/pages/loan/index.vue"), }, { path: "usemoney", name: "usemoney", meta: { title: "用款申请", }, component: () => import("@/pages/usemoney/index.vue"), }, { path: "usemoneyAgent", name: "usemoneyAgent", meta: { title: "用款申请(代办)", }, component: () => import("@/pages/usemoneyAgent/index.vue"), }, { path: "transfer", name: "transfer", meta: { title: "调岗申请", }, component: () => import("@/pages/transfer/index.vue"), }, { path: "resign", name: "resign", meta: { title: "离职申请", }, component: () => import("@/pages/resign/index.vue"), }, { path: "daily", name: "Daily", meta: { title: "日志", }, component: () => import("@/pages/myLogs/Daily/index.vue"), }, { path: "weekly", name: "Weekly", meta: { title: "周报", }, component: () => import("@/pages/myLogs/Weekly/index.vue"), }, { path: "logsDetail", name: "LogsDetail", meta: { title: "日志详情", }, component: () => import("@/pages/myLogs/components/LogDetail.vue"), }, { path: "myDailyLogs", name: "MyDailyLogs", meta: { title: "我的日志", }, component: () => import("@/pages/myLogs/Daily/MyLogs.vue"), }, { path: "myWeeklyLogs", name: "myWeeklyLogs", meta: { title: "我的周报", }, component: () => import("@/pages/myLogs/Weekly/MyLogs.vue"), }, { path: "myReceive", name: "myReceive", meta: { title: "我收到的", }, component: () => import("@/pages/myLogs/Receive/index.vue"), }, { path: "project", name: "project", meta: { title: "立项申请", }, component: () => import("@/pages/project/index.vue"), }, { path: "contract", name: "contract", meta: { title: "合同签订", }, component: () => import("@/pages/contract/index.vue"), }, { path: "contract-sub", name: "contract-sub", meta: { title: "分包申请", }, component: () => import("@/pages/contract-sub/index.vue"), }, { path: "subcontract-apply", name: "subcontract-apply", meta: { title: "分包合同签订", }, component: () => import("@/pages/subcontract-apply/index.vue"), }, { path: "contract-out", name: "contract-out", meta: { title: "外包申请", }, component: () => import("@/pages/contract-out/index.vue"), }, { path: "outsourcing-apply", name: "outsourcing-apply", meta: { title: "外包合同签订", }, component: () => import("@/pages/outsourcing-apply/index.vue"), }, { path: "contract-invoice", name: "contract-invoice", meta: { title: "开票申请", }, component: () => import("@/pages/contract-invoice/index.vue"), }, { path: "asset", name: "asset", meta: { title: "固定资产", }, component: () => import("@/pages/asset/index.vue"), }, { path: "assetAgent", name: "assetAgent", meta: { title: "固定资产(代办)", }, component: () => import("@/pages/assetAgent/index.vue"), }, { path: "outsource", name: "outsource", meta: { title: "外购存货", }, component: () => import("@/pages/outsource/index.vue"), }, { path: "projectstatus", name: "projectstatus", meta: { title: "项目验收", }, component: () => import("@/pages/projectstatus/index.vue"), }, { path: "supplier", name: "supplier", meta: { title: "供应商入库", }, component: () => import("@/pages/supplier/index.vue"), }, { path: "officialSealUse", name: "officialSealUse", meta: { title: "盖章申请", }, component: () => import("@/pages/officialSealUse/index.vue"), }, { path: "officialSealOuter", name: "officialSealOuter", meta: { title: "公章外借申请", }, component: () => import("@/pages/officialSealOuter/index.vue"), }, ] as RouteRecordRaw[], }, ] as RouteRecordRaw[]; export default routes;