st: feat: 로그 조회, 입력-하수관로 조회, 입력-하수도보급률 예외 제출
This commit is contained in:
@@ -1,52 +1,68 @@
|
||||
import { ValueType } from "realgrid";
|
||||
import type { GridTopButtonConfig } from "@/components/type/DataGrid.type";
|
||||
|
||||
// 하수도 통계 관리 > 02.하수관로 > tab 6. 시설별 현황관리
|
||||
// Tab 6-1: 행정구역별 연결 현황 (오른쪽 그리드)
|
||||
export const AdminAreaConnectionInpColumn = {
|
||||
columns: [
|
||||
// 행정구역
|
||||
{ name: 'sido', fieldName: '시도', header: { text: '시도' } },
|
||||
{ name: 'sgg', fieldName: '시군구', header: { text: '시군구' } },
|
||||
{ name: 'adstDong', fieldName: '행정구역명', header: { text: '행정구역명' } },
|
||||
{ name: 'ctpvNm', fieldName: 'ctpvNm', header: { text: '시도' }, editable: false },
|
||||
{ name: 'sggNm', fieldName: 'sggNm', header: { text: '시군구' }, editable: false },
|
||||
{ name: 'admdstNm', fieldName: 'admdstNm', header: { text: '행정구역명' }, editable: false },
|
||||
// 연결여부
|
||||
{ name: 'iscan', fieldName: '연결여부', header: { text: '연결여부' } },
|
||||
{ name: 'isConnection', fieldName: 'isConnection', header: { text: '연결여부' }, editable: false },
|
||||
// 연결하수처리장
|
||||
{ name: 'bscFctNm', fieldName: '연결하수처리장', header: { text: '연결하수처리장' } },
|
||||
{ name: 'connectionBscFctNmList', fieldName: 'connectionBscFctNmList', header: { text: '연결하수처리장' }, editable: false },
|
||||
{
|
||||
name: 'admdstCd',
|
||||
fieldName: 'admdstCd',
|
||||
header: { text: '행정구역코드' },
|
||||
visible: false,
|
||||
editable: false,
|
||||
},
|
||||
],
|
||||
columnLayout: [
|
||||
{
|
||||
name: 'adminArea',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '행정구역' },
|
||||
items: ['sido', 'sgg', 'adstDong'],
|
||||
items: ['ctpvNm', 'sggNm', 'admdstNm'],
|
||||
},
|
||||
'iscan',
|
||||
'bscFctNm',
|
||||
'isConnection',
|
||||
'connectionBscFctNmList',
|
||||
'admdstCd'
|
||||
],
|
||||
rowStartNum: 2,
|
||||
fixedColumns: 1,
|
||||
tabKey: 'adminAreaConnectionInp',
|
||||
tabLabel: '행정구역별 연결 현황'
|
||||
tabLabel: '행정구역별 연결 현황',
|
||||
topButton: {
|
||||
visible: true,
|
||||
text: '시설별 설치 현황 관리',
|
||||
onClick: ({ openDialog }: Parameters<NonNullable<GridTopButtonConfig["onClick"]>>[0]) => {
|
||||
openDialog('시설별 설치 현황 관리');
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
// Tab 6-2: 하수처리장별 연결 현황 (왼쪽 그리드)
|
||||
export const TreatPlantConnectionInpColumn = {
|
||||
columns: [
|
||||
// 하수처리장 정보
|
||||
{ name: 'bscFctNm', fieldName: '하수처리장명', header: { text: '하수처리장명' } },
|
||||
{ name: 'fctCpc', fieldName: '용량', header: { text: '용량' }, valueType: ValueType.NUMBER, dataFormat: '#,##0' },
|
||||
{ name: 'bscFctCd', fieldName: '하수처리장코드', header: { text: '하수처리장코드' } },
|
||||
{ name: 'bscFctNm', fieldName: 'bscFctNm', header: { text: '하수처리장명' }, editable: false },
|
||||
{ name: 'fctCpc', fieldName: 'fctCpc', header: { text: '용량' }, valueType: ValueType.NUMBER, dataFormat: '#,##0', editable: false },
|
||||
{ name: 'bscFctCd', fieldName: 'bscFctCd', header: { text: '하수처리장코드' }, editable: false },
|
||||
// 연결여부
|
||||
{ name: 'iscan', fieldName: '연결여부', header: { text: '연결여부' } },
|
||||
{ name: 'isConnection', fieldName: 'isConnection', header: { text: '연결여부' }, editable: false },
|
||||
// 연결지역
|
||||
{ name: 'nmlist', fieldName: '연결지역', header: { text: '연결지역' } },
|
||||
{ name: 'connectionAreaList', fieldName: 'connectionAreaList', header: { text: '연결지역' }, editable: false },
|
||||
],
|
||||
columnLayout: [
|
||||
'bscFctNm',
|
||||
'fctCpc',
|
||||
'bscFctCd',
|
||||
'iscan',
|
||||
'nmlist',
|
||||
'isConnection',
|
||||
'connectionAreaList',
|
||||
],
|
||||
rowStartNum: 1,
|
||||
fixedColumns: 1,
|
||||
@@ -55,9 +71,9 @@ export const TreatPlantConnectionInpColumn = {
|
||||
};
|
||||
|
||||
export const ConnectionStatusInpColumn = {
|
||||
tabKey: 'treatmentPlantConnectionInp',
|
||||
tabKey: 'ST00020006',
|
||||
tabLabel: '시설별 현황 관리',
|
||||
isSplitGrid: true,
|
||||
left: AdminAreaConnectionInpColumn,
|
||||
right: TreatPlantConnectionInpColumn,
|
||||
left: TreatPlantConnectionInpColumn,
|
||||
right: AdminAreaConnectionInpColumn,
|
||||
};
|
||||
Reference in New Issue
Block a user