|
@@ -85,10 +85,9 @@
|
|
***************************************************************************/
|
|
***************************************************************************/
|
|
scwin.initScreen = function() {
|
|
scwin.initScreen = function() {
|
|
|
|
|
|
- comboCommon.setCommonCode([{"code":"CO003","compID":""} //본부조회권한 예외사용자
|
|
|
|
- ,{"code":"CO001","compID":"selCo001"} //금액단위
|
|
|
|
|
|
+ comboCommon.setCommonCode([{"code":"CO001","compID":"selCo001"} //금액단위
|
|
]);
|
|
]);
|
|
-
|
|
|
|
|
|
+
|
|
udcYm.setValue(dateLib.addDays(dateLib.getCurrentDate('yyyyMMdd'), -15).substring(0, 6)); //기준년월
|
|
udcYm.setValue(dateLib.addDays(dateLib.getCurrentDate('yyyyMMdd'), -15).substring(0, 6)); //기준년월
|
|
scwin.getComboCcgrp(); //본부
|
|
scwin.getComboCcgrp(); //본부
|
|
selCo001.setValue( tabc_layout_contents_1824_body_CO001.getCellData( tabc_layout_contents_1824_body_CO001.getMatchedIndex( "ESBS_CD1" , "Y" , true) , "CODE_CD" ) ); //금액단위
|
|
selCo001.setValue( tabc_layout_contents_1824_body_CO001.getCellData( tabc_layout_contents_1824_body_CO001.getMatchedIndex( "ESBS_CD1" , "Y" , true) , "CODE_CD" ) ); //금액단위
|
|
@@ -118,6 +117,19 @@
|
|
* scwin.btnHelp_onclick - 도움말버튼 클릭 이벤트
|
|
* scwin.btnHelp_onclick - 도움말버튼 클릭 이벤트
|
|
* scwin.btnBookmark_onclick - 즐겨찾기버튼 클릭 이벤트
|
|
* scwin.btnBookmark_onclick - 즐겨찾기버튼 클릭 이벤트
|
|
**************************************************************************/
|
|
**************************************************************************/
|
|
|
|
+
|
|
|
|
+ /**************************************************************************
|
|
|
|
+ * Event : scwin.btnSearch_onclick
|
|
|
|
+ * 기 능 : 조회버튼 클릭 이벤트
|
|
|
|
+ **************************************************************************/
|
|
|
|
+ scwin.showChart_onchange = function() {
|
|
|
|
+ if(showChart.getValue() == 1){
|
|
|
|
+ riskChart.show();
|
|
|
|
+ } else {
|
|
|
|
+ riskChart.hide();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ };
|
|
/**************************************************************************
|
|
/**************************************************************************
|
|
* Event : scwin.btnSearch_onclick
|
|
* Event : scwin.btnSearch_onclick
|
|
* 기 능 : 조회버튼 클릭 이벤트
|
|
* 기 능 : 조회버튼 클릭 이벤트
|
|
@@ -298,13 +310,13 @@
|
|
|
|
|
|
var options2 = {
|
|
var options2 = {
|
|
color:"0000FF",
|
|
color:"0000FF",
|
|
- size:"20",
|
|
|
|
|
|
+ size:"20",
|
|
bold:"1",
|
|
bold:"1",
|
|
underline : "0"
|
|
underline : "0"
|
|
};
|
|
};
|
|
chart1.applyStyle("font", "captionFont", options2, ["caption"]);
|
|
chart1.applyStyle("font", "captionFont", options2, ["caption"]);
|
|
|
|
|
|
- chart1.setPlotColor(["#0075c2","#1aaf5d","#165387","#165387"]);
|
|
|
|
|
|
+ chart1.setPlotColor(["#0075c2","#1aaf5d","#660099","#FF0000"]);
|
|
|
|
|
|
chart1.refresh();
|
|
chart1.refresh();
|
|
|
|
|
|
@@ -347,7 +359,7 @@
|
|
};
|
|
};
|
|
chart2.applyStyle("font", "captionFont", options2, ["caption"]);
|
|
chart2.applyStyle("font", "captionFont", options2, ["caption"]);
|
|
|
|
|
|
- chart2.setPlotColor(["#aa0752"]);
|
|
|
|
|
|
+ chart2.setPlotColor(["#FF0000"]);
|
|
|
|
|
|
chart2.refresh();
|
|
chart2.refresh();
|
|
|
|
|
|
@@ -367,25 +379,8 @@
|
|
* 기능 : 본부 조회
|
|
* 기능 : 본부 조회
|
|
***************************************************************************/
|
|
***************************************************************************/
|
|
scwin.getComboCcgrp = function(){
|
|
scwin.getComboCcgrp = function(){
|
|
-
|
|
|
|
- var pdeptCd = "";
|
|
|
|
-
|
|
|
|
- if(scwin.user.deptCd == null){
|
|
|
|
- pdeptCd = "all";
|
|
|
|
- } else {
|
|
|
|
- pdeptCd = scwin.user.deptCd.substring(0,2);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- var rows = tabc_layout_contents_1824_body_CO003.getRowCount();
|
|
|
|
-
|
|
|
|
- for (var i=0; i<rows; i++) {
|
|
|
|
- if(tabc_layout_contents_1824_body_CO003.getCellData( i , "CODE_CD" ) == scwin.user.empNo){
|
|
|
|
- pdeptCd = "all";
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
|
|
+
|
|
dcsearchMap1.set( "cmpnCd" , scwin.cmpnCd );
|
|
dcsearchMap1.set( "cmpnCd" , scwin.cmpnCd );
|
|
- dcsearchMap1.set( "ccgrpCd1" , pdeptCd );
|
|
|
|
|
|
|
|
ajaxLib.ajax("co/cocom/COCOM/getComboCcgrp", {
|
|
ajaxLib.ajax("co/cocom/COCOM/getComboCcgrp", {
|
|
method: "POST",
|
|
method: "POST",
|
|
@@ -393,11 +388,6 @@
|
|
requestData : strLib.serialize(dcsearchMap1.getJSON({ DB: true })),
|
|
requestData : strLib.serialize(dcsearchMap1.getJSON({ DB: true })),
|
|
callback: function(result, e) {
|
|
callback: function(result, e) {
|
|
dcComboCcgrp.setJSON(result);
|
|
dcComboCcgrp.setJSON(result);
|
|
- var rows = dcComboCcgrp.getRowCount();
|
|
|
|
- if(pdeptCd != "all" && rows == 1){
|
|
|
|
- rdoComplCd.setSelectedIndex( 1 );
|
|
|
|
- rdoComplCd.setDisabled( true );
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
});
|
|
});
|
|
};
|
|
};
|
|
@@ -412,6 +402,7 @@
|
|
cell.attr('title',cell.text());
|
|
cell.attr('title',cell.text());
|
|
});
|
|
});
|
|
};
|
|
};
|
|
|
|
+
|
|
]]></script>
|
|
]]></script>
|
|
</head>
|
|
</head>
|
|
<body>
|
|
<body>
|
|
@@ -428,9 +419,18 @@
|
|
</w2:anchor>
|
|
</w2:anchor>
|
|
</xf:group>
|
|
</xf:group>
|
|
<xf:group id="" style="" class="fr">
|
|
<xf:group id="" style="" class="fr">
|
|
|
|
+ <xf:select appearance="full" ev:onchange="scwin.showChart_onchange" ev:onviewchange=""
|
|
|
|
+ style="right: 70px;top: 2px;position: absolute;" id="showChart" selectedindex="0" rows="1" cols="">
|
|
|
|
+ <xf:choices>
|
|
|
|
+ <xf:item>
|
|
|
|
+ <xf:label><![CDATA[Risk 차트 표시]]></xf:label>
|
|
|
|
+ <xf:value>1</xf:value>
|
|
|
|
+ </xf:item>
|
|
|
|
+ </xf:choices>
|
|
|
|
+ </xf:select>
|
|
<w2:anchor class="btn_cm" outerDiv="true" style="" id="btnSearch" ev:onclick="scwin.btnSearch_onclick">
|
|
<w2:anchor class="btn_cm" outerDiv="true" style="" id="btnSearch" ev:onclick="scwin.btnSearch_onclick">
|
|
<xf:label><![CDATA[검색]]></xf:label>
|
|
<xf:label><![CDATA[검색]]></xf:label>
|
|
- </w2:anchor>
|
|
|
|
|
|
+ </w2:anchor>
|
|
</xf:group>
|
|
</xf:group>
|
|
</xf:group>
|
|
</xf:group>
|
|
<xf:group id="shbox" style="" class="shbox">
|
|
<xf:group id="shbox" style="" class="shbox">
|
|
@@ -489,14 +489,16 @@
|
|
<xf:group class="dfbox" id="dfbox1" style="">
|
|
<xf:group class="dfbox" id="dfbox1" style="">
|
|
<xf:group class="dfbox pt0" id="" style=""></xf:group>
|
|
<xf:group class="dfbox pt0" id="" style=""></xf:group>
|
|
</xf:group>
|
|
</xf:group>
|
|
- <xf:group class="" id="" style="">
|
|
|
|
- <w2:fusionchart accessibility="false" chartType="ScrollColumn2D" drawType="javascript" id="chart2" labelNode="ccNm"
|
|
|
|
- ref="data:dcdataList1" runflashAt="IE6,IE7,IE8" seriesColumns="[['risk']]" seriesType="advanced"
|
|
|
|
- style="height: 440px;">
|
|
|
|
- </w2:fusionchart>
|
|
|
|
- </xf:group>
|
|
|
|
- <xf:group class="dfbox" id="dfbox2" style="">
|
|
|
|
- <xf:group class="dfbox pt0" id="" style=""></xf:group>
|
|
|
|
|
|
+ <xf:group id="riskChart">
|
|
|
|
+ <xf:group class="" id="" style="">
|
|
|
|
+ <w2:fusionchart accessibility="false" chartType="ScrollColumn2D" drawType="javascript" id="chart2" labelNode="ccNm"
|
|
|
|
+ ref="data:dcdataList1" runflashAt="IE6,IE7,IE8" seriesColumns="[['risk']]" seriesType="advanced"
|
|
|
|
+ style="height: 440px;">
|
|
|
|
+ </w2:fusionchart>
|
|
|
|
+ </xf:group>
|
|
|
|
+ <xf:group class="dfbox" id="dfbox2" style="">
|
|
|
|
+ <xf:group class="dfbox pt0" id="" style=""></xf:group>
|
|
|
|
+ </xf:group>
|
|
</xf:group>
|
|
</xf:group>
|
|
<xf:group class="gvwbox" id="" style="">
|
|
<xf:group class="gvwbox" id="" style="">
|
|
<w2:gridView adaptive="crosstab" adaptiveThreshold="600" autoFit="allColumn" autoFitMinWidth="" class="wq_gvw"
|
|
<w2:gridView adaptive="crosstab" adaptiveThreshold="600" autoFit="allColumn" autoFitMinWidth="" class="wq_gvw"
|