Commit a803ea637149a36e87dcc9cefcdb3cde33abf7b4

Authored by 273548560@qq.com
1 parent a783e5ba

修复bug

trash-ui/src/api/warningInfo.js
... ... @@ -116,7 +116,7 @@ export default {
116 116 },
117 117 {
118 118 code: 3,
119   - name: "工地预警未按时间作业"
  119 + name: "工地预警-未按时间作业"
120 120 },
121 121 {
122 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 289 map.put("route", index);
290 290 instance = runtimeService.createProcessInstanceBuilder()
291 291 .businessKey(flowType + ":" + caseFile.getId())
  292 + .name(title)
292 293 .variable("route", index)
293 294 .processDefinitionKey(flowType)
294 295 .variables(map)
... ...