@@ -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: