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+'/task/createProcess'; return this.post(url,params) } public again(params,showLoading?:boolean): Promise>>{ const url = this.prefix.bpm+'/task/candidate/set'; return this.post(url,params,{},true) } //处理流程 public taskHandle(params,showLoading?:boolean): Promise>>{ const url = this.prefix.bpm+'/task/taskHandle'; return this.post(url,params,{},true) } }