66 lines
9.2 KiB
XML
66 lines
9.2 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="_f676c4bd-eedd-4876-8c5c-a63eeaab8533" name="项目工时增补申请" isExecutable="true">
|
|
<documentation/>
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"variableSetting":{"variables":[]},"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":100,"commands":[]},{"id":"1","enable":true,"event":101,"commands":[{"enable":true,"id":"1709619768195-b30ed9bc","$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","returnCodeTo":"","returnMessageTo":"","inputParams":[{"key":"申请ID","value":{"valueType":2,"tableFieldValue":{"$type":"ForguncyDataAccess.BindingInfo, ForguncyDataAccess","TableName":"项目预算变动表","ColumnName":"ID"}}}],"returnPropertiesTo":[],"serverCommandName":"应用项目增补工时","isAsync":true}]},{"id":"2","enable":true,"event":102,"commands":[]}]},"timeoutSetting":{"deadlines":[]},"page":"工时增补审批","tables":["项目预算变动表"]}"/>
|
|
</extensionElements>
|
|
<startEvent id="_f08335ab-b838-4a55-8421-200f30047003" name="开始">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":401,"commands":[]}]},"variableSetting":{"variables":[]}}"/>
|
|
</extensionElements>
|
|
<outgoing>Flow_1y1g7g4</outgoing>
|
|
</startEvent>
|
|
<userTask id="_1f754255-6fd9-4eab-8d0f-10df7976e222" name="审批" activiti:formKey="${formKeyResolver.getFormKey(execution)}" activiti:assignee="${FGC_activitiAssignee}">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"generalSetting":{"page":"工时增补审批","tables":["项目预算变动表"],"actions":[{"key":"0","type":100,"enable":true,"remarks":[{"key":1,"enable":true}],"title":"同意"},{"key":"1644290578551-fb1cce84","type":200,"enable":true,"remarks":[{"key":1,"enable":true}],"title":"拒绝","terminateOption":{"type":2}}]},"userSetting":{"assigneeSettings":[{"key":"1709619198798-5fca5772","type":2,"value":{"valueType":1,"fixedValue":"项目总监"},"enable":true}],"assigneeTarget":2,"isMultiple":true,"isCountersign":false,"isSequential":false,"autoCommitStrategies":[{"status":1,"enable":false},{"status":2,"enable":true},{"status":3,"enable":false}],"nobodyAssignStrategy":{"status":1}},"dataSetting":{"tablePermissions":[]},"timeoutSetting":{"deadlines":[]},"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":400,"commands":[{"enable":true,"id":"1709619258361-d74c5e6d","$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","returnCodeTo":"","returnMessageTo":"","inputParams":[{"key":"申请ID","value":{"valueType":2,"tableFieldValue":{"$type":"ForguncyDataAccess.BindingInfo, ForguncyDataAccess","TableName":"项目预算变动表","ColumnName":"ID"}}},{"key":"状态","value":{"valueType":1,"fixedValue":"审批中"}}],"returnPropertiesTo":[],"serverCommandName":"修改增补工时状态","isAsync":false}]},{"id":"1","enable":true,"event":300,"commands":[]},{"id":"2","enable":true,"event":302,"commands":[]}]},"variableSetting":{"variables":[]}}"/>
|
|
</extensionElements>
|
|
<incoming>Flow_1y1g7g4</incoming>
|
|
<outgoing>_8c854f9d-40d8-4aed-acb1-6778e09b2e08</outgoing>
|
|
<multiInstanceLoopCharacteristics activiti:collection="${userTaskResolver.getCollection(execution)}" activiti:elementVariable="FGC_activitiAssignee"><completionCondition>${nrOfCompletedInstances > 0}</completionCondition></multiInstanceLoopCharacteristics>
|
|
</userTask>
|
|
<endEvent id="_3392ccdd-ae91-44fa-b2ee-f744284c12b0" name="结束">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":400,"commands":[]}]},"variableSetting":{"variables":[]}}"/>
|
|
</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="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":200,"commands":[]}]},"sequenceProperty":{}}"/>
|
|
</extensionElements>
|
|
</sequenceFlow>
|
|
<sequenceFlow id="Flow_1y1g7g4" sourceRef="_f08335ab-b838-4a55-8421-200f30047003" targetRef="_1f754255-6fd9-4eab-8d0f-10df7976e222">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":200,"commands":[]}]},"sequenceProperty":{}}"/>
|
|
</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="_f676c4bd-eedd-4876-8c5c-a63eeaab8533">
|
|
<BPMNEdge id="Flow_1y1g7g4_di" bpmnElement="Flow_1y1g7g4" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
|
|
<di:waypoint x="170" y="20"/>
|
|
<di:waypoint x="290" 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="410" y="20"/>
|
|
<di:waypoint x="530" y="20"/>
|
|
</BPMNEdge>
|
|
<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="130" y="0" width="40" height="40"/>
|
|
<BPMNLabel>
|
|
<dc:Bounds x="137" y="47" width="26" height="16"/>
|
|
</BPMNLabel>
|
|
</BPMNShape>
|
|
<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="290" 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="530" y="0" width="40" height="40"/>
|
|
<BPMNLabel>
|
|
<dc:Bounds x="537" y="47" width="27" height="16"/>
|
|
</BPMNLabel>
|
|
</BPMNShape>
|
|
</BPMNPlane>
|
|
</BPMNDiagram>
|
|
</definitions> |