From 35ab5f1c791963aa9f970a6a8d730fd4732daf56 Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 8 Oct 2021 08:39:16 +0800 Subject: [PATCH] workflowRefresh --- hb_client/src/api/workflow.js | 8 + hb_client/src/views/workflow/state.vue | 61 +++- hb_client/src/views/workflow/ticket.vue | 435 ++++++++++++++++-------- 3 files changed, 363 insertions(+), 141 deletions(-) diff --git a/hb_client/src/api/workflow.js b/hb_client/src/api/workflow.js index 5fd2b05..0b11d69 100644 --- a/hb_client/src/api/workflow.js +++ b/hb_client/src/api/workflow.js @@ -154,6 +154,14 @@ export function createTicket(data) { data }) } +//接单 +export function ticketAccpet(id,data) { + return request({ + url: `/wf/ticket/${id}/accpet/`, + method: 'post', + data + }) +} //工单详情 export function getTicketDetail(id) { return request({ diff --git a/hb_client/src/views/workflow/state.vue b/hb_client/src/views/workflow/state.vue index 7895dca..6c12777 100644 --- a/hb_client/src/views/workflow/state.vue +++ b/hb_client/src/views/workflow/state.vue @@ -148,6 +148,28 @@ + + 添加修改 + + + + + + + + + + + + + + + + + + + +
取消 @@ -157,7 +179,7 @@
+ +