This commit is contained in:
zhoutianchi
2026-02-28 18:40:13 +08:00
parent 9014cab959
commit c24432ea9b
5 changed files with 54 additions and 24 deletions

View File

@@ -145,23 +145,23 @@ const changeSwitch = async (id: string) => {
const initscheduleList = () => {
// 初始化日程列表
list({
startDate: startDateRef.value,
endDate: endDateRef.value,
}).then((res) => {
// 获取返回结果的数据并转换为合适的格式
reminders.value = res.data.map((item: any) => {
return {
key: item.id,
highlight: {
color: 'primary',
fillMode: 'outline',
},
dates: item.scheduleDate,
customData: item,
};
});
});
// list({
// startDate: startDateRef.value,
// endDate: endDateRef.value,
// }).then((res) => {
// // 获取返回结果的数据并转换为合适的格式
// reminders.value = res.data.map((item: any) => {
// return {
// key: item.id,
// highlight: {
// color: 'primary',
// fillMode: 'outline',
// },
// dates: item.scheduleDate,
// customData: item,
// };
// });
// });
};
// 过滤日历中选中的单元格是否有日程