Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pad
Project
Project
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
ximai
mes-pad
Commits
f5011fb3
Commit
f5011fb3
authored
Mar 06, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复了暂停作业的bug
parent
03d0e30c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
index.vue
pages/mes/prodReport/index.vue
+19
-1
No files found.
pages/mes/prodReport/index.vue
View file @
f5011fb3
...
...
@@ -1108,7 +1108,7 @@ export default {
},
stopReasonSubmit
()
{
this
.
tableSelectData
.
forEach
((
item
)
=>
{
this
.
changeSt
atus
(
item
.
taskId
,
'PAUSE'
);
this
.
changeSt
op
(
item
.
taskId
,
'PAUSE'
);
});
this
.
getTaskList
();
},
...
...
@@ -1251,6 +1251,24 @@ export default {
}
});
},
//暂停作业
changeStop
(
taskId
,
status
)
{
// this.form.status = status;
this
.
$u
.
api
.
changeStatus
({
taskId
:
taskId
,
status
:
status
,
attr1
:
this
.
stopReasonForm
.
reason
,
attr2
:
this
.
stopReasonForm
.
desc
})
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$u
.
toast
(
'变更成功'
);
uni
.
$emit
(
'taskStatusChanged'
);
//任务状态变更
this
.
getTaskList
();
}
});
},
// reset() {
// this.feedbackForm = {
// workstationId: 0,
...
...
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