Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
甘
甘肃陇南
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
xinzhedeai
甘肃陇南
Commits
c11e840d
Commit
c11e840d
authored
Jan 04, 2025
by
forevertyler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:export
parent
700509ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
index.vue
src/views/bmlq/xdsj/index.vue
+15
-1
index.vue
src/views/environmentMonitor/historyData/index.vue
+2
-2
No files found.
src/views/bmlq/xdsj/index.vue
View file @
c11e840d
...
@@ -51,6 +51,13 @@
...
@@ -51,6 +51,13 @@
icon=
"el-icon-setting"
icon=
"el-icon-setting"
@
click=
"resetTable"
@
click=
"resetTable"
>
重置
</el-button>
>
重置
</el-button>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
>
导出
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-table
:data=
"dmList"
<el-table
:data=
"dmList"
...
@@ -91,6 +98,8 @@ export default {
...
@@ -91,6 +98,8 @@ export default {
dicts
:
[
'
microseismequipment
'
],
dicts
:
[
'
microseismequipment
'
],
data
()
{
data
()
{
return
{
return
{
// 根路径
baseURL
:
process
.
env
.
VUE_APP_BASE_API
,
// 总条数
// 总条数
total
:
0
,
total
:
0
,
dmList
:
[],
dmList
:
[],
...
@@ -155,8 +164,13 @@ export default {
...
@@ -155,8 +164,13 @@ export default {
this
.
queryParams
.
deviceName
=
""
;
this
.
queryParams
.
deviceName
=
""
;
this
.
queryParams
.
createTime
=
""
;
this
.
queryParams
.
createTime
=
""
;
this
.
allData
()
this
.
allData
()
},
/** 导出按钮操作 */
handleExport
()
{
this
.
download
(
'
business/tun/data/exportData
'
,
{
...
this
.
queryParams
},
`断面收敛_
${
new
Date
().
getTime
()}
.xlsx`
)
}
}
}
}
};
};
</
script
>
</
script
>
...
...
src/views/environmentMonitor/historyData/index.vue
View file @
c11e840d
...
@@ -410,9 +410,9 @@
...
@@ -410,9 +410,9 @@
},
},
/** 导出按钮操作 */
/** 导出按钮操作 */
handleExport
()
{
handleExport
()
{
this
.
download
(
'
business/szData/export
'
,
{
this
.
download
(
'
business/szData/export
Data
'
,
{
...
this
.
queryParams
...
this
.
queryParams
},
`
szData
_
${
new
Date
().
getTime
()}
.xlsx`
)
},
`
环境监测
_
${
new
Date
().
getTime
()}
.xlsx`
)
}
}
}
}
};
};
...
...
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