From 5b41c8896ef7850be2672e45b69bb58e149729ec Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期二, 01 十二月 2026 09:03:48 +0800
Subject: [PATCH] feat(货运统计): 完善台账核查与轨迹里程管理功能
---
traffic-audit-web/src/views/ReportExport.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/traffic-audit-web/src/views/ReportExport.vue b/traffic-audit-web/src/views/ReportExport.vue
index d689d3c..d3ddba7 100644
--- a/traffic-audit-web/src/views/ReportExport.vue
+++ b/traffic-audit-web/src/views/ReportExport.vue
@@ -10,6 +10,7 @@
<el-menu-item index="/explain">浼佷笟瑙i噴</el-menu-item>
<el-menu-item index="/audit">瀹℃牳缁撴灉</el-menu-item>
<el-menu-item index="/report">鎶ヨ〃鐢熸垚</el-menu-item>
+ <el-menu-item index="/ledger-audit">浜嬪悗鏍告煡</el-menu-item>
<el-submenu index="/special-stats">
<template slot="title">涓撻」缁熻</template>
<el-menu-item index="/holiday-stat">鑺傚亣鏃�</el-menu-item>
@@ -296,7 +297,8 @@
},
{
key: 'energy', title: '鑳借�楁姤琛�', items: [
- { key: 'energySummary', label: '鑳借繍姹囨�昏〃', fileName: '鐢熸垚_鑳借繍姹囨�昏〃.xlsx', status: null, statusNote: '' }
+ { key: 'energyQuarterSummary', label: '鑳借繍姹囨�昏〃锛堝搴︽眹鎬伙級', fileName: '鐢熸垚_{periodCN}鑳借繍姹囨�昏〃.xlsx', status: null, statusNote: '' },
+ { key: 'energyLeader', label: '鑳借�楁眹鎬昏〃锛堥瀵肩増锛�', fileName: '鐢熸垚_{periodCN}鑳借�楁眹鎬昏〃锛堥瀵肩増锛�.xlsx', status: null, statusNote: '' }
], checked: []
}
]
@@ -766,9 +768,12 @@
// 鏂囦欢鍚嶅崰浣嶇 X鏈� -> 褰撳墠鎶ヨ〃鏈熸湀浠斤紙濡傘�岀敓鎴恄X鏈堝杩愮珯鎶曡祫鏄庣粏琛�.xlsx銆�->銆岀敓鎴恄8鏈堝杩愮珯鎶曡祫鏄庣粏琛�.xlsx銆嶏級
fileNameOf(item) {
const name = (item && item.fileName) || ''
- const mm = parseInt((this.period || '').split('-')[1], 10)
+ const parts = (this.period || '').split('-')
+ const yyyy = parts[0]
+ const mm = parseInt(parts[1], 10)
if (!mm) return name
- return name.replace(/X鏈�/g, mm + '鏈�')
+ const periodCN = yyyy ? yyyy + '骞�' + mm + '鏈�' : ''
+ return name.replace(/\{periodCN\}/g, periodCN).replace(/X鏈�/g, mm + '鏈�')
},
downloadBlob(res, fileName) {
const isZip = /\.zip$/.test(fileName)
--
Gitblit v1.9.1