{"Message":"1. 更新任务首页;\r\n2. 增加邮件模板设计器插件;","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/FGC_审批记录"},{"State":1,"Type":1,"Name":"PCPage/项目列表"},{"State":1,"Type":1,"Name":"PCPage/任务列表"},{"State":1,"Type":1,"Name":"PCPage/任务首页"},{"State":1,"Type":1,"Name":"PCPage/任务-侧栏"},{"State":1,"Type":1,"Name":"PCPage/任务-基本信息"},{"State":1,"Type":1,"Name":"PCPage/任务-子任务列表"},{"State":1,"Type":1,"Name":"PCPage/任务-工时"},{"State":1,"Type":1,"Name":"PCPage/新增任务"},{"State":1,"Type":3,"Name":"MasterPCPage/FGC_母版页"},{"State":1,"Type":31,"Name":"UserControlPage/评论组件"},{"State":1,"Type":31,"Name":"UserControlPage/发表评论组件"},{"State":2,"Type":15,"Name":"ServerCommand/新增任务"},{"State":1,"Type":40,"Name":"Plugin"},{"State":1,"Type":1,"Name":"PCPage/选择图标"},{"State":2,"Type":28,"Name":"ProcessItem/任务分配流程"},{"State":3,"Type":15,"Name":"ServerCommand/任务发起流程前校验"},{"State":3,"Type":28,"Name":"ProcessItem/新增任务流程"},{"State":3,"Type":15,"Name":"ServerCommand/发起任务流程"},{"State":3,"Type":6,"Name":"Pages/邮件模板"},{"State":3,"Type":1,"Name":"PCPage/模板编辑器"},{"State":3,"Type":7,"Name":"Table/邮件模板表"}],"Version":"v1"}

This commit is contained in:
超哥
2024-06-17 11:02:59 +08:00
parent c7f6fbb021
commit 1f3051178a
35 changed files with 3435 additions and 2886 deletions

View File

