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> |
<template> |
||||||
<Card title="不同领域专家个数" v-bind="$attrs"> |
<!-- <Card title="快捷导航" v-bind="$attrs"> |
||||||
<template v-for="item in dynamicInfoItems" :key="item"> |
<template v-for="item in navItems" :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.name }}</span> |
<span class="text-md mt-2">{{ item.title }}</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