Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
SHR
/
tFIMS
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 84527484
authored
Sep 09, 2019
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加页面缓存
1 parent
73071908
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
26 deletions
src/router/routes.js
src/views/reportingLogs/index.vue
src/views/userManage/loginLogs/index.vue
src/router/routes.js
View file @
8452748
...
@@ -22,7 +22,6 @@ export const home = {
...
@@ -22,7 +22,6 @@ export const home = {
name
:
'index'
,
name
:
'index'
,
icon
:
'monitor'
,
icon
:
'monitor'
,
meta
:
{
meta
:
{
auth
:
true
,
title
:
'系统监控'
,
title
:
'系统监控'
,
authId
:
'101'
,
authId
:
'101'
,
parentId
:
'0'
parentId
:
'0'
...
@@ -45,7 +44,6 @@ export const sys = [
...
@@ -45,7 +44,6 @@ export const sys = [
name
:
'log'
,
name
:
'log'
,
meta
:
{
meta
:
{
title
:
'前端日志'
,
title
:
'前端日志'
,
auth
:
true
},
},
component
:
_import
(
'system/log'
)
component
:
_import
(
'system/log'
)
},
},
...
@@ -74,7 +72,6 @@ export const resources = {
...
@@ -74,7 +72,6 @@ export const resources = {
icon
:
'truck'
,
icon
:
'truck'
,
name
:
'车辆管理'
,
name
:
'车辆管理'
,
meta
:
{
meta
:
{
auth
:
true
,
title
:
'车辆管理'
,
title
:
'车辆管理'
,
authId
:
'102'
,
authId
:
'102'
,
parentId
:
'0'
parentId
:
'0'
...
@@ -105,7 +102,6 @@ export const resources = {
...
@@ -105,7 +102,6 @@ export const resources = {
icon
:
'cpu'
,
icon
:
'cpu'
,
name
:
'子系统管理'
,
name
:
'子系统管理'
,
meta
:
{
meta
:
{
auth
:
true
,
title
:
'子系统管理'
,
title
:
'子系统管理'
,
authId
:
'103'
,
authId
:
'103'
,
parentId
:
'0'
parentId
:
'0'
...
@@ -136,7 +132,6 @@ export const resources = {
...
@@ -136,7 +132,6 @@ export const resources = {
icon
:
'takeaway-box'
,
icon
:
'takeaway-box'
,
name
:
'物料管理'
,
name
:
'物料管理'
,
meta
:
{
meta
:
{
auth
:
true
,
title
:
'物料管理'
,
title
:
'物料管理'
,
authId
:
'104'
,
authId
:
'104'
,
parentId
:
'0'
parentId
:
'0'
...
@@ -174,7 +169,6 @@ export const resources = {
...
@@ -174,7 +169,6 @@ export const resources = {
icon
:
'tickets'
,
icon
:
'tickets'
,
name
:
'物料列表'
,
name
:
'物料列表'
,
meta
:
{
meta
:
{
auth
:
true
,
title
:
'物料列表'
,
title
:
'物料列表'
,
authId
:
'105'
,
authId
:
'105'
,
parentId
:
'0'
parentId
:
'0'
...
@@ -186,7 +180,6 @@ export const resources = {
...
@@ -186,7 +180,6 @@ export const resources = {
icon
:
'document'
,
icon
:
'document'
,
name
:
'单据管理'
,
name
:
'单据管理'
,
meta
:
{
meta
:
{
auth
:
true
,
title
:
'单据管理'
,
title
:
'单据管理'
,
authId
:
'106'
,
authId
:
'106'
,
parentId
:
'0'
parentId
:
'0'
...
@@ -197,7 +190,6 @@ export const resources = {
...
@@ -197,7 +190,6 @@ export const resources = {
icon
:
'document-copy'
,
icon
:
'document-copy'
,
name
:
'物料订单管理'
,
name
:
'物料订单管理'
,
meta
:
{
meta
:
{
auth
:
true
,
title
:
'物料订单管理'
,
title
:
'物料订单管理'
,
authId
:
'10601'
,
authId
:
'10601'
,
parentId
:
'106'
parentId
:
'106'
...
@@ -228,7 +220,6 @@ export const resources = {
...
@@ -228,7 +220,6 @@ export const resources = {
icon
:
'finished'
,
icon
:
'finished'
,
name
:
'作业单管理'
,
name
:
'作业单管理'
,
meta
:
{
meta
:
{
auth
:
true
,
title
:
'作业单管理'
,
title
:
'作业单管理'
,
authId
:
'10602'
,
authId
:
'10602'
,
parentId
:
'106'
parentId
:
'106'
...
@@ -254,7 +245,6 @@ export const resources = {
...
@@ -254,7 +245,6 @@ export const resources = {
icon
:
'user'
,
icon
:
'user'
,
name
:
'帐号管理'
,
name
:
'帐号管理'
,
meta
:
{
meta
:
{
auth
:
true
,
title
:
'用户管理'
,
title
:
'用户管理'
,
authId
:
'107'
,
authId
:
'107'
,
parentId
:
'0'
parentId
:
'0'
...
@@ -262,13 +252,13 @@ export const resources = {
...
@@ -262,13 +252,13 @@ export const resources = {
},
},
'10701'
:
{
'10701'
:
{
path
:
'/user'
,
path
:
'/user'
,
name
:
'
用户管理
'
,
name
:
'
FimsUsers
'
,
icon
:
'user-solid'
,
icon
:
'user-solid'
,
meta
:
{
meta
:
{
auth
:
true
,
title
:
'用户管理'
,
title
:
'用户管理'
,
authId
:
'10701'
,
authId
:
'10701'
,
parentId
:
'107'
parentId
:
'107'
,
cache
:
true
},
},
auth
:
[{
// 列表操作
auth
:
[{
// 列表操作
authId
:
'1070101'
,
authId
:
'1070101'
,
...
@@ -314,10 +304,9 @@ export const resources = {
...
@@ -314,10 +304,9 @@ export const resources = {
},
},
'10702'
:
{
'10702'
:
{
path
:
'/role'
,
path
:
'/role'
,
name
:
'
权限管理
'
,
name
:
'
FimsRoles
'
,
icon
:
'open'
,
icon
:
'open'
,
meta
:
{
meta
:
{
auth
:
true
,
title
:
'权限管理'
,
title
:
'权限管理'
,
authId
:
'10702'
,
authId
:
'10702'
,
parentId
:
'107'
parentId
:
'107'
...
@@ -340,25 +329,25 @@ export const resources = {
...
@@ -340,25 +329,25 @@ export const resources = {
},
},
'10703'
:
{
'10703'
:
{
path
:
'/loginLogs'
,
path
:
'/loginLogs'
,
name
:
'
登录日志
'
,
name
:
'
FimsLoginLogs
'
,
icon
:
'tickets'
,
icon
:
'tickets'
,
meta
:
{
meta
:
{
auth
:
true
,
title
:
'登录日志'
,
title
:
'登录日志'
,
authId
:
'10703'
,
authId
:
'10703'
,
parentId
:
'107'
parentId
:
'107'
,
cache
:
true
},
},
component
:
_import
(
'userManage/loginLogs'
)
component
:
_import
(
'userManage/loginLogs'
)
},
},
'108'
:
{
'108'
:
{
path
:
'/reportingLogs'
,
path
:
'/reportingLogs'
,
icon
:
'upload2'
,
icon
:
'upload2'
,
name
:
'
上报日志
'
,
name
:
'
FimsReportingLogs
'
,
meta
:
{
meta
:
{
auth
:
true
,
title
:
'上报日志'
,
title
:
'上报日志'
,
authId
:
'108'
,
authId
:
'108'
,
parentId
:
'0'
parentId
:
'0'
,
cache
:
true
},
},
component
:
_import
(
'reportingLogs'
)
component
:
_import
(
'reportingLogs'
)
// auth: [{
// auth: [{
...
@@ -403,9 +392,6 @@ export const localRoutes = {
...
@@ -403,9 +392,6 @@ export const localRoutes = {
// 重新组织后导出
// 重新组织后导出
export
default
[
export
default
[
// ...resources,
// ...frameIn,
// dashboard,
...
frameOut
,
...
frameOut
,
errorPage
errorPage
]
]
src/views/reportingLogs/index.vue
View file @
8452748
...
@@ -83,7 +83,7 @@ import { getLogsApi, exportApi } from '@api/reportingLogs'
...
@@ -83,7 +83,7 @@ import { getLogsApi, exportApi } from '@api/reportingLogs'
import
{
BaseData
}
from
'@/common/constants'
import
{
BaseData
}
from
'@/common/constants'
import
notice
from
'@/common/notice'
import
notice
from
'@/common/notice'
export
default
{
export
default
{
name
:
'
r
eportingLogs'
,
name
:
'
FimsR
eportingLogs'
,
data
()
{
data
()
{
return
{
return
{
tableLoading
:
false
,
tableLoading
:
false
,
...
...
src/views/userManage/loginLogs/index.vue
View file @
8452748
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
<
script
>
<
script
>
import
{
getLoginlogs
}
from
'@api/userManage'
import
{
getLoginlogs
}
from
'@api/userManage'
export
default
{
export
default
{
name
:
'
l
oginLogs'
,
name
:
'
FimsL
oginLogs'
,
data
()
{
data
()
{
return
{
return
{
tableLoading
:
false
,
tableLoading
:
false
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment