[fix] 00. 통계입력현황 탭grid->단일 grid로 변경

This commit is contained in:
2026-01-06 11:01:09 +09:00
parent 1ad61e0fa5
commit 69a0dd47ff
2 changed files with 8 additions and 14 deletions
@@ -1,5 +1,5 @@
import SearchForm from "@/components/module/SearchForm";
import TabDataGrid from "@/components/module/TabDataGrid";
import DataGrid from "@/components/module/DataGrid";
import SaveButton from "@/components/button/SaveButton";
import ApproveButton from "@/components/button/ApproveButton";
import ReviewOpinionButton from "@/components/button/ReviewOpinionButton";
@@ -34,7 +34,7 @@ const StatsInputSatusRvw = () => {
<ReturnButton returnFunc={returnFunc} />
<SaveButton saveFunc={saveFunc} />
</div>
<TabDataGrid columnInfo={StatsInputSatusInfoList} isExcelImport={false} />
<DataGrid columnInfo={StatsInputSatusInfoList} isExcelImport={false} rowStartNum={2} fixedColumns={2}/>
</>
);
}
@@ -1,10 +1,5 @@
const rawStatsInputStatusList = [
{
tabKey: 'a',
tabLabel: '통계 입력현황 검증',
rowStartNum: 2,
fixedColumns: 2,
const rawStatsInputStatusList = {
columns: [
{ name: 'SIDO', fieldName: 'SIDO', header: { text: '시도' } },
{ name: 'GUGUN', fieldName: 'GUGUN', header: { text: '시군구' } },
@@ -37,13 +32,12 @@ const rawStatsInputStatusList = [
{ name: 'group12', header: { text: '12. 하수및분뇨관련사업' }, items: ['LOCG_CHARGER_13', 'LOCG_CTTPC_13', 'LOCG_STATUS_NM_13', 'STATUS_13'] },
{ name: 'group13', header: { text: '13. 하수도서비스수준' }, items: ['LOCG_CHARGER_15', 'LOCG_CTTPC_15', 'LOCG_STATUS_NM_15', 'STATUS_15'] }
]
}
];
};
export const StatsInputSatusInfoList = rawStatsInputStatusList.map(tab => ({
...tab,
columns: tab.columns.map(col => ({
export const StatsInputSatusInfoList = {
...rawStatsInputStatusList,
columns: rawStatsInputStatusList.columns.map(col => ({
...col,
editable: false
}))
}));
};