From 5e9f38f4b1807f862d11a4979efac672724fd5ef Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期三, 11 十一月 2026 20:08:01 +0800
Subject: [PATCH] feat(补贴审核): 新增补贴材料读取与OCR识别组件
---
traffic-audit-web/src/views/ExplainReview.vue | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/traffic-audit-web/src/views/ExplainReview.vue b/traffic-audit-web/src/views/ExplainReview.vue
index f622ecc..f0eba3c 100644
--- a/traffic-audit-web/src/views/ExplainReview.vue
+++ b/traffic-audit-web/src/views/ExplainReview.vue
@@ -10,9 +10,14 @@
<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-submenu index="/special-stats">
+ <template slot="title">涓撻」缁熻</template>
+ <el-menu-item index="/holiday-stat">鑺傚亣鏃�</el-menu-item>
+ </el-submenu>
<el-menu-item index="/rules">瑙勫垯绠$悊</el-menu-item>
<el-menu-item index="/users">鐢ㄦ埛绠$悊</el-menu-item>
-</el-menu>
+ <el-menu-item v-if="operatorIsAdmin" index="/system-config">绯荤粺閰嶇疆</el-menu-item>
+ </el-menu>
</el-aside>
<el-main>
<h3>浼佷笟瑙i噴</h3>
@@ -26,7 +31,9 @@
</el-select>
</el-form-item>
<el-form-item label="鎶ヨ〃鏈�">
- <el-date-picker v-model="period" type="month" placeholder="鍏ㄩ儴" value-format="yyyy-MM" clearable style="width:140px" @change="loadData"></el-date-picker>
+ <el-date-picker v-model="period" type="month" placeholder="鍏ㄩ儴" value-format="yyyy-MM" clearable style="width:140px"
+ :picker-options="periodPickerOptions" @change="loadData"></el-date-picker>
+ <span v-if="periodHint" class="period-hint">{{ periodHint }}</span>
</el-form-item>
<el-form-item :label="keywordLabel">
<el-input v-model="keyword" :placeholder="keywordPlaceholder" clearable style="width:220px" @keyup.enter.native="loadData"></el-input>
@@ -73,6 +80,7 @@
<script>
import AppHeader from '@/components/AppHeader.vue'
import api from '@/api'
+import { granularityOfReportType, disabledDateFor, granularityHint } from '@/utils/periodGranularity'
import AiChatDialog from '@/components/AiChatDialog'
const COLS = {
H2032: [
@@ -139,6 +147,12 @@
}
},
computed: {
+ periodGranularity() { return granularityOfReportType(this.reportType) },
+ periodPickerOptions() {
+ const d = disabledDateFor(this.periodGranularity)
+ return d ? { disabledDate: d } : {}
+ },
+ periodHint() { return granularityHint(this.periodGranularity) },
columns() { return COLS[this.reportType] || COLS.H2032 },
keywordLabel() { return this.reportType === 'CITY_TAXI' ? '甯傚窞鍚嶇О' : '浼佷笟鍚嶇О' },
keywordPlaceholder() { return this.reportType === 'CITY_TAXI' ? '杈撳叆甯傚窞鍚嶇О鍏抽敭瀛�' : '杈撳叆浼佷笟鍚嶇О鍏抽敭瀛�' }
--
Gitblit v1.9.1