From d7fa9ce7b149964c68d441f8cce87442c99bf5cf Mon Sep 17 00:00:00 2001 From: mashuai Date: Fri, 7 Mar 2025 15:27:07 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E7=94=A8=E8=AE=B0=E5=BD=95=E5=AF=BC?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/businessHandlingRecord/index.vue | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/views/business/businessHandlingRecord/index.vue b/src/views/business/businessHandlingRecord/index.vue index a6d9fd86..87b24813 100644 --- a/src/views/business/businessHandlingRecord/index.vue +++ b/src/views/business/businessHandlingRecord/index.vue @@ -68,8 +68,8 @@ 待审核 - 审核中 - + 审核中 + 已完成 待提交 @@ -280,9 +280,9 @@ export default { }, // 考勤状态 statusOptions: [ - { label: '待审核', value: '1' }, - { label: '审核中', value: '2' }, - { label: '已完成', value: '3' } + { label: '待审核', value: '0' }, + { label: '审核中', value: '6' }, + { label: '已完成', value: '1' } ], total: 0, // 总条数 // 表头 @@ -387,7 +387,7 @@ export default { }) }, // 导出数据 - handleExport() { + /*handleExport() { try { let fileName = `数据_${new Date().getTime()}.xLsx` let url = '' @@ -397,6 +397,13 @@ export default { } catch (error) { console.log('导出数据失败', error) } + },*/ + handleExport() { + this.download( + "/material/leaseTask/exportLeaseRecord", + { ...this.queryParams }, + `领用记录数据_${new Date().getTime()}.xlsx` + ); }, // 打印 print() {