|
|
|
@ -196,18 +196,32 @@ function fnMakeSkeleton(){
|
|
|
|
|
//통계 데이터 조회(여러 건)
|
|
|
|
|
function fnLoadStatisticsDatas(){
|
|
|
|
|
|
|
|
|
|
var queryParam = {};
|
|
|
|
|
var mergedQuery = {};
|
|
|
|
|
|
|
|
|
|
var groupInfoList = [];
|
|
|
|
|
var codeSubsetInfoList = [];
|
|
|
|
|
var queryInQuery = {};
|
|
|
|
|
|
|
|
|
|
var defaultQuery = {};
|
|
|
|
|
var queryInQuery1 = {};
|
|
|
|
|
var queryInQuery2 = {};
|
|
|
|
|
var queryInQuery3 = {};
|
|
|
|
|
|
|
|
|
|
//단속구분별 전체/완료 건수
|
|
|
|
|
queryParam = {
|
|
|
|
|
defaultQuery = {
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
categorization : ["CRDN_SE_CD"],
|
|
|
|
|
categoryNameConverter : ["code=FIM002"],
|
|
|
|
|
fixedItemId : ["01","02","minwon","dobo"],
|
|
|
|
|
namedNumberValueSeperator : "completeAndTotal"
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
|
{
|
|
|
|
|
groupColName : "CRDN_SE_CD",
|
|
|
|
|
categoryNameConverter : "code=FIM002"
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
queryInQuery1 = fnJsonArrayToFormData(groupInfoList, "groupInfoList");
|
|
|
|
|
|
|
|
|
|
codeSubsetInfoList = [
|
|
|
|
|
{
|
|
|
|
|
sourceGroup : "FIM002",
|
|
|
|
@ -223,41 +237,62 @@ function fnLoadStatisticsDatas(){
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
queryInQuery = fnJsonArrayToFormData(codeSubsetInfoList, "codeSubsetInfoList");
|
|
|
|
|
queryInQuery3 = fnJsonArrayToFormData(codeSubsetInfoList, "codeSubsetInfoList");
|
|
|
|
|
|
|
|
|
|
queryParam = {...queryParam, ...queryInQuery};
|
|
|
|
|
mergedQuery = {...defaultQuery, ...queryInQuery1, ...queryInQuery3};
|
|
|
|
|
|
|
|
|
|
fnLoadStatisticsData(queryParam, "card1", "progressAndTotal");
|
|
|
|
|
fnLoadStatisticsData(mergedQuery, "card1", "progressAndTotal");
|
|
|
|
|
|
|
|
|
|
//초기자료처리별 전체/완료건수
|
|
|
|
|
queryParam = {
|
|
|
|
|
defaultQuery = {
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
categorization : ["등록대상이첩대상구분"],
|
|
|
|
|
categoryNameConverter : ["code=FIM999"],
|
|
|
|
|
fixedItemId : ["등록대상","이첩대상"],
|
|
|
|
|
namedNumberValueSeperator : "completeAndTotal"
|
|
|
|
|
};
|
|
|
|
|
//fnLoadStatisticsData(queryParam, "card2", "progressAndTotal");
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
|
groupColName : "등록대상이첩대상구분",
|
|
|
|
|
categoryNameConverter : "code=FIM999"
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
queryInQuery1 = fnJsonArrayToFormData(groupInfoList, "groupInfoList");
|
|
|
|
|
|
|
|
|
|
mergedQuery = {...defaultQuery, ...queryInQuery1 };
|
|
|
|
|
|
|
|
|
|
//fnLoadStatisticsData(mergedQuery, "card2", "progressAndTotal");
|
|
|
|
|
|
|
|
|
|
//발송문서별 전체/완료 건수
|
|
|
|
|
queryParam = {
|
|
|
|
|
defaultQuery = {
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
categorization : ["SNDNG_SE_CD"],
|
|
|
|
|
categoryNameConverter : ["code=FIM047"],
|
|
|
|
|
fixedItemId : ["01", "02", "03"],
|
|
|
|
|
namedNumberValueSeperator : "completeAndTotal"
|
|
|
|
|
};
|
|
|
|
|
//fnLoadStatisticsData(queryParam, "card3" , "progressAndTotal");
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
|
groupColName : "SNDNG_SE_CD",
|
|
|
|
|
categoryNameConverter : "code=FIM047"
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
queryInQuery1 = fnJsonArrayToFormData(groupInfoList, "groupInfoList");
|
|
|
|
|
|
|
|
|
|
mergedQuery = {...defaultQuery, ...queryInQuery1 };
|
|
|
|
|
|
|
|
|
|
//fnLoadStatisticsData(mergedQuery, "card3" , "progressAndTotal");
|
|
|
|
|
|
|
|
|
|
//의견진술자료상태
|
|
|
|
|
queryParam = {
|
|
|
|
|
defaultQuery = {
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
categorization : ["OPNN_SBMSN_STTS_CD"],
|
|
|
|
|
categoryNameConverter : ["code=FIM031"],
|
|
|
|
|
fixedItemId : ["00", "acceptOrNonAccept", "03"],
|
|
|
|
|
namedNumberValueSeperator : "completeAndTotal"
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
|
groupColName : "OPNN_SBMSN_STTS_CD",
|
|
|
|
|
categoryNameConverter : "code=FIM031"
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
queryInQuery1 = fnJsonArrayToFormData(groupInfoList, "groupInfoList");
|
|
|
|
|
|
|
|
|
|
codeSubsetInfoList = [
|
|
|
|
|
{
|
|
|
|
|
sourceGroup : "FIM031",
|
|
|
|
@ -267,23 +302,30 @@ function fnLoadStatisticsDatas(){
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
queryInQuery = fnJsonArrayToFormData(codeSubsetInfoList, "codeSubsetInfoList");
|
|
|
|
|
queryInQuery3 = fnJsonArrayToFormData(codeSubsetInfoList, "codeSubsetInfoList");
|
|
|
|
|
|
|
|
|
|
queryParam = {...queryParam, ...queryInQuery};
|
|
|
|
|
mergedQuery = {...defaultQuery, ...queryInQuery1, ...queryInQuery3};
|
|
|
|
|
|
|
|
|
|
//fnLoadStatisticsData(queryParam, "card4" , "progressAndTotal");
|
|
|
|
|
//fnLoadStatisticsData(mergedQuery, "card4" , "progressAndTotal");
|
|
|
|
|
|
|
|
|
|
//단속구분별 최근n일 건수
|
|
|
|
|
queryParam = {
|
|
|
|
|
defaultQuery = {
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
categorization : ["CRDN_SE_CD"],
|
|
|
|
|
categoryNameConverter : ["code=FIM002"],
|
|
|
|
|
fixedItemId : ["01","02","dobo","minwon"],
|
|
|
|
|
namedNumberValueSeperator : "lastFewDays",
|
|
|
|
|
dayRange : 15,
|
|
|
|
|
dayColumn : "CRDN_YMD"
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
|
{
|
|
|
|
|
groupColName : "CRDN_SE_CD",
|
|
|
|
|
categoryNameConverter : "code=FIM002"
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
queryInQuery1 = fnJsonArrayToFormData(groupInfoList, "groupInfoList");
|
|
|
|
|
|
|
|
|
|
codeSubsetInfoList = [
|
|
|
|
|
{
|
|
|
|
|
sourceGroup : "FIM002",
|
|
|
|
@ -299,38 +341,64 @@ function fnLoadStatisticsDatas(){
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
queryInQuery = fnJsonArrayToFormData(codeSubsetInfoList, "codeSubsetInfoList");
|
|
|
|
|
queryInQuery3 = fnJsonArrayToFormData(codeSubsetInfoList, "codeSubsetInfoList");
|
|
|
|
|
|
|
|
|
|
queryParam = {...queryParam, ...queryInQuery};
|
|
|
|
|
mergedQuery = {...defaultQuery, ...queryInQuery1, ...queryInQuery3};
|
|
|
|
|
|
|
|
|
|
fnLoadStatisticsData(queryParam, "lineChart", "line");
|
|
|
|
|
fnLoadStatisticsData(mergedQuery, "lineChart", "line");
|
|
|
|
|
|
|
|
|
|
//초기자료처리별 건수 차트
|
|
|
|
|
queryParam = {
|
|
|
|
|
defaultQuery = {
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
categorization : ["초기자료처리"],
|
|
|
|
|
groupColName : ["초기자료처리"],
|
|
|
|
|
categoryNameConverter : ["code=FIM999"],
|
|
|
|
|
fixedItemId : ["단속","계고","서손"]
|
|
|
|
|
};
|
|
|
|
|
//fnLoadStatisticsData(queryParam, "doughnutChart1", "doughnut");
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
|
groupColName : "초기자료처리",
|
|
|
|
|
categoryNameConverter : "code=FIM999"
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
queryInQuery1 = fnJsonArrayToFormData(groupInfoList, "groupInfoList");
|
|
|
|
|
|
|
|
|
|
mergedQuery = {...defaultQuery, ...queryInQuery1 };
|
|
|
|
|
|
|
|
|
|
//fnLoadStatisticsData(mergedQuery, "doughnutChart1", "doughnut");
|
|
|
|
|
|
|
|
|
|
//발송문서종류별 건수 차트
|
|
|
|
|
queryParam = {
|
|
|
|
|
defaultQuery = {
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
categorization : ["SNDNG_SE_CD"],
|
|
|
|
|
categoryNameConverter : ["code=FIM047"],
|
|
|
|
|
fixedItemId : ["01", "02", "03"]
|
|
|
|
|
};
|
|
|
|
|
//fnLoadStatisticsData(queryParam, "doughnutChart2", "doughnut");
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
|
groupColName : "SNDNG_SE_CD",
|
|
|
|
|
categoryNameConverter : "code=FIM047"
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
queryInQuery1 = fnJsonArrayToFormData(groupInfoList, "groupInfoList");
|
|
|
|
|
|
|
|
|
|
mergedQuery = {...defaultQuery, ...queryInQuery1 };
|
|
|
|
|
|
|
|
|
|
//fnLoadStatisticsData(mergedQuery, "doughnutChart2", "doughnut");
|
|
|
|
|
|
|
|
|
|
//의견진술결과별 건수 차트
|
|
|
|
|
queryParam = {
|
|
|
|
|
defaultQuery = {
|
|
|
|
|
structureType : "aggregate",
|
|
|
|
|
categorization : ["OPNN_SBMSN_STTS_CD"],
|
|
|
|
|
categoryNameConverter : ["code=FIM031"],
|
|
|
|
|
fixedItemId : ["01", "02", "03"]
|
|
|
|
|
};
|
|
|
|
|
//fnLoadStatisticsData(queryParam, "doughnutChart3", "doughnut");
|
|
|
|
|
|
|
|
|
|
groupInfoList = [
|
|
|
|
|
groupColName : "OPNN_SBMSN_STTS_CD",
|
|
|
|
|
categoryNameConverter : "code=FIM031"
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
queryInQuery1 = fnJsonArrayToFormData(groupInfoList, "groupInfoList");
|
|
|
|
|
|
|
|
|
|
mergedQuery = {...defaultQuery, ...queryInQuery1 };
|
|
|
|
|
|
|
|
|
|
//fnLoadStatisticsData(mergedQuery, "doughnutChart3", "doughnut");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//통계 데이터 조회
|
|
|
|
|