From f56ec9e7ac1af3c942253a2ae2720d9f9cc1894d Mon Sep 17 00:00:00 2001 From: weiwei Date: Sat, 2 Aug 2025 14:45:14 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B4=A7=E5=95=86?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Select/SelectSupermarketSupplier.vue | 205 ++++-------------- 1 file changed, 45 insertions(+), 160 deletions(-) diff --git a/src/components/Select/SelectSupermarketSupplier.vue b/src/components/Select/SelectSupermarketSupplier.vue index dba3e01..811408a 100644 --- a/src/components/Select/SelectSupermarketSupplier.vue +++ b/src/components/Select/SelectSupermarketSupplier.vue @@ -1,201 +1,86 @@ - - From 0cc734a724e0e9d02aebf9f6b4d350f005e11c99 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Sat, 2 Aug 2025 15:19:44 +0800 Subject: [PATCH 2/7] =?UTF-8?q?feat:=E9=A3=9F=E5=A0=82=E8=8F=9C=E5=93=81?= =?UTF-8?q?=E9=83=A8=E9=97=A8=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/hard/hard-total.ts | 11 + .../components/dept-person-total-table.vue | 249 ++++++++++++++++++ .../components/dept-total-table.vue | 87 ------ src/views/hard/canteen-dept-total/index.vue | 215 +++++++++++---- src/views/hard/hard-order/index.vue | 5 +- 5 files changed, 432 insertions(+), 135 deletions(-) create mode 100644 src/views/hard/canteen-dept-total/components/dept-person-total-table.vue delete mode 100644 src/views/hard/canteen-dept-total/components/dept-total-table.vue diff --git a/src/api/hard/hard-total.ts b/src/api/hard/hard-total.ts index 446b620..d220d72 100644 --- a/src/api/hard/hard-total.ts +++ b/src/api/hard/hard-total.ts @@ -1,5 +1,16 @@ import request from "/@/utils/request" +/** + * 食堂菜品购买部门统计 + */ +export function listByDept(query: any) { + return request({ + url: "/hard/hard-canteen-total-dept/list-by-dept", + method: "post", + data: query, + }) +} + /** * 根据部门 食堂菜品购买统计 */ diff --git a/src/views/hard/canteen-dept-total/components/dept-person-total-table.vue b/src/views/hard/canteen-dept-total/components/dept-person-total-table.vue new file mode 100644 index 0000000..6a2cf14 --- /dev/null +++ b/src/views/hard/canteen-dept-total/components/dept-person-total-table.vue @@ -0,0 +1,249 @@ + + + + + \ No newline at end of file diff --git a/src/views/hard/canteen-dept-total/components/dept-total-table.vue b/src/views/hard/canteen-dept-total/components/dept-total-table.vue deleted file mode 100644 index d71e71d..0000000 --- a/src/views/hard/canteen-dept-total/components/dept-total-table.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/hard/canteen-dept-total/index.vue b/src/views/hard/canteen-dept-total/index.vue index da15848..d5c28c3 100644 --- a/src/views/hard/canteen-dept-total/index.vue +++ b/src/views/hard/canteen-dept-total/index.vue @@ -1,37 +1,115 @@ @@ -39,26 +117,47 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/views/hard/hard-order/index.vue b/src/views/hard/hard-order/index.vue index 00e9077..8f90c58 100644 --- a/src/views/hard/hard-order/index.vue +++ b/src/views/hard/hard-order/index.vue @@ -7,8 +7,8 @@ -