Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
Laisi_AutoMES2
Overview
Overview
Details
Activity
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
jiawei.su
Laisi_AutoMES2
Commits
632d37c0
Commit
632d37c0
authored
Jan 26, 2021
by
yiyu.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
5de1f5cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
18 deletions
+17
-18
taskList.vue
Html/src/view/fml/statistical_analysis/taskList.vue
+17
-18
No files found.
Html/src/view/fml/statistical_analysis/taskList.vue
View file @
632d37c0
...
...
@@ -199,7 +199,7 @@ export default {
{
title
:
"任务编号"
,
key
:
"taskno"
,
width
:
300
width
:
300
,
},
{
title
:
"产线层级"
,
...
...
@@ -270,9 +270,9 @@ export default {
break
;
case
4
:
str
=
"取消"
;
break
;
break
;
}
return
h
(
'div'
,
str
)
return
h
(
"div"
,
str
);
},
},
{
...
...
@@ -298,14 +298,14 @@ export default {
performType
:
0
,
startTime
:
""
,
endTime
:
""
,
detailobj
:
{}
detailobj
:
{},
};
},
created
()
{
this
.
columns1
=
this
.
$time
.
initTableTitle
(
this
.
columns1
);
this
.
initlevel
();
this
.
iniproducts
();
this
.
search
(
1
,
10
);
this
.
search
(
1
,
10
);
},
methods
:
{
search
(
page
,
pagesize
)
{
...
...
@@ -333,14 +333,15 @@ export default {
console
.
log
(
res
.
data
.
data
);
this
.
data1
=
res
.
data
.
data
.
data
;
}
this
.
total
=
res
.
data
.
data
.
total
;
});
},
cancel
()
{
if
(
this
.
detailobj
.
status
!=
1
)
{
if
(
this
.
detailobj
.
status
!=
1
)
{
this
.
$Message
.
error
(
"该任务清单状态不能取消"
);
return
false
;
}
return
return
;
let
data
=
{
section
:
this
.
sectionid
,
};
...
...
@@ -361,24 +362,22 @@ export default {
// this.$Message.error("该任务清单不能手动执行");
// return false;
// }
if
(
!
this
.
detailobj
.
id
)
{
if
(
!
this
.
detailobj
.
id
)
{
this
.
$Message
.
error
(
this
.
$t
(
1043
));
return
false
;
}
let
data
=
{
id
:
this
.
detailobj
.
id
,
};
this
.
request
(
"/acc/AutomationOperate/Send"
,
data
,
"get"
).
then
((
res
)
=>
{
if
(
res
.
data
.
ret
==
1
)
{
this
.
$Message
.
success
(
this
.
$t
(
res
.
data
.
msg
));
}
else
{
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
this
.
request
(
"/acc/AutomationOperate/Send"
,
data
,
"get"
).
then
(
(
res
)
=>
{
if
(
res
.
data
.
ret
==
1
)
{
this
.
$Message
.
success
(
this
.
$t
(
res
.
data
.
msg
));
}
else
{
this
.
$Message
.
error
(
this
.
$t
(
res
.
data
.
msg
));
}
}
}
);
);
},
exportExcel
()
{
// this.axios.request({
...
...
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