diff --git a/src/router/module/constRouter/index.ts b/src/router/module/constRouter/index.ts index a589b0a..c4ab416 100644 --- a/src/router/module/constRouter/index.ts +++ b/src/router/module/constRouter/index.ts @@ -49,7 +49,7 @@ export const constRouter: any = { // hidden: false, // }, // }, - { + /* { path: '/raceList', name: 'RaceList', component: () => import('@/views/raceList/index.vue'), @@ -58,7 +58,7 @@ export const constRouter: any = { title: '竞赛列表', hidden: false, }, - }, + },*/ { path: '/competition', name: 'Competition', diff --git a/src/views/competition/index.vue b/src/views/competition/index.vue index e6d51c5..087f824 100644 --- a/src/views/competition/index.vue +++ b/src/views/competition/index.vue @@ -18,7 +18,7 @@
-
选择项目
+
选择题目
300+竞赛登陆后请报名
diff --git a/src/views/registrationGroup/components/stuDialog.vue b/src/views/registrationGroup/components/stuDialog.vue index ab2710f..0f0e4da 100644 --- a/src/views/registrationGroup/components/stuDialog.vue +++ b/src/views/registrationGroup/components/stuDialog.vue @@ -109,7 +109,7 @@ const params = reactive({ const name = ref('') // 搜索 const search = () => { - params.name=name.value + params.work_no="*"+name.value+"*" getList() } const loading = ref(false) diff --git a/src/views/registrationGroup/components/stuList.vue b/src/views/registrationGroup/components/stuList.vue index 1497b5e..06d8fcf 100644 --- a/src/views/registrationGroup/components/stuList.vue +++ b/src/views/registrationGroup/components/stuList.vue @@ -117,7 +117,7 @@ watch(()=>userModel.userInfo,()=>{ const add = () => { const length = tableData.push({ realname: '', // 用户 - captain: '', // 是否队长 + captain: '0', // 是否队长 teamSeq: tableData.length + 1, // 队员序号 userId: '', // id })