123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAHS02700" position="absolute 0 0 1202 798" titletext="재검현황" oninit="SMAHS02700_oninit" onload="SMAHS02700_onload">
- <Layouts>
- <Layout>
- <Tab id="swt_reexlist" taborder="4" tabindex="0" position="absolute 0 73 1195 765" anchor="all">
- <Tabpages>
- <Tabpage id="case1" text="현황">
- <Layouts>
- <Layout>
- <Shape id="line17" linetype="horizontal" class="line_10" position="absolute 0 5 1195 11" anchor="left top right"/>
- <Grid id="grd_reexam" taborder="1" binddataset="ds_main_reexam_reexamlist" useinputpanel="false" position="absolute 0 10 1195 661" autoenter="select" cellsizingtype="col" anchor="all" oncelldblclick="swt_reexlist_case1_grd_reexam_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="59"/>
- <Column size="0"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="72"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </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" rowspan="2" text="구분" taborder="undefined"/>
- <Cell col="2" text="구분코드"/>
- <Cell col="3" colspan="2" text="01월" taborder="undefined"/>
- <Cell col="5" colspan="2" text="02월" taborder="undefined"/>
- <Cell col="7" colspan="2" text="03월" taborder="undefined"/>
- <Cell col="9" colspan="2" text="04월" taborder="undefined"/>
- <Cell col="11" colspan="2" text="05월" taborder="undefined"/>
- <Cell col="13" colspan="2" text="06월" taborder="undefined"/>
- <Cell col="15" colspan="2" text="07월" taborder="undefined"/>
- <Cell col="17" colspan="2" text="08월" taborder="undefined"/>
- <Cell col="19" colspan="2" text="09월" taborder="undefined"/>
- <Cell col="21" colspan="2" text="10월" taborder="undefined"/>
- <Cell col="23" colspan="2" text="11월" taborder="undefined"/>
- <Cell col="25" colspan="2" text="12월" taborder="undefined"/>
- <Cell col="27" rowspan="2" text="합계" taborder="undefined"/>
- <Cell col="28" rowspan="2" text="합계2" taborder="undefined"/>
- <Cell row="1" col="2" text="구분코드"/>
- <Cell row="1" col="3" text="재검건수"/>
- <Cell row="1" col="4" text="실인원"/>
- <Cell row="1" col="5" text="재검건수"/>
- <Cell row="1" col="6" text="실인원"/>
- <Cell row="1" col="7" text="재검건수"/>
- <Cell row="1" col="8" text="실인원"/>
- <Cell row="1" col="9" text="재검건수"/>
- <Cell row="1" col="10" text="실인원"/>
- <Cell row="1" col="11" text="재검건수"/>
- <Cell row="1" col="12" text="실인원"/>
- <Cell row="1" col="13" text="재검건수"/>
- <Cell row="1" col="14" text="실인원"/>
- <Cell row="1" col="15" text="재검건수"/>
- <Cell row="1" col="16" text="실인원"/>
- <Cell row="1" col="17" text="재검건수"/>
- <Cell row="1" col="18" text="실인원"/>
- <Cell row="1" col="19" text="재검건수"/>
- <Cell row="1" col="20" text="실인원"/>
- <Cell row="1" col="21" text="재검건수"/>
- <Cell row="1" col="22" text="실인원"/>
- <Cell row="1" col="23" text="재검건수"/>
- <Cell row="1" col="24" text="실인원"/>
- <Cell row="1" col="25" text="재검건수"/>
- <Cell row="1" col="26" text="실인원"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:flagnm"/>
- <Cell col="2" text="bind:flagcd"/>
- <Cell col="3" displaytype="number" text="bind:mm011"/>
- <Cell col="4" displaytype="number" text="bind:mm012"/>
- <Cell col="5" displaytype="number" text="bind:mm021"/>
- <Cell col="6" displaytype="number" text="bind:mm022"/>
- <Cell col="7" displaytype="number" text="bind:mm031"/>
- <Cell col="8" displaytype="number" text="bind:mm032"/>
- <Cell col="9" displaytype="number" text="bind:mm041"/>
- <Cell col="10" displaytype="number" text="bind:mm042"/>
- <Cell col="11" displaytype="number" text="bind:mm051"/>
- <Cell col="12" displaytype="number" text="bind:mm052"/>
- <Cell col="13" displaytype="number" text="bind:mm061"/>
- <Cell col="14" displaytype="number" text="bind:mm062"/>
- <Cell col="15" displaytype="number" text="bind:mm071"/>
- <Cell col="16" displaytype="number" text="bind:mm072"/>
- <Cell col="17" displaytype="number" text="bind:mm081"/>
- <Cell col="18" displaytype="number" text="bind:mm082"/>
- <Cell col="19" displaytype="number" text="bind:mm091"/>
- <Cell col="20" displaytype="number" text="bind:mm092"/>
- <Cell col="21" displaytype="number" text="bind:mm101"/>
- <Cell col="22" displaytype="number" text="bind:mm102"/>
- <Cell col="23" displaytype="number" text="bind:mm111"/>
- <Cell col="24" displaytype="number" text="bind:mm112"/>
- <Cell col="25" displaytype="number" text="bind:mm121"/>
- <Cell col="26" displaytype="number" text="bind:mm122"/>
- <Cell col="27" displaytype="number" text="bind:tot1"/>
- <Cell col="28" displaytype="number" text="bind:tot2"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" text="상세">
- <Layouts>
- <Layout>
- <Grid id="datagrid2" class="datagrid2" taborder="1" binddataset="ds_main_reexamfull_reexamlistfull" useinputpanel="false" position="absolute 0 10 1195 661" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="28"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="51"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="89"/>
- <Column size="90"/>
- <Column size="55"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="216"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="환자번호"/>
- <Cell col="2" text="성명"/>
- <Cell col="3" text="예약희망일"/>
- <Cell col="4" text="건진구분코드"/>
- <Cell col="5" text="건진구분"/>
- <Cell col="6" text="재검검사목록"/>
- <Cell col="7" text="패키지명"/>
- <Cell col="8" text="전화번호"/>
- <Cell col="9" text="핸드폰번호"/>
- <Cell col="10" text="장소구분"/>
- <Cell col="11" text="우편번호1"/>
- <Cell col="12" text="우편번호2"/>
- <Cell col="13" text="주소"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" text="bind:hopedd"/>
- <Cell col="4" text="bind:healexamdetlflag"/>
- <Cell col="5" text="bind:cdnm"/>
- <Cell col="6" text="bind:reexamcdlst"/>
- <Cell col="7" text="bind:pkgnm"/>
- <Cell col="8" text="bind:telno"/>
- <Cell col="9" text="bind:mpphon"/>
- <Cell col="10" text="bind:plceflag"/>
- <Cell col="11" text="bind:zipcd11"/>
- <Cell col="12" text="bind:zipcd12"/>
- <Cell col="13" text="bind:addr"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 5 1195 11" anchor="left top right"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption6" text="재검현황" class="tit_1" position="absolute 0 0 134 25"/>
- <Div id="group2" anchor="left top right" taborder="1" class="div_SA" position="absolute 0 25 1195 65">
- <Layouts>
- <Layout>
- <Static id="caption2" text="조회연도 :" class="search_name" position="absolute 16 12 102 29"/>
- <Static id="caption3" text="구분 :" class="search_name" position="absolute 270 12 343 29"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1103 9 1109 31" anchor="top right"/>
- <MaskEdit id="input26" taborder="1" mask="####" class="input_search" position="absolute 105 11 175 30" autoselect="true" autoskip="true" maskchar=" " type="string" trimtype="both" style="align:center middle;"/>
- <Button id="btn_search" taborder="2" text="조회" class="btn1" position="absolute 1122 9 1178 31" anchor="top right" onclick="group2_btn_search_onclick"/>
- <Combo id="cmb_srchhealexamflag" taborder="3" innerdataset="@ds_init_A0070list_A0070" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 335 11 445 30"/>
- <Static id="caption1" text="사업장코드" class="search_name" position="absolute 489 12 570 29"/>
- <Edit id="opt_cmpynm" taborder="4" readonly="true" position="absolute 690 11 859 30" class="output"/>
- <Edit id="ipt_cmpycd" taborder="5" position="absolute 585 11 665 30" autoselect="true" autoskip="true" onkeyup="group2_ipt_cmpycd_onkeyup"/>
- <Button id="button14" taborder="6" class="icon_search" position="absolute 670 12 686 28" onclick="group2_button14_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="button12" taborder="2" text="엑셀저장" class="btn7" position="absolute 1114 76 1194 95" anchor="top right" onclick="button12_onclick"/>
- <Shape id="line32" linetype="horizontal" class="line_6" position="absolute 0 765 1195 771" anchor="left right bottom"/>
- <Button id="btn_clear" taborder="5" text="초기화" class="btn4" position="absolute 1127 769 1195 791" anchor="right bottom" onclick="btn_clear_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchyear" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="cmpycd" type="STRING" size="256"/>
- <Column id="cmpynm" type="STRING" size="256"/>
- <Column id="flagcd" type="STRING" size="256"/>
- <Column id="data1" type="STRING" size="256"/>
- <Column id="srchmonth" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchyear"/>
- <Col id="flag"/>
- <Col id="cmpycd"/>
- <Col id="cmpynm"/>
- <Col id="flagcd"/>
- <Col id="data1"/>
- <Col id="srchmonth"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_reexamfull_reexamlistfull" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자성명"/>
- <Column id="hopedd" type="STRING" size="256" sumtext="예약희망일"/>
- <Column id="healexamdetlflag" type="CDATE" size="256" sumtext="건진구분코드"/>
- <Column id="cdnm" type="CDATE" size="256" sumtext="건진구분"/>
- <Column id="reexamcdlst" type="CDATE" size="256" sumtext="재검검사목록"/>
- <Column id="pkgnm" type="CDATE" size="256" sumtext="패키지명"/>
- <Column id="telno" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="mpphon" type="CDATE" size="256" sumtext="핸드폰번호"/>
- <Column id="plceflag" type="CDATE" size="256" sumtext="장소구분"/>
- <Column id="zipcd11" type="CDATE" size="256" sumtext="우편번호1"/>
- <Column id="zipcd12" type="STRING" size="256" sumtext="우편번호2"/>
- <Column id="addr" type="CDATE" size="256" sumtext="주소"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_reexam_reexamlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="flagnm" type="STRING" size="256" sumtext="구분"/>
- <Column id="flagcd" type="STRING" size="256" sumtext="구분코드"/>
- <Column id="itemmm011" type="STRING" size="256" sumtext="01월재검건수"/>
- <Column id="mm012" type="CDATE" size="256" sumtext="01월실인원"/>
- <Column id="mm021" type="CDATE" size="256" sumtext="02월재검건수"/>
- <Column id="mm022" type="CDATE" size="256" sumtext="02월실인원"/>
- <Column id="mm031" type="CDATE" size="256" sumtext="03월재검건수"/>
- <Column id="mm032" type="STRING" size="256" sumtext="03월실인원"/>
- <Column id="mm041" type="CDATE" size="256" sumtext="04월재검건수"/>
- <Column id="mm042" type="CDATE" size="256" sumtext="04월실인원"/>
- <Column id="mm051" type="CDATE" size="256" sumtext="05월재검건수"/>
- <Column id="mm052" type="STRING" size="256" sumtext="05월실인원"/>
- <Column id="mm061" type="CDATE" size="256" sumtext="06월실인원"/>
- <Column id="mm062" type="CDATE" size="256" sumtext="06월재검건수"/>
- <Column id="mm071" type="CDATE" size="256" sumtext="07월실인원"/>
- <Column id="mm072" type="CDATE" size="256" sumtext="07월재검건수"/>
- <Column id="mm081" type="STRING" size="256" sumtext="08월실인원"/>
- <Column id="mm082" type="CDATE" size="256" sumtext="08월실인원"/>
- <Column id="mm091" type="CDATE" size="256" sumtext="09월재검건수"/>
- <Column id="mm092" type="CDATE" size="256" sumtext="09월실인원"/>
- <Column id="mm101" type="CDATE" size="256" sumtext="10월재검건수"/>
- <Column id="mm102" type="STRING" size="256" sumtext="10월실인원"/>
- <Column id="mm111" type="CDATE" size="256" sumtext="11월재검건수"/>
- <Column id="mm112" type="STRING" size="256" sumtext="11월실인원"/>
- <Column id="mm121" type="CDATE" size="256" sumtext="12월재검건수"/>
- <Column id="mm122" type="STRING" size="256" sumtext="12월실인원"/>
- <Column id="tot1" type="CDATE" size="256" sumtext="합계1"/>
- <Column id="tot2" type="STRING" size="256" sumtext="합계2"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_A0070list_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.input26" propid="value" datasetid="ds_send" columnid="srchyear"/>
- <BindItem id="item1" compid="group2.cmb_srchhealexamflag" propid="value" datasetid="ds_send" columnid="flag"/>
- <BindItem id="item2" compid="group2.ipt_cmpycd" propid="value" datasetid="ds_send" columnid="cmpycd"/>
- <BindItem id="item3" compid="group2.opt_cmpynm" propid="value" datasetid="ds_send" columnid="cmpynm"/>
- </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 "ast_healexamxp::AHA001.xjs";
- function SMAHS02700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAHS02700_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(swt_reexlist.case1.grd_reexam);
-
- btn_clear.click();
-
- var arrParam = [{dsNm: "ds_init_A0070list_A0070", cdGrpId: "A0070"}]
- appf_getCodeList(arrParam);
- }
- function group2_ipt_cmpycd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- group2.button14.click();
- }
- }
- function group2_button14_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetComnCd("SMAHA01500", "09" , "cd", group2.ipt_cmpycd.value, group2.ipt_cmpycd, group2.opt_cmpynm);
- }
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- swt_reexlist.tabindex = 0;
- if(swt_reexlist.tabindex == 0)
- {
- ds_main_reexam_reexamlist.clearData();
-
- var oParam = {};
- oParam.id = "TRAHS02701";
- oParam.service = "healexamstatapp.StatRef";
- oParam.method = "reqGetReexamList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_reexam_reexamlist=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHS02701";
- tranf_submit(oParam);
- if(ds_main_reexam_reexamlist.getColumnInfo("itemmm011"))
- {
- ds_main_reexam_reexamlist.updateColID("itemmm011", "mm011");
- }
-
-
- // 재검 현황 소계
- // grd_reexam.subtotalPosition = "below";
- // grd_reexam.subtotal("sum", 1, 3, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 4, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 5, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 6, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 7, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 8, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 9, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 10, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 11, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 12, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 13, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 14, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 15, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 16, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 17, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 18, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 19, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 20, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 21, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 22, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 23, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 24, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 25, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- // grd_reexam.subtotal("sum", 1, 26, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
- //
- //
- // // 재검 현황 합계
- // grd_reexam.subtotalPosition = "below";
- // grd_reexam.subtotal("sum", -1, 3, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, " 합계", false);
- // grd_reexam.subtotal("sum", -1, 4, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 5, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 6, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 7, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 8, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 9, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 10, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 11, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 12, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 13, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 14, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 15, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 16, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 17, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 18, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 19, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 20, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 21, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 22, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 23, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 24, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 25, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
- // grd_reexam.subtotal("sum", -1, 26, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
-
- }
- }
- function swt_reexlist_case1_grd_reexam_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var flagnm = ds_main_reexam_reexamlist.getColumn(ds_main_reexam_reexamlist.rowposition, "flagnm");
-
- if(flagnm == '소계' ||flagnm == '합계'|| utlf_isNull(flagnm))
- {
- return;
- }
- var srow = ds_main_reexam_reexamlist.rowposition;
-
- if (srow < 0 )
- {
- srow = 0;
- }
-
- var srchmonth = swt_reexlist.case1.grd_reexam.getHeadValue(e.col);
- srchmonth = String(srchmonth).substr(0,2);
-
- ds_send.setColumn(0, "srchmonth",srchmonth);
- ds_send.setColumn(0, "flagcd",ds_main_reexam_reexamlist.getColumn(srow, "flagcd"));
-
- swt_reexlist.tabindex = 1;
- var oParam = {};
- oParam.id = "TRAHS02702";
- oParam.service = "healexamstatapp.StatRef";
- oParam.method = "reqGetReexamDetlList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_reexamfull_reexamlistfull=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHS02702";
- tranf_submit(oParam);
- }
- function btn_clear_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.clearData();
- ds_send.addRow();
-
- ds_main_reexam_reexamlist.clearData();
- ds_main_reexamfull_reexamlistfull.clearData();
-
- var curDate = utlf_getCurrentDate();
- curDate = String(curDate).substr(0,4);
-
- ds_send.setColumn(0, "srchyear", curDate);
-
- swt_reexlist.tabindex = 0;
- }
- function button12_onclick(obj:Button, e:ClickEventInfo)
- {
- if (swt_reexlist.tabindex == 0)
- {
- grdf_exportExcel(swt_reexlist.case1.grd_reexam, "재검현황"+utlf_getCurrentDate(), "sheet", "true", "", "open");
- }
-
- if (swt_reexlist.tabindex == 1)
- {
- grdf_exportExcel(swt_reexlist.case2.datagrid2, "재검현황상세"+utlf_getCurrentDate(), "sheet", "true", "", "open");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|