'修改card标题'

main
JayChou 4 months ago
parent ae45422c62
commit 753a43a23b
  1. 5
      jeecgboot-vue3-master/.eslintrc.js
  2. 8
      jeecgboot-vue3-master/src/api/common/api.ts
  3. 4
      jeecgboot-vue3-master/src/views/comprehensiveEvaluation/comprehensiveReport.vue
  4. 2
      jeecgboot-vue3-master/src/views/comprehensiveEvaluation/department.vue
  5. 2
      jeecgboot-vue3-master/src/views/comprehensiveEvaluation/individual.vue
  6. 34
      jeecgboot-vue3-master/src/views/comprehensiveEvaluation/organizingCommittee.vue
  7. 2
      jeecgboot-vue3-master/src/views/depart/workbench/components/components/cardList.vue
  8. 2
      jeecgboot-vue3-master/src/views/depart/workbench/components/components/cardListThree.vue

@ -7,6 +7,11 @@ module.exports = defineConfig({
node: true,
es6: true,
},
globals: {
// 在这里声明html2canvas为全局变量
html2canvas: 'readonly',
},
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',

@ -181,3 +181,11 @@ export const getStudent = () => {
url:'/annualcompetitionprojectregistration/annualCompetitionProjectRegistration/xssybsjs'
})
}
// 组委会报告
// /annualcompetitionprojectregistration/annualCompetitionProjectRegistration/zwhfxbg
export const getOrganizingCommitteeReport = () => {
return defHttp.get({
url:'/annualcompetitionprojectregistration/annualCompetitionProjectRegistration/zwhfxbg'
})
}

@ -185,8 +185,8 @@
await clickDom();
// return
var canvas = document.createElement('canvas');
var w = parseInt(document.querySelector('.container').clientWidth);
var h = parseInt(document.querySelector('.container').clientHeight);
var w = parseInt((document.querySelector('.container') as Element).clientWidth);
var h = parseInt((document.querySelector('.container') as Element).clientHeight);
console.log(w, h);
canvas.width = w;

@ -1,6 +1,6 @@
<template>
<div class="container">
<div class="title">河南机电学院比赛综合报告</div>
<div class="title">河南机电学院比赛部门报告</div>
<p class="description"
>我是比赛综述:全面落实立德树人根本任务依据CDI0工程教育理念培养德劳全面发展掌握软件工程专业所需的数学与自然科学基础知识专业基础理论知识;在企业级软件开发和工业智能软件开发方向能承担软件分析设计开发项目管理等任务具备解决复杂工程问题的能力;具有终身学习和创新创业意识国际交流能力团队合作精神等良好案养能适应产业与社会变革的国际化应用型人才<br />本专业毕业生经过五年左右的实际工作能够达到以下目标:</p
>

@ -1,7 +1,7 @@
<template>
<div class="personage">
<h1 class="title">机电学院比赛综合报告</h1>
<h1 class="title">机电学院比赛个人报告</h1>
<p class="paragraph">
我是比赛综述全面落实立德树人根本任务依据CDIO工程教育理念培养德劳全面发展掌握软件工程专业所需的数学与自然科学基础知识专业基础理论知识在企业级软件开发和工业智能软件开发方向能承担软件分析设计开发项目管理等任务具备解决复杂工程问题的能力具有终身学习和创新创业意识国际交流能力团队合作精神等良好素养能适应产业与社会变革的国际化应用型人
</p>

@ -5,9 +5,9 @@
>我是比赛综述:全面落实立德树人根本任务依据CDI0工程教育理念培养德劳全面发展掌握软件工程专业所需的数学与自然科学基础知识专业基础理论知识;在企业级软件开发和工业智能软件开发方向能承担软件分析设计开发项目管理等任务具备解决复杂工程问题的能力;具有终身学习和创新创业意识国际交流能力团队合作精神等良好案养能适应产业与社会变革的国际化应用型人才<br />本专业毕业生经过五年左右的实际工作能够达到以下目标:</p
>
<div class="card-content">
<div class="item" v-for="(item,index) in 4" :key="item">
<div class="item" v-for="(item, index) in 4" :key="item">
<div class="top-title">{{ formatTitle(index) }}</div>
<div class="sum">{{ index === 0 ? '第八届': '88' }}</div>
<div class="sum">{{ index === 0 ? '第八届' : '88' }}</div>
</div>
</div>
<cardTitle title="参赛学生综合能力评价分析" />
@ -30,9 +30,7 @@
<div class="participation-status-content">
<div class="right border-000">
<cardList7 />
</div>
</div>
<cardTitle title="部门参赛情况分析" />
<p class="description"
@ -42,26 +40,32 @@
<div class="right border-000">
<cardList8 />
</div>
</div>
</div>
</template>
</template>
<script lang="ts" setup>
<script lang="ts" setup>
import cardTitle from './components/cardTitle.vue';
import cardList from './components/cardList.vue';
import cardList7 from './components/cardList7.vue';
import cardList8 from './components/cardList8.vue';
import randerChart from './components/randerChart.vue';
import { getOrganizingCommitteeReport } from '/@/api/common/api';
// import { onMounted, reactive, ref, toRefs, watch } from 'vue'
const formatTitle = (index:number) => {
const arr:any = ['当前届数','参赛人数','参赛队伍数','比赛项目数']
return arr[index]
const getOrganizingCommitteeReportEvent = async () => {
const res = await getOrganizingCommitteeReport()
console.log(res);
}
</script>
getOrganizingCommitteeReportEvent()
const formatTitle = (index: number) => {
const arr: any = ['当前届数', '参赛人数', '参赛队伍数', '比赛项目数'];
return arr[index];
};
</script>
<style lang="less" scoped>
<style lang="less" scoped>
.container {
width: 1200px;
margin: 0 auto;
@ -139,7 +143,7 @@
height: auto;
}
}
.footer{
.footer {
width: 100%;
margin: 30px 0;
}
@ -155,4 +159,4 @@
font-size: 14px;
padding: 0 20px;
}
</style>
</style>

@ -6,7 +6,7 @@
<div class="t_item t_head">
<div class="ranking">排名</div>
<div class="name">参赛院系</div>
<div class="total">报名</div>
<div class="total">报名数</div>
<div class="operate">操作</div>
</div>
<div class="t_item t_con" v-for="(i,index) in props.data" :key="index">

@ -6,7 +6,7 @@
<div class="t_item t_head">
<!-- <div class="ranking">排名</div> -->
<div class="name">项目名称</div>
<div class="total">报名</div>
<div class="total">报名数</div>
<div class="total">队伍数</div>
<div class="operate">所在院系</div>
</div>

Loading…
Cancel
Save