|
|
|
@ -175,7 +175,7 @@ height="250" viewBox="0 0 24 24" style="fill: rgba(0, 0, 0, 1);transform: ;msFil
|
|
|
|
|
</svg>`;
|
|
|
|
|
|
|
|
|
|
fnMakeSkeleton();
|
|
|
|
|
sleep(3000).then(() => fnLoadStatisticsDatas());
|
|
|
|
|
sleep(3000).then(() => fnLoadStatisticsDatas($("#layout-navbar input[name='taskSeCd']:checked").val()));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//데이터 로딩 전 이미지 표시
|
|
|
|
@ -194,8 +194,10 @@ function fnMakeSkeleton(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//통계 데이터 조회(여러 건)
|
|
|
|
|
function fnLoadStatisticsDatas(){
|
|
|
|
|
|
|
|
|
|
function fnLoadStatisticsDatas(taskSeCd){
|
|
|
|
|
var lastDay = DateUtil.getDate().date.replace("-","");
|
|
|
|
|
var firstDay = DateUtil.getDateDay(-14).date.replaceAll("-","");
|
|
|
|
|
|
|
|
|
|
var mergedQuery = {};
|
|
|
|
|
|
|
|
|
|
var groupInfoList = [];
|
|
|
|
@ -212,7 +214,11 @@ function fnLoadStatisticsDatas(){
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
fixedItemId : ["01","02","minwon","dobo"],
|
|
|
|
|
namedNumberValueSeperator : "completeAndTotal",
|
|
|
|
|
globalAggregate : "count"
|
|
|
|
|
globalAggregate : "count",
|
|
|
|
|
taskSeCd : taskSeCd,
|
|
|
|
|
dayColumn : "REG_DT",
|
|
|
|
|
firstDay : firstDay,
|
|
|
|
|
lastDay : lastDay
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
@ -244,14 +250,18 @@ function fnLoadStatisticsDatas(){
|
|
|
|
|
|
|
|
|
|
mergedQuery = {...defaultQuery, ...queryInQuery1, ...queryInQuery3};
|
|
|
|
|
|
|
|
|
|
fnLoadStatisticsData(mergedQuery, "card1", "progressAndTotal");
|
|
|
|
|
//fnLoadStatisticsData(mergedQuery, "card1", "progressAndTotal");
|
|
|
|
|
|
|
|
|
|
//초기자료처리별 전체/완료건수
|
|
|
|
|
defaultQuery = {
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
fixedItemId : ["등록대상","이첩대상"],
|
|
|
|
|
namedNumberValueSeperator : "completeAndTotal",
|
|
|
|
|
globalAggregate : "count"
|
|
|
|
|
globalAggregate : "count",
|
|
|
|
|
taskSeCd : taskSeCd,
|
|
|
|
|
dayColumn : "REG_DT",
|
|
|
|
|
firstDay : firstDay,
|
|
|
|
|
lastDay : lastDay
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
@ -273,7 +283,11 @@ function fnLoadStatisticsDatas(){
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
fixedItemId : ["01", "02", "03"],
|
|
|
|
|
namedNumberValueSeperator : "completeAndTotal",
|
|
|
|
|
globalAggregate : "count"
|
|
|
|
|
globalAggregate : "count",
|
|
|
|
|
taskSeCd : taskSeCd,
|
|
|
|
|
dayColumn : "REG_DT",
|
|
|
|
|
firstDay : firstDay,
|
|
|
|
|
lastDay : lastDay
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
@ -295,7 +309,11 @@ function fnLoadStatisticsDatas(){
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
fixedItemId : ["00", "acceptOrNonAccept", "03"],
|
|
|
|
|
namedNumberValueSeperator : "completeAndTotal",
|
|
|
|
|
globalAggregate : "count"
|
|
|
|
|
globalAggregate : "count",
|
|
|
|
|
taskSeCd : taskSeCd,
|
|
|
|
|
dayColumn : "REG_DT",
|
|
|
|
|
firstDay : firstDay,
|
|
|
|
|
lastDay : lastDay
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
@ -329,8 +347,9 @@ function fnLoadStatisticsDatas(){
|
|
|
|
|
fixedItemId : ["01","02","dobo","minwon"],
|
|
|
|
|
namedNumberValueSeperator : "lastFewDays",
|
|
|
|
|
globalAggregate : "count",
|
|
|
|
|
dayRange : 15,
|
|
|
|
|
dayColumn : "CRDN_YMD"
|
|
|
|
|
taskSeCd : taskSeCd,
|
|
|
|
|
dayColumn : "CRDN_YMD",
|
|
|
|
|
dayRange : 15
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
@ -366,8 +385,12 @@ function fnLoadStatisticsDatas(){
|
|
|
|
|
|
|
|
|
|
//초기자료처리별 건수 차트
|
|
|
|
|
defaultQuery = {
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
fixedItemId : ["단속","계고","서손"]
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
fixedItemId : ["단속","계고","서손"],
|
|
|
|
|
taskSeCd : taskSeCd,
|
|
|
|
|
dayColumn : "REG_DT",
|
|
|
|
|
firstDay : firstDay,
|
|
|
|
|
lastDay : lastDay
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
@ -395,13 +418,17 @@ function fnLoadStatisticsDatas(){
|
|
|
|
|
|
|
|
|
|
//발송문서종류별 건수 차트
|
|
|
|
|
defaultQuery = {
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
fixedItemId : ["01", "02", "03"]
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
fixedItemId : ["01", "02", "03"],
|
|
|
|
|
taskSeCd : taskSeCd,
|
|
|
|
|
dayColumn : "SNDNG_YMD",
|
|
|
|
|
firstDay : firstDay,
|
|
|
|
|
lastDay : lastDay
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
|
{
|
|
|
|
|
refCol : "SNDNG_SE_CD",
|
|
|
|
|
refCol : "SNDNG_SE_CD",
|
|
|
|
|
ctgrType : ["code"],
|
|
|
|
|
dtlCtgr : ["FIM047"]
|
|
|
|
|
}
|
|
|
|
@ -419,12 +446,16 @@ function fnLoadStatisticsDatas(){
|
|
|
|
|
|
|
|
|
|
mergedQuery = {...defaultQuery, ...queryInQuery1, ... queryInQuery2};
|
|
|
|
|
|
|
|
|
|
//fnLoadStatisticsData(mergedQuery, "doughnutChart2", "doughnut");
|
|
|
|
|
fnLoadStatisticsData(mergedQuery, "doughnutChart2", "doughnut");
|
|
|
|
|
|
|
|
|
|
//의견진술결과별 건수 차트
|
|
|
|
|
defaultQuery = {
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
fixedItemId : ["01", "02", "03"]
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
fixedItemId : ["01", "02", "03"],
|
|
|
|
|
taskSeCd : taskSeCd,
|
|
|
|
|
dayColumn : "REG_DT",
|
|
|
|
|
firstDay : firstDay,
|
|
|
|
|
lastDay : lastDay
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
@ -700,7 +731,7 @@ function fnRenderDoughnut(returnData, cursor){
|
|
|
|
|
label: function (context) {
|
|
|
|
|
const label = context.label || '';
|
|
|
|
|
const value = context.parsed;
|
|
|
|
|
const output = ' ' + label + ' : ' + value + ' %';
|
|
|
|
|
const output = ' ' + label + ' : ' + value + ' 건';
|
|
|
|
|
return output;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|