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
804908e8
Commit
804908e8
authored
Jan 31, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务页签重复展示bug处理
parent
f8190a39
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
2 deletions
+19
-2
menu.js
applications/architecture-dee/src/store/modules/menu.js
+3
-1
tagsView.js
applications/architecture-dee/src/store/modules/tagsView.js
+1
-0
StartPage.vue
...tecture-dee/src/views/navigation/components/StartPage.vue
+1
-1
my-task.vue
...ns/dee-task-center/src/views/home/compontents/my-task.vue
+7
-0
moduleTaskListNew.vue
...ews/workflow/task-center/myPlanTask/moduleTaskListNew.vue
+7
-0
No files found.
applications/architecture-dee/src/store/modules/menu.js
View file @
804908e8
...
...
@@ -104,7 +104,9 @@ const actions = {
id
:
model
.
appId
,
path
:
{
...
model
.
pageInfo
}
})
if
(
model
.
appId
!==
'todoTask'
){
commit
(
'UPDATE_MENU'
,
[])
}
}
else
{
const
findModel
=
state
.
allApp
.
find
((
el
)
=>
{
return
el
.
id
===
Number
(
model
.
appId
)
...
...
applications/architecture-dee/src/store/modules/tagsView.js
View file @
804908e8
...
...
@@ -8,6 +8,7 @@ const state = {
const
mutations
=
{
ADD_VISITED_VIEW
:
(
state
,
view
)
=>
{
if
(
view
.
belongModel
!==
'todoTask'
&&
view
.
path
.
includes
(
'/dee-task-center/workflow/task-center/home'
))
return
state
.
previousRouter
.
unshift
({
...
view
})
// 记录前一路由地址
state
.
previousRouter
=
state
.
previousRouter
.
splice
(
0
,
2
)
const
belongModel
=
sessionStorage
.
getItem
(
'activePageModel'
)
?
JSON
.
parse
(
sessionStorage
.
getItem
(
'activePageModel'
)).
id
:
'todoTask'
...
...
applications/architecture-dee/src/views/navigation/components/StartPage.vue
View file @
804908e8
...
...
@@ -248,7 +248,7 @@ export default {
}
})
}
if
(
module
.
route
===
'dee-task-center/workflow/task-center/home'
)
{
if
(
module
.
route
.
includes
(
'dee-task-center/workflow/task-center/home'
)
)
{
this
.
$store
.
dispatch
(
'menu/activeModel'
,
{
appId
:
'todoTask'
,
pageInfo
:
{
...
...
applications/dee-task-center/src/views/home/compontents/my-task.vue
View file @
804908e8
...
...
@@ -339,6 +339,13 @@ export default {
type
:
this
.
type
}
})
this
.
$store
.
dispatch
(
'menu/activeModel'
,
{
appId
:
'todoTask'
,
pageInfo
:
{
title
:
item
.
taskType
,
path
:
`/dee-task-center/workflow/task-center/home/
${
item
.
taskKey
}
`
}
})
}
// path: `/task-detail-${item.id}`,
...
...
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/moduleTaskListNew.vue
View file @
804908e8
...
...
@@ -64,6 +64,13 @@ export default {
batchTaskItem
:
JSON
.
stringify
(
item
)
}
})
this
.
$store
.
dispatch
(
'menu/activeModel'
,
{
appId
:
'todoTask'
,
pageInfo
:
{
title
:
item
.
taskType
,
path
:
`/dee-task-center/workflow/task-center/home/
${
item
.
taskKey
}
`
}
})
},
jumpList
()
{
this
.
$router
.
push
({
...
...
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