Compare commits
2 Commits
8a24ea2496
...
5002adaa4b
Author | SHA1 | Date |
---|---|---|
王家东 | 5002adaa4b | 2 weeks ago |
王家东 | 1be49fdb68 | 2 weeks ago |
7 changed files with 242 additions and 17 deletions
@ -0,0 +1,16 @@ |
|||||||
|
package org.jeecg.modules.demo.expproject.entity; |
||||||
|
|
||||||
|
import lombok.Data; |
||||||
|
import org.jeecg.modules.demo.expert.entity.Expert; |
||||||
|
|
||||||
|
import java.util.Date; |
||||||
|
import java.util.List; |
||||||
|
|
||||||
|
@Data |
||||||
|
public class ExpproVo { |
||||||
|
private Date createTime; |
||||||
|
private String proname; |
||||||
|
private String exptype; |
||||||
|
private Integer needexp; |
||||||
|
private List<String> experts; |
||||||
|
} |
@ -1,19 +1,33 @@ |
|||||||
<template> |
<template> |
||||||
<!-- <Card title="快捷导航" v-bind="$attrs"> |
<Card title="不同领域专家个数" v-bind="$attrs"> |
||||||
<template v-for="item in navItems" :key="item"> |
<template v-for="item in dynamicInfoItems" :key="item"> |
||||||
<CardGrid> |
<CardGrid> |
||||||
<span class="flex flex-col items-center"> |
<span class="flex flex-col items-center"> |
||||||
<Icon :icon="item.icon" :color="item.color" size="20" /> |
<!-- <Icon :icon="item.icon" :color="item.color" size="20" />--> |
||||||
<span class="text-md mt-2">{{ item.title }}</span> |
<span class="text-md mt-2">{{ item.name }}</span> |
||||||
|
<span class="text-md mt-2">{{item.number}}</span> |
||||||
</span> |
</span> |
||||||
</CardGrid> |
</CardGrid> |
||||||
</template> |
</template> |
||||||
</Card>--> |
</Card> |
||||||
</template> |
</template> |
||||||
<script lang="ts" setup> |
<script lang="ts" setup> |
||||||
import { Card } from 'ant-design-vue'; |
import { Card } from 'ant-design-vue'; |
||||||
import { navItems } from './data'; |
/*import { navItems } from './data';*/ |
||||||
import { Icon } from '/@/components/Icon'; |
import { Icon } from '/@/components/Icon'; |
||||||
|
import {ref} from "vue"; |
||||||
|
import {expdatanumberdiffect} from "@/views/dashboard/workbench/components/api"; |
||||||
|
|
||||||
|
const dynamicInfoItems= ref([]) |
||||||
|
|
||||||
|
function item03(){ |
||||||
|
expdatanumberdiffect().then(res => { |
||||||
|
console.log("1919219191919",res) |
||||||
|
res.forEach(item => { |
||||||
|
dynamicInfoItems.value.push(item); |
||||||
|
}); |
||||||
|
})} |
||||||
|
item03(); |
||||||
|
|
||||||
const CardGrid = Card.Grid; |
const CardGrid = Card.Grid; |
||||||
</script> |
</script> |
||||||
|
Loading…
Reference in new issue