Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
seeta-device
/
deviceManage
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3a4ea50a
authored
Nov 10, 2021
by
李俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 调整界面
1 parent
cb3bb85a
Pipeline
#5855
passed
in 2 minutes 10 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
src/views/DeviceList/deviceService/deviceServiceIndex.vue
src/views/DeviceList/index.vue
src/views/ServiceList/index.vue
src/views/DeviceList/deviceService/deviceServiceIndex.vue
View file @
3a4ea50
...
...
@@ -39,7 +39,7 @@
<!-- 必须要套一层 -->
<div>
<template
v-for=
"(item, index) in row.tags"
>
<el-tag
v-if=
"[0, 1].indexOf(index) !== -1"
:key=
"index"
class=
"label label-primary
table-label
"
>
{{
simplify
(
item
,
3
)
}}
</el-tag>
<el-tag
v-if=
"[0, 1].indexOf(index) !== -1"
:key=
"index"
class=
"label label-primary"
>
{{
simplify
(
item
,
3
)
}}
</el-tag>
</
template
>
<span
v-if=
"(row.tags && row.tags.length) > 10"
>
共: {{(row.tags
&&
row.tags.length) ? row.tags.length : 0}} 条
</span>
</div>
...
...
src/views/DeviceList/index.vue
View file @
3a4ea50
...
...
@@ -143,7 +143,7 @@
<!-- 必须要套一层 -->
<div>
<template
v-for=
"(item, index) in row.tags"
>
<el-tag
v-if=
"[0, 1].indexOf(index) !== -1"
:key=
"index"
class=
"label label-primary ta
ble
-label"
>
{{
simplify
(
item
,
4
)
}}
</el-tag>
<el-tag
v-if=
"[0, 1].indexOf(index) !== -1"
:key=
"index"
class=
"label label-primary ta
g
-label"
>
{{
simplify
(
item
,
4
)
}}
</el-tag>
</
template
>
<span
v-if=
"(row.tags && row.tags.length) > 10"
>
共: {{(row.tags
&&
row.tags.length) ? row.tags.length : 0}} 条
</span>
</div>
...
...
@@ -161,7 +161,7 @@
</el-tooltip>
</div>
<div
slot=
'systemSlot'
slot-scope=
"row"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"row.s
tructure
"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"row.s
ystem
"
placement=
"top"
>
<span>
{{ simplify(row.system, 7) }}
</span>
</el-tooltip>
</div>
...
...
@@ -492,6 +492,9 @@ export default {
</
script
>
<
style
lang=
"sass"
scoped
>
.tag-label
display
:
block
margin-bottom
:
5px
.service-item
margin-right
:
20px
.cell
...
...
src/views/ServiceList/index.vue
View file @
3a4ea50
...
...
@@ -73,6 +73,7 @@
:options=
"tagList"
v-model=
"search.tags"
@
change=
"handleChangeSearch"
clearable
>
</st-select>
<span
class=
"search-title"
>
服务:
</span>
...
...
@@ -85,6 +86,7 @@
:options=
"serviceList"
v-model=
"search.services"
@
change=
"handleChangeSearch"
clearable
>
</st-select>
</div>
...
...
@@ -140,7 +142,7 @@
<!-- 必须要套一层 -->
<div>
<template
v-for=
"(item, index) in row.tags"
>
<el-tag
v-if=
"[0, 1].indexOf(index) !== -1"
:key=
"index"
class=
"label label-primary ta
ble
-label"
>
{{
simplify
(
item
,
4
)
}}
</el-tag>
<el-tag
v-if=
"[0, 1].indexOf(index) !== -1"
:key=
"index"
class=
"label label-primary ta
g
-label"
>
{{
simplify
(
item
,
4
)
}}
</el-tag>
</
template
>
<span
v-if=
"(row.tags && row.tags.length) > 10"
>
共: {{(row.tags
&&
row.tags.length) ? row.tags.length : 0}} 条
</span>
</div>
...
...
@@ -461,6 +463,9 @@ export default {
</
script
>
<
style
lang=
"sass"
scoped
>
.tag-label
display
:
block
margin-bottom
:
5px
.page-nav
font-family
:
PingFangSC-Regular
font-size
:
14px
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment