From 88ff7ed72eeac7f0e873222e2c0b7291c595a6fd Mon Sep 17 00:00:00 2001 From: JayChou Date: Fri, 14 Feb 2025 15:59:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=A5=E5=90=8D=E5=90=8E?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E5=9B=9E=E6=98=BE=E5=AD=A6?= =?UTF-8?q?=E5=8F=B7=E4=B8=8D=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/raceInfo/index.vue | 2 +- .../registrationGroup/components/stuList.vue | 8 ++-- src/views/registrationPersonage/index.vue | 37 +++++++++++++++---- 3 files changed, 34 insertions(+), 13 deletions(-) diff --git a/src/views/raceInfo/index.vue b/src/views/raceInfo/index.vue index 5310fb5..b9924d4 100644 --- a/src/views/raceInfo/index.vue +++ b/src/views/raceInfo/index.vue @@ -156,7 +156,7 @@
{{ item.name }}
diff --git a/src/views/registrationGroup/components/stuList.vue b/src/views/registrationGroup/components/stuList.vue index acc4465..c8111a3 100644 --- a/src/views/registrationGroup/components/stuList.vue +++ b/src/views/registrationGroup/components/stuList.vue @@ -74,7 +74,7 @@ 学号 @@ -159,7 +159,7 @@ onMounted(() => { tableData.push({ userId: userModel.userInfo.id, realname: userModel.userInfo.realname, - work_no: userModel.userInfo.workNo, + workNo: userModel.userInfo.workNo, phone: userModel.userInfo.phone, email: userModel.userInfo.email, captain: '1', @@ -182,7 +182,7 @@ const add = () => { captain: '0', // 是否队长 teamSeq: tableData.length + 1, // 队员序号 userId: '', // id - work_no: '', + workNo: '', phone: '', email: '', }) @@ -210,7 +210,7 @@ const handleSelected = (row: any = {}) => { return } console.log(row, 'aqq') - target.value.work_no = row.work_no + target.value.workNo = row.work_no target.value.phone = row.phone target.value.email = row.email target.value.realname = row.realname diff --git a/src/views/registrationPersonage/index.vue b/src/views/registrationPersonage/index.vue index f358874..9426029 100644 --- a/src/views/registrationPersonage/index.vue +++ b/src/views/registrationPersonage/index.vue @@ -25,7 +25,11 @@
{{ ndbs.annualid }}年度
{{ ndbs.name }}
- +
@@ -90,7 +94,11 @@ - +
- {{ isDisable ? '返回' : isEdit ? '取消修改' : '取消报名' }} - - {{ isEdit ? '确认修改' : '确认报名' }} + + {{ isDisable ? '返回' : isEdit ? '取消修改' : '取消报名' }} + + + {{ isEdit ? '确认修改' : '确认报名' }}
@@ -217,8 +232,8 @@ const ndbsXm = ref({}) const subLoading = ref(false) async function submit() { - console.log(ruleForm, 'ruleForm'); - + console.log(ruleForm, 'ruleForm') + if (!ruleForm.topicid) return ElMessage.warning('请选择题目') upData.value.teamManagementList[0].realname = info.value.realname upData.value.teamManagementList[0].userId = info.value.id @@ -258,7 +273,7 @@ const ruleForm = reactive({ entryFormat: '个人', id: route.query.id, topicid: '', - objName:route.query.objName + objName: route.query.objName, }) const options = ref([]) if (route.query.edit) { @@ -355,6 +370,7 @@ getTopicListApi() font-size: 20px; color: #666666; line-height: 23px; + } } @@ -445,6 +461,11 @@ getTopicListApi() font-size: 32px; color: #ffffff; line-height: 39px; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; /* 限制显示的行数 */ + overflow: hidden; + text-overflow: ellipsis; } } }