feat:增加主包(tabbar)、system(系统管理)、infra(基础设施)、bpm(工作流程)的页面
This commit is contained in:
20
src/api/bpm/definition/index.ts
Normal file
20
src/api/bpm/definition/index.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { http } from '@/http/http'
|
||||
|
||||
/** 流程定义 */
|
||||
export interface ProcessDefinition {
|
||||
id: string
|
||||
key: string
|
||||
name: string
|
||||
description?: string
|
||||
category: string
|
||||
formType?: number
|
||||
formId?: number
|
||||
formCustomCreatePath?: string
|
||||
formCustomViewPath?: string
|
||||
suspensionState: number
|
||||
}
|
||||
|
||||
/** 获取流程定义列表 */
|
||||
export function getProcessDefinitionList(params?: { suspensionState?: number }) {
|
||||
return http.get<ProcessDefinition[]>('/bpm/process-definition/list', params)
|
||||
}
|
||||
Reference in New Issue
Block a user