fix: 修改初始化数据

This commit is contained in:
XieYongHong 2023-11-03 16:54:30 +08:00
parent 82aeb6b522
commit 2635f78890
1 changed files with 102 additions and 100 deletions

View File

@ -4637,7 +4637,7 @@ export default [
"code": "workflow", "code": "workflow",
"url": "/workflow", "url": "/workflow",
"icon": "MenuUnfoldOutlined", "icon": "MenuUnfoldOutlined",
showPage: ["process-form","process-deployment"], showPage: ["process-form","process-deployment", "process-runtime"],
"options": { "options": {
isShow: false, isShow: false,
}, },
@ -4650,14 +4650,26 @@ export default [
{ {
"permission": "low-code-info", "permission": "low-code-info",
"actions": [ "actions": [
"query", "query"
] ]
}, },
{
"permission": "process-runtime",
"actions": [
"reject",
"start",
"self",
"claim",
"complete",
"createAndStart",
"repeal"
]
}
], ],
"buttons": [ "buttons": [
{ {
"id": "form_query", "id": "form_query",
"name": "流程表单-查询", "name": "表单-查询",
"permissions": [ "permissions": [
{ {
"permission": "process-form", "permission": "process-form",
@ -4669,7 +4681,7 @@ export default [
}, },
{ {
"id": "form_save", "id": "form_save",
"name": "流程表单-保存", "name": "表单-新增",
"permissions": [ "permissions": [
{ {
"permission": "process-form", "permission": "process-form",
@ -4681,7 +4693,7 @@ export default [
}, },
{ {
"id": "form_delete", "id": "form_delete",
"name": "流程表单-删除", "name": "表单-删除",
"permissions": [ "permissions": [
{ {
"permission": "process-form", "permission": "process-form",
@ -4691,9 +4703,22 @@ export default [
} }
] ]
}, },
{ {
"id": "definition_query", "id": "form_update",
"name": "流程定义-查询", "name": "表单-编辑",
"permissions": [
{
"permission": "process-form",
"actions": [
"save"
]
}
]
},
{
"id": "model_query",
"name": "模型-查询",
"permissions": [ "permissions": [
{ {
"permission": "process-definition", "permission": "process-definition",
@ -4704,8 +4729,8 @@ export default [
] ]
}, },
{ {
"id": "definition_save", "id": "model_deploy",
"name": "流程定义-保存", "name": "模型-部署",
"permissions": [ "permissions": [
{ {
"permission": "process-definition", "permission": "process-definition",
@ -4716,8 +4741,44 @@ export default [
] ]
}, },
{ {
"id": "definition_delete", "id": "model_add",
"name": "流程定义-删除", "name": "模型-新增",
"permissions": [
{
"permission": "process-definition",
"actions": [
"save"
]
}
]
},
{
"id": "model_update",
"name": "模型-编辑",
"permissions": [
{
"permission": "process-definition",
"actions": [
"save"
]
}
]
},
{
"id": "model_save",
"name": "模型-保存",
"permissions": [
{
"permission": "process-definition",
"actions": [
"save"
]
}
]
},
{
"id": "model_delete",
"name": "模型-删除",
"permissions": [ "permissions": [
{ {
"permission": "process-definition", "permission": "process-definition",
@ -4729,7 +4790,7 @@ export default [
}, },
{ {
"id": "release_query", "id": "release_query",
"name": "流程部署-查询", "name": "实例-查询",
"permissions": [ "permissions": [
{ {
"permission": "process-deployment", "permission": "process-deployment",
@ -4740,8 +4801,32 @@ export default [
] ]
}, },
{ {
"id": "release_save", "id": "release_action",
"name": "流程部署-保存", "name": "实例-启/禁用",
"permissions": [
{
"permission": "process-deployment",
"actions": [
"save"
]
}
]
},
{
"id": "release_auth",
"name": "实例-权限控制",
"permissions": [
{
"permission": "process-deployment",
"actions": [
"save"
]
}
]
},
{
"id": "release_copy",
"name": "实例-复制",
"permissions": [ "permissions": [
{ {
"permission": "process-deployment", "permission": "process-deployment",
@ -4753,7 +4838,7 @@ export default [
}, },
{ {
"id": "release_delete", "id": "release_delete",
"name": "流程部署-删除", "name": "实例-删除",
"permissions": [ "permissions": [
{ {
"permission": "process-deployment", "permission": "process-deployment",
@ -4762,94 +4847,11 @@ export default [
] ]
} }
] ]
},
{
"id": "runtime-dismiss",
"name": "流程运行时-驳回任务",
"permissions": [
{
"permission": "process-runtime",
"actions": [
"reject"
]
}
]
},
{
"id": "runtime-initiate",
"name": "流程运行时-发起流程",
"permissions": [
{
"permission": "process-runtime",
"actions": [
"start"
]
}
]
},
{
"id": "runtime-mine",
"name": "流程运行时-我的流程",
"permissions": [
{
"permission": "process-runtime",
"actions": [
"self"
]
}
]
},
{
"id": "runtime-sign",
"name": "流程运行时-签收任务",
"permissions": [
{
"permission": "process-runtime",
"actions": [
"claim"
]
}
]
},
{
"id": "runtime-complete",
"name": "流程运行时-完成任务",
"permissions": [
{
"permission": "process-runtime",
"actions": [
"complete"
]
}
]
},
{
"id": "runtime-create",
"name": "流程运行时-创建/启动流程",
"permissions": [
{
"permission": "process-runtime",
"actions": [
"createAndStart"
]
}
]
},
{
"id": "runtime-revoke",
"name": "流程运行时-撤销流程",
"permissions": [
{
"permission": "process-runtime",
"actions": [
"repeal"
]
}
]
} }
], ],
"creatorId": "1199596756811550720", "creatorId": "1199596756811550720",
"createTime": 1698735482730, "createTime": 1698735482730,
"supportDataAccess": false "supportDataAccess": false
} },
]; ];