微调
This commit is contained in:
parent
a1c73423f2
commit
0686831059
@ -185,7 +185,7 @@ async function onRequest(props: any) {
|
|||||||
current: page,
|
current: page,
|
||||||
size: rowsPerPage,
|
size: rowsPerPage,
|
||||||
alertType: (saveAlertTypeData as never)[filter.value.alertType],
|
alertType: (saveAlertTypeData as never)[filter.value.alertType],
|
||||||
lineId: +filter.value.lineId,
|
lineId: filter.value.lineId,
|
||||||
});
|
});
|
||||||
const pageData = response;
|
const pageData = response;
|
||||||
pagination.value.rowsNumber = pageData.total;
|
pagination.value.rowsNumber = pageData.total;
|
||||||
@ -214,7 +214,7 @@ onMounted(() => {
|
|||||||
const searchDialog = ref(false);
|
const searchDialog = ref(false);
|
||||||
const filter = ref({
|
const filter = ref({
|
||||||
alertType: '',
|
alertType: '',
|
||||||
lineId: '',
|
lineId: undefined,
|
||||||
});
|
});
|
||||||
const optionsAlertType = [
|
const optionsAlertType = [
|
||||||
'蓝显',
|
'蓝显',
|
||||||
@ -240,7 +240,7 @@ function searchDecisionInfo() {
|
|||||||
tableRef.value.requestServerInteraction();
|
tableRef.value.requestServerInteraction();
|
||||||
} finally {
|
} finally {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
filter.value = { alertType: '', lineId: '' };
|
filter.value = { alertType: '', lineId: undefined };
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user