|
@@ -206,7 +206,7 @@
|
|
<bpmn2:signalEventDefinition id="SignalEventDefinition_0y27jk5" signalRef="Signal_0828f9d" />
|
|
<bpmn2:signalEventDefinition id="SignalEventDefinition_0y27jk5" signalRef="Signal_0828f9d" />
|
|
</bpmn2:intermediateThrowEvent>
|
|
</bpmn2:intermediateThrowEvent>
|
|
<bpmn2:sequenceFlow id="Flow_1t45qnv" sourceRef="task_modify" targetRef="task_request" />
|
|
<bpmn2:sequenceFlow id="Flow_1t45qnv" sourceRef="task_modify" targetRef="task_request" />
|
|
- <bpmn2:sequenceFlow id="Flow_0nzbvpg" sourceRef="Event_catch_withdraw" targetRef="task_modify">
|
|
|
|
|
|
+ <bpmn2:sequenceFlow id="Flow_0nzbvpg" sourceRef="Event_catch_withdraw" targetRef="Activity_1ga5o6o">
|
|
<bpmn2:extensionElements>
|
|
<bpmn2:extensionElements>
|
|
<camunda:properties>
|
|
<camunda:properties>
|
|
<camunda:property name="prj_phase" value="new" />
|
|
<camunda:property name="prj_phase" value="new" />
|
|
@@ -224,9 +224,9 @@
|
|
</bpmn2:sequenceFlow>
|
|
</bpmn2:sequenceFlow>
|
|
<bpmn2:manualTask id="task_modify" name="修改项目信息">
|
|
<bpmn2:manualTask id="task_modify" name="修改项目信息">
|
|
<bpmn2:extensionElements />
|
|
<bpmn2:extensionElements />
|
|
- <bpmn2:incoming>Flow_0nzbvpg</bpmn2:incoming>
|
|
|
|
<bpmn2:incoming>Flow_01n3edp</bpmn2:incoming>
|
|
<bpmn2:incoming>Flow_01n3edp</bpmn2:incoming>
|
|
<bpmn2:incoming>Flow_0sb2avy</bpmn2:incoming>
|
|
<bpmn2:incoming>Flow_0sb2avy</bpmn2:incoming>
|
|
|
|
+ <bpmn2:incoming>Flow_0ipuk5f</bpmn2:incoming>
|
|
<bpmn2:outgoing>Flow_1t45qnv</bpmn2:outgoing>
|
|
<bpmn2:outgoing>Flow_1t45qnv</bpmn2:outgoing>
|
|
</bpmn2:manualTask>
|
|
</bpmn2:manualTask>
|
|
<bpmn2:endEvent id="Event_end">
|
|
<bpmn2:endEvent id="Event_end">
|
|
@@ -293,8 +293,12 @@ this.environment.services.get_handlers('project_checker').then((handlers) =>
|
|
<bpmn2:outgoing>Flow_0sb2avy</bpmn2:outgoing>
|
|
<bpmn2:outgoing>Flow_0sb2avy</bpmn2:outgoing>
|
|
<bpmn2:script>try{
|
|
<bpmn2:script>try{
|
|
let files = this.environment.output.task_request.files;
|
|
let files = this.environment.output.task_request.files;
|
|
|
|
+if (files) {
|
|
|
|
+ this.environment.services.place_on_files(files, "立项驳回").then(()=> next());
|
|
|
|
+} else {
|
|
|
|
+ next();
|
|
|
|
+}
|
|
|
|
|
|
-this.environment.services.place_on_files(files, "立项驳回").then(()=> next());
|
|
|
|
} catch(e){
|
|
} catch(e){
|
|
this.environment.Logger('work').error(e);
|
|
this.environment.Logger('work').error(e);
|
|
next();
|
|
next();
|
|
@@ -306,10 +310,30 @@ next();
|
|
<bpmn2:outgoing>Flow_0if8for</bpmn2:outgoing>
|
|
<bpmn2:outgoing>Flow_0if8for</bpmn2:outgoing>
|
|
<bpmn2:script>try{
|
|
<bpmn2:script>try{
|
|
let files = this.environment.output.task_request.files;
|
|
let files = this.environment.output.task_request.files;
|
|
|
|
+if (files) {
|
|
|
|
+ this.environment.services.place_on_files(files, "立项通过", "project_set_up").then(()=> next());
|
|
|
|
+} else {
|
|
|
|
+ next();
|
|
|
|
+}
|
|
|
|
|
|
-this.environment.services.place_on_files(files, "立项通过", "project_set_up").then(()=> next());
|
|
|
|
}catch(e){
|
|
}catch(e){
|
|
next();
|
|
next();
|
|
|
|
+}</bpmn2:script>
|
|
|
|
+ </bpmn2:scriptTask>
|
|
|
|
+ <bpmn2:sequenceFlow id="Flow_0ipuk5f" sourceRef="Activity_1ga5o6o" targetRef="task_modify" />
|
|
|
|
+ <bpmn2:scriptTask id="Activity_1ga5o6o" name="归档撤回的立项文件" scriptFormat="JavaScript">
|
|
|
|
+ <bpmn2:incoming>Flow_0nzbvpg</bpmn2:incoming>
|
|
|
|
+ <bpmn2:outgoing>Flow_0ipuk5f</bpmn2:outgoing>
|
|
|
|
+ <bpmn2:script>try{
|
|
|
|
+let files = this.environment.output.task_request.files;
|
|
|
|
+if (files) {
|
|
|
|
+ this.environment.services.place_on_files(files, "主动撤回").then(()=> next());
|
|
|
|
+} else {
|
|
|
|
+ next();
|
|
|
|
+}
|
|
|
|
+} catch(e){
|
|
|
|
+this.environment.Logger('work').error(e);
|
|
|
|
+next();
|
|
}</bpmn2:script>
|
|
}</bpmn2:script>
|
|
</bpmn2:scriptTask>
|
|
</bpmn2:scriptTask>
|
|
</bpmn2:process>
|
|
</bpmn2:process>
|
|
@@ -337,12 +361,6 @@ next();
|
|
<dc:Bounds x="870" y="80" width="100" height="80" />
|
|
<dc:Bounds x="870" y="80" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
</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">
|
|
<bpmndi:BPMNShape id="Event_0tntlum_di" bpmnElement="event_throw_approved">
|
|
<dc:Bounds x="1242" y="302" width="36" height="36" />
|
|
<dc:Bounds x="1242" y="302" width="36" height="36" />
|
|
<bpmndi:BPMNLabel>
|
|
<bpmndi:BPMNLabel>
|
|
@@ -384,6 +402,16 @@ next();
|
|
<bpmndi:BPMNShape id="Activity_04s4p12_di" bpmnElement="Activity_10dmh6u">
|
|
<bpmndi:BPMNShape id="Activity_04s4p12_di" bpmnElement="Activity_10dmh6u">
|
|
<dc:Bounds x="1310" y="280" width="100" height="80" />
|
|
<dc:Bounds x="1310" y="280" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
</bpmndi:BPMNShape>
|
|
|
|
+ <bpmndi:BPMNShape id="Event_0mceau4_di" bpmnElement="Event_throw_withdraw">
|
|
|
|
+ <dc:Bounds x="1112" y="102" width="36" height="36" />
|
|
|
|
+ <bpmndi:BPMNLabel>
|
|
|
|
+ <dc:Bounds x="1108" y="78" width="44" height="14" />
|
|
|
|
+ </bpmndi:BPMNLabel>
|
|
|
|
+ </bpmndi:BPMNShape>
|
|
|
|
+ <bpmndi:BPMNShape id="Activity_1k1mf96_di" bpmnElement="Activity_1ga5o6o">
|
|
|
|
+ <dc:Bounds x="770" y="400" width="100" height="80" />
|
|
|
|
+ <bpmndi:BPMNLabel />
|
|
|
|
+ </bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_06bs6js_di" bpmnElement="event_catch_approved">
|
|
<bpmndi:BPMNShape id="Event_06bs6js_di" bpmnElement="event_catch_approved">
|
|
<dc:Bounds x="912" y="142" width="36" height="36" />
|
|
<dc:Bounds x="912" y="142" width="36" height="36" />
|
|
<bpmndi:BPMNLabel>
|
|
<bpmndi:BPMNLabel>
|
|
@@ -424,7 +452,7 @@ next();
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0tj9nd6_di" bpmnElement="Flow_0tj9nd6">
|
|
<bpmndi:BPMNEdge id="Flow_0tj9nd6_di" bpmnElement="Flow_0tj9nd6">
|
|
<di:waypoint x="970" y="120" />
|
|
<di:waypoint x="970" y="120" />
|
|
- <di:waypoint x="1032" y="120" />
|
|
|
|
|
|
+ <di:waypoint x="1112" y="120" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_02taytj_di" bpmnElement="Flow_02taytj">
|
|
<bpmndi:BPMNEdge id="Flow_02taytj_di" bpmnElement="Flow_02taytj">
|
|
<di:waypoint x="1278" y="320" />
|
|
<di:waypoint x="1278" y="320" />
|
|
@@ -445,7 +473,7 @@ next();
|
|
<bpmndi:BPMNEdge id="Flow_0nzbvpg_di" bpmnElement="Flow_0nzbvpg">
|
|
<bpmndi:BPMNEdge id="Flow_0nzbvpg_di" bpmnElement="Flow_0nzbvpg">
|
|
<di:waypoint x="938" y="378" />
|
|
<di:waypoint x="938" y="378" />
|
|
<di:waypoint x="938" y="440" />
|
|
<di:waypoint x="938" y="440" />
|
|
- <di:waypoint x="590" y="440" />
|
|
|
|
|
|
+ <di:waypoint x="870" y="440" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_06cxzjx_di" bpmnElement="Flow_06cxzjx">
|
|
<bpmndi:BPMNEdge id="Flow_06cxzjx_di" bpmnElement="Flow_06cxzjx">
|
|
<di:waypoint x="1140" y="428" />
|
|
<di:waypoint x="1140" y="428" />
|
|
@@ -497,6 +525,10 @@ next();
|
|
<di:waypoint x="1410" y="320" />
|
|
<di:waypoint x="1410" y="320" />
|
|
<di:waypoint x="1442" y="320" />
|
|
<di:waypoint x="1442" y="320" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNEdge>
|
|
|
|
+ <bpmndi:BPMNEdge id="Flow_0ipuk5f_di" bpmnElement="Flow_0ipuk5f">
|
|
|
|
+ <di:waypoint x="770" y="440" />
|
|
|
|
+ <di:waypoint x="590" y="440" />
|
|
|
|
+ </bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmndi:BPMNDiagram>
|
|
-</bpmn2:definitions>
|
|
|
|
|
|
+</bpmn2:definitions>
|