From 50113c1dca6f47be30f38840cf8d3e31b14d2585 Mon Sep 17 00:00:00 2001
From: xiaofajia <1665375861@qq.com>
Date: Fri, 1 Nov 2024 20:21:34 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=B7=A5=E5=8D=95=E5=92=8C?=
=?UTF-8?q?=E5=88=A0=E9=99=A4=E5=B7=A5=E5=8D=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/repair/tickets/Tickets.js | 8 ++++++
.../tickets/Components/TicketManagerItem.vue | 26 +++++++++++++++++--
.../repair/tickets/Components/TicketTable.vue | 16 +++++++++++-
3 files changed, 47 insertions(+), 3 deletions(-)
diff --git a/src/api/repair/tickets/Tickets.js b/src/api/repair/tickets/Tickets.js
index aa11095..6c2b6fd 100644
--- a/src/api/repair/tickets/Tickets.js
+++ b/src/api/repair/tickets/Tickets.js
@@ -167,3 +167,11 @@ export function updateTicket(data){
data
})
}
+
+// 删除工单
+export function removeTicketById(id){
+ return request({
+ url: preUrl + "/remove?id=" + id,
+ method: 'delete'
+ })
+}
diff --git a/src/views/repair/tickets/Components/TicketManagerItem.vue b/src/views/repair/tickets/Components/TicketManagerItem.vue
index 83bf12b..6d9a308 100644
--- a/src/views/repair/tickets/Components/TicketManagerItem.vue
+++ b/src/views/repair/tickets/Components/TicketManagerItem.vue
@@ -44,6 +44,12 @@
查看
+
+ 编辑工单
+
+
+ 删除
+
维修记录设置
@@ -151,11 +157,12 @@
+
diff --git a/src/views/repair/tickets/Components/TicketTable.vue b/src/views/repair/tickets/Components/TicketTable.vue
index e241b6d..642d81d 100644
--- a/src/views/repair/tickets/Components/TicketTable.vue
+++ b/src/views/repair/tickets/Components/TicketTable.vue
@@ -122,6 +122,9 @@
编辑工单
+
+ 删除
+
@@ -178,7 +181,7 @@