bpm:增加流程模型的列表

This commit is contained in:
YunaiV
2023-01-20 20:11:24 +08:00
parent 8e29e42797
commit ec6a46a541
5 changed files with 639 additions and 283 deletions

View File

@@ -1,5 +1,28 @@
import request from '@/config/axios'
import { ModelVO } from './types'
export type ProcessDefinitionVO = {
id: string
version: number
deploymentTIme: string
suspensionState: number
}
export type ModelVO = {
id: number
formName: string
key: string
name: string
description: string
category: string
formType: number
formId: number
formCustomCreatePath: string
formCustomViewPath: string
processDefinition: ProcessDefinitionVO
status: number
remark: string
createTime: string
}
export const getModelPageApi = async (params) => {
return await request.get({ url: '/bpm/model/page', params })

View File

@@ -1,23 +0,0 @@
export type ProcessDefinitionVO = {
id: string
version: number
deploymentTIme: string
suspensionState: number
}
export type ModelVO = {
id: number
formName: string
key: string
name: string
description: string
category: string
formType: number
formId: number
formCustomCreatePath: string
formCustomViewPath: string
processDefinition: ProcessDefinitionVO
status: number
remark: string
createTime: string
}