Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bims
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
孙海亮
bims
Commits
1deb9512
Commit
1deb9512
authored
2 years ago
by
孙海亮
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'func_eccs_1939' into 'master'
账单查询页面增加导出功能 See merge request
!30
parents
802d1a54
378f5eee
master
ECCS-3108
test
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
1 deletion
+19
-1
charge-query.js
src/api/apis_moudles/charge-query.js
+1
-0
charge-query.js
src/api/funcs_modules/charge-query.js
+5
-1
index.vue
src/views/charge-query/index.vue
+13
-0
No files found.
src/api/apis_moudles/charge-query.js
View file @
1deb9512
...
...
@@ -15,4 +15,5 @@ export default {
receiptSettlement
:
"
/backstage/auth/receiptSettlement
"
,
//账单结算
sendReceipListExport
:
"
/backstage/auth/sendReceipListExport
"
,
//寄送关联账单导出
receiptPrint
:
"
/backstage/auth/receiptPrint
"
,
//账单打印
rceiptListReport
:
'
/backstage/auth/rceiptListReport
'
,
// 账单导出
};
This diff is collapsed.
Click to expand it.
src/api/funcs_modules/charge-query.js
View file @
1deb9512
...
...
@@ -61,7 +61,10 @@ const SENDRECEIPTLISTEXPORT= function (data) {
const
RECEIPTPRINT
=
function
(
data
)
{
return
req
.
post
(
apis
.
receiptPrint
,
data
);
};
// 账单导出报表
const
RceiptListReport
=
(
data
)
=>
{
return
req
.
post
(
apis
.
rceiptListReport
,
data
,
{
responseType
:
'
blob
'
});
};
// 对象数组
export
default
{
...
...
@@ -80,4 +83,5 @@ export default {
RECEIPTSETTLEMENT
,
SENDRECEIPTLISTEXPORT
,
RECEIPTPRINT
,
RceiptListReport
,
};
This diff is collapsed.
Click to expand it.
src/views/charge-query/index.vue
View file @
1deb9512
...
...
@@ -102,6 +102,9 @@
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"handlerSearch"
>
<Icon
name=
"ssisearch_active"
:size=
"14"
/>
查询
</a-button>
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"exportExcel"
>
<Icon
name=
"ssidaochu"
:size=
"14"
/>
导出
</a-button>
</a-form-model-item>
</a-col>
</a-row>
...
...
@@ -138,6 +141,7 @@
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
{
mapState
}
from
"
vuex
"
import
moment
from
"
moment
"
;
import
{
exportFile
}
from
'
@/utils/index
'
;
export
default
{
data
()
{
const
columns
=
[
...
...
@@ -295,6 +299,15 @@ export default {
addNewCharge
()
{
// this.$router.push("/customer/edit");
},
//导出报表
exportExcel
(){
let
filter
=
{
...
this
.
form
,
}
this
.
$apis
.
RceiptListReport
(
filter
).
then
(
res
=>
{
exportFile
(
res
,
'
账单报表.xls
'
);
})
}
},
};
</
script
>
...
...
This diff is collapsed.
Click to expand it.
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