123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- 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: "recruit",
- name: "Recruit",
- meta: {
- title: "招聘需求",
- },
- component: () => import("@/pages/recruit/index.vue"),
- },
- {
- path: "interview",
- name: "Interview",
- meta: {
- title: "录用审批",
- },
- component: () => import("@/pages/interview/index.vue"),
- },
- {
- path: "asset",
- name: "asset",
- meta: {
- title: "我的资产",
- },
- component: () => import("@/pages/asset/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: "usemoney/indexAgent",
- name: "usemoneyAgent",
- meta: {
- title: "用款申请(代办)",
- },
- component: () => import("@/pages/usemoney/indexAgent.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"),
- },
- ] as RouteRecordRaw[],
- },
- ] as RouteRecordRaw[];
- export default routes;
|