From a0b71dba79b79c1610369693f4e3cdb60807f74f Mon Sep 17 00:00:00 2001 From: Lei OT Date: Wed, 12 Feb 2025 16:39:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20GH=E4=BE=8B=E4=BC=9A=E6=95=B0=E6=8D=AE,?= =?UTF-8?q?=202025=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.jsx | 25 +- src/components/Data.jsx | 2 +- src/libs/ht.js | 2 +- src/stores/Index.js | 4 +- .../{MeetingData.js => MeetingData2024.js} | 2 +- src/stores/MeetingData2025.js | 474 ++++++++++++++++++ src/views/Meeting2025-GH.jsx | 134 +++++ src/views/Sale.jsx | 4 + 8 files changed, 637 insertions(+), 10 deletions(-) rename src/stores/{MeetingData.js => MeetingData2024.js} (98%) create mode 100644 src/stores/MeetingData2025.js create mode 100644 src/views/Meeting2025-GH.jsx diff --git a/src/App.jsx b/src/App.jsx index 4a04b1c..9e22aee 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -14,7 +14,7 @@ import { FlagOutlined, PieChartOutlined, BarChartOutlined, - CoffeeOutlined, + CoffeeOutlined, DesktopOutlined } from '@ant-design/icons'; import { Layout, Menu, Image, Badge, Button } from 'antd'; import { BrowserRouter, Route, Routes, NavLink } from 'react-router-dom'; @@ -46,6 +46,7 @@ import ServicePersonNum from './views/ServicePersonNum'; import DataPivot from './views/DataPivot'; import Welcome from './views/Welcome'; import Meeting2024GH from './views/Meeting2024-GH'; +import Meeting2025GH from './views/Meeting2025-GH'; import SalesCustomerCareRegular from './views/SalesCustomerCareRegular'; import { stores_Context, APP_VERSION } from './config'; import { WaterMark } from '@ant-design/pro-components'; @@ -58,7 +59,22 @@ const App = () => { const menu_items = [ { key: 1, label: 欢迎, icon: }, - { key: 'annual', label: 综合看板, icon: }, + { key: 'annual', label: 综合年度, icon: }, + { + key: 'mixed', + label: '报告', + icon: , + children: [ + { + key: 'meeting-2025-GH', + label: GH例会数据-2025, // GH例会数据-2024 + }, + { + key: 'meeting-2024-GH', + label: GH区域数据, // GH例会数据-2024 + }, + ] + }, { key: 2, label: '市场', @@ -78,10 +94,6 @@ const App = () => { key: 'orders-pivot', label: 数据透视, }, - { - key: 'meeting-2024-GH', - label: 例会数据2024-GH, - }, ], }, { @@ -218,6 +230,7 @@ const App = () => { } /> } /> } /> + } /> }> } /> diff --git a/src/components/Data.jsx b/src/components/Data.jsx index d067a63..7b433f0 100644 --- a/src/components/Data.jsx +++ b/src/components/Data.jsx @@ -81,7 +81,7 @@ export const TableExportBtn = (props) => { }; return ( -