'组委会首页修改'

main
JayChou 4 months ago
parent b8dc79923d
commit 5d14ad760c
  1. 33
      jeecgboot-vue3-master/src/views/depart/workbench/components/components/cardList.vue
  2. 33
      jeecgboot-vue3-master/src/views/depart/workbench/components/components/cardListFive.vue
  3. 33
      jeecgboot-vue3-master/src/views/depart/workbench/components/components/cardListFour.vue
  4. 33
      jeecgboot-vue3-master/src/views/depart/workbench/components/components/cardListThree.vue
  5. 33
      jeecgboot-vue3-master/src/views/depart/workbench/components/components/cardListtow.vue
  6. 11
      jeecgboot-vue3-master/src/views/depart/workbench/components/student/student.vue

@ -27,38 +27,7 @@
const props = defineProps({ const props = defineProps({
data: { data: {
type: Array, type: Array,
default: [ default: [],
{
name: '机电学院',
sum: 100,
id:1,
},
{
name: '机电学院',
sum: 100,
id:2,
},
{
name: '机电学院',
sum: 100,
id:3,
},
{
name: '机电学院',
sum: 100,
id:1,
},
{
name: '机电学院',
sum: 100,
id:2,
},
{
name: '机电学院',
sum: 100,
id:3,
},
],
}, },
}); });
const goToInfo = (id:any) => { const goToInfo = (id:any) => {

@ -25,38 +25,7 @@
const props = defineProps({ const props = defineProps({
data: { data: {
type: Array, type: Array,
default: [ default: [],
{
name: '一等奖',
sum: '全国计算机高级大赛',
id:1,
},
{
name: '一等奖',
sum: '全国计算机高级大赛',
id:2,
},
{
name: '一等奖',
sum: '全国计算机高级大赛',
id:3,
},
{
name: '一等奖',
sum: '全国计算机高级大赛',
id:4,
},
{
name: '一等奖',
sum: '全国计算机高级大赛',
id:5,
},
{
name: '一等奖',
sum: '全国计算机高级大赛',
id:6,
},
],
}, },
}); });
</script> </script>

@ -25,38 +25,7 @@
const props = defineProps({ const props = defineProps({
data: { data: {
type: Array, type: Array,
default: [ default: [],
{
name: '全国计算机高级大赛',
sum: '比赛中',
id:1,
},
{
name: '全国计算机高级大赛',
sum: '比赛中',
id:2,
},
{
name: '全国计算机高级大赛',
sum: '比赛中',
id:3,
},
{
name: '全国计算机高级大赛',
sum: '比赛中',
id:4,
},
{
name: '全国计算机高级大赛',
sum: '比赛中',
id:5,
},
{
name: '全国计算机高级大赛',
sum: '比赛中',
id:6,
},
],
}, },
}); });
</script> </script>

@ -28,38 +28,7 @@
const props = defineProps({ const props = defineProps({
data: { data: {
type: Array, type: Array,
default: [ default: [],
{
name: '项目名称',
sum: 100,
id:1,
},
{
name: '项目名称',
sum: 100,
id:2,
},
{
name: '项目名称',
sum: 100,
id:3,
},
{
name: '项目名称',
sum: 100,
id:4,
},
{
name: '项目名称',
sum: 100,
id:5,
},
{
name: '项目名称',
sum: 100,
id:6,
},
],
}, },
}); });
</script> </script>

@ -25,38 +25,7 @@
const props = defineProps({ const props = defineProps({
data: { data: {
type: Array, type: Array,
default: [ default: [],
{
name: '无糖',
sum: 100,
id:1,
},
{
name: '无糖',
sum: 100,
id:2,
},
{
name: '无糖',
sum: 100,
id:3,
},
{
name: '无糖',
sum: 100,
id:4,
},
{
name: '无糖',
sum: 100,
id:5,
},
{
name: '无糖',
sum: 100,
id:6,
},
],
}, },
}); });
</script> </script>

@ -1,6 +1,6 @@
<template> <template>
<div class="container-box"> <div class="container-box">
<a-row :gutter="[24, 24]"> <a-row :gutter="[24, 24]" style="margin-top: 30px;">
<a-col :xxl="12" :xl="12" :lg="24"> <a-col :xxl="12" :xl="12" :lg="24">
<a-row :gutter="[24, 24]" style="margin-top: 0"> <a-row :gutter="[24, 24]" style="margin-top: 0">
<a-col :span="12"> <a-col :span="12">
@ -68,7 +68,7 @@
</div> </div>
</a-col> </a-col>
</a-row> </a-row>
<a-row :gutter="[24, 24]"> <a-row :gutter="[24, 24]" style="margin-top: 30px;">
<a-col :xxl="12" :xl="12" :lg="24" <a-col :xxl="12" :xl="12" :lg="24"
><div class="huojiangqingkuang"> ><div class="huojiangqingkuang">
<a-card title="获奖情况" style="width: 100%; height: 100%"> <a-card title="获奖情况" style="width: 100%; height: 100%">
@ -92,8 +92,15 @@
import cardListFour from '../components/cardListFour.vue'; import cardListFour from '../components/cardListFour.vue';
import cardListFive from '../components/cardListFive.vue'; import cardListFive from '../components/cardListFive.vue';
import echarts from '/@/utils/lib/echarts'; import echarts from '/@/utils/lib/echarts';
import { getStudent }from '/@/api/common/api'
import { onMounted } from 'vue'; import { onMounted } from 'vue';
const getStudentEvent = async() => {
const res = await getStudent()
console.log(res);
}
getStudentEvent()
const throttle = (fn: any) => { const throttle = (fn: any) => {
let timer: any; let timer: any;
return function () { return function () {

Loading…
Cancel
Save