Commit 42fad2dd0406452f99c971b69539df702d42dc74
1 parent
9d500e9d
m
Showing
4 changed files
with
11 additions
and
21 deletions
trash-ui/src/layout/index.vue
trash-ui/src/layout/index55.vue renamed to trash-ui/src/layout/index5.vue
trash-ui/src/views/activiti/task/contractInfo.vue
| ... | ... | @@ -18,13 +18,6 @@ |
| 18 | 18 | <el-col :span="6" class="bd bd_left">有效期结束时间</el-col> |
| 19 | 19 | <el-col :span="6" class="bd">{{infoData.endTime}}</el-col> |
| 20 | 20 | </el-row> |
| 21 | - <el-row > | |
| 22 | - <el-col :span="6" class="bd">消纳场名称</el-col> | |
| 23 | - <el-col :span="6" class="bd">{{infoData.earthSiteName}}</el-col> | |
| 24 | - <el-col :span="6" class="bd bd_left">工程名称</el-col> | |
| 25 | - <el-col :span="6" class="bd">{{infoData.constructionSiteName}}</el-col> | |
| 26 | - </el-row> | |
| 27 | - | |
| 28 | 21 | |
| 29 | 22 | <el-row > |
| 30 | 23 | <el-col :span="6" class="bd">消纳合同编号</el-col> | ... | ... |
trash-workFlow/src/main/java/com/trash/workflow/service/impl/WorkflowServiceImpl.java
| ... | ... | @@ -103,6 +103,9 @@ public class WorkflowServiceImpl implements IWorkflowService { |
| 103 | 103 | String reason = map.get("reason").toString(); |
| 104 | 104 | String startTime = map.get("startTime").toString(); |
| 105 | 105 | String endTime = map.get("endTime").toString(); |
| 106 | + String areaCode = null; | |
| 107 | + if(map.get("area") != null) | |
| 108 | + areaCode = map.get("area").toString(); | |
| 106 | 109 | |
| 107 | 110 | ProcessInstance processInstance = null; |
| 108 | 111 | |
| ... | ... | @@ -113,11 +116,7 @@ public class WorkflowServiceImpl implements IWorkflowService { |
| 113 | 116 | |
| 114 | 117 | |
| 115 | 118 | if (flowType.equals("workflow_earthsites")) { |
| 116 | - JSONObject earthsites = RemoteServerUtils.getEarthSitesInfo(map.get("id").toString()); | |
| 117 | - | |
| 118 | - if (earthsites != null) { | |
| 119 | - updateProcess(processInstance, earthsites.getString("areaName")); | |
| 120 | - } | |
| 119 | + PorcThreeStepTask(processInstance, areaCode); | |
| 121 | 120 | } |
| 122 | 121 | |
| 123 | 122 | Workflow workflow = new Workflow(); |
| ... | ... | @@ -436,8 +435,6 @@ public class WorkflowServiceImpl implements IWorkflowService { |
| 436 | 435 | } |
| 437 | 436 | } |
| 438 | 437 | |
| 439 | - ; | |
| 440 | - | |
| 441 | 438 | void updateProcessKafka(org.activiti.engine.runtime.ProcessInstance processInstance, String placeName, String token) { |
| 442 | 439 | Map map = new HashedMap<>(); |
| 443 | 440 | ... | ... |