diff --git a/src/views/registrationPersonage/index.vue b/src/views/registrationPersonage/index.vue
index ea1ccd1..3b9c051 100644
--- a/src/views/registrationPersonage/index.vue
+++ b/src/views/registrationPersonage/index.vue
@@ -89,8 +89,8 @@
-
-
+
+
({})
const subLoading = ref(false)
async function submit() {
- if (!ruleForm.topicId) return ElMessage.warning('请选择题目')
+ 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
upData.value.annualCompid = route.query.annualCompid
- upData.value.topicId = ruleForm.topicId
+ upData.value.topicid = ruleForm.topicid
// if (!upData.value.teamName) {
// ElMessage({
// message: '队伍名称不能为空',
@@ -255,7 +257,7 @@ const ruleForm = reactive({
annualCompid: '',
entryFormat: '个人',
id: route.query.id,
- topicId: '',
+ topicid: '',
objName:route.query.objName
})
const options = ref([])
@@ -270,7 +272,7 @@ if (route.query.edit) {
console.log(res, 'res~~~')
ruleForm.annualCompid = route.query.annualCompid
ruleForm.teamName = res.result.teamName
- ruleForm.topicId = res.result.topicObj ? res.result.topicObj.id : ''
+ ruleForm.topicid = res.result.topicObj ? res.result.topicObj.id : ''
ruleForm.objName = res.result.annualCompPointName
options.value = res.result.topicList.map((item) => {
@@ -298,7 +300,7 @@ const getTopicListApi = async () => {
nextTick(() => {
if (res.result.length != 0) {
- ruleForm.topicId = res.result[0].id
+ ruleForm.topicid = res.result[0].id
}
})
options.value = res.result.map((item) => {