260722_01_ENH: 버그 수정 및 개선 사항 수정

This commit is contained in:
2026-07-22 16:53:00 +09:00
parent d8b565276d
commit 2dd5b88c6f
67 changed files with 1925 additions and 736 deletions

View File

@@ -25,7 +25,7 @@ import {
useUpdateListHeaderMutation,
useUploadListExcelMutation,
} from '@/query/list'
import { useResultCodesQuery } from '@/query/project'
import { useProjectInfoQuery, useResultCodesQuery } from '@/query/project'
import type { ListTableRow } from '@/components/table-column/ListTableColumn'
import {
createEmptyListFilter,
@@ -69,7 +69,7 @@ const createEmptySearchUiState = (): ListSearchUiState => ({
searchText: '',
searchContactResult: [],
searchInterviewResult: [],
searchSurveyResult: [],
surveyResultSelections: {},
filterRows: [],
sorting: [],
})
@@ -107,6 +107,7 @@ const ListManagePage = () => {
const isInternal = isInternalManager(userRole);
const resultCodesQuery = useResultCodesQuery(prjctIdx, enabled)
const projectInfoQuery = useProjectInfoQuery(prjctIdx, enabled)
const listHeaderQuery = useListHeaderQuery(prjctIdx, enabled)
const uploadHistoryQuery = useListUploadHistoryQuery(prjctIdx, enabled)
const downloadListExcelTemplateMutation = useDownloadListExcelTemplateMutation()
@@ -120,6 +121,7 @@ const ListManagePage = () => {
const downloadUploadHistoryFileMutation = useDownloadUploadHistoryFileMutation(prjctIdx)
const resultCodeArray = useMemo<ResultCode[]>(() => resultCodesQuery.data ?? [], [resultCodesQuery.data])
const surveyArray = useMemo(() => projectInfoQuery.data?.surveys ?? [], [projectInfoQuery.data])
const headerManageRows = useMemo<listHeader[]>(() => listHeaderQuery.data ?? [], [listHeaderQuery.data])
// 컨택 진행 화면에서 돌아왔을 때 1회만 복원하고, 재방문 시 다시 나타나지 않도록 즉시 지운다.
@@ -280,6 +282,7 @@ const ListManagePage = () => {
userId={userId}
userCmpn={userCmpn}
resultCodes={resultCodeArray}
surveys={surveyArray}
listHeaders={headerManageRows}
enableBatchEdit={canManageList}
refreshKey={listRefreshKey}