Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
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
fukai
vue-gjjs
Commits
8003312d
Commit
8003312d
authored
Jan 12, 2022
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页签关闭
parent
9b8aaa91
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
11 deletions
+17
-11
index.vue
src/views/Layout/components/TagsView/index.vue
+13
-7
index.vue
src/views/TaskList/index.vue
+4
-4
No files found.
src/views/Layout/components/TagsView/index.vue
View file @
8003312d
...
...
@@ -20,9 +20,7 @@
v-if=
"isAffix(tag) && tag.meta.icon"
:class=
"tag.meta.icon"
></span>
{{
typeof
tag
.
title
===
"function"
?
tag
.
title
(
tag
)
:
tag
.
title
}}
{{
typeof
tag
.
title
===
"function"
?
tag
.
title
(
tag
)
:
tag
.
title
}}
<span
v-if=
"!isAffix(tag)"
class=
"el-icon-close"
...
...
@@ -74,9 +72,9 @@ export default {
watch
:
{
$route
()
{
if
(
this
.
$route
.
path
.
startsWith
(
"/review"
))
{
this
.
$store
.
commit
(
"setMode"
,
"display"
)
this
.
$store
.
commit
(
"setMode"
,
"display"
)
;
}
else
{
this
.
$store
.
commit
(
"setMode"
,
"normal"
)
this
.
$store
.
commit
(
"setMode"
,
"normal"
)
;
}
this
.
addTags
();
this
.
moveToCurrentTag
();
...
...
@@ -163,10 +161,19 @@ export default {
});
},
closeSelectedTag
(
view
)
{
const
title
=
typeof
view
.
title
===
"function"
?
view
.
title
(
view
)
:
view
.
title
if
(
title
.
indexOf
(
"详情"
)
>
-
1
||
title
.
indexOf
(
"info"
)
>
-
1
||
title
.
indexOf
(
"查询"
)
>
-
1
)
{
this
.
closeTagView
(
view
);
return
}
this
.
$confirm
(
"您有未保存的数据,确定退出吗, 是否继续?"
,
"提示"
,
{
showCancelButton
:
true
,
type
:
"warning"
,
}).
then
(()
=>
{
this
.
closeTagView
(
view
);
});
},
closeTagView
(
view
)
{
this
.
$store
.
dispatch
(
"TagsView/delView"
,
view
)
.
then
(({
visitedViews
})
=>
{
...
...
@@ -174,7 +181,6 @@ export default {
this
.
toLastView
(
visitedViews
,
view
);
}
});
});
},
closeOthersTags
()
{
this
.
$router
.
push
(
this
.
selectedTag
);
...
...
@@ -259,7 +265,7 @@ export default {
font-size
:
12px
;
/* margin-left: 4px; */
/* margin-top: 4px; */
margin
:
0
4px
0
0
;
margin
:
0
4px
0
0
;
}
.tags-view-container
.tags-view-wrapper
.tags-view-item
:first-of-type
{
margin-left
:
10px
;
...
...
src/views/TaskList/index.vue
View file @
8003312d
...
...
@@ -7,7 +7,7 @@
待经办列表
<el-badge
v-if=
"$store.state.Status.taskList.sptsel>0"
:value=
"$store.state.Status.taskList.sptsel"
:max=
"99"
/>
</span>
<c-content
:height=
"1
2
0"
>
<c-content
:height=
"1
6
0"
>
<t-sptsel
/>
</c-content>
</el-tab-pane>
...
...
@@ -17,7 +17,7 @@
待复核列表
<el-badge
v-if=
"$store.state.Status.taskList.trnrel>0"
:value=
"$store.state.Status.taskList.trnrel"
:max=
"99"
/>
</span>
<c-content
:height=
"1
2
0"
>
<c-content
:height=
"1
6
0"
>
<t-trnrel
/>
</c-content>
</el-tab-pane>
...
...
@@ -27,7 +27,7 @@
已完成列表
<el-badge
v-if=
"$store.state.Status.taskList.trnfnd>0"
:value=
"$store.state.Status.taskList.trnfnd"
:max=
"99"
/>
</span>
<c-content
:height=
"1
2
0"
>
<c-content
:height=
"1
6
0"
>
<t-trnfnd
/>
</c-content>
</el-tab-pane>
...
...
@@ -46,7 +46,7 @@
到期提示
<el-badge
v-if=
"$store.state.Status.taskList.diasel>0"
:value=
"$store.state.Status.taskList.diasel"
:max=
"99"
/>
</span>
<c-content
:height=
"1
2
0"
>
<c-content
:height=
"1
6
0"
>
<t-diasel/>
</c-content>
</el-tab-pane>
...
...
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