123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289 |
- const routes = [
- {
- path: "/pages/login/login",
- name: 'login',
- meta: {
- title: '登录',
- },
- },
- {
- //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
- path: '/pages/index/index',
- name: 'index',
- meta: {
- title: '主页',
- },
- },
- {
- //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
- path: '/pages/home/home',
- //aliasPath:'/', //对于h5端你必须在首页加上aliasPath并设置为/
- name: 'home',
- meta: {
- title: '首页',
- },
- },
- {
- path: '/pages/user/people',
- name: 'people',
- meta: {
- title: '个人中心',
- },
- },
- {
- path: '/pages/user/userdetail',
- name: 'userdetail',
- meta: {
- title: '个人详情',
- },
- },
- {
- path: '/pages/user/useredit',
- name: 'useredit',
- meta: {
- title: '个人编辑',
- },
- },
- {
- path: '/pages/component/form',
- name: 'form',
- meta: {
- title: '个人编辑',
- },
- },
- {
- path: '/pages/user/userexit',
- name: 'userexit',
- meta: {
- title: '退出',
- },
- },
- {
- path: '/pages/user/userdt',
- name: 'userdt',
- meta: {
- title: '地图',
- },
- },
- {
- path: '/pages/common/exit',
- name: 'exit',
- meta: {
- title: '退出',
- },
- },
- {
- path: '/pages/common/success',
- name: 'success',
- meta: {
- title: 'success',
- },
- },
- {
- path: '/pages/sign/usersign',
- name: 'usersign',
- meta: {
- title: '考勤',
- },
- },
- {
- path: '/pages/sign/leave',
- name: 'leave',
- meta: {
- title: '请假申请',
- },
- },
- {
- path: '/pages/sign/leaves',
- name: 'leaves',
- meta: {
- title: '请假申请',
- },
- },
- {
- path: '/pages/wages/wages',
- name: 'wages',
- meta: {
- title: '薪资单',
- },
- },
- {
- path: '/pages/wages/wagesdetail',
- name: 'wagesdetail',
- meta: {
- title: '个人薪资界面',
- },
- },
- {
- path: '/pages/wages/wagesdetail2',
- name: 'wagesdetail2',
- meta: {
- title: '人事部门的薪资跳转页面',
- },
- },
- {
- path: '/pages/wages/wagesdetails2',
- name: 'wagesdetails2',
- meta: {
- title: '人事部门的薪资详情跳转页面',
- },
- },
- {
- path: '/pages/wages/wagesuser',
- name: 'wagesuser',
- meta: {
- title: '人事部门进入工资界面',
- },
- },
- {
- path: '/pages/wages/wagesdetails',
- name: 'wagesdetails',
- meta: {
- title: '薪资单详情',
- },
- },
- {
- path: '/pages/team/teams',
- name: 'teams',
- meta: {
- title: '团队',
- },
- },
- {
- path: '/pages/team/teames',
- name: 'teames',
- meta: {
- title: '团队',
- },
- },
- {
- path: '/pages/team/teamusersign',
- name: 'teamusersign',
- meta: {
- title: '团队',
- },
- },
- {
- path: '/pages/team/teamusersign2',
- name: 'teamusersign2',
- meta: {
- title: '团队',
- },
- },
- {
- path: '/pages/team/usercore',
- name: 'personaldetail',
- meta: {
- title: '团队',
- },
- },
- {
- path: '/pages/team/personaldetail',
- name: 'peruser',
- meta: {
- title: '团队',
- },
- },
- {
- path: '/pages/user/userpwd',
- name: 'userpwd',
- meta: {
- title: '修改密码',
- },
- },
- {
- path: '/pages/user/suecss',
- name: 'suecss',
- meta: {
- title: '修改密码',
- },
- },
- {
- path: '/pages/organization/leaveorgz',
- name: 'leaveorgz',
- meta: {
- title: '考勤组织',
- },
- },
- {
- path: '/pages/organization/orgz',
- name: 'orgz',
- meta: {
- title: '考勤组织',
- },
- },
- {
- path: '/pages/organization/wagsorgz',
- name: 'wagsorgz',
- meta: {
- title: '薪资组织',
- },
- },
- {
- path: '/pages/sign/userwork',
- name: 'userwork',
- meta: {
- title: '薪资组织',
- },
- },
- {
- path: '/pages/organization/workorgz',
- name: 'workorgz',
- meta: {
- title: '排班组织',
- },
- },
- {
- path: '/pages/team/teamuser',
- name: 'teamuser',
- meta: {
- title: '组织',
- },
- },
- {
- path: '/pages/team/teamuser2',
- name: 'teamuser2',
- meta: {
- title: '组织',
- },
- },
- {
- path: '/pages/sign/empsign',
- name: 'empsign',
- meta: {
- title: '组织',
- },
- },
- {
- path: '/pages/sign/leaveemp',
- name: 'leaveemp',
- meta: {
- title: '组织',
- },
- },
- {
- path: '/pages/sign/empusersign',
- name: 'empusersign',
- meta: {
- title: '组织',
- },
- },
- {
- path: '/components/my-componets/my-image-upload',
- name: 'upload',
- meta: {
- title: '组织',
- },
- },
- {
- path: '/pages/wages/dome',
- name: 'dome',
- meta: {
- title: '组织',
- },
- }
-
-
-
- ]
- export default routes
|