diff --git a/src/api/repair/tickets/Tickets.js b/src/api/repair/tickets/Tickets.js index b538e44..f21fef6 100644 --- a/src/api/repair/tickets/Tickets.js +++ b/src/api/repair/tickets/Tickets.js @@ -46,6 +46,15 @@ export function setTicketsPaid(data){ }) } + +export function print(id) { + return request({ + url: preUrl + "/print/" + id, + method: 'get' + + }) +} + // 新增客户、车辆信息 export function updateCustomerAndCar(data){ return request({ diff --git a/src/views/repair/tickets/Components/TicketTable.vue b/src/views/repair/tickets/Components/TicketTable.vue index a0ae1c3..1396a1c 100644 --- a/src/views/repair/tickets/Components/TicketTable.vue +++ b/src/views/repair/tickets/Components/TicketTable.vue @@ -99,7 +99,7 @@ - + @@ -145,7 +149,7 @@