Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
national_museum_vod
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
qzhxx
national_museum_vod
Commits
10585caf
Commit
10585caf
authored
Apr 19, 2021
by
乐宝呗666
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加私钥展示
parent
996e9b0c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
table.vue
src/page/STB/base/components/table.vue
+8
-0
index.vue
src/page/STB/base/index.vue
+1
-0
No files found.
src/page/STB/base/components/table.vue
View file @
10585caf
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
:prop=
"item.prop"
:prop=
"item.prop"
:label=
"item.label"
:label=
"item.label"
:width=
"item.width"
:width=
"item.width"
:show-overflow-tooltip=
"item.prop==='privateKey'"
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"item.isEdit"
class=
"table-btn-group"
>
<div
v-if=
"item.isEdit"
class=
"table-btn-group"
>
...
@@ -34,6 +35,13 @@
...
@@ -34,6 +35,13 @@
<span
v-if=
"item.prop === 'exiredDate'"
>
<span
v-if=
"item.prop === 'exiredDate'"
>
{{
scope
.
row
[
item
.
prop
]
||
'永久有效'
}}
{{
scope
.
row
[
item
.
prop
]
||
'永久有效'
}}
</span>
</span>
<el-popover
v-else-if=
"item.prop === 'privateKey'"
placement=
"top-start"
width=
"1000"
trigger=
"click"
:content=
"scope.row[item.prop]"
>
<a
style=
"text-decoration:underline;color:rgb(64, 158, 255);"
slot=
"reference"
>
查看私钥
</a>
</el-popover>
<span
v-else
>
{{
scope
.
row
[
item
.
prop
]
}}
</span>
<span
v-else
>
{{
scope
.
row
[
item
.
prop
]
}}
</span>
</div>
</div>
</
template
>
</
template
>
...
...
src/page/STB/base/index.vue
View file @
10585caf
...
@@ -64,6 +64,7 @@ export default {
...
@@ -64,6 +64,7 @@ export default {
{
prop
:
"mac"
,
label
:
"MAC地址"
},
{
prop
:
"mac"
,
label
:
"MAC地址"
},
{
prop
:
"organName"
,
label
:
"所属单位"
},
{
prop
:
"organName"
,
label
:
"所属单位"
},
{
prop
:
"exiredDate"
,
label
:
"到期时间"
},
{
prop
:
"exiredDate"
,
label
:
"到期时间"
},
{
prop
:
"privateKey"
,
label
:
"机顶盒私钥"
},
{
prop
:
""
,
label
:
"操作"
,
isEdit
:
true
,
width
:
180
},
{
prop
:
""
,
label
:
"操作"
,
isEdit
:
true
,
width
:
180
},
],
],
orgOptions
:
[],
// 单位信息
orgOptions
:
[],
// 单位信息
...
...
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