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
a25bf5e8
Commit
a25bf5e8
authored
Nov 14, 2022
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asder
parent
09a3c2fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
89 additions
and
72 deletions
+89
-72
authRoutes.js
config/authRoutes.js
+89
-71
index.jsx
src/pages/repair/failure/index.jsx
+0
-1
No files found.
config/authRoutes.js
View file @
a25bf5e8
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'
,
},
],
},
];
{
"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/failure"
,
"icon"
:
""
,
"component"
:
"./repair/failure"
}
]
}
];
\ No newline at end of file
src/pages/repair/failure/index.jsx
View file @
a25bf5e8
...
...
@@ -64,7 +64,6 @@ function Failure(props) {
okText
:
'确认'
,
cancelText
:
'取消'
,
onConfirm
:
()
=>
{
alert
(
0
);
},
}
}
btn=
{
{
...
...
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