diff --git a/src/api/race.ts b/src/api/race.ts
index e137cd1..6a741c1 100644
--- a/src/api/race.ts
+++ b/src/api/race.ts
@@ -102,4 +102,12 @@ export const uploadFileZp = (data: any) => {
method: 'POST',
data,
})
-}
\ No newline at end of file
+}
+
+// 获取题目列表
+export const getTopicList = (params: any) => {
+ return request({
+ url: '/topic/topic/selectList',
+ params,
+ })
+ }
\ No newline at end of file
diff --git a/src/views/registrationGroup/index.vue b/src/views/registrationGroup/index.vue
index 93864bc..de793fb 100644
--- a/src/views/registrationGroup/index.vue
+++ b/src/views/registrationGroup/index.vue
@@ -126,6 +126,19 @@
+
+
+
+
+
@@ -162,6 +175,7 @@ import { getSignUpApi } from '@/api/person'
import stuList from './components/stuList.vue'
import teaList from './components/teaList.vue'
import { getNdbswxqList, getComppxqList } from '@/api/person'
+import {getTopicList} from '@/api/race'
const user = userStore()
const route = useRoute()
const router = useRouter()
@@ -227,6 +241,34 @@ const submit = () => {
})
.finally(() => (loading.value = false))
}
+const options = [
+ {
+ value: 'Option1',
+ label: 'Option1',
+ },
+ {
+ value: 'Option2',
+ label: 'Option2',
+ },
+ {
+ value: 'Option3',
+ label: 'Option3',
+ },
+ {
+ value: 'Option4',
+ label: 'Option4',
+ },
+ {
+ value: 'Option5',
+ label: 'Option5',
+ },
+]
+const getTopicListApi = async() => {
+ const res = await getTopicList({annualCompid:route.query.id})
+ console.log(res);
+
+}
+getTopicListApi()