[fix]07.분뇨처리시설 탭grid->단일 grid로 변경

This commit is contained in:
2026-01-06 10:59:21 +09:00
parent 54e60d83a0
commit f86301a771
2 changed files with 12 additions and 10 deletions
@@ -3,7 +3,7 @@ import SaveButton from "@/components/button/SaveButton";
import ApproveButton from "@/components/button/ApproveButton";
import ReviewOpinionButton from "@/components/button/ReviewOpinionButton";
import ReturnButton from "@/components/button/ReturnButton";
import TabDataGrid from "@/components/module/TabDataGrid";
import DataGrid from "@/components/module/DataGrid";
import { ExcretaTreatmentFacilityInfoList } from "@/components/util/column/review/ExcretaTreatmentFacilityColumnRvw";
@@ -24,7 +24,7 @@ const ExcretaTreatmentFacilityRvw = () => {
<ReturnButton returnFunc={returnFunc} />
<SaveButton saveFunc={saveFunc} />
</div>
<TabDataGrid columnInfo={ExcretaTreatmentFacilityInfoList} isExcelImport={false} />
<DataGrid columnInfo={ExcretaTreatmentFacilityInfoList} isExcelImport={false} rowStartNum= {2} fixedColumns={2} />
</>
);
};
@@ -1,9 +1,5 @@
export const ExcretaTreatmentFacilityInfoList = [
{
tabKey: 'a',
tabLabel: '분뇨 처리 시설 현황',
rowStartNum: 2,
fixedColumns: 2,
export const rawExcretaTreatmentFacilityInfoList = {
columns: [
/* 1. 행정구역 */
{ name: 'sido', fieldName: 'SIDO', header: { text: '시도' } },
@@ -84,5 +80,11 @@ export const ExcretaTreatmentFacilityInfoList = [
},
'RMK'
]
}
];
};
export const ExcretaTreatmentFacilityInfoList = {
...rawExcretaTreatmentFacilityInfoList,
columns: rawExcretaTreatmentFacilityInfoList.columns.map(col => ({
...col,
editable: false
}))
};