|
@@ -445,8 +445,9 @@ const changePoints=(row)=>{
|
|
|
|
|
|
}
|
|
}
|
|
const changeTime =(time)=>{
|
|
const changeTime =(time)=>{
|
|
|
|
+ console.log("========")
|
|
const timeStamp = new Date(time).getTime();
|
|
const timeStamp = new Date(time).getTime();
|
|
- if(points){
|
|
|
|
|
|
+ if(points.value){
|
|
//0点
|
|
//0点
|
|
const startTime = timeStamp + 60 * 1000; // 添加1分钟(60秒)
|
|
const startTime = timeStamp + 60 * 1000; // 添加1分钟(60秒)
|
|
const endTime = timeStamp + 24 * 60 * 60 * 1000; // 添加一天(24小时)
|
|
const endTime = timeStamp + 24 * 60 * 60 * 1000; // 添加一天(24小时)
|
|
@@ -459,6 +460,7 @@ const changeTime =(time)=>{
|
|
nextDay.setDate(nextDay.getDate() + 1); // 设置为第二天
|
|
nextDay.setDate(nextDay.getDate() + 1); // 设置为第二天
|
|
nextDay.setHours(18, 0, 0, 0); // 设置时间为18:00:00
|
|
nextDay.setHours(18, 0, 0, 0); // 设置时间为18:00:00
|
|
const endTimeStamp = nextDay.getTime(); // 获取第二天18:00:00的时间戳
|
|
const endTimeStamp = nextDay.getTime(); // 获取第二天18:00:00的时间戳
|
|
|
|
+ console.log(startTimeStamp)
|
|
pageable.value.begin_time = startTimeStamp/1000
|
|
pageable.value.begin_time = startTimeStamp/1000
|
|
pageable.value.end_time = endTimeStamp/1000
|
|
pageable.value.end_time = endTimeStamp/1000
|
|
}
|
|
}
|
|
@@ -527,6 +529,8 @@ const resetQuery = () => {
|
|
* @return void
|
|
* @return void
|
|
* */
|
|
* */
|
|
const handleSizeChange = (val: number) => {
|
|
const handleSizeChange = (val: number) => {
|
|
|
|
+ pageable.value.pageSize = val
|
|
|
|
+ getList()
|
|
console.log("=====");
|
|
console.log("=====");
|
|
console.log(val);
|
|
console.log(val);
|
|
};
|
|
};
|
|
@@ -538,6 +542,7 @@ const handleSizeChange = (val: number) => {
|
|
* */
|
|
* */
|
|
const handleCurrentChange = (val: number) => {
|
|
const handleCurrentChange = (val: number) => {
|
|
pageable.value.pageNum = val
|
|
pageable.value.pageNum = val
|
|
|
|
+ getList()
|
|
console.log("=====1");
|
|
console.log("=====1");
|
|
console.log(val);
|
|
console.log(val);
|
|
};
|
|
};
|