@@ -4,7 +4,7 @@
<process id="_0029152c-6da3-486d-9282-4c24a6d2fff1" isExecutable="true">
<documentation />
<extensionElements>
<fgc:ForguncyExtension Properties="{&quot;description&quot;:null,&quot;page&quot;:null,&quot;tables&quot;:[&quot;任务表&quot;],&quot;variableSetting&quot;:{&quot;variables&quot;:[{&quot;name&quot;:&quot;code&quot;,&quot;type&quot;:null,&quot;initialValue&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;0&quot;,&quot;tableFieldValue&quot;:null}},{&quot;name&quot;:&quot;msg&quot;,&quot;type&quot;:null,&quot;initialValue&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:null,&quot;tableFieldValue&quot;:null}}]},&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;event&quot;:100,&quot;comment&quot;:null,&quot;commands&quot;:[],&quot;index&quot;:null},{&quot;id&quot;:&quot;1&quot;,&quot;event&quot;:101,&quot;comment&quot;:null,&quot;commands&quot;:[{&quot;$type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon&quot;,&quot;serverCommandName&quot;:&quot;变更任务状态&quot;,&quot;isAsync&quot;:false,&quot;inputParams&quot;:[{&quot;key&quot;:&quot;任务ID&quot;,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;fixedValue&quot;:null,&quot;tableFieldValue&quot;:{&quot;TableName&quot;:&quot;任务表&quot;,&quot;ColumnName&quot;:&quot;ID&quot;,&quot;GUID&quot;:&quot;c2c851d2-cdd8-4eb0-9998-d6ef7ad36067&quot;,&quot;AttachType&quot;:null,&quot;RelationBinding&quot;:null,&quot;AggregateBindingInfo&quot;:null}}},{&quot;key&quot;:&quot;状态码&quot;,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;2&quot;,&quot;tableFieldValue&quot;:null}}],&quot;returnCodeTo&quot;:&quot;&quot;,&quot;returnMessageTo&quot;:&quot;&quot;,&quot;returnPropertiesTo&quot;:[],&quot;$fgc_java_type&quot;:&quot;com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition&quot;,&quot;$fgc_csharp_type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition&quot;,&quot;id&quot;:&quot;1718541633462-593d3555&quot;,&quot;enable&quot;:true,&quot;comment&quot;:null}],&quot;index&quot;:null},{&quot;id&quot;:&quot;2&quot;,&quot;event&quot;:102,&quot;comment&quot;:null,&quot;commands&quot;:[{&quot;$type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon&quot;,&quot;serverCommandName&quot;:&quot;变更任务状态&quot;,&quot;isAsync&quot;:false,&quot;inputParams&quot;:[{&quot;key&quot;:&quot;任务ID&quot;,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;fixedValue&quot;:null,&quot;tableFieldValue&quot;:{&quot;TableName&quot;:&quot;任务表&quot;,&quot;ColumnName&quot;:&quot;ID&quot;,&quot;GUID&quot;:&quot;ed83e2d8-95ee-4418-885b-81f4015fde04&quot;,&quot;AttachType&quot;:null,&quot;RelationBinding&quot;:null,&quot;AggregateBindingInfo&quot;:null}}},{&quot;key&quot;:&quot;状态码&quot;,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;-1&quot;,&quot;tableFieldValue&quot;:null}}],&quot;returnCodeTo&quot;:&quot;&quot;,&quot;returnMessageTo&quot;:&quot;&quot;,&quot;returnPropertiesTo&quot;:[],&quot;$fgc_java_type&quot;:&quot;com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition&quot;,&quot;$fgc_csharp_type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition&quot;,&quot;id&quot;:&quot;1718542074903-4b212565&quot;,&quot;enable&quot;:true,&quot;comment&quot;:null}],&quot;index&quot;:null}]},&quot;timeoutSetting&quot;:{&quot;deadlines&quot;:[]},&quot;relationSetting&quot;:{&quot;processInstanceIdFields&quot;:[{&quot;TableName&quot;:&quot;任务表&quot;,&quot;ColumnName&quot;:&quot;流程实例ID&quot;,&quot;GUID&quot;:&quot;e8ac0e8b-0205-4c18-bc21-3ac48aacf3cd&quot;,&quot;AttachType&quot;:null,&quot;RelationBinding&quot;:null,&quot;AggregateBindingInfo&quot;:null}]},&quot;comment&quot;:null,&quot;fgcBpmnGuid&quot;:&quot;6ae34481-ff83-4e44-8345-28f6f93e312e&quot;}" />
<fgc:ForguncyExtension Properties="{&quot;description&quot;:null,&quot;page&quot;:null,&quot;tables&quot;:[&quot;任务表&quot;],&quot;variableSetting&quot;:{&quot;variables&quot;:[{&quot;name&quot;:&quot;code&quot;,&quot;type&quot;:null,&quot;initialValue&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;0&quot;,&quot;tableFieldValue&quot;:null}},{&quot;name&quot;:&quot;msg&quot;,&quot;type&quot;:null,&quot;initialValue&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:null,&quot;tableFieldValue&quot;:null}}]},&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;event&quot;:100,&quot;comment&quot;:null,&quot;commands&quot;:[],&quot;index&quot;:null},{&quot;id&quot;:&quot;1&quot;,&quot;event&quot;:101,&quot;comment&quot;:null,&quot;commands&quot;:[{&quot;$type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon&quot;,&quot;serverCommandName&quot;:&quot;变更任务状态&quot;,&quot;isAsync&quot;:false,&quot;inputParams&quot;:[{&quot;key&quot;:&quot;任务ID&quot;,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;fixedValue&quot;:null,&quot;tableFieldValue&quot;:{&quot;TableName&quot;:&quot;任务表&quot;,&quot;ColumnName&quot;:&quot;ID&quot;,&quot;GUID&quot;:&quot;c2c851d2-cdd8-4eb0-9998-d6ef7ad36067&quot;,&quot;AttachType&quot;:null,&quot;RelationBinding&quot;:null,&quot;AggregateBindingInfo&quot;:null}}},{&quot;key&quot;:&quot;状态码&quot;,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;2&quot;,&quot;tableFieldValue&quot;:null}}],&quot;returnCodeTo&quot;:&quot;&quot;,&quot;returnMessageTo&quot;:&quot;&quot;,&quot;returnPropertiesTo&quot;:[],&quot;$fgc_java_type&quot;:&quot;com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition&quot;,&quot;$fgc_csharp_type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition&quot;,&quot;id&quot;:&quot;1718541633462-593d3555&quot;,&quot;enable&quot;:true,&quot;comment&quot;:null}],&quot;index&quot;:null},{&quot;id&quot;:&quot;2&quot;,&quot;event&quot;:102,&quot;comment&quot;:null,&quot;commands&quot;:[{&quot;$type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon&quot;,&quot;serverCommandName&quot;:&quot;变更任务状态&quot;,&quot;isAsync&quot;:false,&quot;inputParams&quot;:[{&quot;key&quot;:&quot;任务ID&quot;,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;fixedValue&quot;:null,&quot;tableFieldValue&quot;:{&quot;TableName&quot;:&quot;任务表&quot;,&quot;ColumnName&quot;:&quot;ID&quot;,&quot;GUID&quot;:&quot;ed83e2d8-95ee-4418-885b-81f4015fde04&quot;,&quot;AttachType&quot;:null,&quot;RelationBinding&quot;:null,&quot;AggregateBindingInfo&quot;:null}}},{&quot;key&quot;:&quot;状态码&quot;,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;-1&quot;,&quot;tableFieldValue&quot;:null}}],&quot;returnCodeTo&quot;:&quot;&quot;,&quot;returnMessageTo&quot;:&quot;&quot;,&quot;returnPropertiesTo&quot;:[],&quot;$fgc_java_type&quot;:&quot;com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition&quot;,&quot;$fgc_csharp_type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition&quot;,&quot;id&quot;:&quot;1718542074903-4b212565&quot;,&quot;enable&quot;:true,&quot;comment&quot;:null}],&quot;index&quot;:null}]},&quot;timeoutSetting&quot;:{&quot;deadlines&quot;:[]},&quot;relationSetting&quot;:{&quot;processInstanceIdFields&quot;:[{&quot;TableName&quot;:&quot;任务表&quot;,&quot;ColumnName&quot;:&quot;流程实例ID&quot;,&quot;GUID&quot;:&quot;e8ac0e8b-0205-4c18-bc21-3ac48aacf3cd&quot;,&quot;AttachType&quot;:null,&quot;RelationBinding&quot;:null,&quot;AggregateBindingInfo&quot;:null}]},&quot;comment&quot;:null,&quot;fgcBpmnGuid&quot;:&quot;29a136d2-a3ab-4589-b7d6-26e9b7ea9e0a&quot;}" />
</extensionElements>
<startEvent id="_f08335ab-b838-4a55-8421-200f30047003" name="开始">
<extensionElements>
@@ -14,18 +14,17 @@
</startEvent>
<userTask id="_c4888637-b61c-4ffb-a818-95443aba9610" name="编写任务" activiti:formKey="${formKeyResolver.getFormKey(execution)}" activiti:assignee="${userTaskResolver.getAssignee(execution)}">
<extensionElements>
<fgc:ForguncyExtension Properties="{&quot;generalSetting&quot;:{&quot;page&quot;:&quot;新增任务&quot;,&quot;tables&quot;:[&quot;任务表&quot;],&quot;actions&quot;:[{&quot;key&quot;:&quot;0&quot;,&quot;type&quot;:100,&quot;enable&quot;:true,&quot;commitOption&quot;:{&quot;autoSave&quot;:true},&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true,&quot;required&quot;:false},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;title&quot;:&quot;提交&quot;,&quot;condition&quot;:&quot;{\&quot;$type\&quot;:\&quot;Forguncy.Model.IfCondition, ServerDesignerCommon\&quot;,\&quot;LeftBracket\&quot;:0,\&quot;param\&quot;:{\&quot;$type\&quot;:\&quot;Forguncy.Model.IfConditionProcessTableDataParam, ServerDesignerCommon\&quot;,\&quot;BindingInfo\&quot;:{\&quot;$type\&quot;:\&quot;ForguncyDataAccess.BindingInfo, ForguncyDataAccess\&quot;,\&quot;TableName\&quot;:\&quot;任务表\&quot;,\&quot;ColumnName\&quot;:\&quot;执行者\&quot;},\&quot;IfConditionParamType\&quot;:5},\&quot;compareType\&quot;:1,\&quot;value\&quot;:\&quot;%Null%\&quot;,\&quot;RightBracket\&quot;:0}&quot;},{&quot;key&quot;:&quot;1644290566823-71614d19&quot;,&quot;type&quot;:200,&quot;enable&quot;:true,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true}],&quot;title&quot;:&quot;作废&quot;,&quot;terminateOption&quot;:{&quot;type&quot;:2}},{&quot;key&quot;:&quot;1&quot;,&quot;type&quot;:1000,&quot;enable&quot;:true,&quot;title&quot;:&quot;暂存&quot;,&quot;remarks&quot;:[]}]},&quot;userSetting&quot;:{&quot;assigneeSettings&quot;:[{&quot;key&quot;:&quot;1641910702820&quot;,&quot;type&quot;:1,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;tableFieldValue&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.BindingInfo, ForguncyDataAccess&quot;,&quot;TableName&quot;:&quot;任务表&quot;,&quot;ColumnName&quot;:&quot;执行者&quot;}},&quot;enable&quot;:true}],&quot;assigneeTarget&quot;:2,&quot;isMultiple&quot;:false,&quot;isCountersign&quot;:false,&quot;isSequential&quot;:false,&quot;autoCommitStrategies&quot;:[{&quot;status&quot;:1},{&quot;status&quot;:2},{&quot;status&quot;:3}],&quot;nobodyAssignStrategy&quot;:{&quot;status&quot;:1}},&quot;dataSetting&quot;:{&quot;tablePermissions&quot;:[]},&quot;timeoutSetting&quot;:{&quot;deadlines&quot;:[]},&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:400,&quot;commands&quot;:[{&quot;enable&quot;:true,&quot;id&quot;:&quot;1718541499594-4eeeb7c4&quot;,&quot;$fgc_java_type&quot;:&quot;com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition&quot;,&quot;$fgc_csharp_type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition&quot;,&quot;returnCodeTo&quot;:&quot;code&quot;,&quot;returnMessageTo&quot;:&quot;msg&quot;,&quot;inputParams&quot;:[{&quot;key&quot;:&quot;任务ID&quot;,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;tableFieldValue&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.BindingInfo, ForguncyDataAccess&quot;,&quot;TableName&quot;:&quot;任务表&quot;,&quot;ColumnName&quot;:&quot;ID&quot;}}},{&quot;key&quot;:&quot;状态码&quot;,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;0&quot;}}],&quot;returnPropertiesTo&quot;:[],&quot;serverCommandName&quot;:&quot;变更任务状态&quot;,&quot;isAsync&quot;:false}]},{&quot;id&quot;:&quot;1&quot;,&quot;enable&quot;:true,&quot;event&quot;:300,&quot;commands&quot;:[]},{&quot;id&quot;:&quot;2&quot;,&quot;enable&quot;:true,&quot;event&quot;:302,&quot;commands&quot;:[]}]},&quot;variableSetting&quot;:{&quot;variables&quot;:[]}}" />
<fgc:ForguncyExtension Properties="{&quot;generalSetting&quot;:{&quot;page&quot;:&quot;任务首页&quot;,&quot;tables&quot;:[&quot;任务表&quot;],&quot;actions&quot;:[{&quot;key&quot;:&quot;0&quot;,&quot;type&quot;:100,&quot;enable&quot;:true,&quot;commitOption&quot;:{&quot;autoSave&quot;:true},&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true,&quot;required&quot;:false},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;title&quot;:&quot;提交&quot;,&quot;condition&quot;:&quot;{\&quot;$type\&quot;:\&quot;Forguncy.Model.IfCondition, ServerDesignerCommon\&quot;,\&quot;LeftBracket\&quot;:0,\&quot;param\&quot;:{\&quot;$type\&quot;:\&quot;Forguncy.Model.IfConditionProcessTableDataParam, ServerDesignerCommon\&quot;,\&quot;BindingInfo\&quot;:{\&quot;$type\&quot;:\&quot;ForguncyDataAccess.BindingInfo, ForguncyDataAccess\&quot;,\&quot;TableName\&quot;:\&quot;任务表\&quot;,\&quot;ColumnName\&quot;:\&quot;执行者\&quot;},\&quot;IfConditionParamType\&quot;:5},\&quot;compareType\&quot;:1,\&quot;value\&quot;:\&quot;%Null%\&quot;,\&quot;RightBracket\&quot;:0}&quot;},{&quot;key&quot;:&quot;1644290566823-71614d19&quot;,&quot;type&quot;:200,&quot;enable&quot;:true,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true}],&quot;title&quot;:&quot;作废&quot;,&quot;terminateOption&quot;:{&quot;type&quot;:2}},{&quot;key&quot;:&quot;1&quot;,&quot;type&quot;:1000,&quot;enable&quot;:true,&quot;title&quot;:&quot;暂存&quot;,&quot;remarks&quot;:[]}]},&quot;userSetting&quot;:{&quot;assigneeSettings&quot;:[{&quot;key&quot;:&quot;1641910702820&quot;,&quot;type&quot;:1,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;tableFieldValue&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.BindingInfo, ForguncyDataAccess&quot;,&quot;TableName&quot;:&quot;任务表&quot;,&quot;ColumnName&quot;:&quot;执行者&quot;}},&quot;enable&quot;:true}],&quot;assigneeTarget&quot;:2,&quot;isMultiple&quot;:false,&quot;isCountersign&quot;:false,&quot;isSequential&quot;:false,&quot;autoCommitStrategies&quot;:[{&quot;status&quot;:1,&quot;enable&quot;:false},{&quot;status&quot;:2,&quot;enable&quot;:false},{&quot;status&quot;:3,&quot;enable&quot;:false}],&quot;nobodyAssignStrategy&quot;:{&quot;status&quot;:1}},&quot;dataSetting&quot;:{&quot;tablePermissions&quot;:[]},&quot;timeoutSetting&quot;:{&quot;deadlines&quot;:[]},&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:400,&quot;commands&quot;:[{&quot;enable&quot;:true,&quot;id&quot;:&quot;1718541499594-4eeeb7c4&quot;,&quot;$fgc_java_type&quot;:&quot;com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition&quot;,&quot;$fgc_csharp_type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition&quot;,&quot;returnCodeTo&quot;:&quot;code&quot;,&quot;returnMessageTo&quot;:&quot;msg&quot;,&quot;inputParams&quot;:[{&quot;key&quot;:&quot;任务ID&quot;,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;tableFieldValue&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.BindingInfo, ForguncyDataAccess&quot;,&quot;TableName&quot;:&quot;任务表&quot;,&quot;ColumnName&quot;:&quot;ID&quot;}}},{&quot;key&quot;:&quot;状态码&quot;,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;0&quot;}}],&quot;returnPropertiesTo&quot;:[],&quot;serverCommandName&quot;:&quot;变更任务状态&quot;,&quot;isAsync&quot;:false}]},{&quot;id&quot;:&quot;1&quot;,&quot;enable&quot;:true,&quot;event&quot;:300,&quot;commands&quot;:[]},{&quot;id&quot;:&quot;2&quot;,&quot;enable&quot;:true,&quot;event&quot;:302,&quot;commands&quot;:[]}]},&quot;variableSetting&quot;:{&quot;variables&quot;:[]}}" />
</extensionElements>
<incoming>_4f4ab1b2-ce52-46c6-bcc8-52c43b0c4a9f</incoming>
<incoming>Flow_1cryizq</incoming>
<outgoing>_9fac5c71-636e-41e6-915a-49a1e7b67072</outgoing>
<outgoing>Flow_0otbu5x</outgoing>
</userTask>
<userTask id="_1f754255-6fd9-4eab-8d0f-10df7976e222" name="审批任务" activiti:formKey="${formKeyResolver.getFormKey(execution)}" activiti:assignee="${FGC_activitiAssignee}">
<extensionElements>
<fgc:ForguncyExtension Properties="{&quot;generalSetting&quot;:{&quot;page&quot;:&quot;任务首页&quot;,&quot;tables&quot;:[&quot;任务表&quot;],&quot;actions&quot;:[{&quot;key&quot;:&quot;0&quot;,&quot;type&quot;:100,&quot;enable&quot;:true,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true}],&quot;title&quot;:&quot;同意&quot;},{&quot;type&quot;:300,&quot;key&quot;:&quot;1718540832318-10dd4d08&quot;,&quot;enable&quot;:true,&quot;title&quot;:&quot;回退&quot;,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true,&quot;required&quot;:true},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;rollbackOption&quot;:{&quot;type&quot;:1}},{&quot;key&quot;:&quot;1644290578551-fb1cce84&quot;,&quot;type&quot;:200,&quot;enable&quot;:true,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true,&quot;required&quot;:true},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;title&quot;:&quot;拒绝&quot;,&quot;terminateOption&quot;:{&quot;type&quot;:2}}]},&quot;userSetting&quot;:{&quot;assigneeSettings&quot;:[{&quot;key&quot;:&quot;1718540797338-814a28fa&quot;,&quot;type&quot;:1,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;tableFieldValue&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.BindingInfo, ForguncyDataAccess&quot;,&quot;TableName&quot;:&quot;任务表&quot;,&quot;ColumnName&quot;:&quot;项目ID&quot;,&quot;RelationBinding&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.RelationBinding, ForguncyDataAccess&quot;,&quot;RelatedTable&quot;:&quot;项目表&quot;,&quot;RelatedColumn&quot;:&quot;ID&quot;,&quot;DisplayColumn&quot;:&quot;项目经理&quot;}}},&quot;enable&quot;:true}],&quot;assigneeTarget&quot;:1,&quot;isMultiple&quot;:true,&quot;isCountersign&quot;:false,&quot;isSequential&quot;:false,&quot;autoCommitStrategies&quot;:[{&quot;status&quot;:1,&quot;enable&quot;:false},{&quot;status&quot;:2,&quot;enable&quot;:false},{&quot;status&quot;:3,&quot;enable&quot;:true}],&quot;nobodyAssignStrategy&quot;:{&quot;status&quot;:2}},&quot;dataSetting&quot;:{&quot;tablePermissions&quot;:[]},&quot;timeoutSetting&quot;:{&quot;deadlines&quot;:[]},&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:400,&quot;commands&quot;:[{&quot;enable&quot;:true,&quot;id&quot;:&quot;1718541653523-04eeb920&quot;,&quot;$fgc_java_type&quot;:&quot;com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition&quot;,&quot;$fgc_csharp_type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition&quot;,&quot;returnCodeTo&quot;:&quot;code&quot;,&quot;returnMessageTo&quot;:&quot;msg&quot;,&quot;inputParams&quot;:[{&quot;key&quot;:&quot;任务ID&quot;,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;tableFieldValue&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.BindingInfo, ForguncyDataAccess&quot;,&quot;TableName&quot;:&quot;任务表&quot;,&quot;ColumnName&quot;:&quot;ID&quot;}}},{&quot;key&quot;:&quot;状态码&quot;,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;1&quot;}}],&quot;returnPropertiesTo&quot;:[],&quot;serverCommandName&quot;:&quot;变更任务状态&quot;,&quot;isAsync&quot;:true}]},{&quot;id&quot;:&quot;1&quot;,&quot;enable&quot;:true,&quot;event&quot;:300,&quot;commands&quot;:[]},{&quot;id&quot;:&quot;2&quot;,&quot;enable&quot;:true,&quot;event&quot;:302,&quot;commands&quot;:[]},{&quot;id&quot;:&quot;1718541289570-eba8d038&quot;,&quot;enable&quot;:true,&quot;event&quot;:401,&quot;commands&quot;:[]}]},&quot;variableSetting&quot;:{&quot;variables&quot;:[]}}" />
<fgc:ForguncyExtension Properties="{&quot;generalSetting&quot;:{&quot;page&quot;:&quot;任务首页&quot;,&quot;tables&quot;:[&quot;任务表&quot;],&quot;actions&quot;:[{&quot;key&quot;:&quot;0&quot;,&quot;type&quot;:100,&quot;enable&quot;:true,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true}],&quot;title&quot;:&quot;同意&quot;},{&quot;type&quot;:300,&quot;key&quot;:&quot;1718540832318-10dd4d08&quot;,&quot;enable&quot;:true,&quot;title&quot;:&quot;回退&quot;,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true,&quot;required&quot;:true},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;rollbackOption&quot;:{&quot;type&quot;:1}},{&quot;key&quot;:&quot;1644290578551-fb1cce84&quot;,&quot;type&quot;:200,&quot;enable&quot;:true,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true,&quot;required&quot;:true},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;title&quot;:&quot;拒绝&quot;,&quot;terminateOption&quot;:{&quot;type&quot;:2}}]},&quot;userSetting&quot;:{&quot;assigneeSettings&quot;:[{&quot;key&quot;:&quot;1718540797338-814a28fa&quot;,&quot;type&quot;:1,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;tableFieldValue&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.BindingInfo, ForguncyDataAccess&quot;,&quot;TableName&quot;:&quot;任务表&quot;,&quot;ColumnName&quot;:&quot;项目ID&quot;,&quot;RelationBinding&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.RelationBinding, ForguncyDataAccess&quot;,&quot;RelatedTable&quot;:&quot;项目表&quot;,&quot;RelatedColumn&quot;:&quot;ID&quot;,&quot;DisplayColumn&quot;:&quot;项目经理&quot;}}},&quot;enable&quot;:true}],&quot;assigneeTarget&quot;:1,&quot;isMultiple&quot;:true,&quot;isCountersign&quot;:false,&quot;isSequential&quot;:false,&quot;autoCommitStrategies&quot;:[{&quot;status&quot;:1,&quot;enable&quot;:false},{&quot;status&quot;:2,&quot;enable&quot;:false},{&quot;status&quot;:3,&quot;enable&quot;:true}],&quot;nobodyAssignStrategy&quot;:{&quot;status&quot;:2}},&quot;dataSetting&quot;:{&quot;tablePermissions&quot;:[]},&quot;timeoutSetting&quot;:{&quot;deadlines&quot;:[]},&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:400,&quot;commands&quot;:[{&quot;enable&quot;:true,&quot;id&quot;:&quot;1718541653523-04eeb920&quot;,&quot;$fgc_java_type&quot;:&quot;com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition&quot;,&quot;$fgc_csharp_type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition&quot;,&quot;returnCodeTo&quot;:&quot;code&quot;,&quot;returnMessageTo&quot;:&quot;msg&quot;,&quot;inputParams&quot;:[{&quot;key&quot;:&quot;任务ID&quot;,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;tableFieldValue&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.BindingInfo, ForguncyDataAccess&quot;,&quot;TableName&quot;:&quot;任务表&quot;,&quot;ColumnName&quot;:&quot;ID&quot;}}},{&quot;key&quot;:&quot;状态码&quot;,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;1&quot;}}],&quot;returnPropertiesTo&quot;:[],&quot;serverCommandName&quot;:&quot;变更任务状态&quot;,&quot;isAsync&quot;:false}]},{&quot;id&quot;:&quot;1&quot;,&quot;enable&quot;:true,&quot;event&quot;:300,&quot;commands&quot;:[]},{&quot;id&quot;:&quot;2&quot;,&quot;enable&quot;:true,&quot;event&quot;:302,&quot;commands&quot;:[]},{&quot;id&quot;:&quot;1718541289570-eba8d038&quot;,&quot;enable&quot;:true,&quot;event&quot;:401,&quot;commands&quot;:[]}]},&quot;variableSetting&quot;:{&quot;variables&quot;:[]}}" />
</extensionElements>
<incoming>_9fac5c71-636e-41e6-915a-49a1e7b67072</incoming>
<outgoing>Flow_1yepfaf</outgoing>
<incoming>Flow_0otbu5x</incoming>
<outgoing>Flow_1bfvbmv</outgoing>
<multiInstanceLoopCharacteristics activiti:collection="${userTaskResolver.getCollection(execution)}" activiti:elementVariable="FGC_activitiAssignee">
<completionCondition>${nrOfCompletedInstances &gt; 0}</completionCondition>
</multiInstanceLoopCharacteristics>
@@ -34,77 +33,33 @@
<extensionElements>
<fgc:ForguncyExtension Properties="{&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:400,&quot;commands&quot;:[]}]},&quot;variableSetting&quot;:{&quot;variables&quot;:[]}}" />
</extensionElements>
<incoming>Flow_07xobdn</incoming>
<incoming>Flow_1bfvbmv</incoming>
</endEvent>
<sequenceFlow id="_4f4ab1b2-ce52-46c6-bcc8-52c43b0c4a9f" name="" sourceRef="_f08335ab-b838-4a55-8421-200f30047003" targetRef="_c4888637-b61c-4ffb-a818-95443aba9610">
<extensionElements>
<fgc:ForguncyExtension Properties="{&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:200,&quot;commands&quot;:[]}]},&quot;sequenceProperty&quot;:{}}" />
</extensionElements>
</sequenceFlow>
<sequenceFlow id="_9fac5c71-636e-41e6-915a-49a1e7b67072" name="成功" sourceRef="_c4888637-b61c-4ffb-a818-95443aba9610" targetRef="_1f754255-6fd9-4eab-8d0f-10df7976e222">
<sequenceFlow id="Flow_1bfvbmv" sourceRef="_1f754255-6fd9-4eab-8d0f-10df7976e222" targetRef="_3392ccdd-ae91-44fa-b2ee-f744284c12b0">
<extensionElements>
<fgc:ForguncyExtension Properties="{&quot;sequenceProperty&quot;:{&quot;condition&quot;:&quot;{\&quot;$type\&quot;:\&quot;Forguncy.Model.IfCondition, ServerDesignerCommon\&quot;,\&quot;LeftBracket\&quot;:0,\&quot;param\&quot;:{\&quot;$type\&quot;:\&quot;Forguncy.Model.IfConditionProcessFormulaParam, ServerDesignerCommon\&quot;,\&quot;FormulaText\&quot;:\&quot;=code\&quot;,\&quot;IfConditionParamType\&quot;:6},\&quot;value\&quot;:\&quot;0\&quot;,\&quot;RightBracket\&quot;:0}&quot;},&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:200,&quot;commands&quot;:[]}]}}" />
<fgc:ForguncyExtension Properties="{&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:200,&quot;commands&quot;:[]}]},&quot;sequenceProperty&quot;:{}}" />
</extensionElements>
<conditionExpression xsi:type="tFormalExpression">${sequenceFlowResolver.getConditionResult(execution,'_9fac5c71-636e-41e6-915a-49a1e7b67072')}</conditionExpression>
</sequenceFlow>
<exclusiveGateway id="Gateway_07lhqi4">
<sequenceFlow id="Flow_0otbu5x" sourceRef="_c4888637-b61c-4ffb-a818-95443aba9610" targetRef="_1f754255-6fd9-4eab-8d0f-10df7976e222">
<extensionElements>
<fgc:ForguncyExtension Properties="{&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:400,&quot;commands&quot;:[{&quot;enable&quot;:true,&quot;id&quot;:&quot;1718541350577-5e8907b0&quot;,&quot;$fgc_java_type&quot;:&quot;com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition&quot;,&quot;$fgc_csharp_type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition&quot;,&quot;returnCodeTo&quot;:&quot;code&quot;,&quot;returnMessageTo&quot;:&quot;msg&quot;,&quot;inputParams&quot;:[{&quot;key&quot;:&quot;任务ID&quot;,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;tableFieldValue&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.BindingInfo, ForguncyDataAccess&quot;,&quot;TableName&quot;:&quot;任务表&quot;,&quot;ColumnName&quot;:&quot;ID&quot;}}},{&quot;key&quot;:&quot;状态码&quot;,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;2&quot;}}],&quot;returnPropertiesTo&quot;:[],&quot;serverCommandName&quot;:&quot;变更任务状态&quot;,&quot;isAsync&quot;:false}]},{&quot;id&quot;:&quot;1&quot;,&quot;enable&quot;:true,&quot;event&quot;:401,&quot;commands&quot;:[]}]}}" />
<fgc:ForguncyExtension Properties="{&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:200,&quot;commands&quot;:[]}]},&quot;sequenceProperty&quot;:{}}" />
</extensionElements>
<incoming>Flow_1yepfaf</incoming>
<outgoing>Flow_07xobdn</outgoing>
<outgoing>Flow_1cryizq</outgoing>
</exclusiveGateway>
<sequenceFlow id="Flow_1yepfaf" name="成功" sourceRef="_1f754255-6fd9-4eab-8d0f-10df7976e222" targetRef="Gateway_07lhqi4">
<extensionElements>
<fgc:ForguncyExtension Properties="{&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:200,&quot;commands&quot;:[]}]},&quot;sequenceProperty&quot;:{&quot;condition&quot;:&quot;{\&quot;$type\&quot;:\&quot;Forguncy.Model.IfCondition, ServerDesignerCommon\&quot;,\&quot;LeftBracket\&quot;:0,\&quot;param\&quot;:{\&quot;$type\&quot;:\&quot;Forguncy.Model.IfConditionProcessFormulaParam, ServerDesignerCommon\&quot;,\&quot;FormulaText\&quot;:\&quot;=code\&quot;,\&quot;IfConditionParamType\&quot;:6},\&quot;value\&quot;:\&quot;0\&quot;,\&quot;RightBracket\&quot;:0}&quot;}}" />
</extensionElements>
<conditionExpression xsi:type="tFormalExpression">${sequenceFlowResolver.getConditionResult(execution,'Flow_1yepfaf')}</conditionExpression>
</sequenceFlow>
<sequenceFlow id="Flow_07xobdn" name="成功" sourceRef="Gateway_07lhqi4" targetRef="_3392ccdd-ae91-44fa-b2ee-f744284c12b0">
<extensionElements>
<fgc:ForguncyExtension Properties="{&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:200,&quot;commands&quot;:[]}]},&quot;sequenceProperty&quot;:{&quot;condition&quot;:&quot;{\&quot;$type\&quot;:\&quot;Forguncy.Model.IfCondition, ServerDesignerCommon\&quot;,\&quot;LeftBracket\&quot;:0,\&quot;param\&quot;:{\&quot;$type\&quot;:\&quot;Forguncy.Model.IfConditionProcessFormulaParam, ServerDesignerCommon\&quot;,\&quot;FormulaText\&quot;:\&quot;=code\&quot;,\&quot;IfConditionParamType\&quot;:6},\&quot;value\&quot;:\&quot;0\&quot;,\&quot;RightBracket\&quot;:0}&quot;}}" />
</extensionElements>
<conditionExpression xsi:type="tFormalExpression">${sequenceFlowResolver.getConditionResult(execution,'Flow_07xobdn')}</conditionExpression>
</sequenceFlow>
<sequenceFlow id="Flow_1cryizq" name="失败" sourceRef="Gateway_07lhqi4" targetRef="_c4888637-b61c-4ffb-a818-95443aba9610">
<extensionElements>
<fgc:ForguncyExtension Properties="{&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:200,&quot;commands&quot;:[]}]},&quot;sequenceProperty&quot;:{&quot;condition&quot;:&quot;{\&quot;$type\&quot;:\&quot;Forguncy.Model.IfCondition, ServerDesignerCommon\&quot;,\&quot;LeftBracket\&quot;:0,\&quot;param\&quot;:{\&quot;$type\&quot;:\&quot;Forguncy.Model.IfConditionProcessFormulaParam, ServerDesignerCommon\&quot;,\&quot;FormulaText\&quot;:\&quot;=code\&quot;,\&quot;IfConditionParamType\&quot;:6},\&quot;compareType\&quot;:1,\&quot;value\&quot;:\&quot;0\&quot;,\&quot;RightBracket\&quot;:0}&quot;}}" />
</extensionElements>
<conditionExpression xsi:type="tFormalExpression">${sequenceFlowResolver.getConditionResult(execution,'Flow_1cryizq')}</conditionExpression>
</sequenceFlow>
</process>
<BPMNDiagram xmlns="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color/1.0" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="_bc75e97d-3718-40b3-954c-1093a5051bd0" name="" resolution="96">
<BPMNPlane bpmnElement="_0029152c-6da3-486d-9282-4c24a6d2fff1">
<BPMNEdge id="Flow_1cryizq_di" bpmnElement="Flow_1cryizq" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
<di:waypoint x="830" y="45" />
<di:waypoint x="830" y="120" />
<di:waypoint x="350" y="120" />
<di:waypoint x="350" y="40" />
<BPMNLabel>
<dc:Bounds x="599" y="102" width="27" height="16" />
</BPMNLabel>
<BPMNEdge id="Flow_0otbu5x_di" bpmnElement="Flow_0otbu5x" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
<di:waypoint x="410" y="20" />
<di:waypoint x="530" y="20" />
</BPMNEdge>
<BPMNEdge id="Flow_07xobdn_di" bpmnElement="Flow_07xobdn" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
<di:waypoint x="855" y="20" />
<di:waypoint x="940" y="20" />
<BPMNLabel>
<dc:Bounds x="885" y="2" width="26" height="16" />
</BPMNLabel>
</BPMNEdge>
<BPMNEdge id="Flow_1yepfaf_di" bpmnElement="Flow_1yepfaf" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
<BPMNEdge id="Flow_1bfvbmv_di" bpmnElement="Flow_1bfvbmv" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
<di:waypoint x="650" y="20" />
<di:waypoint x="805" y="20" />
<BPMNLabel>
<dc:Bounds x="715" y="2" width="26" height="16" />
</BPMNLabel>
</BPMNEdge>
<BPMNEdge id="_a4482b47-1e47-4d58-85ed-30f504ce12b9" bpmnElement="_9fac5c71-636e-41e6-915a-49a1e7b67072" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
<waypoint xmlns="http://www.omg.org/spec/DD/20100524/DI" x="410" y="20" />
<waypoint xmlns="http://www.omg.org/spec/DD/20100524/DI" x="530" y="20" />
<BPMNLabel>
<dc:Bounds x="457" y="2" width="26" height="16" />
</BPMNLabel>
<di:waypoint x="750" y="20" />
</BPMNEdge>
<BPMNEdge id="_b2af9167-b562-4ac3-a386-acf24b122376" bpmnElement="_4f4ab1b2-ce52-46c6-bcc8-52c43b0c4a9f" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
<waypoint xmlns="http://www.omg.org/spec/DD/20100524/DI" x="170" y="20" />
@@ -125,14 +80,11 @@
<BPMNLabel />
</BPMNShape>
<BPMNShape id="_dffb7850-c3b4-4469-b322-8af82e48919d" bpmnElement="_3392ccdd-ae91-44fa-b2ee-f744284c12b0" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false">
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="940" y="0" width="40" height="40" />
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="750" y="0" width="40" height="40" />
<BPMNLabel>
<dc:Bounds x="947" y="47" width="27" height="16" />
<dc:Bounds x="757" y="47" width="27" height="16" />
</BPMNLabel>
</BPMNShape>
<BPMNShape id="Gateway_07lhqi4_di" bpmnElement="Gateway_07lhqi4" isMarkerVisible="true">
<dc:Bounds x="805" y="-5" width="50" height="50" />
</BPMNShape>
</BPMNPlane>
</BPMNDiagram>
</definitions>

View File

@@ -1,5 +1,5 @@
{
"Name": "任务分配流程",
"Name": "新增任务流程",
"PermissionData": {
"$type": "Forguncy.RbacPermission.Core.Impl.BpmProcess.BpmProcessPermissionData, Forguncy.RbacPermission.Core",
"permissionResource": {