From 0f3622de4bb93b017a575fd7e416dc9cf4564c9c Mon Sep 17 00:00:00 2001 From: ljx <864490211@qq.com> Date: Fri, 31 May 2024 16:51:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=9B=BE=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/statistics/myStatistics.vue | 55 +++++++++++++- .../BaseWorkplace/DriverWage/statistics.vue | 31 ++++++++ .../OliConsumption/statistics.vue | 35 +++++++++ .../Middle/BaseWorkplace/Truck/statistics.vue | 39 ++++++++++ .../BaseWorkplace/custom/statistics.vue | 1 - .../BaseWorkplace/maintenance/statistics.vue | 50 +++++++++++++ .../Middle/BaseWorkplace/tire/statistics.vue | 33 +++++++++ .../BaseWorkplace/trainNumber/statistics.vue | 31 ++++++++ .../Middle/Base/BaseWorkplace/router.map.js | 72 +++++++++++++++++++ 9 files changed, 345 insertions(+), 2 deletions(-) create mode 100644 src/pages/Middle/BaseWorkplace/DriverWage/statistics.vue create mode 100644 src/pages/Middle/BaseWorkplace/OliConsumption/statistics.vue create mode 100644 src/pages/Middle/BaseWorkplace/Truck/statistics.vue create mode 100644 src/pages/Middle/BaseWorkplace/maintenance/statistics.vue create mode 100644 src/pages/Middle/BaseWorkplace/tire/statistics.vue create mode 100644 src/pages/Middle/BaseWorkplace/trainNumber/statistics.vue diff --git a/src/components/statistics/myStatistics.vue b/src/components/statistics/myStatistics.vue index e7ad67b..4a0d111 100644 --- a/src/components/statistics/myStatistics.vue +++ b/src/components/statistics/myStatistics.vue @@ -1,6 +1,6 @@ + \ No newline at end of file diff --git a/src/pages/Middle/BaseWorkplace/tire/statistics.vue b/src/pages/Middle/BaseWorkplace/tire/statistics.vue new file mode 100644 index 0000000..943534a --- /dev/null +++ b/src/pages/Middle/BaseWorkplace/tire/statistics.vue @@ -0,0 +1,33 @@ + + + \ No newline at end of file diff --git a/src/pages/Middle/BaseWorkplace/trainNumber/statistics.vue b/src/pages/Middle/BaseWorkplace/trainNumber/statistics.vue new file mode 100644 index 0000000..d0d489f --- /dev/null +++ b/src/pages/Middle/BaseWorkplace/trainNumber/statistics.vue @@ -0,0 +1,31 @@ + + + \ No newline at end of file diff --git a/src/router/Middle/Base/BaseWorkplace/router.map.js b/src/router/Middle/Base/BaseWorkplace/router.map.js index 9002e00..6bf3f6f 100644 --- a/src/router/Middle/Base/BaseWorkplace/router.map.js +++ b/src/router/Middle/Base/BaseWorkplace/router.map.js @@ -40,6 +40,78 @@ const BaseWorkplaceRouterMap = { permission: ["BaseWorkplace", "BaseWorkplace-All", "BaseWorkplace-List"], } }, + BaseWorkplaceTrainNumberStat: { + name: '车次统计', + icon: 'idcard', + path: '/BaseWorkplace/TrainNumberStat', + meta: { + invisible: false, // 不在菜单中显示 + }, + component: () => import('@/pages/Middle/BaseWorkplace/trainNumber/statistics'), + authority: { + permission: ["BaseWorkplace", "BaseWorkplace-All", "BaseWorkplace-List"], + } + }, + BaseWorkplaceDriverWagesStat: { + name: '司机/工资统计', + icon: 'idcard', + path: '/BaseWorkplace/BaseWorkplaceDriverWagesStat', + meta: { + invisible: false, // 不在菜单中显示 + }, + component: () => import('@/pages/Middle/BaseWorkplace/DriverWage/statistics'), + authority: { + permission: ["BaseWorkplace", "BaseWorkplace-All", "BaseWorkplace-List"], + } + }, + BaseWorkplaceMaintenanceStat: { + name: '维修/费用统计', + icon: 'idcard', + path: '/BaseWorkplace/BaseWorkplaceMaintenanceStat', + meta: { + invisible: false, // 不在菜单中显示 + }, + component: () => import('@/pages/Middle/BaseWorkplace/maintenance/statistics'), + authority: { + permission: ["BaseWorkplace", "BaseWorkplace-All", "BaseWorkplace-List"], + } + }, + BaseWorkplaceOilConsumptionStat: { + name: '油耗统计', + icon: 'idcard', + path: '/BaseWorkplace/BaseWorkplaceOilConsumptionStat', + meta: { + invisible: false, // 不在菜单中显示 + }, + component: () => import('@/pages/Middle/BaseWorkplace/OliConsumption/statistics'), + authority: { + permission: ["BaseWorkplace", "BaseWorkplace-All", "BaseWorkplace-List"], + } + }, + BaseWorkplaceTireStat: { + name: '油耗统计', + icon: 'idcard', + path: '/BaseWorkplace/BaseWorkplaceTireStat', + meta: { + invisible: false, // 不在菜单中显示 + }, + component: () => import('@/pages/Middle/BaseWorkplace/tire/statistics'), + authority: { + permission: ["BaseWorkplace", "BaseWorkplace-All", "BaseWorkplace-List"], + } + }, + BaseWorkplaceTruckStat: { + name: '车辆数据统计', + icon: 'idcard', + path: '/BaseWorkplace/BaseWorkplaceTruckStat', + meta: { + invisible: false, // 不在菜单中显示 + }, + component: () => import('@/pages/Middle/BaseWorkplace/Truck/statistics'), + authority: { + permission: ["BaseWorkplace", "BaseWorkplace-All", "BaseWorkplace-List"], + } + }, } export default BaseWorkplaceRouterMap \ No newline at end of file