[fix]05.펌프장 탭grid->단일 grid로 변경
This commit is contained in:
@@ -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";
|
||||
@@ -24,7 +24,7 @@ const PumpingStationRvw = () => {
|
||||
<ReturnButton returnFunc={returnFunc} />
|
||||
<SaveButton saveFunc={saveFunc} />
|
||||
</div>
|
||||
<TabDataGrid columnInfo={PumpingStationInfoList} isExcelImport={false} />
|
||||
<DataGrid columnInfo={PumpingStationInfoList} isExcelImport={false} rowStartNum={3} fixedColumns={3} />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
export const PumpingStationInfoList = [
|
||||
{
|
||||
tabKey: 'a',
|
||||
tabLabel: '펌프장 현황',
|
||||
rowStartNum: 3,
|
||||
fixedColumns: 3,
|
||||
export const rawPumpingStationInfoList = {
|
||||
columns: [
|
||||
/* 1. 행정구역 및 기본정보 */
|
||||
{ name: 'sido', fieldName: 'SIDO', header: { text: '시도' } },
|
||||
@@ -97,5 +92,12 @@ export const PumpingStationInfoList = [
|
||||
},
|
||||
'PWR_USAGE', 'RMK',
|
||||
]
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
export const PumpingStationInfoList = {
|
||||
...rawPumpingStationInfoList,
|
||||
columns: rawPumpingStationInfoList.columns.map(col => ({
|
||||
...col,
|
||||
editable: false
|
||||
}))
|
||||
};
|
||||
Reference in New Issue
Block a user