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/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 @@ - - 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..530915e --- /dev/null +++ b/src/views/hard/canteen-dept-total/components/dept-person-total-table.vue @@ -0,0 +1,255 @@ + + + + + \ 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..c020f68 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,52 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/views/hard/canteen-product-total/index.vue b/src/views/hard/canteen-product-total/index.vue index ae65468..06cbc4e 100644 --- a/src/views/hard/canteen-product-total/index.vue +++ b/src/views/hard/canteen-product-total/index.vue @@ -34,8 +34,8 @@ + :show-summary="true" row-class-name="success-row" @selection-change="selectionChangHandle" + @sort-change="sortChangeHandle" @expand-change="tableExpandChange"> @@ -43,9 +43,9 @@
+ :header-cell-style="tableStyle.headerCellStyle" row-class-name="warning-row"> - + - +