|
@@ -9,7 +9,7 @@
|
|
|
</bpmn2:extensionElements>
|
|
|
<bpmn2:outgoing>Flow_15zn1tu</bpmn2:outgoing>
|
|
|
</bpmn2:startEvent>
|
|
|
- <bpmn2:userTask id="task_request" name="申请立项" camunda:assignee="owner">
|
|
|
+ <bpmn2:userTask id="task_request" name="申请立项" camunda:formKey="prj_create_req" camunda:assignee="owner">
|
|
|
<bpmn2:extensionElements>
|
|
|
<camunda:inputOutput>
|
|
|
<camunda:inputParameter name="show_in_my_works">${false}</camunda:inputParameter>
|
|
@@ -34,6 +34,7 @@
|
|
|
<camunda:inputParameter name="prj_id">${environment.variables.prj_id}</camunda:inputParameter>
|
|
|
<camunda:inputParameter name="prj_phase">overview_create</camunda:inputParameter>
|
|
|
<camunda:inputParameter name="prj_phase_name">立项审核中</camunda:inputParameter>
|
|
|
+ <camunda:inputParameter name="task_desc">{"memo": "{{}}"}</camunda:inputParameter>
|
|
|
</camunda:inputOutput>
|
|
|
</bpmn2:extensionElements>
|
|
|
<bpmn2:incoming>Flow_0jpbzcr</bpmn2:incoming>
|
|
@@ -86,7 +87,7 @@
|
|
|
<bpmn2:incoming>Flow_0tj9nd6</bpmn2:incoming>
|
|
|
<bpmn2:signalEventDefinition id="SignalEventDefinition_1tt7p06" signalRef="Signal_0hhmd7l" />
|
|
|
</bpmn2:intermediateThrowEvent>
|
|
|
- <bpmn2:sequenceFlow id="Flow_02taytj" sourceRef="event_throw_approved" targetRef="Event_end">
|
|
|
+ <bpmn2:sequenceFlow id="Flow_02taytj" sourceRef="event_throw_approved" targetRef="Activity_10dmh6u">
|
|
|
<bpmn2:extensionElements />
|
|
|
</bpmn2:sequenceFlow>
|
|
|
<bpmn2:intermediateThrowEvent id="event_throw_approved">
|
|
@@ -113,7 +114,7 @@
|
|
|
</camunda:properties>
|
|
|
</bpmn2:extensionElements>
|
|
|
</bpmn2:sequenceFlow>
|
|
|
- <bpmn2:sequenceFlow id="Flow_06cxzjx" sourceRef="event_throw_approved_back" targetRef="Activity_1dcslsv" />
|
|
|
+ <bpmn2:sequenceFlow id="Flow_06cxzjx" sourceRef="event_throw_approved_back" targetRef="task_place_on_file_reject" />
|
|
|
<bpmn2:manualTask id="task_create" name="创建项目">
|
|
|
<bpmn2:incoming>Flow_15zn1tu</bpmn2:incoming>
|
|
|
<bpmn2:outgoing>Flow_0gyvyyo</bpmn2:outgoing>
|
|
@@ -130,7 +131,7 @@
|
|
|
<bpmn2:sequenceFlow id="Flow_06kumr8" sourceRef="Activity_1dcslsv" targetRef="task_modify" />
|
|
|
<bpmn2:scriptTask id="Activity_1dcslsv" name="提醒审核被驳回" scriptFormat="Javascript">
|
|
|
<bpmn2:extensionElements />
|
|
|
- <bpmn2:incoming>Flow_06cxzjx</bpmn2:incoming>
|
|
|
+ <bpmn2:incoming>Flow_0sb2avy</bpmn2:incoming>
|
|
|
<bpmn2:outgoing>Flow_06kumr8</bpmn2:outgoing>
|
|
|
<bpmn2:script>this.environment.services.get_handlers('owner').then((handlers) => {
|
|
|
for (var i = 0; i < handlers.length; i++) {
|
|
@@ -141,7 +142,7 @@ next();
|
|
|
</bpmn2:scriptTask>
|
|
|
<bpmn2:endEvent id="Event_end">
|
|
|
<bpmn2:incoming>Flow_1ucg773</bpmn2:incoming>
|
|
|
- <bpmn2:incoming>Flow_02taytj</bpmn2:incoming>
|
|
|
+ <bpmn2:incoming>Flow_0if8for</bpmn2:incoming>
|
|
|
</bpmn2:endEvent>
|
|
|
<bpmn2:sequenceFlow id="Flow_01ekshh" sourceRef="Activity_16s6waw" targetRef="Gateway_00icdjr" />
|
|
|
<bpmn2:scriptTask id="Activity_16s6waw" name="检查审核人是否存在" scriptFormat="JavaScript">
|
|
@@ -161,7 +162,7 @@ this.environment.services.get_handlers('project_checker').then((handlers) =>
|
|
|
<bpmn2:sequenceFlow id="Flow_0a0l2t3" name="已设置审核组成员" sourceRef="Gateway_00icdjr" targetRef="Gateway_1hhlhsh">
|
|
|
<bpmn2:extensionElements>
|
|
|
<camunda:properties>
|
|
|
- <camunda:property name="prh_phase" value="apply_create" />
|
|
|
+ <camunda:property name="prj_phase" value="apply_create" />
|
|
|
<camunda:property name="prj_phase_name" value="申请立项中" />
|
|
|
</camunda:properties>
|
|
|
</bpmn2:extensionElements>
|
|
@@ -186,6 +187,22 @@ next();
|
|
|
</bpmn2:inclusiveGateway>
|
|
|
<bpmn2:sequenceFlow id="Flow_12nug8s" sourceRef="Gateway_1hhlhsh" targetRef="task_with_draw" />
|
|
|
<bpmn2:sequenceFlow id="Flow_0jpbzcr" sourceRef="Gateway_1hhlhsh" targetRef="task_approve" />
|
|
|
+ <bpmn2:sequenceFlow id="Flow_0sb2avy" sourceRef="task_place_on_file_reject" targetRef="Activity_1dcslsv" />
|
|
|
+ <bpmn2:scriptTask id="task_place_on_file_reject" name="归档审核未通过的立项文件" scriptFormat="Javascript">
|
|
|
+ <bpmn2:incoming>Flow_06cxzjx</bpmn2:incoming>
|
|
|
+ <bpmn2:outgoing>Flow_0sb2avy</bpmn2:outgoing>
|
|
|
+ <bpmn2:script>let files = this.environment.output.task_request.files;
|
|
|
+
|
|
|
+this.environment.services.place_on_files(files, "立项驳回").then(()=> next());</bpmn2:script>
|
|
|
+ </bpmn2:scriptTask>
|
|
|
+ <bpmn2:sequenceFlow id="Flow_0if8for" sourceRef="Activity_10dmh6u" targetRef="Event_end" />
|
|
|
+ <bpmn2:scriptTask id="Activity_10dmh6u" name="归档审核通过的立项文件" scriptFormat="JavaScript">
|
|
|
+ <bpmn2:incoming>Flow_02taytj</bpmn2:incoming>
|
|
|
+ <bpmn2:outgoing>Flow_0if8for</bpmn2:outgoing>
|
|
|
+ <bpmn2:script>let files = this.environment.output.task_request.files;
|
|
|
+
|
|
|
+this.environment.services.place_on_files(files, "立项通过", "project_set_up").then(()=> next());</bpmn2:script>
|
|
|
+ </bpmn2:scriptTask>
|
|
|
</bpmn2:process>
|
|
|
<bpmn2:signal id="Signal_0hhmd7l" name="cancel_sign" />
|
|
|
<bpmn2:message id="Message_0fh9t3e" name="msg_cancel" />
|
|
@@ -193,9 +210,30 @@ next();
|
|
|
<bpmn2:signal id="Signal_0828f9d" name="Signal_2sf6vik" />
|
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ProcessProjectApprove">
|
|
|
+ <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="event_start">
|
|
|
+ <dc:Bounds x="152" y="212" width="36" height="36" />
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Activity_09wmdbt_di" bpmnElement="task_request">
|
|
|
+ <dc:Bounds x="380" y="190" width="100" height="80" />
|
|
|
+ <bpmndi:BPMNLabel />
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Activity_0ds6ym0_di" bpmnElement="task_approve">
|
|
|
+ <dc:Bounds x="860" y="280" width="100" height="80" />
|
|
|
+ <bpmndi:BPMNLabel />
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
<bpmndi:BPMNShape id="Gateway_06baw71_di" bpmnElement="gateway_approved" isMarkerVisible="true">
|
|
|
<dc:Bounds x="1115" y="295" width="50" height="50" />
|
|
|
</bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Activity_0fonc56_di" bpmnElement="task_with_draw">
|
|
|
+ <dc:Bounds x="870" y="80" width="100" height="80" />
|
|
|
+ <bpmndi:BPMNLabel />
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Event_0mceau4_di" bpmnElement="Event_throw_withdraw">
|
|
|
+ <dc:Bounds x="1032" y="102" width="36" height="36" />
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
+ <dc:Bounds x="1028" y="78" width="44" height="14" />
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
<bpmndi:BPMNShape id="Event_0tntlum_di" bpmnElement="event_throw_approved">
|
|
|
<dc:Bounds x="1242" y="302" width="36" height="36" />
|
|
|
<bpmndi:BPMNLabel>
|
|
@@ -208,50 +246,42 @@ next();
|
|
|
<dc:Bounds x="1162" y="403" width="55" height="14" />
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNShape id="Activity_1fktaxz_di" bpmnElement="Activity_1dcslsv">
|
|
|
- <dc:Bounds x="970" y="410" width="100" height="80" />
|
|
|
- </bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNShape id="Event_1jljt88_di" bpmnElement="Event_end">
|
|
|
- <dc:Bounds x="1442" y="302" width="36" height="36" />
|
|
|
- </bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNShape id="Activity_0ds6ym0_di" bpmnElement="task_approve">
|
|
|
- <dc:Bounds x="860" y="280" width="100" height="80" />
|
|
|
- <bpmndi:BPMNLabel />
|
|
|
- </bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="event_start">
|
|
|
- <dc:Bounds x="152" y="212" width="36" height="36" />
|
|
|
- </bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNShape id="Activity_09wmdbt_di" bpmnElement="task_request">
|
|
|
- <dc:Bounds x="380" y="190" width="100" height="80" />
|
|
|
- <bpmndi:BPMNLabel />
|
|
|
- </bpmndi:BPMNShape>
|
|
|
<bpmndi:BPMNShape id="Activity_0isolrc_di" bpmnElement="task_create">
|
|
|
<dc:Bounds x="250" y="190" width="100" height="80" />
|
|
|
<bpmndi:BPMNLabel />
|
|
|
</bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Activity_1k7kq2t_di" bpmnElement="task_modify">
|
|
|
+ <dc:Bounds x="490" y="410" width="100" height="80" />
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Event_1jljt88_di" bpmnElement="Event_end">
|
|
|
+ <dc:Bounds x="1442" y="302" width="36" height="36" />
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
<bpmndi:BPMNShape id="Activity_0kc4efu_di" bpmnElement="Activity_16s6waw">
|
|
|
<dc:Bounds x="510" y="190" width="100" height="80" />
|
|
|
</bpmndi:BPMNShape>
|
|
|
<bpmndi:BPMNShape id="Gateway_00icdjr_di" bpmnElement="Gateway_00icdjr" isMarkerVisible="true">
|
|
|
<dc:Bounds x="655" y="205" width="50" height="50" />
|
|
|
</bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNShape id="Activity_1k7kq2t_di" bpmnElement="task_modify">
|
|
|
- <dc:Bounds x="490" y="410" width="100" height="80" />
|
|
|
- </bpmndi:BPMNShape>
|
|
|
<bpmndi:BPMNShape id="Activity_0qvsyb4_di" bpmnElement="Activity_0zp61jx">
|
|
|
<dc:Bounds x="630" y="280" width="100" height="80" />
|
|
|
</bpmndi:BPMNShape>
|
|
|
<bpmndi:BPMNShape id="Gateway_06flgld_di" bpmnElement="Gateway_1hhlhsh">
|
|
|
<dc:Bounds x="765" y="155" width="50" height="50" />
|
|
|
</bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNShape id="Activity_0fonc56_di" bpmnElement="task_with_draw">
|
|
|
- <dc:Bounds x="870" y="80" width="100" height="80" />
|
|
|
+ <bpmndi:BPMNShape id="Activity_1fktaxz_di" bpmnElement="Activity_1dcslsv">
|
|
|
+ <dc:Bounds x="600" y="540" width="100" height="80" />
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Activity_0hdmx5i_di" bpmnElement="task_place_on_file_reject">
|
|
|
+ <dc:Bounds x="860" y="540" width="100" height="80" />
|
|
|
<bpmndi:BPMNLabel />
|
|
|
</bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNShape id="Event_0mceau4_di" bpmnElement="Event_throw_withdraw">
|
|
|
- <dc:Bounds x="1032" y="102" width="36" height="36" />
|
|
|
+ <bpmndi:BPMNShape id="Activity_04s4p12_di" bpmnElement="Activity_10dmh6u">
|
|
|
+ <dc:Bounds x="1310" y="280" width="100" height="80" />
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNShape id="Event_06bs6js_di" bpmnElement="event_catch_approved">
|
|
|
+ <dc:Bounds x="912" y="142" width="36" height="36" />
|
|
|
<bpmndi:BPMNLabel>
|
|
|
- <dc:Bounds x="1028" y="78" width="44" height="14" />
|
|
|
+ <dc:Bounds x="943" y="173" width="33" height="14" />
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNShape>
|
|
|
<bpmndi:BPMNShape id="Event_0s1xb2l_di" bpmnElement="Event_catch_withdraw">
|
|
@@ -260,12 +290,14 @@ next();
|
|
|
<dc:Bounds x="949" y="378" width="22" height="14" />
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNShape>
|
|
|
- <bpmndi:BPMNShape id="Event_06bs6js_di" bpmnElement="event_catch_approved">
|
|
|
- <dc:Bounds x="912" y="142" width="36" height="36" />
|
|
|
- <bpmndi:BPMNLabel>
|
|
|
- <dc:Bounds x="943" y="173" width="33" height="14" />
|
|
|
- </bpmndi:BPMNLabel>
|
|
|
- </bpmndi:BPMNShape>
|
|
|
+ <bpmndi:BPMNEdge id="Flow_15zn1tu_di" bpmnElement="Flow_15zn1tu">
|
|
|
+ <di:waypoint x="188" y="230" />
|
|
|
+ <di:waypoint x="250" y="230" />
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="Flow_1rg4oob_di" bpmnElement="Flow_1rg4oob">
|
|
|
+ <di:waypoint x="480" y="230" />
|
|
|
+ <di:waypoint x="510" y="230" />
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge id="Flow_193tusd_di" bpmnElement="Flow_193tusd">
|
|
|
<di:waypoint x="960" y="320" />
|
|
|
<di:waypoint x="1115" y="320" />
|
|
@@ -284,18 +316,13 @@ next();
|
|
|
<dc:Bounds x="1144" y="353" width="22" height="14" />
|
|
|
</bpmndi:BPMNLabel>
|
|
|
</bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="Flow_0tj9nd6_di" bpmnElement="Flow_0tj9nd6">
|
|
|
+ <di:waypoint x="970" y="120" />
|
|
|
+ <di:waypoint x="1032" y="120" />
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge id="Flow_02taytj_di" bpmnElement="Flow_02taytj">
|
|
|
<di:waypoint x="1278" y="320" />
|
|
|
- <di:waypoint x="1442" y="320" />
|
|
|
- </bpmndi:BPMNEdge>
|
|
|
- <bpmndi:BPMNEdge id="Flow_06cxzjx_di" bpmnElement="Flow_06cxzjx">
|
|
|
- <di:waypoint x="1140" y="428" />
|
|
|
- <di:waypoint x="1140" y="450" />
|
|
|
- <di:waypoint x="1070" y="450" />
|
|
|
- </bpmndi:BPMNEdge>
|
|
|
- <bpmndi:BPMNEdge id="Flow_06kumr8_di" bpmnElement="Flow_06kumr8">
|
|
|
- <di:waypoint x="970" y="450" />
|
|
|
- <di:waypoint x="590" y="450" />
|
|
|
+ <di:waypoint x="1310" y="320" />
|
|
|
</bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge id="Flow_1ucg773_di" bpmnElement="Flow_1ucg773">
|
|
|
<di:waypoint x="930" y="178" />
|
|
@@ -303,28 +330,30 @@ next();
|
|
|
<di:waypoint x="1460" y="240" />
|
|
|
<di:waypoint x="1460" y="302" />
|
|
|
</bpmndi:BPMNEdge>
|
|
|
- <bpmndi:BPMNEdge id="Flow_0jpbzcr_di" bpmnElement="Flow_0jpbzcr">
|
|
|
- <di:waypoint x="790" y="205" />
|
|
|
- <di:waypoint x="790" y="320" />
|
|
|
- <di:waypoint x="860" y="320" />
|
|
|
- </bpmndi:BPMNEdge>
|
|
|
- <bpmndi:BPMNEdge id="Flow_15zn1tu_di" bpmnElement="Flow_15zn1tu">
|
|
|
- <di:waypoint x="188" y="230" />
|
|
|
- <di:waypoint x="250" y="230" />
|
|
|
- </bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge id="Flow_1t45qnv_di" bpmnElement="Flow_1t45qnv">
|
|
|
<di:waypoint x="540" y="410" />
|
|
|
<di:waypoint x="540" y="385" />
|
|
|
<di:waypoint x="450" y="385" />
|
|
|
<di:waypoint x="450" y="270" />
|
|
|
</bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="Flow_0nzbvpg_di" bpmnElement="Flow_0nzbvpg">
|
|
|
+ <di:waypoint x="940" y="378" />
|
|
|
+ <di:waypoint x="940" y="440" />
|
|
|
+ <di:waypoint x="590" y="440" />
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="Flow_06cxzjx_di" bpmnElement="Flow_06cxzjx">
|
|
|
+ <di:waypoint x="1140" y="428" />
|
|
|
+ <di:waypoint x="1140" y="580" />
|
|
|
+ <di:waypoint x="960" y="580" />
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge id="Flow_0gyvyyo_di" bpmnElement="Flow_0gyvyyo">
|
|
|
<di:waypoint x="350" y="230" />
|
|
|
<di:waypoint x="380" y="230" />
|
|
|
</bpmndi:BPMNEdge>
|
|
|
- <bpmndi:BPMNEdge id="Flow_1rg4oob_di" bpmnElement="Flow_1rg4oob">
|
|
|
- <di:waypoint x="480" y="230" />
|
|
|
- <di:waypoint x="510" y="230" />
|
|
|
+ <bpmndi:BPMNEdge id="Flow_06kumr8_di" bpmnElement="Flow_06kumr8">
|
|
|
+ <di:waypoint x="600" y="580" />
|
|
|
+ <di:waypoint x="530" y="580" />
|
|
|
+ <di:waypoint x="530" y="490" />
|
|
|
</bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge id="Flow_01ekshh_di" bpmnElement="Flow_01ekshh">
|
|
|
<di:waypoint x="610" y="230" />
|
|
@@ -342,11 +371,6 @@ next();
|
|
|
<di:waypoint x="680" y="255" />
|
|
|
<di:waypoint x="680" y="280" />
|
|
|
</bpmndi:BPMNEdge>
|
|
|
- <bpmndi:BPMNEdge id="Flow_0nzbvpg_di" bpmnElement="Flow_0nzbvpg">
|
|
|
- <di:waypoint x="940" y="378" />
|
|
|
- <di:waypoint x="940" y="440" />
|
|
|
- <di:waypoint x="590" y="440" />
|
|
|
- </bpmndi:BPMNEdge>
|
|
|
<bpmndi:BPMNEdge id="Flow_01n3edp_di" bpmnElement="Flow_01n3edp">
|
|
|
<di:waypoint x="680" y="360" />
|
|
|
<di:waypoint x="680" y="400" />
|
|
@@ -359,9 +383,18 @@ next();
|
|
|
<di:waypoint x="790" y="110" />
|
|
|
<di:waypoint x="870" y="110" />
|
|
|
</bpmndi:BPMNEdge>
|
|
|
- <bpmndi:BPMNEdge id="Flow_0tj9nd6_di" bpmnElement="Flow_0tj9nd6">
|
|
|
- <di:waypoint x="970" y="120" />
|
|
|
- <di:waypoint x="1032" y="120" />
|
|
|
+ <bpmndi:BPMNEdge id="Flow_0jpbzcr_di" bpmnElement="Flow_0jpbzcr">
|
|
|
+ <di:waypoint x="790" y="205" />
|
|
|
+ <di:waypoint x="790" y="320" />
|
|
|
+ <di:waypoint x="860" y="320" />
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="Flow_0sb2avy_di" bpmnElement="Flow_0sb2avy">
|
|
|
+ <di:waypoint x="860" y="580" />
|
|
|
+ <di:waypoint x="700" y="580" />
|
|
|
+ </bpmndi:BPMNEdge>
|
|
|
+ <bpmndi:BPMNEdge id="Flow_0if8for_di" bpmnElement="Flow_0if8for">
|
|
|
+ <di:waypoint x="1410" y="320" />
|
|
|
+ <di:waypoint x="1442" y="320" />
|
|
|
</bpmndi:BPMNEdge>
|
|
|
</bpmndi:BPMNPlane>
|
|
|
</bpmndi:BPMNDiagram>
|