[fix]07.분뇨처리시설 탭grid->단일 grid로 변경
This commit is contained in:
@@ -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
|
||||
}))
|
||||
};
|
||||
Reference in New Issue
Block a user