Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-web
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
刘怀志
pet-business-web
Commits
2d93723b
Commit
2d93723b
authored
Jun 24, 2023
by
盖献康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检查管理-导出
parent
97533e2f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
medical-record-management.vue
...t/medical-record-management/medical-record-management.vue
+14
-3
No files found.
src/views/service-management/medical-record-management/medical-record-management.vue
View file @
2d93723b
...
...
@@ -75,6 +75,7 @@
class=
"fourWordsBtn"
icon=
"el-icon-delete"
size=
"mini"
@
click=
"handleExport()"
>
批量导出
</el-button>
<el-button
class=
"fourWordsBtn"
...
...
@@ -616,9 +617,19 @@ export default {
}
,
/** 导出按钮操作 */
handleExport
()
{
this
.
download
(
'business/manage/export'
,
{
...
this
.
queryParams
}
,
`manage_${new Date().getTime()
}
.xlsx`
)
// this.download('business/manage/export',
{
// ...this.queryParams
//
}
,
`manage_${new Date().getTime()
}
.xlsx`
)
if
(
this
.
ids
.
length
!==
0
)
{
const
exportTable
=
{
}
exportTable
.
treatIds
=
this
.
ids
this
.
download
(
'business/check/export'
,
exportTable
,
`manage_${new Date().getTime()
}
.xlsx`
).
then
(
res
=>
{
this
.
$refs
.
table
.
clearSelection
()
}
)
}
else
{
this
.
$modal
.
msgError
(
'请选择至少一条数据导出'
)
return
}
}
}
}
...
...
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