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
fcf9c54c
Commit
fcf9c54c
authored
May 07, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页左侧任务默认展示单个页签
parent
5b0e892d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
index.vue
applications/dee-task-center/src/views/home/index.vue
+5
-5
No files found.
applications/dee-task-center/src/views/home/index.vue
View file @
fcf9c54c
...
...
@@ -107,8 +107,8 @@ export default {
computed
:
{
tabs
()
{
return
this
.
activeTitle
===
'我的待办'
?
[
{
id
:
'批量签审'
,
name
:
'批量
签审'
},
{
id
:
this
.
activeTitle
,
name
:
'单个
签审'
}
{
id
:
this
.
activeTitle
,
name
:
'单个
签审'
},
{
id
:
'批量签审'
,
name
:
'批量
签审'
}
]
:
[{
id
:
this
.
activeTitle
,
name
:
this
.
activeTitle
}]
}
},
...
...
@@ -117,9 +117,7 @@ export default {
// 初始化数据
},
mounted
()
{
// this.$nextTick(() => {
// this.$refs.myTask && this.$refs.myTask.getTasks(1, '我的待办')
// })
this
.
tabClick
({
label
:
'单个签审'
})
},
methods
:
{
tabClick
(
val
)
{
...
...
@@ -136,6 +134,8 @@ export default {
this
.
$nextTick
(()
=>
{
if
(
title
===
'已办任务'
)
{
this
.
$refs
.
myTask
.
getTasks
(
1
,
this
.
activeTitle
)
}
else
{
this
.
tabClick
({
label
:
'单个签审'
})
}
})
},
...
...
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