fix: 日期选择清空异常和移除console

This commit is contained in:
TsMask
2023-09-26 18:52:35 +08:00
parent 34c43c5af1
commit 3b9b56fec9
14 changed files with 46 additions and 21 deletions

View File

@@ -350,6 +350,9 @@ function fnClose() {
/**查询调度日志列表 */
function fnGetList() {
tableState.loading = true;
if (!queryRangePicker.value) {
queryRangePicker.value = ['', ''];
}
queryParams.beginTime = queryRangePicker.value[0];
queryParams.endTime = queryRangePicker.value[1];
listJobLog(toRaw(queryParams)).then(res => {

View File

@@ -312,6 +312,9 @@ function fnExportList() {
function fnGetList() {
if (tableState.loading) return;
tableState.loading = true;
if (!queryRangePicker.value) {
queryRangePicker.value = ['', ''];
}
queryParams.beginTime = queryRangePicker.value[0];
queryParams.endTime = queryRangePicker.value[1];
listLogininfor(toRaw(queryParams)).then(res => {

View File

@@ -345,6 +345,9 @@ function fnExportList() {
function fnGetList() {
if (tableState.loading) return;
tableState.loading = true;
if (!queryRangePicker.value) {
queryRangePicker.value = ['', ''];
}
queryParams.beginTime = queryRangePicker.value[0];
queryParams.endTime = queryRangePicker.value[1];
listOperlog(toRaw(queryParams)).then(res => {