diff --git a/src/api/product/cons.ts b/src/api/product/cons.ts index 8261110..d271800 100644 --- a/src/api/product/cons.ts +++ b/src/api/product/cons.ts @@ -63,6 +63,14 @@ const Api = { method: "post", }); }, + // 统计 + statistics(params: any) { + return request({ + url: `${baseURL}/statistics`, + method: "get", + params + }); + }, }; diff --git a/src/components/CURD/PageContent.vue b/src/components/CURD/PageContent.vue index 59a4f6a..1af79c3 100644 --- a/src/components/CURD/PageContent.vue +++ b/src/components/CURD/PageContent.vue @@ -8,37 +8,58 @@ @@ -67,36 +88,68 @@ - + @@ -191,15 +263,21 @@