Compare commits
No commits in common. '5002adaa4bd4a4b8d7f665783155e5b19e340373' and '8a24ea24963c165d35a170a469ff318772389595' have entirely different histories.
5002adaa4b
...
8a24ea2496
7 changed files with 17 additions and 242 deletions
@ -1,16 +0,0 @@ |
||||
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,33 +1,19 @@ |
||||
<template> |
||||
<Card title="不同领域专家个数" v-bind="$attrs"> |
||||
<template v-for="item in dynamicInfoItems" :key="item"> |
||||
<!-- <Card title="快捷导航" v-bind="$attrs"> |
||||
<template v-for="item in navItems" :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.name }}</span> |
||||
<span class="text-md mt-2">{{item.number}}</span> |
||||
<Icon :icon="item.icon" :color="item.color" size="20" /> |
||||
<span class="text-md mt-2">{{ item.title }}</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