'修改年度比赛项目文本'

gst4base
JayChou 2 days ago
commit 2bde3dbdbb
  1. 4
      jeecgboot-vue3-master/src/router/routes/index.ts
  2. 8
      jeecgboot-vue3-master/src/views/annualCompPoint/committee/AnnualCompPointList.vue

@ -113,7 +113,7 @@ export const compcom = {
} }
},*/ },*/
{ /* {
path:'topic', path:'topic',
name:'topic', name:'topic',
component: ()=> import('/@/views/topic/TopicList.vue'), component: ()=> import('/@/views/topic/TopicList.vue'),
@ -121,7 +121,7 @@ export const compcom = {
title:'项目题目管理' title:'项目题目管理'
} }
}, },*/
// { // {
// path:'topic/topic/list5', // path:'topic/topic/list5',

@ -1,6 +1,6 @@
<template> <template>
<div class="main-box"> <div class="main-box">
<a-card title="年度比赛管理" :bordered="false" style="height: 100%"> <a-card title="年度比赛项目管理" :bordered="false" style="height: 100%">
<div class="filter-search"> <div class="filter-search">
<div class="left"> <div class="left">
<ul> <ul>
@ -18,7 +18,7 @@
<div class="race-box"> <div class="race-box">
<div class="add-race item" @click="handleAdd"> <div class="add-race item" @click="handleAdd">
<PlusOutlined style="font-size: 22px" /> <PlusOutlined style="font-size: 22px" />
<div>点击添加比赛</div> <div>点击添加项目</div>
</div> </div>
<cardItem <cardItem
v-for="item in raceList" v-for="item in raceList"
@ -106,12 +106,12 @@
}; };
// //
const yearList = ref<any>([{ title: '全部比赛', value: '' }]); const yearList = ref<any>([{ title: '全部项目', value: '' }]);
const getDictItemsEvent = async () => { const getDictItemsEvent = async () => {
const date = new Date().getTime(); const date = new Date().getTime();
const res = await getDictItems('annual,annual_name,id?_t=' + date); const res = await getDictItems('annual,annual_name,id?_t=' + date);
yearList.value = res.reverse(); yearList.value = res.reverse();
yearList.value.unshift({ title: '全部比赛', value: '' }); yearList.value.unshift({ title: '全部项目', value: '' });
}; };
getDictItemsEvent(); getDictItemsEvent();

Loading…
Cancel
Save