diff --git a/pages/meetingDetail/index.vue b/pages/meetingDetail/index.vue index 2724901..5f6d3f5 100644 --- a/pages/meetingDetail/index.vue +++ b/pages/meetingDetail/index.vue @@ -176,7 +176,11 @@ - @@ -321,12 +325,12 @@ endTimePickerValue: ``, applyInfo:{}, // 日期相关 - // selectedDate: `${year}-${month}-${day}`, - // minDate: `${year}-${month}-${day}`, - // maxDate: `${year + 1}-12-31`, - selectedDate: `2025-08-11`, // 默认选中8月1日 - minDate: `2025-08-01`, // 最小可选8月1日 - maxDate: `2025-08-31`, // 最大可选8月31日 + selectedDate: `${year}-${month}-${day}`, + minDate: `${year}-${month}-${day}`, + maxDate: ``, + // selectedDate: `2025-08-11`, // 默认选中8月1日 + // minDate: `2025-08-01`, // 最小可选8月1日 + // maxDate: `2025-08-31`, // 最大可选8月31日 // 时间相关 // startTime: `2025-08`, @@ -334,10 +338,10 @@ // startTimeValue: `${startHours.toString().padStart(2, '0')}:${startMinutes.toString().padStart(2, '0')}`, // endTimeValue: `${endHours.toString().padStart(2, '0')}:${endMinutes.toString().padStart(2, '0')}`, - startTimeValue: `09:00`, - endTimeValue: `10:00`, - startTimePickerValue: `2025-08-11 09:00`, - endTimePickerValue: `2025-08-11 10:00`, + // startTimeValue: `09:00`, + // endTimeValue: `10:00`, + // startTimePickerValue: `2025-08-11 09:00`, + // endTimePickerValue: `2025-08-11 10:00`, // 新增备注字段 remark: '', @@ -393,9 +397,11 @@ return `${year}年${month}月`; } else { // 普通会议室模式,显示完整日期 - const date = new Date(this.selectedDate); + const date = new Date(); + console.log("=====date",date) const weekdays = ['周日', '周一', '周二', '周三', '周四', '周五', '周六']; const month = date.getMonth() + 1; + console.log("=====month",month) const day = date.getDate(); const weekday = weekdays[date.getDay()];