From da0920b6217a2045966bd55eba529705b36ea351 Mon Sep 17 00:00:00 2001
From: admin <417727563@qq.com>
Date: Tue, 1 Apr 2025 11:49:36 +0800
Subject: [PATCH] =?UTF-8?q?=E6=AF=94=E8=B5=9B=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/registrationGroup/index.vue | 18 +++++++++---------
src/views/registrationPersonage/index.vue | 4 ++--
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/views/registrationGroup/index.vue b/src/views/registrationGroup/index.vue
index d30643e..bdd736d 100644
--- a/src/views/registrationGroup/index.vue
+++ b/src/views/registrationGroup/index.vue
@@ -30,7 +30,7 @@
比赛年度
{{ ndbs.annualid }}年度
-
比赛名称
+
年度比赛名称
{{ ndbs.name }}
开始报名时间:
@@ -113,7 +113,7 @@
label-width="auto"
class="demo-ruleForm"
>
-
+
@@ -122,7 +122,7 @@
-
+
@@ -201,7 +201,6 @@ if (route.query.edit) {
}
const getOldRaceInfoEvent = async () => {
const res: any = await getOldRaceInfo({ id: route.query.id})
- console.log(res,'res~~~');
// ruleForm.annualCompid = route.query.annualCompid
ruleForm.teamName = res.result.teamName
ruleForm.topicid = res.result.topicObj ? res.result.topicObj.id : ''
@@ -226,7 +225,7 @@ if (route.query.edit) {
//console.log(res.result, 'xm')
if (res.result) ndbsXm.value = res.result
})
-const getTopicListApi = async () => {
+/*const getTopicListApi = async () => {
const res: any = await getTopicList({ annualCompid: route.query.id })
console.log(res)
@@ -241,8 +240,8 @@ const getTopicListApi = async () => {
label: item.name,
}
})
-}
-getTopicListApi()
+}*/
+// getTopicListApi()
}
// members:学生 adviser:老师
@@ -269,7 +268,6 @@ const loading = ref(false)
const submit = () => {
if (!ruleForm.teamName) return ElMessage.warning('请输入队伍名称')
- if (!ruleForm.topicid) return ElMessage.warning('请选择题目')
ruleForm.instructorSheetList = [...teaRef.value.submit()]
ruleForm.teamManagementList = [...stuRef.value.submit()]
loading.value = true
@@ -279,6 +277,8 @@ const submit = () => {
ruleForm.enrollCode = route.query.enrollCode
ruleForm.id = route.query.annualCompid
}
+
+ ruleForm.substa = "1"
getSignUpApi(ruleForm)
.then((res: any) => {
ElMessage({
diff --git a/src/views/registrationPersonage/index.vue b/src/views/registrationPersonage/index.vue
index 91a89e9..af1d19e 100644
--- a/src/views/registrationPersonage/index.vue
+++ b/src/views/registrationPersonage/index.vue
@@ -32,7 +32,7 @@
比赛年度
{{ ndbs.annualid }}年度
-
比赛名称
+
年度比赛名称
{{ ndbs.name }}
开始报名时间:
@@ -76,7 +76,7 @@
-
+