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> |
||||
<!-- <Card title="快捷导航" v-bind="$attrs"> |
||||
<template v-for="item in navItems" :key="item"> |
||||
<Card title="不同领域专家个数" v-bind="$attrs"> |
||||
<template v-for="item in dynamicInfoItems" :key="item"> |
||||
<CardGrid> |
||||
<span class="flex flex-col items-center"> |
||||
<Icon :icon="item.icon" :color="item.color" size="20" /> |
||||
<span class="text-md mt-2">{{ item.title }}</span> |
||||
<!-- <Icon :icon="item.icon" :color="item.color" size="20" />--> |
||||
<span class="text-md mt-2">{{ item.name }}</span> |
||||
<span class="text-md mt-2">{{item.number}}</span> |
||||
</span> |
||||
</CardGrid> |
||||
</template> |
||||
</Card>--> |
||||
</Card> |
||||
</template> |
||||
<script lang="ts" setup> |
||||
import { Card } from 'ant-design-vue'; |
||||
import { navItems } from './data'; |
||||
/*import { navItems } from './data';*/ |
||||
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; |
||||
</script> |
||||
|
Loading…
Reference in new issue