diff --git a/src/api/workflow/category/types.ts b/src/api/workflow/category/types.ts index a093073..99a53a6 100644 --- a/src/api/workflow/category/types.ts +++ b/src/api/workflow/category/types.ts @@ -6,7 +6,6 @@ export interface CategoryTreeVO { children: CategoryTreeVO[]; } export interface CategoryVO { - /** * 流程分类ID */ @@ -39,7 +38,6 @@ export interface CategoryVO { } export interface CategoryForm extends BaseEntity { - /** * 流程分类ID */ @@ -59,14 +57,11 @@ export interface CategoryForm extends BaseEntity { * 显示顺序 */ orderNum?: number; - } export interface CategoryQuery { - /** * 流程分类名称 */ categoryName?: string; - } diff --git a/src/api/workflow/instance/index.ts b/src/api/workflow/instance/index.ts index 42d748d..fde16a2 100644 --- a/src/api/workflow/instance/index.ts +++ b/src/api/workflow/instance/index.ts @@ -31,9 +31,9 @@ export const pageByFinish = (query: FlowInstanceQuery): AxiosPromise { +export const flowHisTaskList = (businessId: string | number) => { return request({ - url: `/workflow/instance/flowImage/${businessId}` + '?t' + Math.random(), + url: `/workflow/instance/flowHisTaskList/${businessId}` + '?t' + Math.random(), method: 'get' }); }; diff --git a/src/api/workflow/task/index.ts b/src/api/workflow/task/index.ts index 55ede45..6d515ec 100644 --- a/src/api/workflow/task/index.ts +++ b/src/api/workflow/task/index.ts @@ -178,3 +178,16 @@ export const currentTaskAllUser = (taskId: string | number) => { method: 'get' }); }; + +/** + * 获取下一节点写 + * @param data参数 + * @returns + */ +export const getNextNodeList = (data: any): any => { + return request({ + url: '/workflow/task/getNextNodeList', + method: 'post', + data: data + }); +}; diff --git a/src/api/workflow/task/types.ts b/src/api/workflow/task/types.ts index 8ea803b..8698eff 100644 --- a/src/api/workflow/task/types.ts +++ b/src/api/workflow/task/types.ts @@ -29,8 +29,14 @@ export interface FlowTaskVO { nodeType: number; nodeRatio: string | number; version?: string; + applyNode?: boolean; + buttonList?: buttonList[]; } +export interface buttonList { + code: string; + show: boolean; +} export interface VariableVo { key: string; value: string; diff --git a/src/views/project/contractorMaterial/component/contractorMaterialRecord.vue b/src/views/project/contractorMaterial/component/contractorMaterialRecord.vue index 84685b1..7549cc4 100644 --- a/src/views/project/contractorMaterial/component/contractorMaterialRecord.vue +++ b/src/views/project/contractorMaterial/component/contractorMaterialRecord.vue @@ -22,7 +22,6 @@ -