[ST] - fix: DB 표준화에 따른 소스 수정
This commit is contained in:
@@ -26,10 +26,10 @@ export const FactInstallStatusInpColumn = {
|
||||
styleName: 'rg-cell-total',
|
||||
valueType: ValueType.NUMBER,
|
||||
dataFormat: '#,##0.000',
|
||||
computed: { fields: ['cbsysPrcsZoneArea', 'sprsysPrcsZoneArea'], type: 'sum' as const },
|
||||
computed: { fields: ['cbsysTrtznArea', 'sprsysTrtznArea'], type: 'sum' as const },
|
||||
},
|
||||
{ name: 'cbsysPrcsZoneArea', fieldName: 'cbsysPrcsZoneArea', header: { text: '합류식' }, footer: footerDecimal3, valueType: ValueType.NUMBER, dataFormat: '#,##0.000' },
|
||||
{ name: 'sprsysPrcsZoneArea', fieldName: 'sprsysPrcsZoneArea', header: { text: '분류식' }, footer: footerDecimal3, valueType: ValueType.NUMBER, dataFormat: '#,##0.000' },
|
||||
{ name: 'cbsysTrtznArea', fieldName: 'cbsysTrtznArea', header: { text: '합류식' }, footer: footerDecimal3, valueType: ValueType.NUMBER, dataFormat: '#,##0.000' },
|
||||
{ name: 'sprsysTrtznArea', fieldName: 'sprsysTrtznArea', header: { text: '분류식' }, footer: footerDecimal3, valueType: ValueType.NUMBER, dataFormat: '#,##0.000' },
|
||||
|
||||
// 분류식화율
|
||||
{
|
||||
@@ -42,38 +42,38 @@ export const FactInstallStatusInpColumn = {
|
||||
valueType: ValueType.NUMBER,
|
||||
dataFormat: '#,##0.0',
|
||||
computed: {
|
||||
numeratorFields: ['sprsysPrcsZoneArea'],
|
||||
denominatorFields: ['cbsysPrcsZoneArea', 'sprsysPrcsZoneArea'],
|
||||
numeratorFields: ['sprsysTrtznArea'],
|
||||
denominatorFields: ['cbsysTrtznArea', 'sprsysTrtznArea'],
|
||||
type: 'pblswrgPopltnSuprtRate' as const,
|
||||
},
|
||||
},
|
||||
|
||||
// 배수설비(개소)
|
||||
{
|
||||
name: 'mltvEqpmCnt',
|
||||
fieldName: 'mltvEqpmCnt',
|
||||
name: 'wholDrgCnt',
|
||||
fieldName: 'wholDrgCnt',
|
||||
header: { text: '합계' },
|
||||
footer: footerInt,
|
||||
editable: false,
|
||||
styleName: 'rg-cell-total',
|
||||
valueType: ValueType.NUMBER,
|
||||
dataFormat: '#,##0',
|
||||
computed: { fields: ['sprsysMltvLnkgCnt', 'sprsysMltvYetLnkgCnt', 'cbsysMltvEqpmCnt'], type: 'sum' as const },
|
||||
computed: { fields: ['sprsysDrgLnkgCnt', 'sprsysDrgNoinsLnkgCnt', 'cbsysDrgCnt'], type: 'sum' as const },
|
||||
},
|
||||
{ name: 'cbsysMltvEqpmCnt', fieldName: 'cbsysMltvEqpmCnt', header: { text: '합류식' }, footer: footerInt, valueType: ValueType.NUMBER, dataFormat: '#,##0' },
|
||||
{ name: 'cbsysDrgCnt', fieldName: 'cbsysDrgCnt', header: { text: '합류식' }, footer: footerInt, valueType: ValueType.NUMBER, dataFormat: '#,##0' },
|
||||
{
|
||||
name: 'sprsysMltvEqpmCnt',
|
||||
fieldName: 'sprsysMltvEqpmCnt',
|
||||
name: 'sprsysDrgCnt',
|
||||
fieldName: 'sprsysDrgCnt',
|
||||
header: { text: '소계' },
|
||||
footer: footerInt,
|
||||
editable: false,
|
||||
styleName: 'rg-cell-total',
|
||||
valueType: ValueType.NUMBER,
|
||||
dataFormat: '#,##0',
|
||||
computed: { fields: ['sprsysMltvLnkgCnt', 'sprsysMltvYetLnkgCnt'], type: 'sum' as const },
|
||||
computed: { fields: ['sprsysDrgLnkgCnt', 'sprsysDrgNoinsLnkgCnt'], type: 'sum' as const },
|
||||
},
|
||||
{ name: 'sprsysMltvLnkgCnt', fieldName: 'sprsysMltvLnkgCnt', header: { text: '연결' }, footer: footerInt, valueType: ValueType.NUMBER, dataFormat: '#,##0' },
|
||||
{ name: 'sprsysMltvYetLnkgCnt', fieldName: 'sprsysMltvYetLnkgCnt', header: { text: '미연결' }, footer: footerInt, valueType: ValueType.NUMBER, dataFormat: '#,##0' },
|
||||
{ name: 'sprsysDrgLnkgCnt', fieldName: 'sprsysDrgLnkgCnt', header: { text: '연결' }, footer: footerInt, valueType: ValueType.NUMBER, dataFormat: '#,##0' },
|
||||
{ name: 'sprsysDrgNoinsLnkgCnt', fieldName: 'sprsysDrgNoinsLnkgCnt', header: { text: '미연결' }, footer: footerInt, valueType: ValueType.NUMBER, dataFormat: '#,##0' },
|
||||
|
||||
// 하수관로 > 총시설연장
|
||||
{
|
||||
@@ -85,7 +85,7 @@ export const FactInstallStatusInpColumn = {
|
||||
styleName: 'rg-cell-total',
|
||||
valueType: ValueType.NUMBER,
|
||||
dataFormat: '#,##0.00',
|
||||
computed: { fields: ['icptgPrlg', 'atlfcsPrlg', 'cbsysBrchlnPrlg', 'exlnBrchlnPrlg', 'drtwBrchlnPrlg'], type: 'sum' as const },
|
||||
computed: { fields: ['icptgPrlg', 'atlfcsPrlg', 'cbsysPplPrlg', 'exlnPplPrlg', 'drtwPplPrlg'], type: 'sum' as const },
|
||||
},
|
||||
|
||||
// 하수관로 > 차집/오수간선(m)
|
||||
@@ -112,21 +112,21 @@ export const FactInstallStatusInpColumn = {
|
||||
|
||||
// 하수관로 > 지선(m)
|
||||
{
|
||||
name: 'wholBrchlnPrlg',
|
||||
fieldName: 'wholBrchlnPrlg',
|
||||
name: 'wholPplPrlg',
|
||||
fieldName: 'wholPplPrlg',
|
||||
header: { text: '합계' },
|
||||
footer: footerDecimal2,
|
||||
editable: false,
|
||||
styleName: 'rg-cell-total',
|
||||
valueType: ValueType.NUMBER,
|
||||
dataFormat: '#,##0.00',
|
||||
computed: { fields: ['cbsysBrchlnPrlg', 'exlnBrchlnPrlg', 'drtwBrchlnPrlg'], type: 'sum' as const },
|
||||
computed: { fields: ['cbsysPplPrlg', 'exlnPplPrlg', 'drtwPplPrlg'], type: 'sum' as const },
|
||||
},
|
||||
{ name: 'cbsysBrchlnPrlg', fieldName: 'cbsysBrchlnPrlg', header: { text: '합류식' }, footer: footerDecimal2, valueType: ValueType.NUMBER, dataFormat: '#,##0.00' },
|
||||
{ name: 'cbsysPplPrlg', fieldName: 'cbsysPplPrlg', header: { text: '합류식' }, footer: footerDecimal2, valueType: ValueType.NUMBER, dataFormat: '#,##0.00' },
|
||||
|
||||
// 하수관로 > 지선(m) > 분류식
|
||||
{ name: 'exlnBrchlnPrlg', fieldName: 'exlnBrchlnPrlg', header: { text: '우수' }, footer: footerDecimal2, valueType: ValueType.NUMBER, dataFormat: '#,##0.00' },
|
||||
{ name: 'drtwBrchlnPrlg', fieldName: 'drtwBrchlnPrlg', header: { text: '오수' }, footer: footerDecimal2, valueType: ValueType.NUMBER, dataFormat: '#,##0.00' },
|
||||
{ name: 'exlnPplPrlg', fieldName: 'exlnPplPrlg', header: { text: '우수' }, footer: footerDecimal2, valueType: ValueType.NUMBER, dataFormat: '#,##0.00' },
|
||||
{ name: 'drtwPplPrlg', fieldName: 'drtwPplPrlg', header: { text: '오수' }, footer: footerDecimal2, valueType: ValueType.NUMBER, dataFormat: '#,##0.00' },
|
||||
|
||||
// 비고
|
||||
{ name: 'rmrk', fieldName: 'rmrk', header: { text: '비고' } },
|
||||
@@ -153,7 +153,7 @@ export const FactInstallStatusInpColumn = {
|
||||
name: 'procZone',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '처리구역면적(km²)' },
|
||||
items: ['prcsZoneArea', 'cbsysPrcsZoneArea', 'sprsysPrcsZoneArea'],
|
||||
items: ['prcsZoneArea', 'cbsysTrtznArea', 'sprsysTrtznArea'],
|
||||
},
|
||||
'sprsysVartnRt',
|
||||
{
|
||||
@@ -161,13 +161,13 @@ export const FactInstallStatusInpColumn = {
|
||||
hideChildHeaders: false,
|
||||
header: { text: '배수설비(개소)' },
|
||||
items: [
|
||||
'mltvEqpmCnt',
|
||||
'cbsysMltvEqpmCnt',
|
||||
'wholDrgCnt',
|
||||
'cbsysDrgCnt',
|
||||
{
|
||||
name: 'sprtDrainEquip',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '분류식' },
|
||||
items: ['sprsysMltvEqpmCnt', 'sprsysMltvLnkgCnt', 'sprsysMltvYetLnkgCnt'],
|
||||
items: ['sprsysDrgCnt', 'sprsysDrgLnkgCnt', 'sprsysDrgNoinsLnkgCnt'],
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -207,13 +207,13 @@ export const FactInstallStatusInpColumn = {
|
||||
hideChildHeaders: false,
|
||||
header: { text: '지선(m)' },
|
||||
items: [
|
||||
'wholBrchlnPrlg',
|
||||
'cbsysBrchlnPrlg',
|
||||
'wholPplPrlg',
|
||||
'cbsysPplPrlg',
|
||||
{
|
||||
name: 'sprtBranchLine',
|
||||
hideChildHeaders: false,
|
||||
header: { text: '분류식' },
|
||||
items: ['exlnBrchlnPrlg', 'drtwBrchlnPrlg'],
|
||||
items: ['exlnPplPrlg', 'drtwPplPrlg'],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user