diff --git a/src/api/repair/tickets/Tickets.js b/src/api/repair/tickets/Tickets.js index 148a618..90f8b3e 100644 --- a/src/api/repair/tickets/Tickets.js +++ b/src/api/repair/tickets/Tickets.js @@ -97,3 +97,12 @@ export function updateRepair(data){ data }) } + +// 更新工单状态 +export function updateStatus(data){ + return request({ + url: preUrl + "/updateStatus", + method: "post", + data + }) +} diff --git a/src/api/repair/tickets/TicketsItem.js b/src/api/repair/tickets/TicketsItem.js index 543ea86..5d6ae96 100644 --- a/src/api/repair/tickets/TicketsItem.js +++ b/src/api/repair/tickets/TicketsItem.js @@ -1 +1,20 @@ import request from '@/utils/request' + +const preUrl = '/repair/titem' + +// 维修工单子表 分页 +export function getTItemPage(params){ + return request({ + url: preUrl + "/page", + method: 'get', + params + }) +} + +// 获取当前操作人操作的工单中的项目 +export function getProjectList(ticketId){ + return request({ + url: preUrl + "/listProject?ticketId=" + ticketId, + method: 'get' + }) +} diff --git a/src/views/repair/tickets/Components/TicketManagerItem.vue b/src/views/repair/tickets/Components/TicketManagerItem.vue index 65daed4..185a7ab 100644 --- a/src/views/repair/tickets/Components/TicketManagerItem.vue +++ b/src/views/repair/tickets/Components/TicketManagerItem.vue @@ -50,6 +50,15 @@ 通知施工 + + 过程记录 + + + 开始施工 + + + 施工完成 + 更多 @@ -77,6 +86,7 @@ +
- + +