120 lines
4.8 KiB
TypeScript
120 lines
4.8 KiB
TypeScript
import { footerDecimal1 } from "@/components/util/grid/footerSummary";
|
|
import { ValueType } from "realgrid";
|
|
|
|
// 하수도 통계 관리 > 11.하수 및 분뇨찌꺼기(슬러지) 처리 > tab 4. 분뇨찌꺼기(슬러지)처리 현황
|
|
export const ExcretaSlurgeProcessingStatusInpColumn = {
|
|
columns: [
|
|
// 행정구역
|
|
{ name: 'ctpvNm', fieldName: 'ctpvNm', header: { text: '시도' }, footer: { text: '합계' }, editable: false, styleName: 'rg-cell-fixed' },
|
|
{ name: 'sggNm', fieldName: 'sggNm', header: { text: '시군구' }, editable: false, styleName: 'rg-cell-fixed' },
|
|
|
|
// 분뇨처리장명
|
|
{ name: 'fcltNm', fieldName: 'fcltNm', header: { text: '분뇨 처리장명' }, editable: false, styleName: 'rg-cell-fixed' },
|
|
|
|
// 발생량
|
|
{
|
|
name: 'gnam',
|
|
fieldName: 'gnam',
|
|
header: { text: '발생량 (A)=(B)+(C)' },
|
|
editable: false,
|
|
footer: footerDecimal1,
|
|
valueType: ValueType.NUMBER,
|
|
dataFormat: '#,##0.0',
|
|
styleName: 'rg-cell-total',
|
|
computed: {
|
|
fields: [
|
|
'rcycQnt',
|
|
'olandLfvlm',
|
|
'incnrQnt',
|
|
'oceanInputQnt',
|
|
'fuelQnt',
|
|
'etcQnt',
|
|
'nondspsQnt'
|
|
],
|
|
type: 'sum' as const,
|
|
},
|
|
},
|
|
|
|
// 처 분 량(톤/년)
|
|
{
|
|
name: 'wholDspsQnt',
|
|
fieldName: 'wholDspsQnt',
|
|
header: { text: '계(B)' },
|
|
editable: false,
|
|
footer: footerDecimal1,
|
|
valueType: ValueType.NUMBER,
|
|
dataFormat: '#,##0.0',
|
|
styleName: 'rg-cell-total',
|
|
computed: {
|
|
fields: [
|
|
'rcycQnt',
|
|
'olandLfvlm',
|
|
'incnrQnt',
|
|
'oceanInputQnt',
|
|
'fuelQnt',
|
|
'etcQnt',
|
|
],
|
|
type: 'sum' as const,
|
|
},
|
|
},
|
|
{ name: 'rcycQnt', fieldName: 'rcycQnt', header: { text: '재활용' }, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
{ name: 'olandLfvlm', fieldName: 'olandLfvlm', header: { text: '육상매립' }, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
{ name: 'incnrQnt', fieldName: 'incnrQnt', header: { text: '소각' }, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
{ name: 'oceanInputQnt', fieldName: 'oceanInputQnt', header: { text: '해양투기' }, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
{ name: 'fuelQnt', fieldName: 'fuelQnt', header: { text: '연료화' }, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
{ name: 'etcQnt', fieldName: 'etcQnt', header: { text: '기타' }, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
|
|
// 미처분량(이월량)(C)
|
|
{ name: 'nondspsQnt', fieldName: 'nondspsQnt', header: { text: '미처분량(이월량)(C)' }, footer: footerDecimal1, valueType: ValueType.NUMBER, dataFormat: '#,##0.0' },
|
|
|
|
// 타시설연계여부
|
|
{ name: 'swtrmtFcltNm', fieldName: 'swtrmtFcltNm', header: { text: '타시설연계여부' } },
|
|
|
|
// 비고
|
|
{ name: 'rmrk', fieldName: 'rmrk', header: { text: '비고' } },
|
|
|
|
// hidden
|
|
{ name: 'admdstCd', fieldName: 'admdstCd', header: { text: '행정구역코드' }, visible: false, },
|
|
{ name: 'admdstNm', fieldName: 'admdstNm', header: { text: '행정구역명' }, visible: false },
|
|
{ name: 'fcltSn', fieldName: 'fcltSn', header: { text: '시설물일련번호' }, visible: false },
|
|
{ name: 'fcltPstnCn', fieldName: 'fcltPstnCn', header: { text: '시설물위치내용' }, visible: false },
|
|
],
|
|
|
|
columnLayout: [
|
|
{
|
|
name: 'group_admin',
|
|
header: { text: '행정구역' },
|
|
items: [
|
|
{ column: 'ctpvNm', footerUserSpans: [{ colspan: 2 }] },
|
|
'sggNm',
|
|
],
|
|
},
|
|
'fcltNm',
|
|
'gnam',
|
|
{
|
|
name: 'group_process_amount',
|
|
header: { text: '처 분 량(톤/년)' },
|
|
items: [
|
|
'wholDspsQnt',
|
|
'rcycQnt',
|
|
'olandLfvlm',
|
|
'incnrQnt',
|
|
'oceanInputQnt',
|
|
'fuelQnt',
|
|
'etcQnt'
|
|
]
|
|
},
|
|
'nondspsQnt',
|
|
'swtrmtFcltNm',
|
|
'rmrk',
|
|
'admdstCd',
|
|
'admdstNm',
|
|
'fcltSn',
|
|
'fcltPstnCn'
|
|
],
|
|
|
|
rowStartNum: 2,
|
|
fixedColumns: 2,
|
|
tabKey: 'ST00110004',
|
|
tabLabel: '분뇨찌꺼기(슬러지)처리현황'
|
|
}; |