|
@@ -1,6 +1,6 @@
|
|
|
import Layout from "~src/layout/index.vue";
|
|
|
|
|
|
-//路由菜单系统内置页面配置, noMenuBar: true 不显示在菜单栏记录里
|
|
|
+//路由菜单系统内置页面配置, noMenuBar: true 不显示在菜单栏记录里, isAuth: true 权限验证
|
|
|
export default [
|
|
|
{
|
|
|
path: '/',
|
|
@@ -29,7 +29,7 @@ export default [
|
|
|
{
|
|
|
path: '/home/admin',
|
|
|
name: 'home-admin',
|
|
|
- meta: {title: '领导权限'},
|
|
|
+ meta: {title: '领导权限', isAuth: true},
|
|
|
component: () => import('~src/views/home/index/admin.vue')
|
|
|
},
|
|
|
//审批管理
|
|
@@ -42,7 +42,7 @@ export default [
|
|
|
{
|
|
|
path: '/home/task-details',
|
|
|
name: 'home-task-details',
|
|
|
- meta: {title: '任务详情'}, //, noMenuBar: true
|
|
|
+ meta: {title: '任务详情', isAuth: true}, //, noMenuBar: true
|
|
|
component: () => import('~src/views/home/task/task-details.vue')
|
|
|
},
|
|
|
],
|
|
@@ -64,7 +64,7 @@ export default [
|
|
|
{
|
|
|
path: '/project/list-info',
|
|
|
name: 'project-list-info',
|
|
|
- meta: {title: '项目信息'},
|
|
|
+ meta: {title: '项目信息', isAuth: true},
|
|
|
component: () => import('~src/views/project/list/list-info.vue')
|
|
|
},
|
|
|
//成本测算
|
|
@@ -77,13 +77,13 @@ export default [
|
|
|
{
|
|
|
path: '/project/cost/form',
|
|
|
name: 'project-cost-form',
|
|
|
- meta: {title: '成本测算', text: '新增编辑'},
|
|
|
+ meta: {title: '成本测算', text: '新增编辑', isAuth: true},
|
|
|
component: () => import('~src/views/project/cost/form.vue')
|
|
|
},
|
|
|
{
|
|
|
path: '/project/cost-data',
|
|
|
name: 'project-cost-data',
|
|
|
- meta: {title: '成本测算预览'},
|
|
|
+ meta: {title: '成本测算预览', isAuth: true},
|
|
|
component: () => import('~src/views/project/cost/data.vue')
|
|
|
},
|
|
|
//项目合同
|
|
@@ -96,13 +96,13 @@ export default [
|
|
|
{
|
|
|
path: '/project/contract/form',
|
|
|
name: 'project-contract-form',
|
|
|
- meta: {title: '项目合同信息'},
|
|
|
+ meta: {title: '项目合同信息', isAuth: true},
|
|
|
component: () => import('~src/views/project/contract/form.vue')
|
|
|
},
|
|
|
{
|
|
|
path: '/project/contract/update',
|
|
|
name: 'project-contract-update',
|
|
|
- meta: {title: '合同回款更新'},
|
|
|
+ meta: {title: '合同回款更新', isAuth: true},
|
|
|
component: () => import('~src/views/project/contract/update.vue')
|
|
|
},
|
|
|
],
|
|
@@ -124,13 +124,13 @@ export default [
|
|
|
{
|
|
|
path: '/program/annual-form',
|
|
|
name: 'program-annual-form',
|
|
|
- meta: {title: '年度经营预算信息'},
|
|
|
+ meta: {title: '年度经营预算信息', isAuth: true},
|
|
|
component: () => import('~src/views/program/annual/form.vue')
|
|
|
},
|
|
|
{
|
|
|
path: '/program/annual-view',
|
|
|
name: 'program-annual-view',
|
|
|
- meta: {title: '预览年度经营预算'},
|
|
|
+ meta: {title: '预览年度经营预算', isAuth: true},
|
|
|
component: () => import('~src/views/program/annual/view.vue')
|
|
|
},
|
|
|
//项目计划预算
|
|
@@ -143,7 +143,7 @@ export default [
|
|
|
{
|
|
|
path: '/program/project-form',
|
|
|
name: 'program-project-form',
|
|
|
- meta: {title: '项目计划预算信息'},
|
|
|
+ meta: {title: '项目计划预算信息', isAuth: true},
|
|
|
component: () => import('~src/views/program/project/form.vue')
|
|
|
},
|
|
|
//部门月度计划预算
|
|
@@ -156,7 +156,7 @@ export default [
|
|
|
{
|
|
|
path: '/program/section-form',
|
|
|
name: 'program-section-form',
|
|
|
- meta: {title: '部门月度计划预算信息'},
|
|
|
+ meta: {title: '部门月度计划预算信息', isAuth: true},
|
|
|
component: () => import('~src/views/program/section/form.vue')
|
|
|
},
|
|
|
],
|
|
@@ -177,7 +177,7 @@ export default [
|
|
|
{
|
|
|
path: '/task/plan',
|
|
|
name: 'task-plan',
|
|
|
- meta: {title: '计划任务执行'},
|
|
|
+ meta: {title: '计划任务执行', isAuth: true},
|
|
|
component: () => import('~src/views/task/plan/index.vue')
|
|
|
},
|
|
|
],
|
|
@@ -199,7 +199,7 @@ export default [
|
|
|
{
|
|
|
path: '/expense/finReimburse/record',
|
|
|
name: 'expense-finReimburse-record',
|
|
|
- meta: {title: '财务报销记录'},
|
|
|
+ meta: {title: '财务报销记录', isAuth: true},
|
|
|
component: () => import('~src/views/expense/finReimburse/record.vue')
|
|
|
},
|
|
|
//支付申请
|
|
@@ -212,7 +212,7 @@ export default [
|
|
|
{
|
|
|
path: '/expense/paymentRequest/record',
|
|
|
name: 'expense-paymentRequest-record',
|
|
|
- meta: {title: '支付申请记录'},
|
|
|
+ meta: {title: '支付申请记录', isAuth: true},
|
|
|
component: () => import('~src/views/expense/paymentRequest/record.vue')
|
|
|
},
|
|
|
//借款申请
|
|
@@ -225,7 +225,7 @@ export default [
|
|
|
{
|
|
|
path: '/expense/loanRequest/record',
|
|
|
name: 'expense-loanRequest-record',
|
|
|
- meta: {title: '借款申请记录'},
|
|
|
+ meta: {title: '借款申请记录', isAuth: true},
|
|
|
component: () => import('~src/views/expense/loanRequest/record.vue')
|
|
|
},
|
|
|
//采购申请
|
|
@@ -238,7 +238,7 @@ export default [
|
|
|
{
|
|
|
path: '/expense/purchaseRequest/record',
|
|
|
name: 'expense-purchaseRequest-record',
|
|
|
- meta: {title: '采购申请记录'},
|
|
|
+ meta: {title: '采购申请记录', isAuth: true},
|
|
|
component: () => import('~src/views/expense/purchaseRequest/record.vue')
|
|
|
},
|
|
|
//用车申请
|
|
@@ -251,7 +251,7 @@ export default [
|
|
|
{
|
|
|
path: '/expense/vehicleRequest/record',
|
|
|
name: 'expense-vehicleRequest-record',
|
|
|
- meta: {title: '用车申请记录'},
|
|
|
+ meta: {title: '用车申请记录', isAuth: true},
|
|
|
component: () => import('~src/views/expense/vehicleRequest/record.vue')
|
|
|
},
|
|
|
//发票管理
|
|
@@ -264,7 +264,7 @@ export default [
|
|
|
{
|
|
|
path: '/expense/invoice/billing',
|
|
|
name: 'expense-invoice-billing',
|
|
|
- meta: {title: '开票审批'},
|
|
|
+ meta: {title: '开票审批', isAuth: true},
|
|
|
component: () => import('~src/views/expense/invoice/billing.vue')
|
|
|
},
|
|
|
//外包支付
|
|
@@ -277,7 +277,7 @@ export default [
|
|
|
{
|
|
|
path: '/expense/outsourcing/record',
|
|
|
name: 'expense-outsourcing-record',
|
|
|
- meta: {title: '外包支付记录'},
|
|
|
+ meta: {title: '外包支付记录', isAuth: true},
|
|
|
component: () => import('~src/views/expense/outsourcing/record.vue')
|
|
|
},
|
|
|
],
|
|
@@ -319,13 +319,13 @@ export default [
|
|
|
{
|
|
|
path: '/user/index',
|
|
|
name: 'user-index',
|
|
|
- meta: {title: '个人资料'},
|
|
|
+ meta: {title: '个人资料', isAuth: true},
|
|
|
component: () => import('~src/views/user/index.vue')
|
|
|
},
|
|
|
{
|
|
|
path: '/user/config',
|
|
|
name: 'user-config',
|
|
|
- meta: {title: '主题设置'},
|
|
|
+ meta: {title: '主题设置', isAuth: true},
|
|
|
component: () => import('~src/views/user/config.vue')
|
|
|
},
|
|
|
],
|
|
@@ -355,19 +355,6 @@ export default [
|
|
|
meta: {title: '任务统计'},
|
|
|
component: () => import('~src/views/static/plan.vue')
|
|
|
},
|
|
|
- {
|
|
|
- path: '/system/parameter',
|
|
|
- name: 'system-parameter',
|
|
|
- meta: {title: '参数配置'},
|
|
|
- component: () => import('~src/views/system/parameter.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/system/organization',
|
|
|
- name: 'system-organization',
|
|
|
- meta: {title: '组织架构管理'},
|
|
|
- component: () => import('~src/views/system/organization.vue')
|
|
|
- },
|
|
|
-
|
|
|
],
|
|
|
},
|
|
|
{
|
|
@@ -426,7 +413,7 @@ export default [
|
|
|
{
|
|
|
path: '/people/archive-info',
|
|
|
name: 'people-archive-info',
|
|
|
- meta: {title: '员工档案信息'},
|
|
|
+ meta: {title: '员工档案信息', isAuth: true},
|
|
|
component: () => import('~src/views/people/archive/info.vue')
|
|
|
},
|
|
|
{
|
|
@@ -438,7 +425,7 @@ export default [
|
|
|
{
|
|
|
path: '/people/contract-info',
|
|
|
name: 'people-contract-info',
|
|
|
- meta: {title: '员工合同信息'},
|
|
|
+ meta: {title: '员工合同信息', isAuth: true},
|
|
|
component: () => import('~src/views/people/contract/info.vue')
|
|
|
},
|
|
|
{
|
|
@@ -459,9 +446,6 @@ export default [
|
|
|
meta: {title: '离职管理'},
|
|
|
component: () => import('~src/views/people/dimission.vue')
|
|
|
},
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
],
|
|
|
},
|
|
|
// {
|