From 4be34ff89a5e1d600f81f2394a776ff1d2405b73 Mon Sep 17 00:00:00 2001 From: JayChou Date: Sat, 30 Nov 2024 18:35:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=AF=94=E8=B5=9B=E7=BC=96?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/oldRace.ts | 36 +++++ src/views/competition/index.vue | 28 +++- src/views/login/registered.vue | 151 +++++++++++------- src/views/projectName/index.vue | 9 +- src/views/raceInfo/index.vue | 21 ++- .../registrationGroup/components/stuList.vue | 102 +++++++++--- .../registrationGroup/components/teaList.vue | 25 ++- src/views/registrationGroup/index.vue | 101 ++++++++---- src/views/registrationPersonage/index.vue | 5 +- src/views/userInfo/components/reacList.vue | 39 ++++- src/views/userInfo/index.vue | 7 + 11 files changed, 389 insertions(+), 135 deletions(-) create mode 100644 src/api/oldRace.ts diff --git a/src/api/oldRace.ts b/src/api/oldRace.ts new file mode 100644 index 0000000..a72faf6 --- /dev/null +++ b/src/api/oldRace.ts @@ -0,0 +1,36 @@ +import request from "@/utils/requset"; + +// 获取年度比赛和项目 +export const getOldRaceList = (params:any) => { + return request({ + url: '/annualcompetitionprojectregistration/annualCompetitionProjectRegistration/queryCompInfo4Stu', + method: 'get', + params + }) +} +// 查询报名信息 +export const getOldRaceInfo = (params:any) => { + return request({ + url: '/annualcompetitionprojectregistration/annualCompetitionProjectRegistration/queryTopicById', + method: 'get', + params + }) +} + +// 查询团队成员列表 +export const getTeamList = (params:any) => { + return request({ + url: 'annualcompetitionprojectregistration/annualCompetitionProjectRegistration/queryTeamManagementByMainId', + method: 'get', + params + }) +} + +// 获取指导老师列表 +export const getTeacherList = (params:any) => { + return request({ + url: 'annualcompetitionprojectregistration/annualCompetitionProjectRegistration/queryInstructorSheetByMainId', + method: 'get', + params + }) +} \ No newline at end of file diff --git a/src/views/competition/index.vue b/src/views/competition/index.vue index 9893c2a..0e2f048 100644 --- a/src/views/competition/index.vue +++ b/src/views/competition/index.vue @@ -7,7 +7,19 @@
-
{{ yearRaceInfo.name }}
+
+
{{ yearRaceInfo.name }}
+
+ + 返回 + +
+
+
{{ yearRaceInfo.introduction }}
@@ -20,11 +32,15 @@
选择项目
选择下面的项目报名,参与比赛
-
返回
-
没有项目,请创建年度比赛项目
+
+ 没有项目,请创建年度比赛项目 +
-
返回
+
@@ -37,7 +37,10 @@
- 立刻报名 + 返回 + + 立刻报名 +
@@ -157,7 +160,7 @@ getData() --color2: #42d9ac; cursor: pointer; text-align: center; - width: 470px; + width: 270px; height: 50px; border-radius: 45px; border: none; diff --git a/src/views/raceInfo/index.vue b/src/views/raceInfo/index.vue index 1f9eccb..51a2a30 100644 --- a/src/views/raceInfo/index.vue +++ b/src/views/raceInfo/index.vue @@ -139,11 +139,18 @@ />
+
{{item.annualname}}年度
{{ item.name }}
-
{{ item.introduction }}
-
- 报名时间:{{ item.starttime }}-{{ item.endtime }} +
负责部门:{{ item.compOrgan }}
+ +
+
开始时间:{{ item.starttime }}
+ 结束时间:{{ item.endtime }} +
+
@@ -275,7 +282,13 @@ const createfileLink = (url: any) => { .time { font-size: 14px; color: #8c8b8b; - margin-top: 40px; + margin-top: 30px; + } + .niandu{ + color: #1e2033; + font-size: 18px; + margin-top: 20px; + font-weight: 600; } } } diff --git a/src/views/registrationGroup/components/stuList.vue b/src/views/registrationGroup/components/stuList.vue index ca042d0..9e70f57 100644 --- a/src/views/registrationGroup/components/stuList.vue +++ b/src/views/registrationGroup/components/stuList.vue @@ -3,13 +3,7 @@ 新增 - + 删除
@@ -58,6 +52,39 @@ /> + + + + + + + + + + + +