{"Message":"增加预算审批于拒绝","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/项目标题"},{"State":1,"Type":1,"Name":"PCPage/项目菜单"},{"State":1,"Type":1,"Name":"PCPage/项目信息"},{"State":1,"Type":7,"Name":"Table/项目预算变动表"},{"State":2,"Type":1,"Name":"PCPage/工时增补申请"},{"State":2,"Type":1,"Name":"PCPage/工时增补审批"},{"State":2,"Type":28,"Name":"ProcessItem/工时增补申请"},{"State":1,"Type":15,"Name":"ServerCommand/新增项目工时增补"},{"State":1,"Type":15,"Name":"ServerCommand/应用项目增补工时"},{"State":3,"Type":1,"Name":"PCPage/预算申请"},{"State":3,"Type":1,"Name":"PCPage/预算申请审批"},{"State":3,"Type":28,"Name":"ProcessItem/预算申请"},{"State":3,"Type":6,"Name":"Pages/项目首页/预算申请"}],"Version":"v1"}
This commit is contained in:
@@ -1,66 +0,0 @@
|
||||
<?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>
|
||||
69
Process/预算申请.bpmn
Normal file
69
Process/预算申请.bpmn
Normal file
@@ -0,0 +1,69 @@
|
||||
<?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="{"description":null,"variableSetting":{"variables":[]},"eventSetting":{"eventHandlers":[{"id":"0","event":100,"comment":null,"commands":[],"index":null},{"id":"1","event":101,"comment":null,"commands":[{"$type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon","serverCommandName":"应用项目增补工时","isAsync":true,"inputParams":[{"key":"申请ID","value":{"valueType":2,"fixedValue":null,"tableFieldValue":{"TableName":"项目预算变动表","ColumnName":"ID","GUID":"5b855d45-4604-452c-a544-b6293070bfe9","AttachType":null,"RelationBinding":null}}}],"returnCodeTo":"","returnMessageTo":"","returnPropertiesTo":[],"$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","id":"1709619768195-b30ed9bc","enable":true,"comment":null}],"index":null},{"id":"2","event":102,"comment":null,"commands":[{"$type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon","serverCommandName":"应用项目增补工时","isAsync":true,"inputParams":[{"key":"申请ID","value":{"valueType":2,"fixedValue":null,"tableFieldValue":{"TableName":"项目预算变动表","ColumnName":"ID","GUID":"7f03a668-10d3-4ff7-891a-6c63ea20af9f","AttachType":null,"RelationBinding":null}}}],"returnCodeTo":"","returnMessageTo":"","returnPropertiesTo":[],"$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","id":"1709622015574-c0a9f0b8","enable":true,"comment":null}],"index":null}]},"timeoutSetting":{"deadlines":[]},"tables":["项目预算变动表"],"page":"预算申请审批","comment":null}" />
|
||||
</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,"title":"同意","enable":true,"remarks":[{"enable":true,"key":1}]},{"key":"1644290578551-fb1cce84","type":200,"title":"拒绝","enable":true,"remarks":[{"key":1,"enable":true,"required":true},{"key":2,"enable":false,"required":false}],"terminateOption":{"type":2}}]},"userSetting":{"assigneeSettings":[{"type":2,"value":{"valueType":1,"fixedValue":"项目总监"},"enable":true,"key":"1709621889323-340dfa88"}],"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","event":400,"commands":[{"$type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon","serverCommandName":"修改增补工时状态","isAsync":false,"inputParams":[{"key":"申请ID","value":{"valueType":2,"tableFieldValue":{"TableName":"项目预算变动表","ColumnName":"ID","GUID":"68ceb174-fae7-42a2-bbaa-6fba151e39e5"}}},{"key":"状态","value":{"valueType":1,"fixedValue":"审批中"}}],"returnCodeTo":"","returnMessageTo":"","returnPropertiesTo":[],"$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","id":"1709619258361-d74c5e6d","enable":true}]},{"id":"1","event":300,"commands":[]},{"id":"2","event":302,"commands":[]},{"id":"1709621893732-6e730361","enable":true,"event":401,"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>
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"Name": "工时增补申请",
|
||||
"Name": "预算申请",
|
||||
"AllowStartRoleList": [],
|
||||
"AllowEditRoleList": [],
|
||||
"PermissionData": {
|
||||
@@ -12,7 +12,7 @@
|
||||
{
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.BpmProcess.BpmProcessPermissionBinding, Forguncy.RbacPermission.Core",
|
||||
"bpmProcessPermissionType": 1,
|
||||
"resourceName": "工时增补申请",
|
||||
"resourceName": "预算申请",
|
||||
"roleNames": [
|
||||
"FGC_LoginUser"
|
||||
]
|
||||
@@ -20,7 +20,7 @@
|
||||
{
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.BpmProcess.BpmProcessPermissionBinding, Forguncy.RbacPermission.Core",
|
||||
"bpmProcessPermissionType": 2,
|
||||
"resourceName": "工时增补申请",
|
||||
"resourceName": "预算申请",
|
||||
"roleNames": [
|
||||
"FGC_LoginUser"
|
||||
]
|
||||
Reference in New Issue
Block a user