|
@@ -151,8 +151,8 @@
|
|
|
:sort-config="{remote:true}"
|
|
|
:export-config="{
|
|
|
remote: true,
|
|
|
- filename: `会计报销数据${moment(new Date()).format('YYYY-MM-DD')}`,
|
|
|
- sheetName: `会计报销数据${moment(new Date()).format('YYYY-MM-DD')}`,
|
|
|
+ filename: `业务操作报销数据${moment(new Date()).format('YYYY-MM-DD')}`,
|
|
|
+ sheetName: `业务操作报销数据${moment(new Date()).format('YYYY-MM-DD')}`,
|
|
|
exportMethod: exportMethod,
|
|
|
types: ['xlsx'],
|
|
|
modes: ['current', 'selected', 'all']
|
|
@@ -538,12 +538,12 @@
|
|
|
// 下载文档
|
|
|
exportFile () {
|
|
|
this.loading = true
|
|
|
- this.reimbursementApprovalService.exportFile({
|
|
|
+ this.reimbursementApprovalService.exportFile2({
|
|
|
'itemType': '1',
|
|
|
...this.searchForm
|
|
|
}).then((res) => {
|
|
|
// 将二进制流文件写入excel表,以下为重要步骤
|
|
|
- this.$utils.downloadExcel(res, '会计-报销审批列表信息')
|
|
|
+ this.$utils.downloadExcel(res, '业务操作报销列表信息')
|
|
|
this.loading = false
|
|
|
}).catch(function (err) {
|
|
|
this.loading = false
|
|
@@ -555,12 +555,12 @@
|
|
|
// 下载文档
|
|
|
exportInvoiceReimbursementFile () {
|
|
|
this.loading = true
|
|
|
- this.reimbursementApprovalService.exportInvoiceReimbursementFile({
|
|
|
+ this.reimbursementApprovalService.exportInvoiceReimbursementFile2({
|
|
|
'itemType': '1',
|
|
|
...this.searchForm
|
|
|
}).then((res) => {
|
|
|
// 将二进制流文件写入excel表,以下为重要步骤
|
|
|
- this.$utils.downloadExcel(res, '会计-报销数电发票报销列表')
|
|
|
+ this.$utils.downloadExcel(res, '业务操作报销列表')
|
|
|
this.loading = false
|
|
|
}).catch(function (err) {
|
|
|
this.loading = false
|
|
@@ -591,7 +591,7 @@
|
|
|
selectIds: options.mode === 'selected' ? options.map(item => item.id) : [],
|
|
|
exportFields: options.columns.map(column => column.property)
|
|
|
}
|
|
|
- return this.reimbursementApprovalService.exportFile(params).then((res) => {
|
|
|
+ return this.reimbursementApprovalService.exportFile2(params).then((res) => {
|
|
|
// 将二进制流文件写入excel表,以下为重要步骤
|
|
|
this.$utils.downloadExcel(res, options.filename)
|
|
|
}).catch(function (err) {
|