From cb75ee4f60a5595fd671ddfe747ea4d8dd6d6262 Mon Sep 17 00:00:00 2001 From: Ly <503441659@qq.com> Date: Tue, 1 Apr 2025 14:05:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=B9=B4=E5=BA=A6=E6=AF=94=E8=B5=9B=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/person.ts | 3 -- src/views/registrationGroup/index.vue | 40 +++------------------------ 2 files changed, 4 insertions(+), 39 deletions(-) diff --git a/src/api/person.ts b/src/api/person.ts index 00e392a..cc5d8e9 100644 --- a/src/api/person.ts +++ b/src/api/person.ts @@ -50,7 +50,6 @@ enum api { adviserList = '/online/cgreport/api/getData/1828357196360998913', // 指导老师列表 listStudent = '/AnnualCompPoint/annualCompPoint/listStudent', // 比赛项目报名表 findndbswxq = '/annualcomp/annualComp/findndbswxq', // 年度比赛详情 - findcomppxq = '/AnnualCompPoint/annualCompPoint/findcomppxq', // 年度比赛项目详情 } // http://10.115.2.247:3300/jeecgboot/AnnualCompPoint/annualCompPoint/listStudent?column=createTime&order=desc&pageNo=1&pageSize=10&_t=1727422864387 @@ -101,5 +100,3 @@ export const getAdviserList = (params: MembersOrAdviser) => export const getNdbswxqList = (id: string) => request.get(api.findndbswxq, { params: { id } }) -export const getComppxqList = (id: string) => - request.get(api.findcomppxq, { params: { id } }) diff --git a/src/views/registrationGroup/index.vue b/src/views/registrationGroup/index.vue index d30643e..eee5b1b 100644 --- a/src/views/registrationGroup/index.vue +++ b/src/views/registrationGroup/index.vue @@ -44,31 +44,6 @@ - - -
比赛项目信息
-
-
-

{{ ndbsXm.objName }}

-
-
-
-
项目名称
-
{{ ndbsXm.objName }}
-
要求人数
-
{{ ndbsXm.workCount }}
-
-
开始报名时间:
-
{{ ndbsXm.starttime?.split(' ')[0] }}
-
-
-
开始截至时间:
-
{{ ndbsXm.endtime?.split(' ')[0] }}
-
-
-
-
-
@@ -167,7 +142,7 @@ import { ElMessage } from 'element-plus' import { getSignUpApi } from '@/api/person' import stuList from './components/stuList.vue' import teaList from './components/teaList.vue' -import { getNdbswxqList, getComppxqList } from '@/api/person' +import { getNdbswxqList } from '@/api/person' import { getOldRaceList,getOldRaceInfo } from '@/api/oldRace' import { getTopicList } from '@/api/race' const user = userStore() @@ -187,9 +162,8 @@ function pasSex(num: number) { else return '保密' } -// 比赛信息、项目信息 +// 比赛信息 const ndbs = ref({}) -const ndbsXm = ref({}) console.log(route.query.edit, 'route.query.edit') const options = ref([]) @@ -197,7 +171,6 @@ if (route.query.edit) { const getOldRaceListEvent = async () => { const res: any = await getOldRaceList({ id: route.query.id}) ndbs.value = res.result.annualComp - ndbsXm.value = res.result.annualCompPoint } const getOldRaceInfoEvent = async () => { const res: any = await getOldRaceInfo({ id: route.query.id}) @@ -222,10 +195,6 @@ if (route.query.edit) { getNdbswxqList(route.query.bcId as string).then((res: any) => { if (res.result) ndbs.value = res.result }) - getComppxqList(route.query.id as string).then((res: any) => { - //console.log(res.result, 'xm') - if (res.result) ndbsXm.value = res.result - }) const getTopicListApi = async () => { const res: any = await getTopicList({ annualCompid: route.query.id }) console.log(res) @@ -392,7 +361,7 @@ const submit = () => { height: 300px; .com { - width: 685px; + width: 100%; height: 300px; border-radius: 6px 6px 6px 6px; padding-top: 22px; @@ -410,7 +379,6 @@ const submit = () => { margin-bottom: 18px; } - margin-right: 22px; .content { display: flex; @@ -460,7 +428,7 @@ const submit = () => { .right { .info-box { - width: 210px; + width: 100%; .name { height: 20px; font-family: