import BaseService from "hbt-common/service/base.service" import type { AxiosResponse } from 'axios' import { ActionResult } from "hbt-common/models/actionResult"; export default class WorkFlowService extends BaseService{ constructor(){ super() } public startWorkFlow(params,showLoading?:boolean): Promise>>{ const url = this.prefix.bpm+'/workflow-task/create-process'; return this.post(url,params,{},true) } public again(params,showLoading?:boolean): Promise>>{ const url = this.prefix.bpm+'/workflow-task/again-candidate'; return this.post(url,params,{},true) } public taskHandle(params,showLoading?:boolean): Promise>>{ const url = this.prefix.bpm+'/workflow-task/task-handle'; return this.post(url,params,{},true) } }