Commit a803ea637149a36e87dcc9cefcdb3cde33abf7b4

Authored by 273548560@qq.com
1 parent a783e5ba

修复bug

trash-ui/src/api/warningInfo.js
@@ -116,7 +116,7 @@ export default { @@ -116,7 +116,7 @@ export default {
116 }, 116 },
117 { 117 {
118 code: 3, 118 code: 3,
119 - name: "工地预警未按时间作业" 119 + name: "工地预警-未按时间作业"
120 }, 120 },
121 { 121 {
122 code: 4, 122 code: 4,
trash-workFlow/src/main/java/com/trash/workflow/service/impl/WorkflowServiceImpl.java
@@ -289,6 +289,7 @@ public class WorkflowServiceImpl implements IWorkflowService { @@ -289,6 +289,7 @@ public class WorkflowServiceImpl implements IWorkflowService {
289 map.put("route", index); 289 map.put("route", index);
290 instance = runtimeService.createProcessInstanceBuilder() 290 instance = runtimeService.createProcessInstanceBuilder()
291 .businessKey(flowType + ":" + caseFile.getId()) 291 .businessKey(flowType + ":" + caseFile.getId())
  292 + .name(title)
292 .variable("route", index) 293 .variable("route", index)
293 .processDefinitionKey(flowType) 294 .processDefinitionKey(flowType)
294 .variables(map) 295 .variables(map)