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 @@