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
5d984e7c
Commit
5d984e7c
authored
Jan 18, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单个签审待办增加过滤
parent
e6900c23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
8 deletions
+22
-8
my-task.vue
...ns/dee-task-center/src/views/home/compontents/my-task.vue
+22
-8
No files found.
applications/dee-task-center/src/views/home/compontents/my-task.vue
View file @
5d984e7c
<
template
>
<
template
>
<div
class=
"home-my-task"
>
<div
class=
"home-my-task"
>
<div
class=
"task-header"
>
<div
class=
"task-header"
>
<el-input
v-model
.
trim=
"searchText"
placeholder=
"任务名称检索"
size=
"mini"
clearable
>
<i
slot=
"prefix"
class=
"el-input__icon el-icon-search"
/>
</el-input>
<div
class=
"refresh"
>
<div
class=
"refresh"
>
<i
class=
"el-icon-refresh"
style=
"margin-right:10px"
title=
"刷新"
@
click=
"refresh"
/>
<i
class=
"el-icon-refresh"
style=
"margin-right:10px"
title=
"刷新"
@
click=
"refresh"
/>
<span
@
click=
"jumpList"
>
更多
<i
class=
"el-icon-arrow-right"
title=
"更多"
/></span>
<span
@
click=
"jumpList"
>
更多
<i
class=
"el-icon-arrow-right"
title=
"更多"
/></span>
...
@@ -40,6 +48,7 @@ export default {
...
@@ -40,6 +48,7 @@ export default {
name
:
'MyTask'
,
name
:
'MyTask'
,
data
()
{
data
()
{
return
{
return
{
searchText
:
''
,
statusColor
:
{
statusColor
:
{
'审批中'
:
'#C3A146'
,
'审批中'
:
'#C3A146'
,
'签审中'
:
'#C3A146'
,
'签审中'
:
'#C3A146'
,
...
@@ -136,7 +145,8 @@ export default {
...
@@ -136,7 +145,8 @@ export default {
computed
:
{
computed
:
{
resLists
()
{
resLists
()
{
const
validAccessList
=
this
.
quickAccessList
.
filter
(
item
=>
item
.
taskCount
)
const
validAccessList
=
this
.
quickAccessList
.
filter
(
item
=>
item
.
taskCount
)
return
[...
this
.
taskList
,
...
validAccessList
]
const
allLists
=
[...
this
.
taskList
,
...
validAccessList
]
return
allLists
.
filter
(
list
=>
list
.
taskType
.
includes
(
this
.
searchText
))
}
}
},
},
watch
:
{
watch
:
{
...
@@ -352,9 +362,13 @@ export default {
...
@@ -352,9 +362,13 @@ export default {
// border: 1px solid #D9D9D9;
// border: 1px solid #D9D9D9;
position
:
relative
;
position
:
relative
;
.task-header
{
.task-header
{
// display: flex;
display
:
flex
;
height
:
20px
;
height
:
32px
;
// justify-content: flex-start;
align-items
:
center
;
justify-content
:
flex-end
;
.el-input
{
width
:
50%
;
}
.dee-form2
{
.dee-form2
{
.el-form-item
{
.el-form-item
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
...
@@ -362,10 +376,10 @@ export default {
...
@@ -362,10 +376,10 @@ export default {
}
}
}
}
.refresh
{
.refresh
{
position
:
absolute
;
//
position: absolute;
right
:
9px
;
//
right: 9px;
top
:
10px
;
//
top: 10px;
z-index
:
10
;
//
z-index: 10;
span
{
span
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#999999
;
color
:
#999999
;
...
...
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