From 1b47bcda4f87634cf47b87313d1371a127662ffd Mon Sep 17 00:00:00 2001 From: "qianhao.xu" Date: Tue, 18 Mar 2025 17:49:58 +0800 Subject: [PATCH] 1 --- src/views/groupManagement/GroupScheduling.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/groupManagement/GroupScheduling.vue b/src/views/groupManagement/GroupScheduling.vue index 709acda..d0cd569 100644 --- a/src/views/groupManagement/GroupScheduling.vue +++ b/src/views/groupManagement/GroupScheduling.vue @@ -66,6 +66,7 @@ + @@ -218,7 +219,7 @@ getGroupOptionsDict() // 操作类型 1、add 2、edit 3、view const state = reactive({ form: { - scheduleDate: '', + ScheduleDate: '', status: 1 }, rules: { @@ -247,7 +248,7 @@ const groupDataList = ref([]) const loading = ref(false) function getList() { loading.value = true - ListGroupByDate({ scheduleDate: selectDate.value }).then((res) => { + ListGroupByDate({ ScheduleDate: selectDate.value }).then((res) => { const { code, data } = res if (code == 200) { groupDataList.value = data.result @@ -315,7 +316,7 @@ const addShow = ref(false) function reset() { form.value = { id: null, - scheduleDate: null, + ScheduleDate: null, groupName: null, groupCode: null, belongRoute: null, @@ -355,7 +356,7 @@ function handleAddGroup() { function handleBindGroup() { proxy.$refs['formRef'].validate((valid) => { if (valid) { - form.value.scheduleDate = selectDate.value + form.value.ScheduleDate = selectDate.value AddGroupSchedule2(form.value).then((res) => { if (res.code === 200) { proxy.$modal.msgSuccess('新增成功')