From cdc0d30244ae167b02ba2ab1779efdd25f9b46e2 Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 23 Sep 2021 16:29:11 +0800 Subject: [PATCH] workflowTrans --- hb_client/src/api/user.js | 8 ++ hb_client/src/views/workflow/customfield.vue | 7 +- hb_client/src/views/workflow/state.vue | 86 ++++++++++++++---- hb_client/src/views/workflow/ticket.vue | 92 +++++++++++++++++--- hb_client/src/views/workflow/transitions.vue | 10 ++- 5 files changed, 167 insertions(+), 36 deletions(-) diff --git a/hb_client/src/api/user.js b/hb_client/src/api/user.js index 8edf3ab..ac708c3 100644 --- a/hb_client/src/api/user.js +++ b/hb_client/src/api/user.js @@ -30,6 +30,14 @@ export function getUserList(query) { }) } +export function getOrganizationList(query) { + return request({ + url: '/system/organization/', + method: 'get', + params: query + }) +} + export function getUser(id) { return request({ url: `/system/user/${id}/`, diff --git a/hb_client/src/views/workflow/customfield.vue b/hb_client/src/views/workflow/customfield.vue index 76b154f..b9bda45 100644 --- a/hb_client/src/views/workflow/customfield.vue +++ b/hb_client/src/views/workflow/customfield.vue @@ -148,9 +148,10 @@ export default { hasJsonFlag:true, // json是否验证通过 hasJsonFlag1:true, // json是否验证通过 hasJsonFlag2:true, // json是否验证通过 - customfieldList: { - count:0 - }, + // customfieldList: { + // count:0 + // }, + customfieldList:[], options: [{ value: 'string', label: '文本' diff --git a/hb_client/src/views/workflow/state.vue b/hb_client/src/views/workflow/state.vue index e103b8c..8c7062c 100644 --- a/hb_client/src/views/workflow/state.vue +++ b/hb_client/src/views/workflow/state.vue @@ -76,7 +76,7 @@ @@ -113,8 +113,7 @@ - - + + + + + + + + + + + + + + + + + + +
取消 @@ -133,6 +150,7 @@