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
18bbcc0a
Commit
18bbcc0a
authored
May 18, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂停记录
parent
cd8c728c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
record.vue
pages/order/monitoring/record.vue
+16
-10
No files found.
pages/order/monitoring/record.vue
View file @
18bbcc0a
<
template
>
<div
class=
"record"
>
<Tabs
value=
"name1"
>
<Tabs
value=
"name1"
@
on-click=
"tabSwitch"
>
<TabPane
label=
"订单暂停记录"
name=
"name1"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
:tool=
"false"
:height=
"tdHeight"
></DataGrid>
</TabPane>
...
...
@@ -127,18 +127,18 @@ export default {
}
],
columnsProcess
:
[
{
{
key
:
"processcode"
,
title
:
"工艺文件编号"
,
align
:
"left"
,
width
:
200
,
tooltip
:
true
,
tooltip
:
true
},
{
{
key
:
"processname"
,
title
:
"工艺名称"
,
align
:
"left"
,
tooltip
:
true
,
tooltip
:
true
},
{
key
:
"taskSeq"
,
...
...
@@ -151,14 +151,14 @@ export default {
title
:
"工序名称"
,
align
:
"left"
,
width
:
350
,
tooltip
:
true
,
tooltip
:
true
},
{
key
:
"desc"
,
title
:
"暂停原因"
,
align
:
"left"
,
tooltip
:
true
,
tooltip
:
true
},
{
key
:
"creatorUserId"
,
...
...
@@ -183,7 +183,7 @@ export default {
},
mounted
()
{
this
.
$refs
.
grid
.
reload
(
this
.
easySearch
);
this
.
loadList
()
this
.
loadList
()
;
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
...
...
@@ -201,7 +201,7 @@ export default {
methods
:
{
loadList
()
{
let
params
=
{
FilterText
:
'order_id="'
+
this
.
eid
+
'"'
FilterText
:
'order_id="'
+
this
.
eid
+
'"'
};
Api
.
pauseCauseGetpaged
(
params
)
.
then
(
res
=>
{
...
...
@@ -215,6 +215,12 @@ export default {
this
.
$Message
.
error
(
"连接失败"
);
});
},
tabSwitch
(
val
)
{
//tab切换
if
(
val
==
"name2"
)
{
this
.
loadList
();
}
},
search
()
{
this
.
$refs
.
grid
.
reload
(
this
.
easySearch
);
},
...
...
@@ -231,7 +237,7 @@ export default {
eid
(
v
)
{
this
.
condition
.
orderId
.
value
=
v
;
this
.
$refs
.
grid
.
reload
(
this
.
condition
);
this
.
loadList
()
this
.
loadList
()
;
}
}
};
...
...
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