Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
5db20f94
Commit
5db20f94
authored
Apr 26, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mornitoring 订单监控/分卡
parent
cd81a8f2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
298 additions
and
62 deletions
+298
-62
index.vue
pages/order/monitoring/index.vue
+0
-1
record.vue
pages/order/monitoring/record.vue
+79
-3
speed.vue
pages/order/monitoring/speed.vue
+219
-58
No files found.
pages/order/monitoring/index.vue
View file @
5db20f94
...
...
@@ -321,7 +321,6 @@ export default {
}
}
},
params
.
row
.
finishCount
//完成数
)
]
...
...
pages/order/monitoring/record.vue
View file @
5db20f94
<
template
>
<div
class=
"record"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
:tool=
"false"
:height=
"820"
></DataGrid>
<Tabs
value=
"name1"
>
<TabPane
label=
"订单暂停记录"
name=
"name1"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
:tool=
"false"
:height=
"tdHeight"
></DataGrid>
</TabPane>
<TabPane
label=
"工单暂停记录"
name=
"name2"
>
<DataGrid
:columns=
"columnsProcess"
ref=
"gridProcess"
:tool=
"false"
:height=
"tdHeight"
></DataGrid>
</TabPane>
</Tabs>
<Modal
v-model=
"detailModal"
title=
"详情"
width=
"800"
>
<Detail
:eid=
"curId"
/>
</Modal>
...
...
@@ -18,6 +25,7 @@ export default {
return
{
detailModal
:
false
,
action
:
Api
.
record
,
tdHeight
:
""
,
condition
:
{
orderId
:
{
op
:
"Equal"
,
value
:
this
.
eid
},
keys
:
{
op
:
"pauseCause,"
,
value
:
null
}
...
...
@@ -103,7 +111,7 @@ export default {
);
}
},
{
key
:
"relatedPerson"
,
type
:
"user"
,
...
...
@@ -111,13 +119,81 @@ export default {
align
:
"left"
,
high
:
true
}
],
columnsProcess
:
[
{
key
:
"productName"
,
title
:
"工序Id"
,
align
:
"left"
,
width
:
90
},
{
key
:
"productName"
,
title
:
"工序号"
,
align
:
"left"
,
width
:
90
},
{
key
:
"productName"
,
title
:
"工序名称"
,
align
:
"left"
,
width
:
350
,
},
{
key
:
"remark"
,
title
:
"暂停原因"
,
align
:
"left"
},
{
key
:
"productName"
,
title
:
"暂停人"
,
align
:
"left"
,
high
:
true
,
width
:
180
},
{
key
:
"productName"
,
title
:
"暂停时间"
,
align
:
"left"
,
width
:
180
},
{
key
:
"productName"
,
title
:
"恢复人"
,
align
:
"left"
,
width
:
180
},
{
key
:
"productName"
,
title
:
"恢复时间"
,
align
:
"left"
,
width
:
180
},
{
key
:
"productName"
,
title
:
"相关人"
,
align
:
"left"
,
width
:
"180"
}
]
};
},
props
:
{
eid
:
Number
},
created
()
{},
mounted
()
{
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
window
.
screenHeight
=
window
.
innerHeight
;
this
.
tdHeight
=
window
.
screenHeight
-
180
;
})();
};
},
created
()
{
this
.
tdHeight
=
window
.
innerHeight
-
180
;
},
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
...
...
pages/order/monitoring/speed.vue
View file @
5db20f94
This diff is collapsed.
Click to expand it.
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