- 숫자면 valueType 전부 추가 - 입력값과 합계값의 소수점 불일치는 입력값 기준으로 수정 - 00. 통계 입력 현황 - 작성율만 숫자 - 01. 하수도 보급율, 02. 하수관로, 03. 하수관로 유지관리, 04. 하수저류시설 및 빗물펌프 추가 완료
82 lines
5.7 KiB
TypeScript
82 lines
5.7 KiB
TypeScript
import { footerInt, footerDecimal1, footerDecimal2 } from "@/components/util/grid/footerSummary";
|
|
import { ValueType } from "realgrid";
|
|
|
|
// 하수도 통계 관리 > 03.하수관로 유지관리 > tab 2. 관로준설
|
|
export const PipeDredgingStatusInpColumn = {
|
|
columns: [
|
|
// 행정구역
|
|
{ name: 'SIDO', fieldName: '시도', header: { text: '시도' }, editable: false },
|
|
{ name: 'GUGUN', fieldName: '시군구', header: { text: '시군구' }, editable: false, footer: { text: '합계' } },
|
|
|
|
// 하수관로 총 시설연장
|
|
{ name: 'PIPL_FCLTY_EXTN', fieldName: '하수관로총시설연장(m)', header: { text: '하수관로총시설연장(m)' }, editable: false, footer: footerDecimal2, valueType: ValueType.NUMBER, dataFormat: '#,##0.00' },
|
|
|
|
// 준설연장 및 개소수 > 관로(m)
|
|
{ name: 'DRDG_PIPE_SM', fieldName: '합계', header: { text: '합계' }, editable: false, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
{ name: 'DRDG_CMBN_PIPE', fieldName: '합류식', header: { text: '합류식' }, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
|
|
// 준설연장 및 개소수 > 관로(m) > 분류식
|
|
{ name: 'DRDG_RAINWTR_PIPE', fieldName: '우수', header: { text: '우수' }, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
{ name: 'DRDG_PLTWTR_PIPE', fieldName: '오수', header: { text: '오수' }, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
|
|
// 준설연장 및 개소수 > 맨홀, 오·우수받이, 토실·토구
|
|
{ name: 'MNHLE_SITE', fieldName: '맨홀(개소)', header: { text: '맨홀(개소)' }, footer: footerInt, valueType: ValueType.NUMBER, dataFormat: '#,##0' },
|
|
{ name: 'PLTWTR_RCVR_SITE', fieldName: '오·우수받이(개소)', header: { text: '오·우수받이(개소)' }, footer: footerInt, valueType: ValueType.NUMBER, dataFormat: '#,##0' },
|
|
{ name: 'SOILSPLL_SOILHOLE_SITE', fieldName: '토실·토구(개소)', header: { text: '토실·토구(개소)' }, footer: footerInt, valueType: ValueType.NUMBER, dataFormat: '#,##0' },
|
|
|
|
// 계획 & 비율
|
|
{ name: 'DRDG_TRGET_EXTN', fieldName: '준설 계획 연장(m)', header: { text: '준설 계획 연장(m)' }, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
{ name: 'DRDG_TRGET_RT', fieldName: '계획대비 준설율(%)', header: { text: '계획대비 준설율(%)' }, editable: false, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
{ name: 'PIPL_FCLTY_RT', fieldName: '총시설연장대비 준설율(%)', header: { text: '총시설연장대비 준설율(%)' }, editable: false, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
|
|
// 준설실적
|
|
{ name: 'DRDG_ACMSLT_AMOUNT', fieldName: '금액(백만원)', header: { text: '금액(백만원)' }, footer: footerInt, valueType: ValueType.NUMBER, dataFormat: '#,##0' },
|
|
{ name: 'DRDG_ACMSLT_QY', fieldName: '준설량(m³)', header: { text: '준설량(m³)' }, footer: footerInt, valueType: ValueType.NUMBER, dataFormat: '#,##0' },
|
|
|
|
// 준설토사처리
|
|
{ name: 'DRDG_ACMSLT_UNTPC', fieldName: '준설토처리비(백만원)', header: { text: '준설토처리비(백만원)' }, footer: footerInt, valueType: ValueType.NUMBER, dataFormat: '#,##0' },
|
|
{ name: 'DRDG_ETND_SM', fieldName: '처리량 계(톤)', header: { text: '처리량 계(톤)' }, editable: false, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
{ name: 'RCLM', fieldName: '매립', header: { text: '매립' }, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
{ name: 'OCEAN_DPSL', fieldName: '해양투기', header: { text: '해양투기' }, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
{ name: 'RUSE', fieldName: '재활용', header: { text: '재활용' }, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
{ name: 'ETC', fieldName: '기타(소각, 고형화, 시멘트원료 등)', header: { text: '기타(소각, 고형화, 시멘트원료 등)' }, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
|
|
// 비고
|
|
{ name: 'RMK', fieldName: '비고', header: { text: '비고' } },
|
|
],
|
|
columnLayout: [
|
|
{ name: 'group_admin', header: { text: '행정구역' }, items: ['SIDO', 'GUGUN'] },
|
|
'PIPL_FCLTY_EXTN',
|
|
{
|
|
name: 'group_dredge_info',
|
|
header: { text: '준설연장 및 개소수' },
|
|
items: [
|
|
{
|
|
name: 'group_pipe',
|
|
header: { text: '관로(m)' },
|
|
items: [
|
|
'DRDG_PIPE_SM', 'DRDG_CMBN_PIPE',
|
|
{ name: 'group_sep', header: { text: '분류식' }, items: ['DRDG_RAINWTR_PIPE', 'DRDG_PLTWTR_PIPE'] }
|
|
]
|
|
},
|
|
'MNHLE_SITE', 'PLTWTR_RCVR_SITE', 'SOILSPLL_SOILHOLE_SITE'
|
|
]
|
|
},
|
|
'DRDG_TRGET_EXTN', 'DRDG_TRGET_RT', 'PIPL_FCLTY_RT',
|
|
{
|
|
name: 'group_perf',
|
|
header: { text: '준설실적' },
|
|
items: ['DRDG_ACMSLT_AMOUNT', 'DRDG_ACMSLT_QY']
|
|
},
|
|
{
|
|
name: 'group_soil_treat',
|
|
header: { text: '준설토사처리' },
|
|
items: ['DRDG_ACMSLT_UNTPC', 'DRDG_ETND_SM', 'RCLM', 'OCEAN_DPSL', 'RUSE', 'ETC']
|
|
},
|
|
'RMK'
|
|
],
|
|
rowStartNum: 4,
|
|
fixedColumns: 1,
|
|
tabKey: 'pipeDredgingStatusInp',
|
|
tabLabel: '관로준설'
|
|
}; |