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
56ce24b5
Commit
56ce24b5
authored
Feb 09, 2023
by
TZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddd
parent
6786a15d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
278 additions
and
274 deletions
+278
-274
authRoutes.js
config/authRoutes.js
+273
-273
index.jsx
src/components/TagView/index.jsx
+1
-0
columns.js
src/pages/check/task/columns.js
+3
-0
columns.js
src/pages/spare/instore/columns.js
+1
-1
No files found.
config/authRoutes.js
View file @
56ce24b5
export
default
[
export
default
[
{
{
"path"
:
"/welcome"
,
path
:
'/welcome'
,
"name"
:
"首页"
,
name
:
'首页'
,
"icon"
:
"smile"
,
icon
:
'smile'
,
"component"
:
"./Welcome"
component
:
'./Welcome'
,
},
},
{
{
"name"
:
"基础设置"
,
name
:
'基础设置'
,
"icon"
:
"setting"
,
icon
:
'setting'
,
"path"
:
"/setting"
,
path
:
'/setting'
,
"routes"
:
[
routes
:
[
{
{
"name"
:
"用户管理"
,
name
:
'用户管理'
,
"path"
:
"/setting/users"
,
path
:
'/setting/users'
,
"component"
:
"./setting/users"
component
:
'./setting/users'
,
},
},
{
{
"name"
:
"角色管理"
,
name
:
'角色管理'
,
"path"
:
"/setting/role"
,
path
:
'/setting/role'
,
"component"
:
"./setting/role"
component
:
'./setting/role'
,
},
},
{
{
"name"
:
"组织管理"
,
name
:
'组织管理'
,
"path"
:
"/setting/organization"
,
path
:
'/setting/organization'
,
"component"
:
"./setting/organization"
component
:
'./setting/organization'
,
},
},
{
{
"name"
:
"工厂管理"
,
name
:
'工厂管理'
,
"path"
:
"/setting/factory"
,
path
:
'/setting/factory'
,
"component"
:
"./setting/factory"
component
:
'./setting/factory'
,
},
},
{
{
"name"
:
"车间管理"
,
name
:
'车间管理'
,
"path"
:
"/setting/workshop"
,
path
:
'/setting/workshop'
,
"component"
:
"./setting/workshop"
component
:
'./setting/workshop'
,
},
},
{
{
"name"
:
"工段管理"
,
name
:
'工段管理'
,
"path"
:
"/setting/section"
,
path
:
'/setting/section'
,
"component"
:
"./setting/section"
component
:
'./setting/section'
,
},
},
{
{
"name"
:
"产线管理"
,
name
:
'产线管理'
,
"path"
:
"/setting/production"
,
path
:
'/setting/production'
,
"component"
:
"./setting/production"
component
:
'./setting/production'
,
}
},
]
],
},
},
{
{
"name"
:
"设备管理"
,
name
:
'设备管理'
,
"icon"
:
"bulb"
,
icon
:
'bulb'
,
"path"
:
"/device"
,
path
:
'/device'
,
"routes"
:
[
routes
:
[
{
{
"name"
:
"设备台账"
,
name
:
'设备台账'
,
"path"
:
"/device/account"
,
path
:
'/device/account'
,
"component"
:
"./device/account"
component
:
'./device/account'
,
},
},
{
{
"name"
:
"设备类型"
,
name
:
'设备类型'
,
"path"
:
"/device/type"
,
path
:
'/device/type'
,
"component"
:
"./device/type"
component
:
'./device/type'
,
},
},
{
{
"name"
:
"设备型号"
,
name
:
'设备型号'
,
"path"
:
"/device/model"
,
path
:
'/device/model'
,
"component"
:
"./device/model"
component
:
'./device/model'
,
},
},
{
{
"name"
:
"设备供应商"
,
name
:
'设备供应商'
,
"path"
:
"/device/supplier"
,
path
:
'/device/supplier'
,
"component"
:
"./device/supplier"
component
:
'./device/supplier'
,
}
},
]
],
},
},
{
{
"name"
:
"维修管理"
,
name
:
'维修管理'
,
"path"
:
"/repair"
,
path
:
'/repair'
,
"icon"
:
"tool"
,
icon
:
'tool'
,
"routes"
:
[
routes
:
[
{
{
"name"
:
"接单平台"
,
name
:
'接单平台'
,
"path"
:
"/repair/platform"
,
path
:
'/repair/platform'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./repair/platform"
component
:
'./repair/platform'
,
},
},
{
{
"name"
:
"故障报修"
,
name
:
'故障报修'
,
"path"
:
"/repair/failure"
,
path
:
'/repair/failure'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./repair/failure"
component
:
'./repair/failure'
,
},
},
{
{
"name"
:
"维修工单"
,
name
:
'维修工单'
,
"path"
:
"/repair/order"
,
path
:
'/repair/order'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./repair/order"
component
:
'./repair/order'
,
},
},
{
{
"name"
:
"追踪工单"
,
name
:
'追踪工单'
,
"path"
:
"/repair/track"
,
path
:
'/repair/track'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./repair/track"
component
:
'./repair/track'
,
},
},
{
{
"name"
:
"外协工单"
,
name
:
'外协工单'
,
"path"
:
"/repair/outsourcing"
,
path
:
'/repair/outsourcing'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./repair/outsourcing"
component
:
'./repair/outsourcing'
,
},
},
{
{
"name"
:
"故障设置"
,
name
:
'故障设置'
,
"path"
:
"/repair/fault"
,
path
:
'/repair/fault'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./repair/fault"
component
:
'./repair/fault'
,
}
},
]
],
},
},
{
{
"name"
:
"系统管理"
,
name
:
'系统管理'
,
"path"
:
"/system"
,
path
:
'/system'
,
"icon"
:
"desktop"
,
icon
:
'desktop'
,
"routes"
:
[
routes
:
[
{
{
"name"
:
"数据字典"
,
name
:
'数据字典'
,
"path"
:
"/system/dictionary"
,
path
:
'/system/dictionary'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./system/dictionary"
component
:
'./system/dictionary'
,
},
},
{
{
"name"
:
"扩展字段"
,
name
:
'扩展字段'
,
"path"
:
"/system/field"
,
path
:
'/system/field'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./system/field"
component
:
'./system/field'
,
},
},
{
{
"name"
:
"编号规则"
,
name
:
'编号规则'
,
"path"
:
"/system/rules"
,
path
:
'/system/rules'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./system/rules"
component
:
'./system/rules'
,
},
},
{
{
"name"
:
"推送配置"
,
name
:
'推送配置'
,
"path"
:
"/system/pushsetting"
,
path
:
'/system/pushsetting'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./system/pushsetting"
component
:
'./system/pushsetting'
,
}
},
]
],
},
},
{
{
"name"
:
"备件管理"
,
name
:
'备件管理'
,
"path"
:
"/spare"
,
path
:
'/spare'
,
"icon"
:
"sliders"
,
icon
:
'sliders'
,
"routes"
:
[
routes
:
[
{
{
"name"
:
" 备件库存"
,
name
:
' 备件库存'
,
"path"
:
"/spare/stock"
,
path
:
'/spare/stock'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./spare/stock"
component
:
'./spare/stock'
,
},
},
{
{
"name"
:
"入库管理"
,
name
:
'入库管理'
,
"path"
:
"/spare/instore"
,
path
:
'/spare/instore'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./spare/instore"
component
:
'./spare/instore'
,
},
},
{
{
"name"
:
"出库管理"
,
name
:
'出库管理'
,
"path"
:
"/spare/outstore"
,
path
:
'/spare/outstore'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./spare/outstore"
component
:
'./spare/outstore'
,
},
},
{
{
"name"
:
"出入库记录"
,
name
:
'出入库记录'
,
"path"
:
"/spare/record"
,
path
:
'/spare/record'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./spare/record"
component
:
'./spare/record'
,
},
},
{
{
"name"
:
"备件领用"
,
name
:
'备件领用'
,
"path"
:
"/spare/requisition"
,
path
:
'/spare/requisition'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./spare/requisition"
component
:
'./spare/requisition'
,
},
},
{
{
"name"
:
"备件回冲"
,
name
:
'备件回冲'
,
"path"
:
"/spare/spareback"
,
path
:
'/spare/spareback'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./spare/spareback"
component
:
'./spare/spareback'
,
},
},
{
{
"name"
:
" 线边库存"
,
name
:
' 线边库存'
,
"path"
:
"/spare/edgestore"
,
path
:
'/spare/edgestore'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./spare/edgestore"
component
:
'./spare/edgestore'
,
},
},
{
{
"name"
:
"备件供应商"
,
name
:
'备件供应商'
,
"path"
:
"/spare/supplier"
,
path
:
'/spare/supplier'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./spare/supplier"
component
:
'./spare/supplier'
,
},
},
{
{
"name"
:
" 备件设置"
,
name
:
' 备件设置'
,
"path"
:
"/spare/setting"
,
path
:
'/spare/setting'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./spare/setting"
component
:
'./spare/setting'
,
}
},
]
],
},
},
{
{
"name"
:
"点检管理"
,
name
:
'点检管理'
,
"path"
:
"/check"
,
path
:
'/check'
,
"icon"
:
"check-circle"
,
icon
:
'check-circle'
,
"routes"
:
[
routes
:
[
{
{
"name"
:
" 点检标准"
,
name
:
' 点检标准'
,
"path"
:
"/check/standard"
,
path
:
'/check/standard'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./check/standard"
component
:
'./check/standard'
,
},
},
{
{
"name"
:
"点检计划"
,
name
:
'点检计划'
,
"path"
:
"/check/plan"
,
path
:
'/check/plan'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./check/plan"
component
:
'./check/plan'
,
},
},
{
{
"name"
:
"点检接单"
,
name
:
'点检接单'
,
"path"
:
"/check/order"
,
path
:
'/check/order'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./check/order"
component
:
'./check/order'
,
},
},
{
{
"name"
:
"点检工单"
,
name
:
'点检工单'
,
"path"
:
"/check/task"
,
path
:
'/check/task'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./check/task"
component
:
'./check/task'
,
}
},
]
],
},
},
{
{
"name"
:
"保养管理"
,
name
:
'保养管理'
,
"path"
:
"/maintain"
,
path
:
'/maintain'
,
"icon"
:
"dashboard"
,
icon
:
'dashboard'
,
"routes"
:
[
routes
:
[
{
{
"name"
:
"保养接单"
,
name
:
'保养接单'
,
"path"
:
"/maintain/orders"
,
path
:
'/maintain/orders'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./maintain/orders"
component
:
'./maintain/orders'
,
},
},
{
{
"name"
:
"保养工单"
,
name
:
'保养工单'
,
"path"
:
"/maintain/workOrder"
,
path
:
'/maintain/workOrder'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./maintain/workOrder"
component
:
'./maintain/workOrder'
,
},
},
{
{
"name"
:
" 保养标准"
,
name
:
' 保养标准'
,
"path"
:
"/maintain/criterion"
,
path
:
'/maintain/criterion'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./maintain/criterion"
component
:
'./maintain/criterion'
,
},
},
{
{
"name"
:
"保养计划"
,
name
:
'保养计划'
,
"path"
:
"/maintain/plan"
,
path
:
'/maintain/plan'
,
"icon"
:
""
,
icon
:
''
,
"component"
:
"./maintain/plan"
component
:
'./maintain/plan'
,
}
},
]
],
}
},
];
];
\ No newline at end of file
src/components/TagView/index.jsx
View file @
56ce24b5
...
@@ -134,6 +134,7 @@ const TagView = ({ children, home }) => {
...
@@ -134,6 +134,7 @@ const TagView = ({ children, home }) => {
setrefresh
(
true
);
setrefresh
(
true
);
};
};
console
.
log
(
tagList
);
return
(
return
(
<>
<>
<
RouteContext
.
Consumer
>
<
RouteContext
.
Consumer
>
...
...
src/pages/check/task/columns.js
View file @
56ce24b5
...
@@ -409,6 +409,9 @@ function getcolumns(setdrawer) {
...
@@ -409,6 +409,9 @@ function getcolumns(setdrawer) {
key
:
'checkStartTime'
,
key
:
'checkStartTime'
,
hideInForm
:
true
,
hideInForm
:
true
,
hideInSearch
:
true
,
hideInSearch
:
true
,
render
:
(
text
,
row
,
_
,
action
)
=>
{
return
<
span
>
{
row
.
checkStartTime
}
<
/span>
;
},
},
},
{
{
title
:
'关单时间'
,
title
:
'关单时间'
,
...
...
src/pages/spare/instore/columns.js
View file @
56ce24b5
...
@@ -227,7 +227,7 @@ function getcolumns(setdrawer) {
...
@@ -227,7 +227,7 @@ function getcolumns(setdrawer) {
hideInForm
:
true
,
hideInForm
:
true
,
valueType
:
'dateTimeRange'
,
valueType
:
'dateTimeRange'
,
render
:
(
text
,
row
)
=>
{
render
:
(
text
,
row
)
=>
{
return
<
span
>
{
row
?.
createTimes
}
<
/span>
;
return
<
span
style
=
{{
fontSize
:
14
}}
>
{
row
?.
createTimes
}
<
/span>
;
},
},
},
},
{
{
...
...
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