Commit 84527484 by liimin

添加页面缓存

1 parent 73071908
......@@ -22,7 +22,6 @@ export const home = {
name: 'index',
icon: 'monitor',
meta: {
auth: true,
title: '系统监控',
authId: '101',
parentId: '0'
......@@ -45,7 +44,6 @@ export const sys = [
name: 'log',
meta: {
title: '前端日志',
auth: true
},
component: _import('system/log')
},
......@@ -74,7 +72,6 @@ export const resources = {
icon: 'truck',
name: '车辆管理',
meta: {
auth: true,
title: '车辆管理',
authId: '102',
parentId: '0'
......@@ -105,7 +102,6 @@ export const resources = {
icon: 'cpu',
name: '子系统管理',
meta: {
auth: true,
title: '子系统管理',
authId: '103',
parentId: '0'
......@@ -136,7 +132,6 @@ export const resources = {
icon: 'takeaway-box',
name: '物料管理',
meta: {
auth: true,
title: '物料管理',
authId: '104',
parentId: '0'
......@@ -174,7 +169,6 @@ export const resources = {
icon: 'tickets',
name: '物料列表',
meta: {
auth: true,
title: '物料列表',
authId: '105',
parentId: '0'
......@@ -186,7 +180,6 @@ export const resources = {
icon: 'document',
name: '单据管理',
meta: {
auth: true,
title: '单据管理',
authId: '106',
parentId: '0'
......@@ -197,7 +190,6 @@ export const resources = {
icon: 'document-copy',
name: '物料订单管理',
meta: {
auth: true,
title: '物料订单管理',
authId: '10601',
parentId: '106'
......@@ -228,7 +220,6 @@ export const resources = {
icon: 'finished',
name: '作业单管理',
meta: {
auth: true,
title: '作业单管理',
authId: '10602',
parentId: '106'
......@@ -254,7 +245,6 @@ export const resources = {
icon: 'user',
name: '帐号管理',
meta: {
auth: true,
title: '用户管理',
authId: '107',
parentId: '0'
......@@ -262,13 +252,13 @@ export const resources = {
},
'10701': {
path: '/user',
name: '用户管理',
name: 'FimsUsers',
icon: 'user-solid',
meta: {
auth: true,
title: '用户管理',
authId: '10701',
parentId: '107'
parentId: '107',
cache:true
},
auth: [{ // 列表操作
authId: '1070101',
......@@ -314,10 +304,9 @@ export const resources = {
},
'10702': {
path: '/role',
name: '权限管理',
name: 'FimsRoles',
icon: 'open',
meta: {
auth: true,
title: '权限管理',
authId: '10702',
parentId: '107'
......@@ -340,25 +329,25 @@ export const resources = {
},
'10703': {
path: '/loginLogs',
name: '登录日志',
name: 'FimsLoginLogs',
icon: 'tickets',
meta: {
auth: true,
title: '登录日志',
authId: '10703',
parentId: '107'
parentId: '107',
cache:true
},
component: _import('userManage/loginLogs')
},
'108': {
path: '/reportingLogs',
icon: 'upload2',
name: '上报日志',
name: 'FimsReportingLogs',
meta: {
auth: true,
title: '上报日志',
authId: '108',
parentId: '0'
parentId: '0',
cache:true
},
component: _import('reportingLogs')
// auth: [{
......@@ -403,9 +392,6 @@ export const localRoutes = {
// 重新组织后导出
export default [
// ...resources,
// ...frameIn,
// dashboard,
...frameOut,
errorPage
]
......@@ -83,7 +83,7 @@ import { getLogsApi, exportApi } from '@api/reportingLogs'
import { BaseData } from '@/common/constants'
import notice from '@/common/notice'
export default {
name: 'reportingLogs',
name: 'FimsReportingLogs',
data () {
return {
tableLoading: false,
......
......@@ -72,7 +72,7 @@
<script>
import { getLoginlogs } from '@api/userManage'
export default {
name: 'loginLogs',
name: 'FimsLoginLogs',
data () {
return {
tableLoading: false,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!