diff --git a/src/api/workflow/definition/index.ts b/src/api/workflow/definition/index.ts index 3a2ed4b..49e6ee8 100644 --- a/src/api/workflow/definition/index.ts +++ b/src/api/workflow/definition/index.ts @@ -16,14 +16,15 @@ export const listDefinition = (query: FlowDefinitionQuery): AxiosPromise { +export const unPublishList = (query: FlowDefinitionQuery): AxiosPromise => { return request({ - url: `/workflow/definition/getHisListByKey/${flowCode}`, - method: 'get' + url: `/workflow/definition/unPublishList`, + method: 'get', + params: query }); }; diff --git a/src/views/workflow/processDefinition/index.vue b/src/views/workflow/processDefinition/index.vue index aed791e..619dbb7 100644 --- a/src/views/workflow/processDefinition/index.vue +++ b/src/views/workflow/processDefinition/index.vue @@ -59,74 +59,66 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -163,55 +155,6 @@ - - - - - - - - - - - - - - - - - - - - -