From e5cdf0a3dc84d0874ae4bebd02d93398fedae9f9 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Mon, 30 Mar 2026 16:09:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=80=97=E6=9D=90=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=8D=E5=85=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/product/index.ts | 11 +++- src/views/product/index.vue | 113 +++++++++++++++++++++++++++--------- 2 files changed, 95 insertions(+), 29 deletions(-) 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 @@