Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
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
Administrator
dsk-cr20g
Commits
ac2303a6
Commit
ac2303a6
authored
Aug 25, 2023
by
huangjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导航
parent
da99fc9d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
3 deletions
+29
-3
index.vue
dsk-operate-ui/src/layout/components/TagsView/index.vue
+2
-3
index.vue
dsk-operate-ui/src/views/detail/party-a/index.vue
+27
-0
No files found.
dsk-operate-ui/src/layout/components/TagsView/index.vue
View file @
ac2303a6
...
...
@@ -30,7 +30,7 @@
</ul>
<div
class=
"alltags"
v-if=
"visitedViews.length > 0"
>
<div
class=
""
@
click=
"closeall"
><i
class=
"el-icon-arrow-down"
v-if=
"!showall"
></i>
<i
class=
"el-icon-arrow-up"
v-if=
"showall"
></i></div>
<div
class=
"tagslist"
v-
if
=
"showall"
>
<div
class=
"tagslist"
v-
show
=
"showall"
>
<!--
<div
v-for=
"(tag, index) in visitedViews"
--
>
<!--:key="tag.path"-->
<!--:class="isActive(tag)?'active':''"-->
...
...
@@ -50,7 +50,7 @@
>
<div
@
click=
"changetags"
>
<i
class=
"el-icon-check"
></i>
<span
:id=
"isActive(tag)?'tagTitle':''"
>
{{
tag
.
title
}}
</span>
<span
:id=
"isActive(tag)?'tagTitle
s
':''"
>
{{
tag
.
title
}}
</span>
</div>
</router-link>
<div
class=
"clasall"
@
click=
"closeAllTag(selectedTag)"
>
关闭全部标签
</div>
...
...
@@ -120,7 +120,6 @@ export default {
},
methods
:
{
changetags
(){
console
.
log
(
88
)
this
.
showall
=
false
},
closeall
(){
...
...
dsk-operate-ui/src/views/detail/party-a/index.vue
View file @
ac2303a6
...
...
@@ -188,6 +188,15 @@ export default {
companyName
:
this
.
customerInfo
.
companyName
}
document
.
getElementById
(
'tagTitle'
).
innerText
=
this
.
customerInfo
.
companyName
// let lists = this.$store.state.tagsView.visitedViews
// lists.forEach(item=>{
// if(item.fullPath == this.$route.fullPath){
let
titlename
=
document
.
getElementById
(
'tagTitles'
)
if
(
titlename
){
titlename
.
innerText
=
this
.
customerInfo
.
companyName
}
// }
// })
})
}
}
...
...
@@ -273,6 +282,15 @@ export default {
if
(
this
.
companyInfo
&&
this
.
companyInfo
.
companyName
){
this
.
$nextTick
(()
=>
{
document
.
getElementById
(
'tagTitle'
).
innerText
=
this
.
companyInfo
.
companyName
// let lists = this.$store.state.tagsView.visitedViews
// lists.forEach(item=>{
// if(item.fullPath == this.$route.fullPath){
let
titlename
=
document
.
getElementById
(
'tagTitles'
)
if
(
titlename
){
titlename
.
innerText
=
this
.
companyInfo
.
companyName
}
// }
// })
})
}
}
...
...
@@ -313,6 +331,15 @@ export default {
companyName
:
this
.
customerInfo
.
companyName
}
document
.
getElementById
(
'tagTitle'
).
innerText
=
this
.
customerInfo
.
companyName
// let lists = this.$store.state.tagsView.visitedViews
// lists.forEach(item=>{
// if(item.fullPath == this.$route.fullPath){
let
titlename
=
document
.
getElementById
(
'tagTitles'
)
if
(
titlename
){
titlename
.
innerText
=
this
.
customerInfo
.
companyName
}
// }
// })
})
}
}
else
{
...
...
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