Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
43236cd6
Commit
43236cd6
authored
Jan 23, 2024
by
“lixuyan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改已办任务
parent
79fc2568
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
13 deletions
+27
-13
my-task.vue
...ns/dee-task-center/src/views/home/compontents/my-task.vue
+27
-13
No files found.
applications/dee-task-center/src/views/home/compontents/my-task.vue
View file @
43236cd6
...
@@ -269,9 +269,11 @@ export default {
...
@@ -269,9 +269,11 @@ export default {
},
},
addData
(
data
,
totalElements
)
{
addData
(
data
,
totalElements
)
{
data
.
forEach
((
item
)
=>
{
data
.
forEach
((
item
)
=>
{
if
(
item
.
taskCount
>
0
)
{
this
.
taskList
.
push
({
this
.
taskList
.
push
({
...
item
...
item
})
})
}
})
})
this
.
pagination
.
total
=
totalElements
this
.
pagination
.
total
=
totalElements
},
},
...
@@ -303,6 +305,16 @@ export default {
...
@@ -303,6 +305,16 @@ export default {
// this.$emit('getTaskDetail', item ? { id: item.id, processInstanceId: item.processInstanceId, title: item.title } : null)
// this.$emit('getTaskDetail', item ? { id: item.id, processInstanceId: item.processInstanceId, title: item.title } : null)
if
(
item
.
type
===
'FitOut'
||
item
.
type
===
'CheckOut'
||
item
.
type
===
'DMIR'
||
item
.
type
===
'Dispatch'
)
{
if
(
item
.
type
===
'FitOut'
||
item
.
type
===
'CheckOut'
||
item
.
type
===
'DMIR'
||
item
.
type
===
'Dispatch'
)
{
this
.
goModule
(
item
)
this
.
goModule
(
item
)
}
else
{
if
(
item
.
taskType
===
'装配任务'
||
item
.
taskType
===
'检验任务'
)
{
this
.
$router
.
push
({
path
:
'/dee-mes/completed-tasks'
,
query
:
{
title
:
item
.
taskType
,
showMenu
:
false
,
showTag
:
'false'
}
})
}
else
{
}
else
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/dee-task-center/workflow/task-center/home'
,
path
:
'/dee-task-center/workflow/task-center/home'
,
...
@@ -313,9 +325,11 @@ export default {
...
@@ -313,9 +325,11 @@ export default {
taskDefinitionKey
:
item
.
taskKey
,
taskDefinitionKey
:
item
.
taskKey
,
type
:
this
.
type
type
:
this
.
type
}
}
})
}
// path: `/task-detail-${item.id}`,
// path: `/task-detail-${item.id}`,
// query: { id: item.id, insId: item.processInstanceId, title: item.title, showMenu: false }
// query: { id: item.id, insId: item.processInstanceId, title: item.title, showMenu: false }
})
}
}
},
},
async
goModule
(
module
)
{
async
goModule
(
module
)
{
...
...
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