diff --git a/src/views/registrationPersonage/index.vue b/src/views/registrationPersonage/index.vue index 5a7ddd3..0d85625 100644 --- a/src/views/registrationPersonage/index.vue +++ b/src/views/registrationPersonage/index.vue @@ -46,31 +46,6 @@ - - -
比赛项目信息
-
-
-

{{ ndbsXm.objName }}

-
-
-
-
项目名称
-
{{ ndbsXm.objName }}
-
要求人数
-
{{ ndbsXm.workCount }}
-
-
开始报名时间:
-
{{ ndbsXm.starttime?.split(' ')[0] }}
-
-
-
开始截至时间:
-
{{ ndbsXm.endtime?.split(' ')[0] }}
-
-
-
-
-
@@ -175,7 +150,7 @@ @@ -278,9 +253,8 @@ const submitWork = async () => { -// 比赛信息、项目信息 +// 比赛信息 const ndbs = ref({}) -const ndbsXm = ref({}) const subLoading = ref(false) async function submit(substa:string) { @@ -328,7 +302,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 }) @@ -344,9 +317,7 @@ 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) => { - if (res.result) ndbsXm.value = res.result - }) + } /*const getTopicListApi = async () => { const res: any = await getTopicList({ annualCompid: route.query.id }) @@ -440,7 +411,7 @@ getTopicListApi()*/ height: 300px; .com { - width: 685px; + width: 100%; height: 300px; border-radius: 6px 6px 6px 6px; padding-top: 22px; @@ -458,7 +429,6 @@ getTopicListApi()*/ margin-bottom: 18px; } - margin-right: 22px; .content { display: flex; @@ -509,7 +479,7 @@ getTopicListApi()*/ .right { .info-box { - width: 210px; + width: 100%; .name { height: 20px;