新增流程
This commit is contained in:
parent
8b66e84f1e
commit
1bd7a86ec0
@ -1,6 +1,6 @@
|
||||
server:
|
||||
port: 7006
|
||||
url: http://192.168.0.106:7006/inspection
|
||||
url: http://192.168.0.113:7006/inspection
|
||||
title: 隐患上报系统
|
||||
servlet:
|
||||
context-path: /inspection
|
||||
@ -78,11 +78,11 @@ file:
|
||||
# 安全
|
||||
security:
|
||||
oauth2:
|
||||
oauth-server: http://192.168.0.106:7001/usercenter
|
||||
oauth-server: http://192.168.0.113:7001/usercenter
|
||||
oauth-logout: ${security.oauth2.oauth-server}/logout?redirect_uri=${server.url}
|
||||
client:
|
||||
client-id: 32ec344a5fd04fd9911586df5d1dc36b
|
||||
client-secret: a2NORTAyZmthdTNtVHNwLytGVVo0ckFhNktHQU9JWVFmUks0TGw5L2hQRW1ac2wwZTJHWk5NbXh3L3h3U2c4Rg==
|
||||
client-id: 89e9c099c0a24e7f90d3cdc0447a86b3
|
||||
client-secret: VlQ1WE53RDZ6QVJLaHd2b1dGMUdEdGFjYTRhVHUyOHNpQzZoVzE3V1NDOG1ac2wwZTJHWk5NbXh3L3h3U2c4Rg==
|
||||
user-authorization-uri: ${security.oauth2.oauth-server}/oauth/authorize
|
||||
access-token-uri: ${security.oauth2.oauth-server}/oauth/token
|
||||
grant-type: authorization_code
|
||||
|
179
src/main/resources/bpmn/check-self.bpmn.bpmn
Normal file
179
src/main/resources/bpmn/check-self.bpmn.bpmn
Normal file
@ -0,0 +1,179 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
||||
xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI"
|
||||
xmlns:activiti="http://activiti.org/bpmn"
|
||||
xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC"
|
||||
xmlns:tns="http://www.activiti.org/test"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
expressionLanguage="http://www.w3.org/1999/XPath"
|
||||
id="m1585124459573"
|
||||
name=""
|
||||
targetNamespace="http://www.activiti.org/test"
|
||||
typeLanguage="http://www.w3.org/2001/XMLSchema">
|
||||
<process xmlns="" id="checkSelfProcess" isClosed="false" isExecutable="true"
|
||||
processType="None">
|
||||
<startEvent id="_2" name="StartEvent"/>
|
||||
<userTask activiti:assignee="${reporter}" activiti:exclusive="true" id="_3"
|
||||
name="reportCase"/>
|
||||
<exclusiveGateway gatewayDirection="Unspecified" id="_4" name="isAllPass"/>
|
||||
<exclusiveGateway gatewayDirection="Unspecified" id="_5" name="isCoordination"/>
|
||||
<userTask activiti:assignee="${reporter}" activiti:exclusive="true" id="_7"
|
||||
name="ReExamination"/>
|
||||
<sequenceFlow id="_8" sourceRef="_2" targetRef="_3"/>
|
||||
<endEvent id="_14" name="EndEvent"/>
|
||||
<sequenceFlow id="_15" sourceRef="_4" targetRef="_14">
|
||||
<conditionExpression xsi:type="tFormalExpression">${isAllPass==1}</conditionExpression>
|
||||
</sequenceFlow>
|
||||
<userTask activiti:assignee="${leader}" activiti:exclusive="true" id="_16"
|
||||
name="superiorProcessing"/>
|
||||
<sequenceFlow id="_17" sourceRef="_5" targetRef="_16">
|
||||
<conditionExpression xsi:type="tFormalExpression">${isCoordination==0}</conditionExpression>
|
||||
</sequenceFlow>
|
||||
<exclusiveGateway gatewayDirection="Unspecified" id="_19" name="isSuccessfulTreatment"/>
|
||||
<sequenceFlow id="_20" sourceRef="_16" targetRef="_19"/>
|
||||
<sequenceFlow id="_21" sourceRef="_19" targetRef="_16">
|
||||
<conditionExpression xsi:type="tFormalExpression">${isSuccessfulTreatment==0}</conditionExpression>
|
||||
</sequenceFlow>
|
||||
<sequenceFlow id="_22" sourceRef="_19" targetRef="_14">
|
||||
<conditionExpression xsi:type="tFormalExpression">${isSuccessfulTreatment==1}</conditionExpression>
|
||||
</sequenceFlow>
|
||||
<sequenceFlow id="_23" sourceRef="_3" targetRef="_5"/>
|
||||
<sequenceFlow id="_24" sourceRef="_5" targetRef="_4">
|
||||
<conditionExpression xsi:type="tFormalExpression">${isCoordination==1}</conditionExpression>
|
||||
</sequenceFlow>
|
||||
<sequenceFlow id="_25" sourceRef="_4" targetRef="_7">
|
||||
<conditionExpression xsi:type="tFormalExpression">${isAllPass==0}</conditionExpression>
|
||||
</sequenceFlow>
|
||||
<sequenceFlow id="_26" sourceRef="_7" targetRef="_5"/>
|
||||
</process>
|
||||
<bpmndi:BPMNDiagram xmlns=""
|
||||
documentation="background=#FFFFFF;count=1;horizontalcount=1;orientation=0;width=842.4;height=1195.2;imageableWidth=832.4;imageableHeight=1185.2;imageableX=5.0;imageableY=5.0"
|
||||
id="Diagram-_1"
|
||||
name="New Diagram">
|
||||
<bpmndi:BPMNPlane bpmnElement="checkSelfProcess">
|
||||
<bpmndi:BPMNShape bpmnElement="_2" id="Shape-_2">
|
||||
<omgdc:Bounds height="32.0" width="32.0" x="425.0" y="5.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_3" id="Shape-_3">
|
||||
<omgdc:Bounds height="35.0" width="105.0" x="390.0" y="80.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="35.0" width="105.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_4" id="Shape-_4" isMarkerVisible="false">
|
||||
<omgdc:Bounds height="32.0" width="32.0" x="420.0" y="245.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_5" id="Shape-_5" isMarkerVisible="false">
|
||||
<omgdc:Bounds height="32.0" width="32.0" x="420.0" y="145.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_7" id="Shape-_7">
|
||||
<omgdc:Bounds height="30.0" width="130.0" x="380.0" y="360.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="30.0" width="130.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_14" id="Shape-_14">
|
||||
<omgdc:Bounds height="32.0" width="32.0" x="580.0" y="455.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_16" id="Shape-_16">
|
||||
<omgdc:Bounds height="25.0" width="170.0" x="655.0" y="150.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="25.0" width="170.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="_19" id="Shape-_19" isMarkerVisible="false">
|
||||
<omgdc:Bounds height="32.0" width="32.0" x="730.0" y="240.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="32.0" width="32.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge bpmnElement="_24" id="BPMNEdge__24" sourceElement="_5" targetElement="_4">
|
||||
<omgdi:waypoint x="436.0" y="177.0"/>
|
||||
<omgdi:waypoint x="436.0" y="245.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="_23" id="BPMNEdge__23" sourceElement="_3" targetElement="_5">
|
||||
<omgdi:waypoint x="436.0" y="115.0"/>
|
||||
<omgdi:waypoint x="436.0" y="145.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="_15" id="BPMNEdge__15" sourceElement="_4" targetElement="_14">
|
||||
<omgdi:waypoint x="452.0" y="261.0"/>
|
||||
<omgdi:waypoint x="530.0" y="310.0"/>
|
||||
<omgdi:waypoint x="580.0" y="471.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="_26" id="BPMNEdge__26" sourceElement="_7" targetElement="_5">
|
||||
<omgdi:waypoint x="380.0" y="375.0"/>
|
||||
<omgdi:waypoint x="340.0" y="270.0"/>
|
||||
<omgdi:waypoint x="420.0" y="161.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="_25" id="BPMNEdge__25" sourceElement="_4" targetElement="_7">
|
||||
<omgdi:waypoint x="436.0" y="277.0"/>
|
||||
<omgdi:waypoint x="436.0" y="360.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="2.0" width="0.0" x="0.0" y="-1.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="_17" id="BPMNEdge__17" sourceElement="_5" targetElement="_16">
|
||||
<omgdi:waypoint x="452.0" y="161.0"/>
|
||||
<omgdi:waypoint x="655.0" y="162.5"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="_8" id="BPMNEdge__8" sourceElement="_2" targetElement="_3">
|
||||
<omgdi:waypoint x="441.0" y="37.0"/>
|
||||
<omgdi:waypoint x="441.0" y="80.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="_20" id="BPMNEdge__20" sourceElement="_16" targetElement="_19">
|
||||
<omgdi:waypoint x="746.0" y="175.0"/>
|
||||
<omgdi:waypoint x="746.0" y="240.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="_22" id="BPMNEdge__22" sourceElement="_19" targetElement="_14">
|
||||
<omgdi:waypoint x="730.0" y="256.0"/>
|
||||
<omgdi:waypoint x="612.0" y="471.0"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="2.0" width="0.0" x="0.0" y="-1.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="_21" id="BPMNEdge__21" sourceElement="_19" targetElement="_16">
|
||||
<omgdi:waypoint x="762.0" y="256.0"/>
|
||||
<omgdi:waypoint x="865.0" y="205.0"/>
|
||||
<omgdi:waypoint x="825.0" y="162.5"/>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="0.0" width="0.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</definitions>
|
Loading…
Reference in New Issue
Block a user