diff --git a/src/api/product/index.ts b/src/api/product/index.ts index ae3d34c..e007f2d 100644 --- a/src/api/product/index.ts +++ b/src/api/product/index.ts @@ -72,7 +72,7 @@ const AuthAPI = { }); }, - // 耗材列表 + // 耗材列表分页 productcons(params: any) { return request({ url: `/product/admin/product/cons/page`, @@ -80,7 +80,14 @@ const AuthAPI = { params }); }, - + // 耗材列表 + productconsList(params: any) { + return request({ + url: `/product/admin/product/cons/list`, + method: "get", + params + }); + }, // 上下架 onOff(data: any) { return request({ diff --git a/src/views/product/index.vue b/src/views/product/index.vue index 3a0c791..688c2c7 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -2,14 +2,26 @@
- + - + - + @@ -121,16 +159,30 @@