From 3be9aa5c144d2dfe5403fb0249cc66b4500bd8a6 Mon Sep 17 00:00:00 2001 From: "pikachu1995@126.com" Date: Mon, 20 Jul 2026 15:31:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(statistics):=20=E6=B7=BB=E5=8A=A0=E5=BA=97?= =?UTF-8?q?=E9=93=BA=E4=B8=9A=E7=BB=A9=E3=80=81=E5=95=86=E5=93=81=E5=90=8C?= =?UTF-8?q?=E6=AF=94=E7=8E=AF=E6=AF=94=E3=80=81=E9=94=80=E5=94=AE=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E6=98=8E=E7=BB=86=E5=8F=8A=E5=95=86=E5=93=81=E9=94=80?= =?UTF-8?q?=E5=94=AE=E6=B1=87=E6=80=BB=E6=8A=A5=E8=A1=A8=E8=A7=86=E5=9B=BE?= =?UTF-8?q?=E5=92=8C=E7=9B=B8=E5=85=B3=20API=20=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/public/index.html | 2 +- buyer/vue.config.js | 1 + im/vue.config.js | 2 +- manager/public/index.html | 4 +- manager/src/api/statistics.js | 36 +++ manager/src/components/editor/config.js | 2 +- manager/src/router/router.js | 28 ++ manager/src/views/statistics/data-report.vue | 161 ++++++++++ .../src/views/statistics/goods-comparison.vue | 287 ++++++++++++++++++ .../views/statistics/goods-sales-summary.vue | 160 ++++++++++ .../views/statistics/sales-order-detail.vue | 165 ++++++++++ .../views/statistics/store-performance.vue | 185 +++++++++++ manager/vue.config.js | 1 + seller/public/index.html | 4 +- seller/src/api/statistics.js | 33 ++ seller/src/libs/routerJson.js | 9 + seller/src/router/router.js | 28 ++ .../views/lili-components/editor/config.js | 2 +- seller/src/views/statistics/data-report.vue | 161 ++++++++++ .../src/views/statistics/goods-comparison.vue | 276 +++++++++++++++++ .../views/statistics/goods-sales-summary.vue | 147 +++++++++ .../views/statistics/sales-order-detail.vue | 151 +++++++++ .../views/statistics/store-performance.vue | 172 +++++++++++ seller/vue.config.js | 1 + 24 files changed, 2010 insertions(+), 8 deletions(-) create mode 100644 manager/src/views/statistics/data-report.vue create mode 100644 manager/src/views/statistics/goods-comparison.vue create mode 100644 manager/src/views/statistics/goods-sales-summary.vue create mode 100644 manager/src/views/statistics/sales-order-detail.vue create mode 100644 manager/src/views/statistics/store-performance.vue create mode 100644 seller/src/views/statistics/data-report.vue create mode 100644 seller/src/views/statistics/goods-comparison.vue create mode 100644 seller/src/views/statistics/goods-sales-summary.vue create mode 100644 seller/src/views/statistics/sales-order-detail.vue create mode 100644 seller/src/views/statistics/store-performance.vue diff --git a/buyer/public/index.html b/buyer/public/index.html index 1a632be6..99ba65cc 100644 --- a/buyer/public/index.html +++ b/buyer/public/index.html @@ -9,7 +9,7 @@ <%= htmlWebpackPlugin.options.title %> - + diff --git a/buyer/vue.config.js b/buyer/vue.config.js index 196d993f..8f937f61 100644 --- a/buyer/vue.config.js +++ b/buyer/vue.config.js @@ -6,6 +6,7 @@ const resolve = (dir) => path.join(__dirname, dir); const enableProduction = process.env.NODE_ENV === "production"; module.exports = { + publicPath: process.env.VUE_APP_PUBLIC_PATH || "/", outputDir: "dist", assetsDir: "static", css: { diff --git a/im/vue.config.js b/im/vue.config.js index 4e91e9d6..8c7b5faa 100644 --- a/im/vue.config.js +++ b/im/vue.config.js @@ -12,7 +12,7 @@ function resolve(dir) { // vue.config.js const vueConfig = { // 公共路径(必须有的) - publicPath: '/', + publicPath: process.env.VUE_APP_PUBLIC_PATH || '/', // 输出文件目录 outputDir: 'dist', // 静态资源存放的文件夹(相对于ouputDir) diff --git a/manager/public/index.html b/manager/public/index.html index 671140da..bb773a6e 100644 --- a/manager/public/index.html +++ b/manager/public/index.html @@ -72,8 +72,8 @@ <% for(var js of htmlWebpackPlugin.options.cdn.js) { %> <% } %> - - + +