Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3e08979b
authored
Jan 13, 2025
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
ADD
parent
06909778
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
src/views/billManagement/reconciledBill.vue
src/views/billManagement/reconciledBill.vue
View file @
3e08979b
...
...
@@ -20,7 +20,13 @@
<!--操作区-->
<div
class=
"operation-area row verCenter bothSide"
>
<div
class=
"operation-button row verCenter"
>
<el-button
type=
"primary"
@
click=
"exportVerifiedBill()"
>
导出账单
</el-button>
<el-dropdown
@
command=
"handleCommand"
>
<el-button
type=
"primary"
>
导出账单
</el-button>
<el-dropdown-menu>
<el-dropdown-item
command=
"1"
>
导出PDF
</el-dropdown-item>
<el-dropdown-item
command=
"2"
>
导出EXCEL
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
</div>
<!--列表区-->
...
...
@@ -118,6 +124,14 @@ export default {
});
},
/**
* 操作按钮监听
*/
handleCommand
(
command
)
{
let
bill_id
=
this
.
multipleSelection
.
map
(
item
=>
item
.
bill_id
).
join
(
','
);
let
url
=
NODE_ENVS
+
'/api/bill/exportVerifiedBill?bill_id='
+
bill_id
+
'&token='
+
Tool
.
getCookie
(
'token'
)
+
'&type='
+
command
;
Tool
.
openNewWindow
(
url
);
},
/**
* 搜索
*/
onSubmit
()
{
...
...
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