|
|
@@ -3066,6 +3066,11 @@ ${JSON.stringify(forAllList)}
|
|
|
_data.forEach((item, index) => {
|
|
|
if (item.type == 8) {
|
|
|
let time = this.timeLimit.split(",");
|
|
|
+ if(time[0]==='2025-09-30T16:00:00.000Z' && time[1]==='2026-09-30T16:00:00.000Z'){
|
|
|
+ time[0]='Wed Jan 01 2025 00:00:00 GMT+0800 (中国标准时间)'
|
|
|
+ time[1]='Wed Dec 31 2025 00:00:00 GMT+0800 (中国标准时间)'
|
|
|
+ console.log("设置默认时间")
|
|
|
+ }
|
|
|
this.tableDatePicker[index] = [new Date(time[0]), new Date(time[1])]
|
|
|
}
|
|
|
})
|
|
|
@@ -4122,6 +4127,8 @@ ${JSON.stringify(forAllList)}
|
|
|
// 提前创建起止日期对象,避免在 filter 回调中重复构造
|
|
|
const startDate = new Date(picker[0]);
|
|
|
const endDate = new Date(picker[1]);
|
|
|
+ console.log("startDate",startDate)
|
|
|
+ console.log("endDate",endDate)
|
|
|
|
|
|
// 将中文时间格式(如 "2024年1月1日")转为标准格式再解析
|
|
|
const parseSubmissionTime = (timeStr) =>
|