[as] feat: 통계 검증 리포트 새로고침 버튼 추가
This commit is contained in:
@@ -552,6 +552,18 @@ function StatisticsVerificationReport() {
|
||||
}
|
||||
}
|
||||
|
||||
function handleReportRefresh() {
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: [ENDPOINT.ST_SERVICE.INPUT, "statistics-input-status"],
|
||||
});
|
||||
}
|
||||
|
||||
function handleResultRefresh() {
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: [ENDPOINT.ST_SERVICE.INPUTVERIFY, "verify-results"],
|
||||
});
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="relative">
|
||||
<ApprovalInputDialog
|
||||
@@ -601,6 +613,9 @@ function StatisticsVerificationReport() {
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex items-end justify-end gap-2">
|
||||
<Button color="gray" onClick={handleReportRefresh}>
|
||||
새로고침
|
||||
</Button>
|
||||
<Button color="white" onClick={handleReset}>
|
||||
초기화
|
||||
</Button>
|
||||
@@ -662,6 +677,9 @@ function StatisticsVerificationReport() {
|
||||
/>
|
||||
</div>
|
||||
<div className="flex items-end justify-end gap-2">
|
||||
<Button color="gray" onClick={handleResultRefresh}>
|
||||
새로고침
|
||||
</Button>
|
||||
<Button color="white" onClick={handleSubFilterReset}>
|
||||
초기화
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user