123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323 |
- 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;
|