|
|
|
@ -331,10 +331,6 @@ async function getQueryTasks() { |
|
|
|
|
|
|
|
const data = await queryTasks(params, url); |
|
|
|
|
|
|
|
if (formState.timeRange[0].startOf('day').add(1, 'day').valueOf() === formState.timeRange[1].startOf('day').valueOf()) { |
|
|
|
current.value = 1; |
|
|
|
} |
|
|
|
|
|
|
|
columns.value = [ |
|
|
|
{ |
|
|
|
title: '时间', |
|
|
|
@ -411,6 +407,7 @@ function handleSubmit() { |
|
|
|
const end = dayjs(+startTime.value).add(1, 'day'); |
|
|
|
endTime.value = dayjs(+end).valueOf(); |
|
|
|
getQueryTasks(); |
|
|
|
current.value = 1; |
|
|
|
} |
|
|
|
|
|
|
|
// 重置 |
|
|
|
|