|
@@ -0,0 +1,164 @@
|
|
|
+const flowData = {
|
|
|
+ nodeData: [
|
|
|
+ {
|
|
|
+ key: 'Event_bd987f6e-9659-4624-9d0c-c1804d9dd73b',
|
|
|
+ completed: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: 'Activity_98180a47-5854-405a-82e8-75378ee3936b',
|
|
|
+ completed: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: 'Activity_117cb232-ec7c-4b57-a04b-81f256b00a09',
|
|
|
+ completed: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ key: 'Activity_24128e99-5622-49ac-9578-8c8182fe1659',
|
|
|
+ completed: false,
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ xmlData: `<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_0001">
|
|
|
+ <bpmn:process id="Process_1703658160159" name="MES测试流程" isExecutable="true" camunda:asyncIndustryType="4" camunda:executeUserType="1" camunda:executeUser="" camunda:virtuallyRole="838317c0-e76b-475e-a78b-070df94d0d1b" camunda:nodeExecuteType="false">
|
|
|
+ <bpmn:startEvent id="Event_bd987f6e-9659-4624-9d0c-c1804d9dd73b" name="开始" camunda:asyncIndustryType="4" camunda:executeUserType="1" camunda:executeUser="" camunda:virtuallyRole="7b51acae-de8f-4a60-8229-7f9e2cfe77fe" camunda:nodeExecuteType="false" camunda:IndustryType="0" camunda:NormalScriptKey="commonStartNodeProductionScheduling" camunda:NormalScriptTriggerType="1">
|
|
|
+ <bpmn:outgoing>Flow_9ad9e6ec-b2ef-433e-aff8-a6607b5cb0e4</bpmn:outgoing>
|
|
|
+ </bpmn:startEvent>
|
|
|
+ <bpmn:userTask id="Activity_98180a47-5854-405a-82e8-75378ee3936b" name="工艺校验" camunda:executeUserType="1" camunda:executeUser="219" camunda:virtuallyRole="f3b2b6ad-842a-461a-a6e8-dbe0d25449da" camunda:nodeExecuteType="false" camunda:asyncIndustryType="4" camunda:nodeFormKey="NodeShow" camunda:IndustryType="5" camunda:NormalScriptKey="38508d71-ce2a-41de-b1e4-7c48f4f4ff7e" camunda:NormalScriptTriggerType="1" camunda:tableName="goods">
|
|
|
+ <bpmn:incoming>Flow_9ad9e6ec-b2ef-433e-aff8-a6607b5cb0e4</bpmn:incoming>
|
|
|
+ <bpmn:outgoing>Flow_d70d6a63-c165-48c4-a7e9-2b5ba89c018a</bpmn:outgoing>
|
|
|
+ </bpmn:userTask>
|
|
|
+ <bpmn:sequenceFlow id="Flow_9ad9e6ec-b2ef-433e-aff8-a6607b5cb0e4" sourceRef="Event_bd987f6e-9659-4624-9d0c-c1804d9dd73b" targetRef="Activity_98180a47-5854-405a-82e8-75378ee3936b" />
|
|
|
+ <bpmn:userTask id="Activity_117cb232-ec7c-4b57-a04b-81f256b00a09" name="绑定主制班组" camunda:asyncIndustryType="4" camunda:executeUserType="1" camunda:executeUser="219" camunda:virtuallyRole="817182cd-b962-4f55-b63c-f5395ce2ae2c" camunda:nodeExecuteType="false" camunda:nodeFormKey="AssignEmployees" camunda:IndustryType="5" camunda:NormalScriptKey="b83c419b-59cb-4f56-9b53-fd85811be20d" camunda:NormalScriptTriggerType="1" camunda:tableName="goods">
|
|
|
+ <bpmn:extensionElements>
|
|
|
+ <camunda:unusualTask scriptKey="4c163c35-6005-48cf-9dc0-3f07af04c70b" scriptTriggerType="0" scriptName="重绑工艺规程" industryType="0" compName="GY06" tableName="goods" />
|
|
|
+ </bpmn:extensionElements>
|
|
|
+ <bpmn:incoming>Flow_d70d6a63-c165-48c4-a7e9-2b5ba89c018a</bpmn:incoming>
|
|
|
+ <bpmn:outgoing>Flow_ac85664a-1c98-4a4c-8113-3c9deec61961</bpmn:outgoing>
|
|
|
+ </bpmn:userTask>
|
|
|
+ <bpmn:sequenceFlow id="Flow_d70d6a63-c165-48c4-a7e9-2b5ba89c018a" sourceRef="Activity_98180a47-5854-405a-82e8-75378ee3936b" targetRef="Activity_117cb232-ec7c-4b57-a04b-81f256b00a09" />
|
|
|
+ <bpmn:userTask id="Activity_24128e99-5622-49ac-9578-8c8182fe1659" name="物料配套" camunda:asyncIndustryType="4" camunda:executeUserType="1" camunda:executeUser="219" camunda:virtuallyRole="e13382ff-659f-42fa-8a0c-c52a6725fe27" camunda:nodeExecuteType="false" camunda:nodeFormKey="Notes" camunda:IndustryType="5" camunda:NormalScriptKey="a4ca30eb-805c-4c83-a71a-ccdf0f568fb2" camunda:NormalScriptTriggerType="1" camunda:tableName="goods">
|
|
|
+ <bpmn:extensionElements>
|
|
|
+ <camunda:unusualTask scriptKey="4c163c35-6005-48cf-9dc0-3f07af04c70b" scriptTriggerType="0" scriptName="重绑工艺规程" industryType="0" compName="GY06" tableName="goods" />
|
|
|
+ </bpmn:extensionElements>
|
|
|
+ <bpmn:incoming>Flow_ac85664a-1c98-4a4c-8113-3c9deec61961</bpmn:incoming>
|
|
|
+ <bpmn:outgoing>Flow_6ed2baa6-4379-47ed-90ba-52d8b5fdc410</bpmn:outgoing>
|
|
|
+ </bpmn:userTask>
|
|
|
+ <bpmn:sequenceFlow id="Flow_ac85664a-1c98-4a4c-8113-3c9deec61961" sourceRef="Activity_117cb232-ec7c-4b57-a04b-81f256b00a09" targetRef="Activity_24128e99-5622-49ac-9578-8c8182fe1659" />
|
|
|
+ <bpmn:userTask id="Activity_f0325f77-e328-4428-a52d-6ac2addba361" name="记录质控卡" camunda:asyncIndustryType="4" camunda:executeUserType="1" camunda:executeUser="219" camunda:virtuallyRole="94b51d4a-179e-493a-8a2f-44cf83792c26" camunda:nodeExecuteType="false" camunda:nodeFormKey="RecordQuality" camunda:IndustryType="5" camunda:NormalScriptKey="ca0e7a45-ea6b-45f7-b721-cfb28d106735" camunda:NormalScriptTriggerType="1" camunda:tableName="goods">
|
|
|
+ <bpmn:extensionElements>
|
|
|
+ <camunda:unusualTask scriptKey="4c163c35-6005-48cf-9dc0-3f07af04c70b" scriptTriggerType="0" scriptName="重绑工艺规程" industryType="0" compName="GY06" tableName="goods" />
|
|
|
+ </bpmn:extensionElements>
|
|
|
+ <bpmn:incoming>Flow_6ed2baa6-4379-47ed-90ba-52d8b5fdc410</bpmn:incoming>
|
|
|
+ <bpmn:outgoing>Flow_50b622d4-fe74-42d8-9454-59fab1d6d04a</bpmn:outgoing>
|
|
|
+ </bpmn:userTask>
|
|
|
+ <bpmn:sequenceFlow id="Flow_6ed2baa6-4379-47ed-90ba-52d8b5fdc410" sourceRef="Activity_24128e99-5622-49ac-9578-8c8182fe1659" targetRef="Activity_f0325f77-e328-4428-a52d-6ac2addba361" />
|
|
|
+ <bpmn:userTask id="Activity_fc91a2e3-373b-4d1c-bea7-0c980d60b2fb" name="工序1:领料" camunda:asyncIndustryType="4" camunda:executeUserType="1" camunda:executeUser="219" camunda:virtuallyRole="cb1afa03-fb8e-40ad-86f9-df778798a697" camunda:nodeExecuteType="false" camunda:nodeFormKey="ProductionProcesses" camunda:IndustryType="5" camunda:NormalScriptKey="d16766d9-d568-4776-b05c-6fe144e89321" camunda:NormalScriptTriggerType="1" camunda:tableName="goods">
|
|
|
+ <bpmn:extensionElements>
|
|
|
+ <camunda:unusualTask scriptKey="4c163c35-6005-48cf-9dc0-3f07af04c70b" scriptTriggerType="0" scriptName="重绑工艺规程" industryType="0" compName="GY06" tableName="goods" />
|
|
|
+ </bpmn:extensionElements>
|
|
|
+ <bpmn:incoming>Flow_50b622d4-fe74-42d8-9454-59fab1d6d04a</bpmn:incoming>
|
|
|
+ <bpmn:outgoing>Flow_f42217ee-cf62-48f4-8b0b-03283b730451</bpmn:outgoing>
|
|
|
+ </bpmn:userTask>
|
|
|
+ <bpmn:sequenceFlow id="Flow_50b622d4-fe74-42d8-9454-59fab1d6d04a" sourceRef="Activity_f0325f77-e328-4428-a52d-6ac2addba361" targetRef="Activity_fc91a2e3-373b-4d1c-bea7-0c980d60b2fb" />
|
|
|
+ <bpmn:userTask id="Activity_ebe6e915-222f-4bf9-84d3-834630439be1" name="工序2:检验" camunda:asyncIndustryType="4" camunda:executeUserType="1" camunda:executeUser="219" camunda:virtuallyRole="4da22333-adf7-4289-ad2f-bf4d57ef6bf1" camunda:nodeExecuteType="false" camunda:nodeFormKey="PersonalDistribution" camunda:IndustryType="5" camunda:NormalScriptKey="2ba2eac6-d196-40d2-be2c-f6e2758d2635" camunda:NormalScriptTriggerType="1" camunda:tableName="goods">
|
|
|
+ <bpmn:extensionElements>
|
|
|
+ <camunda:unusualTask scriptKey="4c163c35-6005-48cf-9dc0-3f07af04c70b" scriptTriggerType="0" scriptName="重绑工艺规程" industryType="0" compName="GY06" tableName="goods" />
|
|
|
+ </bpmn:extensionElements>
|
|
|
+ <bpmn:incoming>Flow_f42217ee-cf62-48f4-8b0b-03283b730451</bpmn:incoming>
|
|
|
+ <bpmn:outgoing>Flow_da7b8c30-0009-4ad3-ae2b-71a88abe96b3</bpmn:outgoing>
|
|
|
+ </bpmn:userTask>
|
|
|
+ <bpmn:sequenceFlow id="Flow_f42217ee-cf62-48f4-8b0b-03283b730451" sourceRef="Activity_fc91a2e3-373b-4d1c-bea7-0c980d60b2fb" targetRef="Activity_ebe6e915-222f-4bf9-84d3-834630439be1" />
|
|
|
+ <bpmn:userTask id="Activity_fc7cbe9f-9a10-43c0-a841-0af7ff12e01b" name="打印交接单" camunda:asyncIndustryType="4" camunda:executeUserType="1" camunda:executeUser="219" camunda:virtuallyRole="2658bc04-b036-465c-b883-9b5b1a597d74" camunda:nodeExecuteType="false" camunda:nodeFormKey="Print" camunda:IndustryType="5" camunda:NormalScriptKey="c0abcdde-3562-4bd3-ae86-00aaf333cbfc" camunda:NormalScriptTriggerType="1" camunda:tableName="goods">
|
|
|
+ <bpmn:extensionElements>
|
|
|
+ <camunda:unusualTask scriptKey="4c163c35-6005-48cf-9dc0-3f07af04c70b" scriptTriggerType="0" scriptName="重绑工艺规程" industryType="0" compName="GY06" tableName="goods" />
|
|
|
+ </bpmn:extensionElements>
|
|
|
+ <bpmn:incoming>Flow_da7b8c30-0009-4ad3-ae2b-71a88abe96b3</bpmn:incoming>
|
|
|
+ <bpmn:outgoing>Flow_76b0335b-f875-4544-bf2b-27139717c20f</bpmn:outgoing>
|
|
|
+ </bpmn:userTask>
|
|
|
+ <bpmn:sequenceFlow id="Flow_da7b8c30-0009-4ad3-ae2b-71a88abe96b3" sourceRef="Activity_ebe6e915-222f-4bf9-84d3-834630439be1" targetRef="Activity_fc7cbe9f-9a10-43c0-a841-0af7ff12e01b" />
|
|
|
+ <bpmn:endEvent id="Event_cc872c83-2afd-45a8-87a5-daa9e7dab99d" name="结束" camunda:asyncIndustryType="4" camunda:executeUserType="1" camunda:executeUser="" camunda:virtuallyRole="7ab698e9-d42f-45ca-99d4-5a0409b30865" camunda:nodeExecuteType="false" camunda:IndustryType="0" camunda:NormalScriptKey="commonEndEvent" camunda:NormalScriptTriggerType="1">
|
|
|
+ <bpmn:incoming>Flow_76b0335b-f875-4544-bf2b-27139717c20f</bpmn:incoming>
|
|
|
+ </bpmn:endEvent>
|
|
|
+ <bpmn:sequenceFlow id="Flow_76b0335b-f875-4544-bf2b-27139717c20f" sourceRef="Activity_fc7cbe9f-9a10-43c0-a841-0af7ff12e01b" targetRef="Event_cc872c83-2afd-45a8-87a5-daa9e7dab99d" />
|
|
|
+ </bpmn:process>
|
|
|
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
|
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1703658160159">
|
|
|
+ <bpmndi:BPMNShape id="Event_bd987f6e-9659-4624-9d0c-c1804d9dd73b_di" bpmnElement="Event_bd987f6e-9659-4624-9d0c-c1804d9dd73b">
|
|
|
+ <dc:Bounds x="272" y="342" width="36" height="36" />
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <dc:Bounds x="279" y="385" width="23" height="14" />
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Activity_98180a47-5854-405a-82e8-75378ee3936b_di" bpmnElement="Activity_98180a47-5854-405a-82e8-75378ee3936b">
|
|
|
+ <dc:Bounds x="408" y="300" width="120" height="120" />
|
|
|
+ <bpmndi:BPMNLabel />
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Activity_117cb232-ec7c-4b57-a04b-81f256b00a09_di" bpmnElement="Activity_117cb232-ec7c-4b57-a04b-81f256b00a09">
|
|
|
+ <dc:Bounds x="628" y="300" width="120" height="120" />
|
|
|
+ <bpmndi:BPMNLabel />
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Activity_24128e99-5622-49ac-9578-8c8182fe1659_di" bpmnElement="Activity_24128e99-5622-49ac-9578-8c8182fe1659">
|
|
|
+ <dc:Bounds x="848" y="300" width="120" height="120" />
|
|
|
+ <bpmndi:BPMNLabel />
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Activity_f0325f77-e328-4428-a52d-6ac2addba361_di" bpmnElement="Activity_f0325f77-e328-4428-a52d-6ac2addba361">
|
|
|
+ <dc:Bounds x="1068" y="300" width="120" height="120" />
|
|
|
+ <bpmndi:BPMNLabel />
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Activity_fc91a2e3-373b-4d1c-bea7-0c980d60b2fb_di" bpmnElement="Activity_fc91a2e3-373b-4d1c-bea7-0c980d60b2fb">
|
|
|
+ <dc:Bounds x="1288" y="300" width="120" height="120" />
|
|
|
+ <bpmndi:BPMNLabel />
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Activity_ebe6e915-222f-4bf9-84d3-834630439be1_di" bpmnElement="Activity_ebe6e915-222f-4bf9-84d3-834630439be1">
|
|
|
+ <dc:Bounds x="1508" y="300" width="120" height="120" />
|
|
|
+ <bpmndi:BPMNLabel />
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Activity_fc7cbe9f-9a10-43c0-a841-0af7ff12e01b_di" bpmnElement="Activity_fc7cbe9f-9a10-43c0-a841-0af7ff12e01b">
|
|
|
+ <dc:Bounds x="1728" y="300" width="120" height="120" />
|
|
|
+ <bpmndi:BPMNLabel />
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Event_cc872c83-2afd-45a8-87a5-daa9e7dab99d_di" bpmnElement="Event_cc872c83-2afd-45a8-87a5-daa9e7dab99d">
|
|
|
+ <dc:Bounds x="1948" y="342" width="36" height="36" />
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <dc:Bounds x="1955" y="385" width="23" height="14" />
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNEdge id="Flow_9ad9e6ec-b2ef-433e-aff8-a6607b5cb0e4_di" bpmnElement="Flow_9ad9e6ec-b2ef-433e-aff8-a6607b5cb0e4">
|
|
|
+ <di:waypoint x="308" y="360" />
|
|
|
+ <di:waypoint x="408" y="360" />
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="Flow_d70d6a63-c165-48c4-a7e9-2b5ba89c018a_di" bpmnElement="Flow_d70d6a63-c165-48c4-a7e9-2b5ba89c018a">
|
|
|
+ <di:waypoint x="528" y="360" />
|
|
|
+ <di:waypoint x="628" y="360" />
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="Flow_ac85664a-1c98-4a4c-8113-3c9deec61961_di" bpmnElement="Flow_ac85664a-1c98-4a4c-8113-3c9deec61961">
|
|
|
+ <di:waypoint x="748" y="360" />
|
|
|
+ <di:waypoint x="848" y="360" />
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="Flow_6ed2baa6-4379-47ed-90ba-52d8b5fdc410_di" bpmnElement="Flow_6ed2baa6-4379-47ed-90ba-52d8b5fdc410">
|
|
|
+ <di:waypoint x="968" y="360" />
|
|
|
+ <di:waypoint x="1068" y="360" />
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="Flow_50b622d4-fe74-42d8-9454-59fab1d6d04a_di" bpmnElement="Flow_50b622d4-fe74-42d8-9454-59fab1d6d04a">
|
|
|
+ <di:waypoint x="1188" y="360" />
|
|
|
+ <di:waypoint x="1288" y="360" />
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="Flow_f42217ee-cf62-48f4-8b0b-03283b730451_di" bpmnElement="Flow_f42217ee-cf62-48f4-8b0b-03283b730451">
|
|
|
+ <di:waypoint x="1408" y="360" />
|
|
|
+ <di:waypoint x="1508" y="360" />
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="Flow_da7b8c30-0009-4ad3-ae2b-71a88abe96b3_di" bpmnElement="Flow_da7b8c30-0009-4ad3-ae2b-71a88abe96b3">
|
|
|
+ <di:waypoint x="1628" y="360" />
|
|
|
+ <di:waypoint x="1728" y="360" />
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="Flow_76b0335b-f875-4544-bf2b-27139717c20f_di" bpmnElement="Flow_76b0335b-f875-4544-bf2b-27139717c20f">
|
|
|
+ <di:waypoint x="1848" y="360" />
|
|
|
+ <di:waypoint x="1948" y="360" />
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ </bpmndi:BPMNPlane>
|
|
|
+ </bpmndi:BPMNDiagram>
|
|
|
+</bpmn:definitions>
|
|
|
+`
|
|
|
+}
|
|
|
+
|
|
|
+export default flowData
|