From 4aa9d95877ced8ea42f7a8e8fc1e1df754319a83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B2=B3=E5=B9=B3?= <14767849+liuehping@user.noreply.gitee.com> Date: Sat, 16 Nov 2024 09:12:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E5=9C=A8?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E7=9A=84=E6=97=B6=E5=80=99=EF=BC=8C=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E6=9F=A5=E8=AF=A2=E4=B8=80=E4=B8=AA=E5=95=86=E5=93=81?= =?UTF-8?q?=E7=9A=84=E4=BF=A1=E6=81=AF=EF=BC=8C=E7=84=B6=E5=90=8E=E5=A6=82?= =?UTF-8?q?=E6=9E=9C=E6=9C=89=E5=85=B3=E8=81=94=EF=BC=8C=E5=88=99=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=92=8C=E4=BF=AE=E6=94=B9=E7=BD=AE=E7=81=B0/?= =?UTF-8?q?=E7=A6=81=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/product/rule.js | 7 +++++ src/views/product/rule/index.vue | 54 +++++++++++++++++++++----------- 2 files changed, 43 insertions(+), 18 deletions(-) diff --git a/src/api/product/rule.js b/src/api/product/rule.js index b38aed1..152995f 100644 --- a/src/api/product/rule.js +++ b/src/api/product/rule.js @@ -50,3 +50,10 @@ export function changeStatus(data) { data: data }) } + +export function have(id){ + return request({ + url:"/product/rule/have?id="+id, + method:"get" + }) +} diff --git a/src/views/product/rule/index.vue b/src/views/product/rule/index.vue index 18431f6..889d6c7 100644 --- a/src/views/product/rule/index.vue +++ b/src/views/product/rule/index.vue @@ -90,7 +90,7 @@ -