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
Hide 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
)
=>
{
this
.
taskList
.
push
({
if
(
item
.
taskCount
>
0
)
{
...
item
this
.
taskList
.
push
({
})
...
item
})
}
})
})
this
.
pagination
.
total
=
totalElements
this
.
pagination
.
total
=
totalElements
},
},
...
@@ -304,18 +306,30 @@ export default {
...
@@ -304,18 +306,30 @@ export default {
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
{
}
else
{
this
.
$router
.
push
({
if
(
item
.
taskType
===
'装配任务'
||
item
.
taskType
===
'检验任务'
)
{
path
:
'/dee-task-center/workflow/task-center/home'
,
this
.
$router
.
push
({
query
:
{
path
:
'/dee-mes/completed-tasks'
,
DAO
:
'单个签审'
,
query
:
{
title
:
'任务中心'
,
title
:
item
.
taskType
,
processDefKey
:
item
.
procDefKey
,
showMenu
:
false
,
taskDefinitionKey
:
item
.
taskKey
,
showTag
:
'false'
type
:
this
.
type
}
}
})
}
else
{
this
.
$router
.
push
({
path
:
'/dee-task-center/workflow/task-center/home'
,
query
:
{
DAO
:
'单个签审'
,
title
:
'任务中心'
,
processDefKey
:
item
.
procDefKey
,
taskDefinitionKey
:
item
.
taskKey
,
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