From a6768c394a3c225ec35244d1e102967303a71378 Mon Sep 17 00:00:00 2001 From: DevOps Date: Sun, 28 Dec 2025 16:37:31 +0800 Subject: [PATCH] fix: change participantType to type to match backend field name Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> --- src/views/martial/project/index.vue | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/views/martial/project/index.vue b/src/views/martial/project/index.vue index 7c44526..75a86aa 100644 --- a/src/views/martial/project/index.vue +++ b/src/views/martial/project/index.vue @@ -55,7 +55,7 @@ 对练 - + - + @@ -441,8 +441,8 @@ 对练 - 单人 - 集体 + 单人 + 集体 @@ -526,7 +526,7 @@ const queryParams = reactive({ projectName: '', category: '', eventType: '', - participantType: '' + type: '' }) // 表单数据 @@ -537,7 +537,7 @@ const form = reactive({ projectName: '', category: null, eventType: null, - participantType: null, + type: null, registrationFee: 0, registrationStartTime: '', registrationEndTime: '', @@ -576,7 +576,7 @@ const rules = { eventType: [ { required: true, message: '请选择项目类型', trigger: 'change' } ], - participantType: [ + type: [ { required: true, message: '请选择参赛类型', trigger: 'change' } ], registrationFee: [ @@ -651,7 +651,7 @@ const handleReset = () => { projectName: '', category: '', eventType: '', - participantType: '' + type: '' }) fetchData() } @@ -762,7 +762,7 @@ const resetForm = () => { projectName: '', category: null, eventType: null, - participantType: null, + type: null, registrationFee: 0, registrationStartTime: '', registrationEndTime: '',