From a44abee2f654170dbeb915edfb0f9d6814bf92bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Fri, 5 Sep 2025 09:28:13 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=95=B0=E6=8D=AE=E5=A4=A7?= =?UTF-8?q?=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gear-ui3/src/assets/styles/element-ui.scss | 4 + gear-ui3/src/components/AllApplications.vue | 1 + .../views/dashboard/common/ChartRenderer.vue | 0 .../views/dashboard/common/ChartWrapper.vue | 0 .../components/CustomerFollowStatus.vue | 187 ++++++++ .../dashboard/components/OrderTrendChart.vue | 251 +++++++++++ .../dashboard/components/ProductSalesRank.vue | 203 +++++++++ .../components/ReturnExchangeAnalysis.vue | 223 ++++++++++ .../components/SalesByCustomerChart.vue | 204 +++++++++ .../components/SalesByManagerChart.vue | 195 ++++++++ gear-ui3/src/views/dashboard/grid/index.vue | 246 +++++++++++ gear-ui3/src/views/dashboard/grid/setting.vue | 416 ++++++++++++++++++ gear-ui3/src/views/dashboard/home.vue | 93 ++++ gear-ui3/src/views/dashboard/index.vue | 160 +++++-- gear-ui3/src/views/dashboard/layout.vue | 176 -------- gear-ui3/src/views/dashboard/layout/index.vue | 165 +++++++ 16 files changed, 2319 insertions(+), 205 deletions(-) create mode 100644 gear-ui3/src/views/dashboard/common/ChartRenderer.vue create mode 100644 gear-ui3/src/views/dashboard/common/ChartWrapper.vue create mode 100644 gear-ui3/src/views/dashboard/components/CustomerFollowStatus.vue create mode 100644 gear-ui3/src/views/dashboard/components/OrderTrendChart.vue create mode 100644 gear-ui3/src/views/dashboard/components/ProductSalesRank.vue create mode 100644 gear-ui3/src/views/dashboard/components/ReturnExchangeAnalysis.vue create mode 100644 gear-ui3/src/views/dashboard/components/SalesByCustomerChart.vue create mode 100644 gear-ui3/src/views/dashboard/components/SalesByManagerChart.vue create mode 100644 gear-ui3/src/views/dashboard/grid/index.vue create mode 100644 gear-ui3/src/views/dashboard/grid/setting.vue create mode 100644 gear-ui3/src/views/dashboard/home.vue delete mode 100644 gear-ui3/src/views/dashboard/layout.vue create mode 100644 gear-ui3/src/views/dashboard/layout/index.vue diff --git a/gear-ui3/src/assets/styles/element-ui.scss b/gear-ui3/src/assets/styles/element-ui.scss index 0f175f2..e6478e3 100644 --- a/gear-ui3/src/assets/styles/element-ui.scss +++ b/gear-ui3/src/assets/styles/element-ui.scss @@ -93,4 +93,8 @@ .el-dropdown .el-dropdown-link{ color: var(--el-color-primary) !important; +} + +.el-select-dropdown { + z-index: 9999 !important; /* 需大于全屏容器的z-index */ } \ No newline at end of file diff --git a/gear-ui3/src/components/AllApplications.vue b/gear-ui3/src/components/AllApplications.vue index c9e3ff4..6be0684 100644 --- a/gear-ui3/src/components/AllApplications.vue +++ b/gear-ui3/src/components/AllApplications.vue @@ -63,6 +63,7 @@ export default { computed: { filteredMenus() { const filterHidden = (menus) => { + console.log(menus) return menus .filter(menu => menu.hidden !== true) .map(menu => { diff --git a/gear-ui3/src/views/dashboard/common/ChartRenderer.vue b/gear-ui3/src/views/dashboard/common/ChartRenderer.vue new file mode 100644 index 0000000..e69de29 diff --git a/gear-ui3/src/views/dashboard/common/ChartWrapper.vue b/gear-ui3/src/views/dashboard/common/ChartWrapper.vue new file mode 100644 index 0000000..e69de29 diff --git a/gear-ui3/src/views/dashboard/components/CustomerFollowStatus.vue b/gear-ui3/src/views/dashboard/components/CustomerFollowStatus.vue new file mode 100644 index 0000000..b72120f --- /dev/null +++ b/gear-ui3/src/views/dashboard/components/CustomerFollowStatus.vue @@ -0,0 +1,187 @@ + + + + + \ No newline at end of file diff --git a/gear-ui3/src/views/dashboard/components/OrderTrendChart.vue b/gear-ui3/src/views/dashboard/components/OrderTrendChart.vue new file mode 100644 index 0000000..24a53f4 --- /dev/null +++ b/gear-ui3/src/views/dashboard/components/OrderTrendChart.vue @@ -0,0 +1,251 @@ + + + + + \ No newline at end of file diff --git a/gear-ui3/src/views/dashboard/components/ProductSalesRank.vue b/gear-ui3/src/views/dashboard/components/ProductSalesRank.vue new file mode 100644 index 0000000..5a7cfb4 --- /dev/null +++ b/gear-ui3/src/views/dashboard/components/ProductSalesRank.vue @@ -0,0 +1,203 @@ + + + + + \ No newline at end of file diff --git a/gear-ui3/src/views/dashboard/components/ReturnExchangeAnalysis.vue b/gear-ui3/src/views/dashboard/components/ReturnExchangeAnalysis.vue new file mode 100644 index 0000000..2809a07 --- /dev/null +++ b/gear-ui3/src/views/dashboard/components/ReturnExchangeAnalysis.vue @@ -0,0 +1,223 @@ + + + + + \ No newline at end of file diff --git a/gear-ui3/src/views/dashboard/components/SalesByCustomerChart.vue b/gear-ui3/src/views/dashboard/components/SalesByCustomerChart.vue new file mode 100644 index 0000000..d9324b5 --- /dev/null +++ b/gear-ui3/src/views/dashboard/components/SalesByCustomerChart.vue @@ -0,0 +1,204 @@ + + + + + \ No newline at end of file diff --git a/gear-ui3/src/views/dashboard/components/SalesByManagerChart.vue b/gear-ui3/src/views/dashboard/components/SalesByManagerChart.vue new file mode 100644 index 0000000..422b260 --- /dev/null +++ b/gear-ui3/src/views/dashboard/components/SalesByManagerChart.vue @@ -0,0 +1,195 @@ + + + + + \ No newline at end of file diff --git a/gear-ui3/src/views/dashboard/grid/index.vue b/gear-ui3/src/views/dashboard/grid/index.vue new file mode 100644 index 0000000..2d71a28 --- /dev/null +++ b/gear-ui3/src/views/dashboard/grid/index.vue @@ -0,0 +1,246 @@ + + + + + \ No newline at end of file diff --git a/gear-ui3/src/views/dashboard/grid/setting.vue b/gear-ui3/src/views/dashboard/grid/setting.vue new file mode 100644 index 0000000..83346f3 --- /dev/null +++ b/gear-ui3/src/views/dashboard/grid/setting.vue @@ -0,0 +1,416 @@ + + + + + diff --git a/gear-ui3/src/views/dashboard/home.vue b/gear-ui3/src/views/dashboard/home.vue new file mode 100644 index 0000000..b4f9cbc --- /dev/null +++ b/gear-ui3/src/views/dashboard/home.vue @@ -0,0 +1,93 @@ + + + \ No newline at end of file diff --git a/gear-ui3/src/views/dashboard/index.vue b/gear-ui3/src/views/dashboard/index.vue index 0d73d52..a063549 100644 --- a/gear-ui3/src/views/dashboard/index.vue +++ b/gear-ui3/src/views/dashboard/index.vue @@ -1,18 +1,37 @@ diff --git a/gear-ui3/src/views/dashboard/layout.vue b/gear-ui3/src/views/dashboard/layout.vue deleted file mode 100644 index 9088352..0000000 --- a/gear-ui3/src/views/dashboard/layout.vue +++ /dev/null @@ -1,176 +0,0 @@ - - - - - diff --git a/gear-ui3/src/views/dashboard/layout/index.vue b/gear-ui3/src/views/dashboard/layout/index.vue new file mode 100644 index 0000000..1f8b308 --- /dev/null +++ b/gear-ui3/src/views/dashboard/layout/index.vue @@ -0,0 +1,165 @@ + + + + + \ No newline at end of file