Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
IT-monitor
Project
Project
Details
Activity
Releases
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
张伯涛
IT-monitor
Commits
c2da2677
Commit
c2da2677
authored
May 25, 2022
by
Asjoker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: “导出”功能
parent
ad066c20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
exportFile.xls
public/exportFile.xls
+0
-0
realTimeReport.vue
...ews/IntegratedMonitor/reportStatistics/realTimeReport.vue
+10
-8
No files found.
public/exportFile.xls
0 → 100644
View file @
c2da2677
File added
src/views/IntegratedMonitor/reportStatistics/realTimeReport.vue
View file @
c2da2677
<
template
>
<div
id=
"sylog-container"
class=
"realTime-container"
>
<div
class=
"warnHead"
>
<div
class=
"warnBtns"
>
<el-button
class=
"headBtn"
@
click=
"changeTime"
>
添加
</el-button>
<el-button
class=
"headBtn"
@
click=
"changeTime"
>
修改
</el-button>
<el-button
class=
"headBtn"
@
click=
"handleDelete"
>
删除
</el-button>
<el-button
class=
"headBtnW"
@
click=
"refresh"
>
刷新
</el-button>
<el-button
id=
"fullScreen"
class=
"headBtnW"
>
{{
isScreen
?
'退出全屏'
:
'全屏'
}}
</el-button>
</div>
<div
style=
"padding: 10px;text-align: right"
>
<el-button
type=
"primary"
@
click=
"changeTime"
>
添加
</el-button>
<el-button
type=
"primary"
@
click=
"changeTime"
>
修改
</el-button>
<el-button
type=
"primary"
@
click=
"handleDelete"
>
删除
</el-button>
<el-button
type=
"primary"
@
click=
"handleExport"
>
导出报表
</el-button>
<el-button
type=
"primary"
@
click=
"refresh"
>
刷新
</el-button>
<el-button
id=
"fullScreen"
type=
"primary"
>
{{
isScreen
?
'退出全屏'
:
'全屏'
}}
</el-button>
</div>
<div
class=
"app-container-realTime"
>
<el-tabs
v-model=
"currentTab"
type=
"card"
>
...
...
@@ -364,6 +363,9 @@ export default {
type
:
'warning'
})
},
handleExport
()
{
window
.
location
.
href
=
process
.
env
.
BASE_URL
+
'exportFile.xls'
},
/** 查询登录日志 */
getList
()
{
this
.
loading
=
true
...
...
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