123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAES03800" position="absolute 0 0 1197 771" titletext="검사별 실적" oninit="SMAES03800_oninit" onload="SMAES03800_onload">
- <Layouts>
- <Layout>
- <Static id="caption1" text="검사별 실적" class="tit_2" position="absolute 0 73 200 91"/>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 89 1195 95" anchor="left top right"/>
- <Button id="btn_excsave" taborder="1" text="엑셀저장" class="btn7" position="absolute 1115 67 1195 89" onclick="btn_excsave_onclick" anchor="top right"/>
- <Grid id="grd_list" taborder="2" binddataset="ds_main_list" useinputpanel="false" position="absolute 0 94 1195 770" autofittype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="0"/>
- <Column size="300"/>
- <Column size="100"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="62"/>
- <Column size="82"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" text="caption1"/>
- <Cell col="2" rowspan="2" colspan="2" text="구분" taborder="undefined"/>
- <Cell col="4" text="2006년"/>
- <Cell col="5" text="2006년"/>
- <Cell col="6" text="2006년"/>
- <Cell col="7" text="2006년"/>
- <Cell col="8" text="2006년"/>
- <Cell col="9" text="2006년"/>
- <Cell col="10" text="2006년"/>
- <Cell col="11" text="2006년"/>
- <Cell col="12" text="2006년"/>
- <Cell col="13" text="2006년"/>
- <Cell col="14" text="2007년"/>
- <Cell col="15" text="2007년"/>
- <Cell col="16" rowspan="2" text="합계" taborder="undefined"/>
- <Cell row="1" col="1" text="caption1"/>
- <Cell row="1" col="4" text="3월"/>
- <Cell row="1" col="5" text="4월"/>
- <Cell row="1" col="6" text="5월"/>
- <Cell row="1" col="7" text="6월"/>
- <Cell row="1" col="8" text="7월"/>
- <Cell row="1" col="9" text="8월"/>
- <Cell row="1" col="10" text="9월"/>
- <Cell row="1" col="11" text="10월"/>
- <Cell row="1" col="12" text="11월"/>
- <Cell row="1" col="13" text="12월"/>
- <Cell row="1" col="14" text="1월"/>
- <Cell row="1" col="15" text="2월"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1" autosizecol="none"/>
- <Cell col="1" text="bind:ord"/>
- <Cell col="2" style="align:left middle;background:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");background2:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");font:EXPR(ord == "2" || ord == "3" ? 'arial,9,bold' : '');" text="bind:basecdnm"/>
- <Cell col="3" style="align:left middle;background:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");background2:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");font:EXPR(ord == "2" || ord == "3" ? 'arial,9,bold' : '');" text="bind:systkey3"/>
- <Cell col="4" displaytype="number" style="padding:0 10 0 0;background:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");background2:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");font:EXPR(ord == "2" || ord == "3" ? 'arial,9,bold' : '');" text="bind:month1"/>
- <Cell col="5" displaytype="number" style="padding:0 10 0 0;background:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");background2:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");font:EXPR(ord == "2" || ord == "3" ? 'arial,9,bold' : '');" text="bind:month2"/>
- <Cell col="6" displaytype="number" style="padding:0 10 0 0;background:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");background2:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");font:EXPR(ord == "2" || ord == "3" ? 'arial,9,bold' : '');" text="bind:month3"/>
- <Cell col="7" displaytype="number" style="padding:0 10 0 0;background:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");background2:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");font:EXPR(ord == "2" || ord == "3" ? 'arial,9,bold' : '');" text="bind:month4"/>
- <Cell col="8" displaytype="number" style="padding:0 10 0 0;background:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");background2:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");font:EXPR(ord == "2" || ord == "3" ? 'arial,9,bold' : '');" text="bind:month5"/>
- <Cell col="9" displaytype="number" style="padding:0 10 0 0;background:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");background2:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");font:EXPR(ord == "2" || ord == "3" ? 'arial,9,bold' : '');" text="bind:month6"/>
- <Cell col="10" displaytype="number" style="padding:0 10 0 0;background:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");background2:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");font:EXPR(ord == "2" || ord == "3" ? 'arial,9,bold' : '');" text="bind:month7"/>
- <Cell col="11" displaytype="number" style="padding:0 10 0 0;background:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");background2:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");font:EXPR(ord == "2" || ord == "3" ? 'arial,9,bold' : '');" text="bind:month8"/>
- <Cell col="12" displaytype="number" style="padding:0 10 0 0;background:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");background2:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");font:EXPR(ord == "2" || ord == "3" ? 'arial,9,bold' : '');" text="bind:month9"/>
- <Cell col="13" displaytype="number" style="padding:0 10 0 0;background:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");background2:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");font:EXPR(ord == "2" || ord == "3" ? 'arial,9,bold' : '');" text="bind:month10"/>
- <Cell col="14" displaytype="number" style="padding:0 10 0 0;background:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");background2:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");font:EXPR(ord == "2" || ord == "3" ? 'arial,9,bold' : '');" text="bind:month11"/>
- <Cell col="15" displaytype="number" style="padding:0 10 0 0;background:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");background2:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");font:EXPR(ord == "2" || ord == "3" ? 'arial,9,bold' : '');" text="bind:month12"/>
- <Cell col="16" displaytype="number" style="padding:0 10 0 0;background:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");background2:EXPR(ord == "2" ? '#CCFFCC' : ord == "3" ? "#FFFFCC" : "");font:EXPR(ord == "2" || ord == "3" ? 'arial,9,bold' : '');" text="bind:sumcnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="group1" taborder="3" class="div_SA" position="absolute 0 25 1195 65" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1107 10 1113 30" anchor="top right"/>
- <Button id="button1" taborder="3" text="조회" class="btn1" position="absolute 1123 9 1179 31" anchor="top right" onclick="group1_button1_onclick"/>
- <Static id="caption2" text="조회기간 :" class="search_name" position="absolute 10 12 81 29" anchor="default"/>
- <Static id="caption5" text="~" class="search_no_b" position="absolute 174 12 186 29" anchor="default"/>
- <Static id="caption7" text="검사실 :" class="search_name" position="absolute 310 12 368 29" anchor="default"/>
- <Combo id="cmb_excuroomgrp" taborder="6" innerdataset="@ds_init_cmb_lrgcd" codecolumn="cdid" datacolumn="cdnm" position="absolute 371 9 486 30" anchor="default" onitemchanged="group1_cmb_excuroomgrp_onitemchanged"/>
- <Combo id="cmb_excuroom" taborder="7" innerdataset="@ds_init_cmb_mdlcd" codecolumn="cdid" datacolumn="cdnm" position="absolute 489 9 604 30" anchor="default"/>
- <Static id="caption12" text="구분 :" class="search_name" position="absolute 670 12 715 29" anchor="default"/>
- <Radio id="radio1" taborder="8" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 719 11 864 28" anchor="default" onitemchanged="group1_radio1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">촬영건수</Col>
- </Row>
- <Row>
- <Col id="codecolumn">B</Col>
- <Col id="datacolumn">부위건수</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <cp_monthCal id="ipt_fromdd" titletext="monthCalendar" taborder="9" text="cp_monthCal00" scrollbars="none" position="absolute 83 11 170 31"/>
- <cp_monthCal id="ipt_todd" titletext="monthCalendar" taborder="10" text="cp_monthCal00" scrollbars="none" position="absolute 187 11 274 31"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="검사별 실적" class="tit_1" position="absolute 0 0 200 25"/>
- <Shape id="line00" class="line_1" position="absolute 0 88 1195 94" anchor="left top right"/>
- <Shape id="line02" class="line_1" position="absolute 0 90 1195 96" anchor="left top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecdnm" type="STRING" size="256"/>
- <Column id="systkey3" type="STRING" size="256"/>
- <Column id="month1" type="STRING" size="256"/>
- <Column id="month2" type="STRING" size="256"/>
- <Column id="month3" type="STRING" size="256"/>
- <Column id="month4" type="STRING" size="256"/>
- <Column id="month5" type="STRING" size="256"/>
- <Column id="month6" type="STRING" size="256"/>
- <Column id="month7" type="STRING" size="256"/>
- <Column id="month8" type="STRING" size="256"/>
- <Column id="month9" type="STRING" size="256"/>
- <Column id="month10" type="STRING" size="256"/>
- <Column id="month11" type="STRING" size="256"/>
- <Column id="month12" type="STRING" size="256"/>
- <Column id="sumcnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="basecdnm"/>
- <Col id="systkey3"/>
- <Col id="month1"/>
- <Col id="month2"/>
- <Col id="month3"/>
- <Col id="month4"/>
- <Col id="month5"/>
- <Col id="month6"/>
- <Col id="month7"/>
- <Col id="month8"/>
- <Col id="month9"/>
- <Col id="month10"/>
- <Col id="month11"/>
- <Col id="month12"/>
- <Col id="sumcnt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_lrgcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_mdlcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="execfromdd" type="STRING" size="256"/>
- <Column id="exectodd" type="STRING" size="256"/>
- <Column id="instance1" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="mdlcd" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="basecdflag" type="STRING" size="256"/>
- <Column id="flag2" type="STRING" size="256"/>
- <Column id="lrgcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="execfromdd"/>
- <Col id="exectodd"/>
- <Col id="instance1"/>
- <Col id="suppdeptcd"/>
- <Col id="mdlcd"/>
- <Col id="flag"/>
- <Col id="basecdflag"/>
- <Col id="flag2"/>
- <Col id="lrgcd"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.cmb_excuroomgrp" propid="value" datasetid="ds_send" columnid="lrgcd"/>
- <BindItem id="item1" compid="group1.cmb_excuroom" propid="value" datasetid="ds_send" columnid="mdlcd"/>
- <BindItem id="item2" compid="group1.radio1" propid="value" datasetid="ds_send" columnid="flag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- include "ast_examcurexp::AEZ0001.xjs";
- var arErrorCode = new HashArray();
- var gNum = -1;
- /******************************************************************
- * Argument :
- * Description : 초기화
- ******************************************************************/
- function SMAES03800_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAES03800_onload(obj:Form, e:LoadEventInfo)
- {
- lf_aezfSetSuppDeptcd();
- ds_send.setColumn(0, "suppdeptcd", frmf_getParameter("AST_DEPTCD"));
-
- var fromdd = utlf_getCurrentDate().substr(0,4) + "01";
- var todd = utlf_getCurrentDate().substr(0,6);
-
- ds_send.setColumn(0, "execfromdd", fromdd);
- ds_send.setColumn(0, "exectodd", todd);
- ds_send.setColumn(0, "flag", "E");
- ds_send.setColumn(0, "basecdflag", "R");
-
- //조회기간 달력 set
- group1.ipt_fromdd.setData(fromdd);
- group1.ipt_todd.setData(todd);
-
- //조회기간 event
- group1.ipt_fromdd.setCallEvent("fn_Cal");
- group1.ipt_todd.setCallEvent("fn_toCal");
-
- dsf_createDsRow("ds_temp_send",
- [{col:"basesuppdeptcd", type:"string", size:256, val:ds_send.getColumn(0, "suppdeptcd")}
- ,{col:"flag", type:"string", size:256, val:ds_send.getColumn(0, "basecdflag")}], true);
- var oParam = {};
- oParam.id = "TRAES01502";
- oParam.service = "examcurestatsapp.ImgMediSc";
- oParam.method = "reqGetBodyGrpPartComCdList";
- oParam.inds = "req=ds_temp_send";
- oParam.outds = "ds_init_cmb_lrgcd=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAES01502";
- tranf_submit(oParam);
-
- dsf_addDsItem(ds_init_cmb_lrgcd, "cdid", "cdnm", "전체", "", "above");
-
- setTitle();
- }
- /******************************************************************
- * Argument :
- * Description : 조회기간(fromdd) event
- ******************************************************************/
- function fn_Cal(){
- var execfromdd = group1.ipt_fromdd.getData();
- var exectodd = group1.ipt_todd.getData();
- var execFrom = (execfromdd + "01").toDate();
- var execTo = (exectodd + "01").toDate();
- var setExecFromdd = "";
-
- if( execFrom > execTo ){
- sysf_messageBox("시작일이 종료일보다 클 수 없습니다.", "I");
- setExecFromdd = execFrom.getDateFormat("YYYYMM");
- ds_send.setColumn(0, "execfromdd", setExecFromdd);
- group1.ipt_fromdd.setData(setExecFromdd);
- group1.ipt_fromdd.setFocus();
- return;
- }
-
- if( execFrom < execTo.getAddDate(-11, "M") )
- {
- sysf_messageBox("1년이상의 자료는 검색할수 없습니다.", "I");
- execFrom = execTo;
- }
-
- setExecFromdd = execFrom.getDateFormat("YYYYMM");
- ds_send.setColumn(0, "execfromdd", setExecFromdd);
- group1.ipt_fromdd.setData(setExecFromdd);
-
- setTitle();
- }
- /******************************************************************
- * Argument :
- * Description : 조회기간(todd) event
- ******************************************************************/
- function fn_toCal(){
- var execfromdd = group1.ipt_fromdd.getData();
- var exectodd = group1.ipt_todd.getData();
- var execFrom = (execfromdd + "01").toDate();
- var execTo = (exectodd + "01").toDate();
- var setExecTodd = "";
-
- if( execfromdd > exectodd ){
- sysf_messageBox("종료일이 시작일보다 작을 수 없습니다..", "I");
- setExecTodd = execTo.getDateFormat("YYYYMM");
- ds_send.setColumn(0, "exectodd", setExecTodd);
- group1.ipt_todd.setData(setExecTodd);
- group1.ipt_todd.setFocus();
- return;
- }
-
- if( execFrom.getAddDate(11, "M") < execTo )
- {
- sysf_messageBox("1년이상의 자료는 검색할수 없습니다.", "I");
- execTo = execFrom;
- }
-
- setExecTodd = execTo.getDateFormat("YYYYMM");
- ds_send.setColumn(0, "exectodd", setExecTodd);
- group1.ipt_todd.setData(setExecTodd);
- setTitle();
- }
- /******************************************************************
- * Argument :
- * Description : setTitle
- ******************************************************************/
- function setTitle() {
- ds_main_list.clearData();
- // 그리드 초기화
- var mergeCol = grd_list.getCellCount("Head");
- if( mergeCol != 29 ){
- if(gNum >= 0) {
- mergeCol = gNum;
- } else {
- mergeCol = 30 - mergeCol;
- }
- grd_list.splitContentsCell("Head", 0, 4, 0, mergeCol, true);
- }
-
- var stYearMonth = group1.ipt_fromdd.getData() + "01";
- var dtYearMonth = stYearMonth.toDate();
-
- var stEndMonth = group1.ipt_todd.getData() + "01";
- var dtEndMonth = stEndMonth.toDate();;
- var fromYear = dtYearMonth.getDateFormat("YYYY");
- var toYear = dtEndMonth.getDateFormat("YYYY");
- var colIdx = 17;
- var colNum = 4;
-
- for( var i = 0; i < 12; i++ ){
- var stYear = dtYearMonth.getDateFormat("YYYY");
- var stMonth = dtYearMonth.getDateFormat("MM");
-
- if( dtYearMonth.getDateFormat("YYYYMM") <= dtEndMonth.getDateFormat("YYYYMM") ){
- grd_list.setCellProperty("Head", i+3, "text", stYear + "년");
- grd_list.setCellProperty("Head", colIdx, "text", stMonth + "월");
- grd_list.setFormatColProperty(colNum, "size", 62);
- } else {
- grd_list.setFormatColProperty(colNum, "size", 0);
- }
-
- colIdx = colIdx + 1;
- colNum = colNum + 1;
- dtYearMonth.getAddDate(1, "M");
- }
- var stNum = 0;
- var dtNum = 0;
- var lastCol = 0;
- if( fromYear == toYear ){
- stNum = utlf_diffMonth(stYearMonth, stEndMonth) + 4;
- grd_list.mergeContentsCell("Head" , 0, 4, 0, stNum, 4, false);
- } else {
- stNum = utlf_diffMonth(stYearMonth, fromYear+"1201") + 5;
- dtNum = utlf_diffMonth(toYear+"0101", stEndMonth);
- lastCol = stNum + dtNum;
- grd_list.mergeContentsCell("Head" , 0, stNum, 0, lastCol, stNum, false);
- grd_list.mergeContentsCell("Head" , 0, 4, 0, stNum -1, 4, false);
- }
-
- gNum = stNum;
- }
- /******************************************************************
- * Argument :
- * Description : 검사실 combo event
- ******************************************************************/
- function group1_cmb_excuroomgrp_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_send.setColumn(0, "mdlcd", "");
-
- if( utlf_isNull(ds_send.getColumn(0, "lrgcd")) ) {
- dsf_createDsRow("ds_temp_send",
- [{col:"basesuppdeptcd", type:"string", size:256, val:ds_send.getColumn(0, "suppdeptcd")}
- ,{col:"flag", type:"string", size:256, val:ds_send.getColumn(0, "basecdflag")}], true);
- var oParam = {};
- oParam.id = "TRAES01502";
- oParam.service = "examcurestatsapp.ImgMediSc";
- oParam.method = "reqGetBodyGrpPartComCdList";
- oParam.inds = "req=ds_temp_send";
- oParam.outds = "ds_init_cmb_lrgcd=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAES01502";
- tranf_submit(oParam);
- }else {
-
- dsf_createDsRow("ds_temp_send2",
- [{col:"basesuppdeptcd", type:"string", size:256, val:ds_send.getColumn(0, "suppdeptcd")}
- ,{col:"flag", type:"string", size:256, val:ds_send.getColumn(0, "basecdflag")}
- ,{col:"lrgcd", type:"string", size:256, val:ds_send.getColumn(0, "lrgcd")}], true);
- var oParam = {};
- oParam.id = "TRAES01503";
- oParam.service = "examcurestatsapp.ImgMediSc";
- oParam.method = "reqGetBodyPartComCdList";
- oParam.inds = "req=ds_temp_send2";
- oParam.outds = "ds_init_cmb_mdlcd=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAES01503";
- tranf_submit(oParam);
- }
- }
- /******************************************************************
- * Argument :
- * Description : 구분 radio event
- ******************************************************************/
- function group1_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- ds_send.setColumn(0, "flag2", "");
- }
- /******************************************************************
- * Argument :
- * Description : 조회 button event
- ******************************************************************/
- function group1_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_openLoadingBar("검사별 실적을 조회 중입니다....");
-
- dsf_setFixVal(ds_send, "systkey6:151");
- var oParam = {};
- oParam.id = "TRAES03801";
- oParam.service = "examcurestatsapp.ImgMediSc";
- oParam.method = "reqGetVeslPhoMonthlyExamCount";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_list=item";
- oParam.async = true;
- //oParam.callback = "cf_TRAES03801";
- tranf_submit(oParam);
- frmf_closeLoadingBar() ;//처리중 화면을 close한다.
- }
- /******************************************************************
- * Argument :
- * Description : excel 저장
- ******************************************************************/
- function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_list.rowcount > 1 ){
- grdf_exportExcel(grd_list, "검사별 실적", "검사별 실적", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|