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
0429fe62
Commit
0429fe62
authored
May 07, 2021
by
xulili
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改机顶盒基础信息
parent
16a99035
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
2 deletions
+50
-2
login.vue
src/components/end/login.vue
+2
-0
index.vue
src/page/STB/operation/index.vue
+48
-2
No files found.
src/components/end/login.vue
View file @
0429fe62
...
@@ -69,6 +69,8 @@ export default {
...
@@ -69,6 +69,8 @@ export default {
};
};
},
},
mounted
()
{
mounted
()
{
// console.log(util.encrypt('5fa041'))
// console.log(util.encrypt('00:22:7E:0B:53:26'))
loginOut
();
loginOut
();
},
},
methods
:
{
methods
:
{
...
...
src/page/STB/operation/index.vue
View file @
0429fe62
...
@@ -46,7 +46,12 @@
...
@@ -46,7 +46,12 @@
</div>
</div>
</div>
</div>
<div
class=
"table-content"
>
<div
class=
"table-content"
>
<div
class=
"party-table noAdd"
>
<div
class=
"btn-group"
>
<el-button
class=
"export"
type=
"primary"
@
click=
"handleExport"
>
导出
</el-button
>
</div>
<div
class=
"party-table"
>
<el-table
<el-table
border
border
style=
"width: 100%; height: 100%"
style=
"width: 100%; height: 100%"
...
@@ -60,7 +65,7 @@
...
@@ -60,7 +65,7 @@
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
align=
"center"
align=
"center"
label=
"
mac
地址"
label=
"
MAC
地址"
prop=
"mac"
prop=
"mac"
></el-table-column>
></el-table-column>
<el-table-column
<el-table-column
...
@@ -68,6 +73,16 @@
...
@@ -68,6 +73,16 @@
label=
"所属单位"
label=
"所属单位"
prop=
"organName"
prop=
"organName"
></el-table-column>
></el-table-column>
<el-table-column
align=
"center"
label=
"单位管理员"
prop=
"userName"
></el-table-column>
<el-table-column
align=
"center"
label=
"所属区域"
prop=
"areaName"
></el-table-column>
<el-table-column
align=
"center"
label=
"机顶盒状态"
prop=
"status"
>
<el-table-column
align=
"center"
label=
"机顶盒状态"
prop=
"status"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
statusOptions
[
scope
.
row
.
status
-
1
].
label
}}
</span>
<span>
{{
statusOptions
[
scope
.
row
.
status
-
1
].
label
}}
</span>
...
@@ -189,6 +204,37 @@ export default {
...
@@ -189,6 +204,37 @@ export default {
this
.
page
.
_index
=
val
;
this
.
page
.
_index
=
val
;
this
.
getTableData
();
this
.
getTableData
();
},
},
// 导出
handleExport
()
{
let
dates
=
{};
if
(
this
.
form
.
date
)
{
dates
.
startDate
=
this
.
requestForm
.
date
[
0
];
dates
.
endDate
=
this
.
requestForm
.
date
[
1
];
}
let
param
=
{
areaId
:
this
.
requestForm
.
areaId
.
length
?
this
.
requestForm
.
areaId
[
this
.
requestForm
.
areaId
.
length
-
1
]
:
""
,
organId
:
this
.
requestForm
.
orgId
,
status
:
this
.
requestForm
.
status
,
};
this
.
$https
(
{
url
:
"/boxOperation/excel/getPageList"
,
method
:
"post"
,
authType
:
this
.
backToken
,
responseType
:
"blob"
,
},
this
.
$qs
.
stringify
(
param
)
).
then
((
res
)
=>
{
let
blobUrl
=
window
.
URL
.
createObjectURL
(
res
.
data
);
const
aElement
=
document
.
createElement
(
"a"
);
aElement
.
href
=
blobUrl
;
aElement
.
download
=
"机顶盒运维信息.xls"
;
aElement
.
click
();
window
.
URL
.
revokeObjectURL
(
blobUrl
);
});
},
},
},
};
};
</
script
>
</
script
>
...
...
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