个人赛更改比赛项目

GST002_H5
Ly 2 months ago
parent f33ac43ed7
commit b2348f69c2
  1. 40
      src/views/registrationPersonage/index.vue

@ -46,31 +46,6 @@
</div>
</div>
</el-card>
<!-- 项目信息 -->
<el-card class="com">
<div class="title">比赛项目信息</div>
<div class="content track">
<div class="card-annual padding">
<p>{{ ndbsXm.objName }}</p>
</div>
<div class="right">
<div class="info-box">
<div class="name">项目名称</div>
<div class="title">{{ ndbsXm.objName }}</div>
<div class="name">要求人数</div>
<div class="title">{{ ndbsXm.workCount }}</div>
<div class="date-box">
<div class="label">开始报名时间</div>
<div class="date">{{ ndbsXm.starttime?.split(' ')[0] }}</div>
</div>
<div class="date-box">
<div class="label">开始截至时间</div>
<div class="date">{{ ndbsXm.endtime?.split(' ')[0] }}</div>
</div>
</div>
</div>
</div>
</el-card>
</div>
<el-card>
<div>
@ -176,7 +151,7 @@
</template>
<template #tip>
<div class="el-upload__tip text-red">作品只允许上传一个,格式为{{ndbsXm.uploadWorksType}}</div>
<div class="el-upload__tip text-red">作品只允许上传一个,格式为{{ndbs.uploadWorksType}}</div>
</template>
</el-upload>
@ -281,9 +256,8 @@ const submitWork = async () => {
//
//
const ndbs = ref<any>({})
const ndbsXm = ref<any>({})
const subLoading = ref(false)
async function submit(substa:string) {
@ -337,7 +311,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 })
@ -361,9 +334,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) => {
if (res.result) ndbsXm.value = res.result
})
}
/*const getTopicListApi = async () => {
const res: any = await getTopicList({ annualCompid: route.query.id })
@ -459,7 +429,7 @@ getTopicListApi()*/
height: 300px;
.com {
width: 685px;
width: 100%;
height: 300px;
border-radius: 6px 6px 6px 6px;
padding-top: 22px;
@ -477,7 +447,7 @@ getTopicListApi()*/
margin-bottom: 18px;
}
margin-right: 22px;
.content {
display: flex;
@ -528,7 +498,7 @@ getTopicListApi()*/
.right {
.info-box {
width: 210px;
width: 100%;
.name {
height: 20px;

Loading…
Cancel
Save