Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bianpoSys
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
bianpoSys
Commits
b16e93a8
Commit
b16e93a8
authored
Feb 21, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 巡检计划 导出问题处理
parent
a5a0b31c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
15 deletions
+21
-15
index.vue
src/views/system/checkPlan/index.vue
+21
-15
No files found.
src/views/system/checkPlan/index.vue
View file @
b16e93a8
...
...
@@ -368,23 +368,29 @@ export default {
})
.
catch
(()
=>
{});
},
/** 导出按钮操作 */
exportExcl
()
{
exportModel
().
then
((
res
)
=>
{
this
.
$modal
.
confirm
(
"
是否确认导出?
"
)
.
then
(
function
()
{
return
window
.
open
(
`
${
this
.
$store
.
getters
.
appPicApi
}
/excel/
${
res
.
msg
}
`
,
"
_blank
"
);
})
.
then
(()
=>
{
this
.
$modal
.
msgSuccess
(
"
导出成功
"
);
})
.
catch
(()
=>
{});
});
this
.
download
(
'
slope/plan/export/model
'
,
{
},
`checkplan_
${
new
Date
().
getTime
()}
.xlsx`
)
},
// exportExcl() {
// exportModel().then((res) => {
// this.$modal
// .confirm("是否确认导出?")
// .then(function () {
// return window.open(
// `${this.$store.getters.appPicApi}/excel/${res.msg}`,
// "_blank"
// );
// })
// .then(() => {
// this.$modal.msgSuccess("导出成功");
// })
// .catch(() => {});
// });
// },
onChange
(
e
)
{
this
.
formData
=
new
FormData
();
this
.
formData
.
append
(
"
file
"
,
e
.
raw
);
...
...
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