From 9671d9d4f8ce621d8eb88de8feb6861f6ce77d2e Mon Sep 17 00:00:00 2001 From: pengwei Date: Fri, 31 Oct 2025 15:45:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=BB=B4=E6=9D=83=E6=8A=9A=E6=85=B0?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 5 +++++ src/api/rightsComfort/rights.ts | 10 +++++++++- src/views/rightsComfort/Rights.vue | 6 ++++-- src/views/rightsComfort/Supervision.vue | 6 +++++- 4 files changed, 23 insertions(+), 4 deletions(-) diff --git a/src/App.vue b/src/App.vue index 7845a20..248c7d1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -12,3 +12,8 @@ const elConfig = { }; + diff --git a/src/api/rightsComfort/rights.ts b/src/api/rightsComfort/rights.ts index e43d637..faa850a 100644 --- a/src/api/rightsComfort/rights.ts +++ b/src/api/rightsComfort/rights.ts @@ -6,4 +6,12 @@ export function listRights(query) { url: `/rights`, query: query }); -} \ No newline at end of file +} + + +export function delRights(id){ + return request.del({ + url:`/rights/${id}` + }) +} + diff --git a/src/views/rightsComfort/Rights.vue b/src/views/rightsComfort/Rights.vue index d4ebcf7..d5e88cc 100644 --- a/src/views/rightsComfort/Rights.vue +++ b/src/views/rightsComfort/Rights.vue @@ -144,7 +144,7 @@