Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ems3.3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
ems3.3
Commits
0d54e48b
Commit
0d54e48b
authored
Jan 05, 2023
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asder
parent
27c3ebea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
229 additions
and
231 deletions
+229
-231
authRoutes.js
config/authRoutes.js
+216
-218
defaultSettings.js
config/defaultSettings.js
+13
-13
No files found.
config/authRoutes.js
View file @
0d54e48b
export
default
[
{
"path"
:
"/welcome"
,
"name"
:
"欢迎"
,
"icon"
:
"smile"
,
"component"
:
"./Welcome"
},
{
"name"
:
"基础设置"
,
"icon"
:
"setting"
,
"path"
:
"/setting"
,
"routes"
:
[
{
"name"
:
"用户管理"
,
"path"
:
"/setting/users"
,
"component"
:
"./setting/users"
},
{
"name"
:
"角色管理"
,
"path"
:
"/setting/role"
,
"component"
:
"./setting/role"
},
{
"name"
:
"组织管理"
,
"path"
:
"/setting/organization"
,
"component"
:
"./setting/organization"
},
{
"name"
:
"工厂管理"
,
"path"
:
"/setting/factory"
,
"component"
:
"./setting/factory"
},
{
"name"
:
"车间管理"
,
"path"
:
"/setting/workshop"
,
"component"
:
"./setting/workshop"
},
{
"name"
:
"工段管理"
,
"path"
:
"/setting/section"
,
"component"
:
"./setting/section"
},
{
"name"
:
"产线管理"
,
"path"
:
"/setting/production"
,
"component"
:
"./setting/production"
}
]
},
{
"name"
:
"设备管理"
,
"icon"
:
"bulb"
,
"path"
:
"/device"
,
"routes"
:
[
{
"name"
:
"设备台账"
,
"path"
:
"/device/account"
,
"component"
:
"./device/account"
},
{
"name"
:
"设备类型"
,
"path"
:
"/device/type"
,
"component"
:
"./device/type"
},
{
"name"
:
"设备型号"
,
"path"
:
"/device/model"
,
"component"
:
"./device/model"
},
{
"name"
:
"设备供应商"
,
"path"
:
"/device/supplier"
,
"component"
:
"./device/supplier"
}
]
},
{
"name"
:
"维修管理"
,
"path"
:
"/repair"
,
"icon"
:
"tool"
,
"routes"
:
[
{
"name"
:
"接单平台"
,
"path"
:
"/repair/platform"
,
"icon"
:
""
,
"component"
:
"./repair/platform"
},
{
"name"
:
"故障报修"
,
"path"
:
"/repair/failure"
,
"icon"
:
""
,
"component"
:
"./repair/failure"
},
{
"name"
:
"维修工单"
,
"path"
:
"/repair/order"
,
"icon"
:
""
,
"component"
:
"./repair/order"
},
{
"name"
:
"追踪工单"
,
"path"
:
"/repair/track"
,
"icon"
:
""
,
"component"
:
"./repair/track"
},
{
"name"
:
"外协工单"
,
"path"
:
"/repair/outsourcing"
,
"icon"
:
""
,
"component"
:
"./repair/outsourcing"
},
{
"name"
:
"故障设置"
,
"path"
:
"/repair/fault"
,
"icon"
:
""
,
"component"
:
"./repair/fault"
}
]
},
{
"name"
:
"系统管理"
,
"path"
:
"/system"
,
"icon"
:
"desktop"
,
"routes"
:
[
{
"name"
:
"数据字典"
,
"path"
:
"/system/dictionary"
,
"icon"
:
""
,
"component"
:
"./system/dictionary"
},
{
"name"
:
"扩展字段"
,
"path"
:
"/system/field"
,
"icon"
:
""
,
"component"
:
"./system/field"
},
{
"name"
:
"编号规则"
,
"path"
:
"/system/rules"
,
"icon"
:
""
,
"component"
:
"./system/rules"
},
{
"name"
:
"推送配置"
,
"path"
:
"/system/pushsetting"
,
"icon"
:
""
,
"component"
:
"./system/pushsetting"
}
]
},
{
"name"
:
"备件管理"
,
"path"
:
"/spare"
,
"icon"
:
"sliders"
,
"routes"
:
[
{
"name"
:
" 备件库存"
,
"path"
:
"/spare/stock"
,
"icon"
:
""
,
"component"
:
"./spare/stock"
},
{
"name"
:
"入库管理"
,
"path"
:
"/spare/instore"
,
"icon"
:
""
,
"component"
:
"./spare/instore"
},
{
"name"
:
"出库管理"
,
"path"
:
"/spare/outstore"
,
"icon"
:
""
,
"component"
:
"./spare/outstore"
},
{
"name"
:
"出入库记录"
,
"path"
:
"/spare/record"
,
"icon"
:
""
,
"component"
:
"./spare/record"
},
{
"name"
:
"备件领用"
,
"path"
:
"/spare/requisition"
,
"icon"
:
""
,
"component"
:
"./spare/requisition"
},
{
"name"
:
"备件回冲"
,
"path"
:
"/spare/spareback"
,
"icon"
:
""
,
"component"
:
"./spare/spareback"
},
// {
// "name": "个人库存",
// "path": "/spare/personalstore",
// "icon": "",
// "component": "./spare/personalstore"
// },
{
"name"
:
" 线边库存"
,
"path"
:
"/spare/edgestore"
,
"icon"
:
""
,
"component"
:
"./spare/edgestore"
},
{
"name"
:
"备件供应商"
,
"path"
:
"/spare/supplier"
,
"icon"
:
""
,
"component"
:
"./spare/supplier"
},
{
"name"
:
" 备件设置"
,
"path"
:
"/spare/setting"
,
"icon"
:
""
,
"component"
:
"./spare/setting"
},
{
path
:
'/welcome'
,
name
:
'欢迎'
,
icon
:
'smile'
,
component
:
'./Welcome'
,
},
{
name
:
'基础设置'
,
icon
:
'setting'
,
path
:
'/setting'
,
routes
:
[
{
name
:
'用户管理'
,
path
:
'/setting/users'
,
component
:
'./setting/users'
,
},
{
name
:
'角色管理'
,
path
:
'/setting/role'
,
component
:
'./setting/role'
,
},
{
name
:
'组织管理'
,
path
:
'/setting/organization'
,
component
:
'./setting/organization'
,
},
{
name
:
'工厂管理'
,
path
:
'/setting/factory'
,
component
:
'./setting/factory'
,
},
{
name
:
'车间管理'
,
path
:
'/setting/workshop'
,
component
:
'./setting/workshop'
,
},
{
name
:
'工段管理'
,
path
:
'/setting/section'
,
component
:
'./setting/section'
,
},
{
name
:
'产线管理'
,
path
:
'/setting/production'
,
component
:
'./setting/production'
,
},
],
},
{
name
:
'设备管理'
,
icon
:
'bulb'
,
path
:
'/device'
,
routes
:
[
{
name
:
'设备台账'
,
path
:
'/device/account'
,
component
:
'./device/account'
,
},
{
name
:
'设备类型'
,
path
:
'/device/type'
,
component
:
'./device/type'
,
},
{
name
:
'设备型号'
,
path
:
'/device/model'
,
component
:
'./device/model'
,
},
{
name
:
'设备供应商'
,
path
:
'/device/supplier'
,
component
:
'./device/supplier'
,
},
],
},
{
name
:
'维修管理'
,
path
:
'/repair'
,
icon
:
'tool'
,
routes
:
[
{
name
:
'接单平台'
,
path
:
'/repair/platform'
,
icon
:
''
,
component
:
'./repair/platform'
,
},
{
name
:
'故障报修'
,
path
:
'/repair/failure'
,
icon
:
''
,
component
:
'./repair/failure'
,
},
{
name
:
'维修工单'
,
path
:
'/repair/order'
,
icon
:
''
,
component
:
'./repair/order'
,
},
{
name
:
'追踪工单'
,
path
:
'/repair/track'
,
icon
:
''
,
component
:
'./repair/track'
,
},
{
name
:
'外协工单'
,
path
:
'/repair/outsourcing'
,
icon
:
''
,
component
:
'./repair/outsourcing'
,
},
{
name
:
'故障设置'
,
path
:
'/repair/fault'
,
icon
:
''
,
component
:
'./repair/fault'
,
},
],
},
{
name
:
'系统管理'
,
path
:
'/system'
,
icon
:
'desktop'
,
routes
:
[
{
name
:
'数据字典'
,
path
:
'/system/dictionary'
,
icon
:
''
,
component
:
'./system/dictionary'
,
},
{
name
:
'扩展字段'
,
path
:
'/system/field'
,
icon
:
''
,
component
:
'./system/field'
,
},
{
name
:
'编号规则'
,
path
:
'/system/rules'
,
icon
:
''
,
component
:
'./system/rules'
,
},
{
name
:
'推送配置'
,
path
:
'/system/pushsetting'
,
icon
:
''
,
component
:
'./system/pushsetting'
,
},
],
},
{
name
:
'备件管理'
,
path
:
'/spare'
,
icon
:
'sliders'
,
routes
:
[
{
name
:
' 备件库存'
,
path
:
'/spare/stock'
,
icon
:
''
,
component
:
'./spare/stock'
,
},
{
name
:
'入库管理'
,
path
:
'/spare/instore'
,
icon
:
''
,
component
:
'./spare/instore'
,
},
{
name
:
'出库管理'
,
path
:
'/spare/outstore'
,
icon
:
''
,
component
:
'./spare/outstore'
,
},
{
name
:
'出入库记录'
,
path
:
'/spare/record'
,
icon
:
''
,
component
:
'./spare/record'
,
},
{
name
:
'备件领用'
,
path
:
'/spare/requisition'
,
icon
:
''
,
component
:
'./spare/requisition'
,
},
{
name
:
'备件回冲'
,
path
:
'/spare/spareback'
,
icon
:
''
,
component
:
'./spare/spareback'
,
},
// {
// "name": "个人库存",
// "path": "/spare/personalstore",
// "icon": "",
// "component": "./spare/personalstore"
// },
{
name
:
' 线边库存'
,
path
:
'/spare/edgestore'
,
icon
:
''
,
component
:
'./spare/edgestore'
,
},
]
}
{
name
:
'备件供应商'
,
path
:
'/spare/supplier'
,
icon
:
''
,
component
:
'./spare/supplier'
,
},
{
name
:
' 备件设置'
,
path
:
'/spare/setting'
,
icon
:
''
,
component
:
'./spare/setting'
,
},
],
},
];
config/defaultSettings.js
View file @
0d54e48b
const
Settings
=
{
"title"
:
"设备管理系统"
,
"name"
:
"设备管理系统"
,
"navTheme"
:
"dark"
,
"primaryColor"
:
"#1890ff"
,
"layout"
:
"side"
,
"contentWidth"
:
"Fluid"
,
"fixedHeader"
:
false
,
"fixSiderbar"
:
false
,
"pwa"
:
false
,
"logo"
:
"/staticfile/group1/M00/00/00/oYYBAGNuFCqARiJKAAGIO2gWB34399.png"
,
"colorPrimary"
:
"#1890ff"
,
"siderMenuType"
:
"sub"
,
"proxypath"
:
"/emspro"
title
:
'设备管理系统'
,
name
:
'设备管理系统'
,
navTheme
:
'dark'
,
primaryColor
:
'#1890ff'
,
layout
:
'side'
,
contentWidth
:
'Fluid'
,
fixedHeader
:
false
,
fixSiderbar
:
false
,
pwa
:
false
,
logo
:
'/staticfile/group1/M00/00/00/oYYBAGNuFCqARiJKAAGIO2gWB34399.png'
,
colorPrimary
:
'#1890ff'
,
siderMenuType
:
'sub'
,
proxypath
:
'/emspro'
,
};
export
default
Settings
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment