修改手机端认证任务展示
This commit is contained in:
+15
@@ -148,6 +148,21 @@ public class ToDoCenterServiceImpl implements IToDoCenterService {
|
||||
|
||||
// 判断当前用户在这个认证流程中 有几个任务。 责任人 接受、责任人 提交交付物、认证工程审批
|
||||
if (CollectionUtils.isNotEmpty(pidEos)) {
|
||||
|
||||
List<ProcessInfoDetailEO> rzgcsjsPidEos = pidEos.stream().filter(pidEo -> {
|
||||
boolean flag = (
|
||||
StringUtils.equals(pidEo.getTaskDefinitionKey(), CertificationFlowNodeEnum.RZGCSJSRW.getKey())
|
||||
|| StringUtils.equals(pidEo.getTaskDefinitionKey(), CertificationFlowNodeEnum.ZRRJJRW.getKey())
|
||||
);
|
||||
return flag;
|
||||
}).collect(Collectors.toList());
|
||||
if (CollectionUtils.isNotEmpty(rzgcsjsPidEos)) {
|
||||
ProcessInfoVO processInfoVOTemp = new ProcessInfoVO();
|
||||
BeanUtils.copyProperties(data, processInfoVOTemp);
|
||||
processInfoVOTemp.setTaskDefinitionKey(CertificationFlowNodeEnum.CHECKLIST_VERIFICATION.getKey());
|
||||
datasTemp.add(processInfoVOTemp);
|
||||
}
|
||||
|
||||
List<ProcessInfoDetailEO> zrrjsrwPidEos = pidEos.stream().filter(pidEo -> {
|
||||
return StringUtils.equals(pidEo.getTaskDefinitionKey(), CertificationFlowNodeEnum.ZRRJSRW.getKey());
|
||||
}).collect(Collectors.toList());
|
||||
|
||||
@@ -57,7 +57,9 @@
|
||||
:class="{'content-box-left-one':language == 'en-us' ? true : false}">{{ $t('cutoffTime') }}</span>
|
||||
<span class="content-box-text-color" :class="isNew(item.endTime)">{{ item.endTime || '--' }}</span>
|
||||
</div>
|
||||
<div v-if="item.flowType == '2' || item.flowType == '4' || item.flowType == '21'"></div>
|
||||
<div v-if="item.flowType == '2' || item.flowType == '4' || (item.flowType == '21' && item.taskDefinitionKey == 'Task Review') ||
|
||||
(item.flowType == '21' && item.taskDefinitionKey == 'Task handling') || (item.flowType == '21' && item.taskDefinitionKey == 'Task responsibility confirmation')"></div>
|
||||
|
||||
<div class="content-box-right" v-else>
|
||||
<img src="~@/assets/icon_single_screen.svg" alt="">
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user