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 @@