Files
clue/Process/立项流程.bpmn
超哥 835c1dc861 {"Message":"联测并修复部分BUG","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/项目表"},{"State":1,"Type":23,"Name":"TableView/View_项目统计信息"},{"State":1,"Type":7,"Name":"Table/任务表"},{"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":15,"Name":"ServerCommand/修改任务预算工时"},{"State":2,"Type":15,"Name":"ServerCommand/同步项目参与人列表"},{"State":1,"Type":28,"Name":"ProcessItem/立项流程"},{"State":1,"Type":28,"Name":"ProcessItem/预算申请"},{"State":1,"Type":28,"Name":"ProcessItem/反馈处理流程"},{"State":1,"Type":28,"Name":"ProcessItem/结算申请"},{"State":1,"Type":15,"Name":"ServerCommand/同步仓库的所有提交"},{"State":1,"Type":15,"Name":"ServerCommand/任务发起流程前校验"},{"State":1,"Type":28,"Name":"ProcessItem/新增任务流程"},{"State":1,"Type":15,"Name":"ServerCommand/用户登录检查"},{"State":3,"Type":16,"Name":"TaskScheduler/项目成员新增事件"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/同步项目参与人列表"},{"State":3,"Type":16,"Name":"TaskScheduler/项目成员删除事件"}],"Version":"v1"}
2024-06-17 17:43:00 +08:00

92 lines
14 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:fgc="http://www.forguncy.com/schema/bpmn/1.0" xmlns:activiti="http://activiti.org/bpmn" id="_f0891378-904d-4a7a-9433-88bd2bac0c55" name="BPMN Model" targetNamespace="http://www.forguncy.com/schema/bpmn/1.0" expressionLanguage="https://www.ecma-international.org/publications/standards/Ecma-334.htm">
<extension />
<process id="_f9fc28f7-09f7-46bc-a48e-f889c5ee7879" name="项目立项申请" isExecutable="true">
<documentation>用于项目的立项申请审批</documentation>
<extensionElements>
<fgc:ForguncyExtension Properties="{&quot;description&quot;:null,&quot;page&quot;:&quot;项目审批&quot;,&quot;tables&quot;:[&quot;项目表&quot;],&quot;variableSetting&quot;:{&quot;variables&quot;:[]},&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;635c536a-d1a2-4fd2-a0f7-53a5e7189de3&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;1709614677003-20e96939&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;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;fec07633-c41c-45c5-9991-057e88566137&quot;,&quot;AttachType&quot;:null,&quot;RelationBinding&quot;:null,&quot;AggregateBindingInfo&quot;:null}]},&quot;comment&quot;:null,&quot;fgcBpmnGuid&quot;:&quot;ddc8f52f-d56b-4dec-af01-5cec98faaa2c&quot;}" />
</extensionElements>
<startEvent id="_f08335ab-b838-4a55-8421-200f30047003" name="开始">
<extensionElements>
<fgc:ForguncyExtension Properties="{&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:401,&quot;commands&quot;:[]}]},&quot;variableSetting&quot;:{&quot;variables&quot;:[]}}" />
</extensionElements>
<outgoing>Flow_1m23z42</outgoing>
</startEvent>
<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;required&quot;:false},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;title&quot;:&quot;同意立项&quot;,&quot;commitOption&quot;:{&quot;autoSave&quot;:true}},{&quot;type&quot;:300,&quot;key&quot;:&quot;1718539289443-380b793d&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;commitOption&quot;:{&quot;autoSave&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;1709614946145-d4008ffd&quot;,&quot;type&quot;:2,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;项目总监&quot;},&quot;enable&quot;:true}],&quot;assigneeTarget&quot;:2,&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;:true},{&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;1709614651297-a52d85bf&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;&quot;,&quot;returnMessageTo&quot;:&quot;&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;variableSetting&quot;:{&quot;variables&quot;:[]}}" />
</extensionElements>
<incoming>Flow_0cq5pfu</incoming>
<outgoing>_8c854f9d-40d8-4aed-acb1-6778e09b2e08</outgoing>
<multiInstanceLoopCharacteristics activiti:collection="${userTaskResolver.getCollection(execution)}" activiti:elementVariable="FGC_activitiAssignee">
<completionCondition>${nrOfCompletedInstances &gt; 0}</completionCondition>
</multiInstanceLoopCharacteristics>
</userTask>
<endEvent id="_3392ccdd-ae91-44fa-b2ee-f744284c12b0" name="结束">
<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>_8c854f9d-40d8-4aed-acb1-6778e09b2e08</incoming>
</endEvent>
<sequenceFlow id="_8c854f9d-40d8-4aed-acb1-6778e09b2e08" name="" sourceRef="_1f754255-6fd9-4eab-8d0f-10df7976e222" 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;:{}}" />
</extensionElements>
</sequenceFlow>
<sequenceFlow id="Flow_1m23z42" sourceRef="_f08335ab-b838-4a55-8421-200f30047003" targetRef="Activity_128hlps">
<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>
<userTask id="Activity_128hlps" 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;100&quot;,&quot;type&quot;:100,&quot;enable&quot;:true,&quot;title&quot;:&quot;提交&quot;,&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;commitOption&quot;:{&quot;autoSave&quot;:true}}]},&quot;userSetting&quot;:{&quot;assigneeSettings&quot;:[{&quot;key&quot;:&quot;1718537558155-58d82bab&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;: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;: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;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>Flow_1m23z42</incoming>
<outgoing>Flow_0cq5pfu</outgoing>
<multiInstanceLoopCharacteristics activiti:collection="${userTaskResolver.getCollection(execution)}" activiti:elementVariable="FGC_activitiAssignee">
<completionCondition>${nrOfCompletedInstances &gt; 0}</completionCondition>
</multiInstanceLoopCharacteristics>
</userTask>
<sequenceFlow id="Flow_0cq5pfu" sourceRef="Activity_128hlps" 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;:200,&quot;commands&quot;:[]}]},&quot;sequenceProperty&quot;:{}}" />
</extensionElements>
</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="_f9fc28f7-09f7-46bc-a48e-f889c5ee7879">
<BPMNEdge id="Flow_0cq5pfu_di" bpmnElement="Flow_0cq5pfu" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
<di:waypoint x="310" y="20" />
<di:waypoint x="410" y="20" />
</BPMNEdge>
<BPMNEdge id="Flow_1m23z42_di" bpmnElement="Flow_1m23z42" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
<di:waypoint x="50" y="20" />
<di:waypoint x="190" y="20" />
</BPMNEdge>
<BPMNEdge id="_0f004c02-cfdf-4445-8c14-43b1a506b260" bpmnElement="_8c854f9d-40d8-4aed-acb1-6778e09b2e08" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
<di:waypoint x="530" y="20" />
<di:waypoint x="650" y="20" />
</BPMNEdge>
<BPMNShape id="_2bf92c2b-1b3d-4815-b6c9-f696d0b501a1" bpmnElement="_1f754255-6fd9-4eab-8d0f-10df7976e222" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false">
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="410" y="0" width="120" height="40" />
</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="650" y="0" width="40" height="40" />
<BPMNLabel>
<dc:Bounds x="657" y="47" width="27" height="16" />
</BPMNLabel>
</BPMNShape>
<BPMNShape id="_77a930b7-a08f-48be-9e93-2006953ed6ad" bpmnElement="_f08335ab-b838-4a55-8421-200f30047003" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false">
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="10" y="0" width="40" height="40" />
<BPMNLabel>
<dc:Bounds x="17" y="47" width="27" height="16" />
</BPMNLabel>
</BPMNShape>
<BPMNShape id="Activity_128hlps_di" bpmnElement="Activity_128hlps">
<dc:Bounds x="190" y="0" width="120" height="40" />
<BPMNLabel />
</BPMNShape>
</BPMNPlane>
</BPMNDiagram>
</definitions>