fix -- 修复流程图显示异常bug
This commit is contained in:
@@ -95,7 +95,7 @@ public class FlowDefinitionController extends BaseController {
|
|||||||
try {
|
try {
|
||||||
return R.ok(flowDefinitionService.readXml(definitionId), null);
|
return R.ok(flowDefinitionService.readXml(definitionId), null);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
return R.fail("加载xml文件异常", null);
|
return R.fail("加载xml文件异常");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -694,6 +694,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
|
|||||||
for (HistoricActivityInstance histIns : list) {
|
for (HistoricActivityInstance histIns : list) {
|
||||||
if (StringUtils.isNotBlank(histIns.getTaskId())) {
|
if (StringUtils.isNotBlank(histIns.getTaskId())) {
|
||||||
FlowTaskDto flowTask = new FlowTaskDto();
|
FlowTaskDto flowTask = new FlowTaskDto();
|
||||||
|
flowTask.setProcDefId(histIns.getProcessDefinitionId());
|
||||||
flowTask.setTaskId(histIns.getTaskId());
|
flowTask.setTaskId(histIns.getTaskId());
|
||||||
flowTask.setTaskName(histIns.getActivityName());
|
flowTask.setTaskName(histIns.getActivityName());
|
||||||
flowTask.setCreateTime(histIns.getStartTime());
|
flowTask.setCreateTime(histIns.getStartTime());
|
||||||
|
|||||||
@@ -206,6 +206,7 @@ export default {
|
|||||||
handleFlowRecord(row){
|
handleFlowRecord(row){
|
||||||
this.$router.push({ path: '/task/record/index',
|
this.$router.push({ path: '/task/record/index',
|
||||||
query: {
|
query: {
|
||||||
|
definitionId: row.procDefId,
|
||||||
procInsId: row.procInsId,
|
procInsId: row.procInsId,
|
||||||
deployId: row.deployId,
|
deployId: row.deployId,
|
||||||
taskId: row.taskId,
|
taskId: row.taskId,
|
||||||
|
|||||||
Reference in New Issue
Block a user