20200619-zlp-2
首页-一日流程学习树
This commit is contained in:
parent
eb8ab45518
commit
72bf290a85
21
ruoyi-ui/src/components/BenYi/Doc/index.vue
Normal file
21
ruoyi-ui/src/components/BenYi/Doc/index.vue
Normal 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>
|
@ -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()))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user