From 5fe06e834b5c17f1b1cc04954ca5a9bb1b209769 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Fri, 14 Mar 2025 16:00:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=95=86=E5=93=81=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/product/index.ts | 16 ++- src/views/mytemplate/index.vue | 1 - src/views/product/index.vue | 62 +++++----- src/views/product/indexconfig/Paging.vue | 24 ++++ src/views/product/indexconfig/Table.vue | 37 ++++++ src/views/product/indexconfig/TableFour.vue | 37 ++++++ src/views/product/indexconfig/TableThree.vue | 34 ++++++ src/views/product/indexconfig/TableTwo.vue | 34 ++++++ src/views/product/indexconfig/content.ts | 1 - src/views/product/indexconfig/statistics.vue | 121 +++++++++++++++++-- 10 files changed, 321 insertions(+), 46 deletions(-) create mode 100644 src/views/product/indexconfig/Paging.vue create mode 100644 src/views/product/indexconfig/Table.vue create mode 100644 src/views/product/indexconfig/TableFour.vue create mode 100644 src/views/product/indexconfig/TableThree.vue create mode 100644 src/views/product/indexconfig/TableTwo.vue diff --git a/src/api/product/index.ts b/src/api/product/index.ts index 22886b4..12ebdb4 100644 --- a/src/api/product/index.ts +++ b/src/api/product/index.ts @@ -56,7 +56,21 @@ const AuthAPI = { method: "get", }); }, - + // 统计 + statistics(params: object) { + return request({ + url: `${baseURL}/statistics`, + method: "get", + params + }); + }, + stockFlow(params: object) { + return request({ + url: `${baseURL}/stockFlow`, + method: "get", + params + }); + }, }; diff --git a/src/views/mytemplate/index.vue b/src/views/mytemplate/index.vue index 613f6b3..886fac6 100644 --- a/src/views/mytemplate/index.vue +++ b/src/views/mytemplate/index.vue @@ -1,5 +1,4 @@ @@ -97,4 +194,10 @@ async function getPage() { } } } + +.datastyle { + color: #4080ff !important; + cursor: pointer; + text-decoration: underline #4080ff; +} \ No newline at end of file