Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
常超
founder_vue
Commits
eeca34da
Commit
eeca34da
authored
Jan 11, 2022
by
li_hongchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
逻辑库列表。用户组显示优化
parent
bb06eed1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
15 deletions
+13
-15
src/views/xtfkgl/AjXtljfkView.vue
+3
-3
src/views/xtfkgl/RyXtljfkView.vue
+10
-12
No files found.
src/views/xtfkgl/AjXtljfkView.vue
View file @
eeca34da
...
...
@@ -25,6 +25,7 @@
class=
"item"
effect=
"dark"
placement=
"bottom"
:open-delay=
"300"
style=
"width: auto !important"
>
<span>
{{
item
.
name
}}
</span>
<div
slot=
"content"
class=
"tooTipBtn"
>
...
...
@@ -55,8 +56,7 @@
v-for=
"item in scope.row.groups"
:class=
"
{divtext:item.type === 1}"
:title="item.name"
:key="item.id"
>
:key="item.id">
<div
v-if=
"item.type === 1 && item.user && item.user.length >0"
>
<el-tooltip
class=
"item"
...
...
@@ -205,7 +205,7 @@ export default {
this
.
width5
=
(
this
.
width5
*
w2
)
/
w1
this
.
width6
=
(
this
.
width6
*
w2
)
/
w1
this
.
initTestData
()
//
this.initTestData()
// this.getList()
},
methods
:
{
...
...
src/views/xtfkgl/RyXtljfkView.vue
View file @
eeca34da
...
...
@@ -14,16 +14,16 @@
<el-table-column
prop=
"sjkyh"
label=
"数据库用户组/用户"
:width=
"width2"
>
<template
slot-scope=
"scope"
>
<div
class=
"tagsBox"
>
<div
v-for=
"item in strArr(scope.row.groups)"
<div
v-for=
"item in strArr(scope.row.groups)"
:key=
"item.logicId"
:class=
"
{ tags: true, tagszu: item.type === 1 }"
:key="item.logicId"
v-show="item !== ''">
<div
v-if=
"item.type === 1 && item.user && item.user.length >0"
>
<el-tooltip
class=
"item"
effect=
"dark"
placement=
"bottom"
:open-delay=
"300"
style=
"width: auto !important"
>
<span>
{{
item
.
name
}}
</span>
<div
slot=
"content"
class=
"tooTipBtn"
>
...
...
@@ -50,23 +50,21 @@
<span
style=
"margin-left: 5px"
>
...
</span>
<div
slot=
"content"
class=
"tooTipBtn"
>
<div
v-for=
"item in scope.row.groups"
:class=
"
{divtext:item.type === 1}"
:title="item.name">
<div
v-for=
"item in scope.row.groups"
>
<div
v-if=
"item.type === 1 && item.user && item.user.length >0"
>
<el-tooltip
class=
"item"
effect=
"dark"
placement=
"right"
style=
"width: auto !important"
>
<span>
{{
item
.
name
}}
</span>
style=
"width: auto !important;"
>
<div
:class=
"
{divtext:item.type === 1}">
<span>
{{
item
.
name
}}
</span>
</div>
<div
slot=
"content"
class=
"tooTipBtn"
>
<div
v-for=
"it in item.user"
:title=
"it.name"
:key=
"it.id"
>
:key=
"it.id"
>
{{
it
.
name
}}
</div>
</div>
...
...
@@ -204,7 +202,7 @@ export default {
this
.
width5
=
(
this
.
width5
*
w2
)
/
w1
this
.
width6
=
(
this
.
width6
*
w2
)
/
w1
this
.
initTestData
()
//
this.initTestData()
this
.
getList
()
},
methods
:
{
...
...
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