mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 流程实例添加变量修改功能
This commit is contained in:
28
src/typings/api/workflow.api.d.ts
vendored
28
src/typings/api/workflow.api.d.ts
vendored
@ -175,6 +175,23 @@ declare namespace Api {
|
||||
/** definition list */
|
||||
type DefinitionList = Api.Common.PaginatingQueryRecord<Definition>;
|
||||
|
||||
type InstanceVariable = CommonType.RecordNullable<{
|
||||
key: string;
|
||||
value: string;
|
||||
}>;
|
||||
|
||||
type InstanceVariableOperateParams = CommonType.RecordNullable<{
|
||||
instanceId: CommonType.IdType;
|
||||
}> &
|
||||
InstanceVariable;
|
||||
|
||||
type InstanceVariableInfo = CommonType.RecordNullable<{
|
||||
/** 键 */
|
||||
variable: string;
|
||||
/** 值 */
|
||||
variableList: InstanceVariable[];
|
||||
}>;
|
||||
|
||||
/** 节点类型 */
|
||||
type WorkflowNodeType = 0 | 1 | 2 | 3 | 4;
|
||||
|
||||
@ -199,6 +216,10 @@ declare namespace Api {
|
||||
flowCode: string;
|
||||
/** 业务ID */
|
||||
businessId: CommonType.IdType;
|
||||
/** 业务编码 */
|
||||
businessCode: string;
|
||||
/** 业务名称 */
|
||||
businessName: string;
|
||||
/** 节点类型 */
|
||||
nodeType: WorkflowNodeType;
|
||||
/** 节点编码 */
|
||||
@ -221,15 +242,8 @@ declare namespace Api {
|
||||
ext: string;
|
||||
/** 流程定义版本 */
|
||||
version: string;
|
||||
/** 创建者 */
|
||||
createBy: string;
|
||||
/** 创建者名称 */
|
||||
createByName: string;
|
||||
/** 创建时间 */
|
||||
createTime: string;
|
||||
|
||||
/** 更新时间 */
|
||||
updateTime: string;
|
||||
/** 删除标志 */
|
||||
delFlag: number;
|
||||
}>;
|
||||
|
Reference in New Issue
Block a user