20200619-zlp-2

首页-一日流程学习树
This commit is contained in:
paidaxing444 2020-06-19 18:25:00 +08:00
parent eb8ab45518
commit 72bf290a85
2 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1,21 @@
<template>
<div>
<svg-icon icon-class="question" @click="goto"/>
</div>
</template>
<script>
export default {
name: 'BenYiDoc',
data() {
return {
url: 'https://www.baidu.com'
}
},
methods: {
goto() {
window.open(this.url)
}
}
}
</script>

View File

@ -70,7 +70,7 @@ public class ByDayFlowDetailServiceImpl implements IByDayFlowDetailService
*/
@Override
public List<ByDayFlowDetail> buildDayFlowDetailTree(List<ByDayFlowDetail> byDayFlowDetails) {
System.out.println("start---");
//System.out.println("start---");
List<ByDayFlowDetail> returnList = new ArrayList<ByDayFlowDetail>();
List<Long> tempList = new ArrayList<Long>();
for (ByDayFlowDetail byDayFlowDetail : byDayFlowDetails)
@ -80,7 +80,7 @@ public class ByDayFlowDetailServiceImpl implements IByDayFlowDetailService
for (Iterator<ByDayFlowDetail> iterator = byDayFlowDetails.iterator(); iterator.hasNext();)
{
ByDayFlowDetail byDayFlowDetail = (ByDayFlowDetail) iterator.next();
System.out.println("test==="+!tempList.contains(byDayFlowDetail.getParentId()));
//System.out.println("test==="+!tempList.contains(byDayFlowDetail.getParentId()));
// 如果是顶级节点, 遍历该父节点的所有子节点
if (!tempList.contains(byDayFlowDetail.getParentId()))
{