/** * 流程管理 */ export interface ProcessManagementModel { id?: string // 主键Id name?: string // 流程名称 remark?: string // 描述 flowId?: string // 流程标识 status?: number | string // 启用状态 1启用0禁用 categoryId?: string // 流程分类id updateTime?: string // modelId?: string // 未发布的模型Id applicationId?: string // 关联应用 definitionId?: string workflowDefAppList?: { applicationId: string applicationName?: string }[] } /** * 流程分类 */ export interface ProcessCategoryModel { id?: string // 主键Id name?: string // 分类名称 remark?: string // 备注 sortNo?: string // 排序 parentId?: string // 父节点id roles?: string // 角色分配 parentName?: string // 流程分类 翻译 parentAllId?: string } /** * 流程设计 */ export interface ProcessDeploymentsModel { id?: string // 主键Id name?: string // key?: string // processDefId?: string // version?: string // definitionId?: string modelId?: string tenantId?: string deployId?: string // 流程部署后生成的id (发布之后才会部署,也可以直接部署) isCurVersion?: number // 1当前版本 0不是当前版本 } /** * 流程分类树 */ export interface ProcessCategoryTreeModel { key?: string title?: string pkey?: string type?: string processKey?: string children?: ProcessCategoryTreeModel[] isShowIcon?: boolean // 给tree-item 判断是否显示操作按钮 isLeaf?: boolean // 给tree-item 判断是否显示展开图标 selectable?: boolean // 给tree-item 判断是否可以点击 选中 value?: string label?: string } /** * 流程实例 */ export interface ProcessInstancesModel { processDefinitionId?: string // name?: string // id?: string // startDate?: string | number // processDefinitionVersion?: string | number // status?: string // processDefinitionKey?: string // } /** * 流程历史节点 */ export interface ProcessHistoryNodesModel { assignee?: string // name?: string // id?: string // } /** * 统计分析 - 平均耗时 */ export interface StatisticsAverageTimeModel { ms: number // name: string // mc?: string // } /** * 统计分析 - 名称 */ export interface StatisticsListNumsModel { num: number // name: string // } /** * 统计分析 - 卡片 */ export interface StatisticsNumsModel { endNum?: number // handleNum?: number // startNum?: number // } /** * 统计分析 - 分类 */ export interface StatisticsCategoryModel { num: number // category: string // } /** * 权限按钮 */ export interface PermissionButtonListModal { id?: string // "addUser" label?: string // "加签" alias?: string | null // null type?: string // "addUser" icon?: string // "user-add" mustIdea?: string // "2" attribute?: {} // {} order?: string | number // 2 custom?: boolean // false global?: boolean // false buttonStyle?: string | null // nul sign?: string // 用来区分按钮是 在办列表还是已办列表中显示 } /** * */ export interface ProcessViewNodeModel { actionCode?: string // 主键Id actionName?: string // operator?: string // operatorId?: string // startTime?: string // taskName?: string // } /** * 流程图高亮显示的节点 */ export interface ProcessHistoryHighLineModel { bpmStr?: string // 流程图字符串 flowName?: string // 流程图名称 waitingToDo?: string[] // 待办节点 highPoint?: string[] // 高亮节点 iDo?: string[] // 已办节点 highLine?: string[] // 高亮连线 businessKey?: string } /** * 流程设计 - 流程线 - 条件类型 - 表达式 默认可选的条件 */ export interface ConditionTagsModel { value?: string label?: string }