123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAHA04070" position="absolute 0 0 1197 773" titletext="건진대상자자료연계" oninit="SMAHA04070_oninit" onload="SMAHA04070_onload">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 714 1190 720" linetype="horizontal" id="line59" class="line_10" anchor="left top right"/>
- <Static text="영업소" position="absolute 0 70 66 86" id="caption1" class="tit_2" anchor="left top"/>
- <Grid position="absolute 0 93 800 207" id="grd_voluntrindachivinfo" binddataset="ds_main_linklst_acptinfo_cmpyacpt" anchor="left top">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="87"/>
- <Column size="146"/>
- <Column size="114"/>
- <Column size="85"/>
- <Column size="93"/>
- <Column size="97"/>
- <Column size="112"/>
- <Column size="115"/>
- <Column size="124"/>
- <Column size="128"/>
- <Column size="94"/>
- <Column size="96"/>
- <Column size="96"/>
- <Column size="96"/>
- <Column size="96"/>
- <Column size="67"/>
- <Column size="67"/>
- <Column size="400"/>
- </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="노동청코드"/>
- <Cell col="12" text="산재등록번호"/>
- <Cell col="13" text="사업장업종코드"/>
- <Cell col="14" text="군관할병원"/>
- <Cell col="15" text="전화번호"/>
- <Cell col="16" text="우편번호"/>
- <Cell col="17" text="우편번호"/>
- <Cell col="18" text="주소"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow + 1"/>
- <Cell col="1" text="bind:bizoffccd"/>
- <Cell col="2" text="bind:bizoffcnm"/>
- <Cell col="3" text="bind:acpt_cmpyno"/>
- <Cell col="4" text="bind:prsdnm"/>
- <Cell col="5" text="bind:totlabrmancnt"/>
- <Cell col="6" text="bind:totlabrwomcnt"/>
- <Cell col="7" text="bind:officertrgtmancnt"/>
- <Cell col="8" text="bind:officertrgtwomcnt"/>
- <Cell col="9" text="bind:nonofficertrgtmancnt"/>
- <Cell col="10" text="bind:nonofficertrgtwomcnt"/>
- <Cell col="11" text="bind:minilabrcd"/>
- <Cell col="12" text="bind:inducsid"/>
- <Cell col="13" text="bind:biztype"/>
- <Cell col="14" text="bind:miltrcntrhospcd"/>
- <Cell col="15" text="bind:telno"/>
- <Cell col="16" text="bind:zipcd1"/>
- <Cell col="17" text="bind:zipcd2"/>
- <Cell col="18" text="bind:detladdr"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="부서" position="absolute 803 70 849 86" id="caption2" class="tit_2"/>
- <Grid position="absolute 803 93 1194 207" id="datagrid1" binddataset="ds_main_linklst_deptinfo_cmpydept" anchor="left top right">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="92"/>
- <Column size="108"/>
- <Column size="158"/>
- </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="부서명"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow + 1"/>
- <Cell col="1" text="bind:dept_bizoffccd" enable="false"/>
- <Cell col="2" text="bind:dept_deptcd" enable="false"/>
- <Cell col="3" text="bind:deptnm" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 88 800 94" linetype="horizontal" id="line1" class="line_10" anchor="left top"/>
- <Shape position="absolute 803 88 1194 94" linetype="horizontal" id="line5" class="line_10" anchor="left top right"/>
- <Static text="검진 대상자" position="absolute 0 212 98 228" id="caption3" class="tit_2" anchor="left top"/>
- <Static text="결과" position="absolute 0 697 52 714" id="caption32" class="tit_2" anchor="left top"/>
- <Static text="총건수" position="absolute 181 719 296 742" align="align:center middle;" id="caption10" class="cell_1"/>
- <Static text="오류건수" position="absolute 639 719 754 742" align="align:center middle;" id="caption13" class="cell_1"/>
- <Static text="대상년도" position="absolute 868 719 983 742" align="align:center middle;" id="caption7" class="cell_1"/>
- <Static text="대상자실행결과" position="absolute 0 719 170 742" align="align:center middle;" id="caption8" class="cell_1" anchor="left top"/>
- <Static text="정상건수" position="absolute 410 719 525 742" align="align:center middle;" id="caption9" class="cell_1"/>
- <Edit position="absolute 990 721 1090 740" id="ipt_appyear" class="input_essential"/>
- <Button position="absolute 1136 748 1192 770" id="btn_delete" class="btn4" text="저장" onclick="btn_delete_onclick" anchor="top right"/>
- <Shape position="absolute 0 743 1193 749" linetype="horizontal" id="line2" class="line_2" anchor="left top right"/>
- <Button position="absolute 1037 65 1189 84" align="align:right middle;" id="button14" class="btn2" text="검진대상자 연계파일 입력" onclick="button14_onclick" anchor="top right"/>
- <Shape position="absolute 0 229 1193 235" linetype="horizontal" id="line7" class="line_10" anchor="left top right"/>
- <Grid position="absolute 0 234 1193 684" id="datagrid3" binddataset="ds_main_returnsts_statusinfo" anchor="left top right">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="87"/>
- <Column size="130"/>
- <Column size="100"/>
- <Column size="85"/>
- <Column size="93"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="76"/>
- <Column size="76"/>
- <Column size="91"/>
- <Column size="72"/>
- <Column size="78"/>
- <Column size="72"/>
- <Column size="80"/>
- <Column size="183"/>
- <Column size="81"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="84"/>
- <Column size="89"/>
- </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="국가암(위)"/>
- <Cell col="12" text="국가암(대장)"/>
- <Cell col="13" text="국가암(간)"/>
- <Cell col="14" text="국가암(유방)"/>
- <Cell col="15" text="자궁경부암"/>
- <Cell col="16" text="보건소 기호"/>
- <Cell col="17" text="보건소명"/>
- <Cell col="18" text="영업소코드"/>
- <Cell col="19" text="부서코드"/>
- <Cell col="20" text="직종구분"/>
- <Cell col="21" text="취득일자"/>
- <Cell col="22" text="직장사번/군번"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow + 1"/>
- <Cell col="1" text="bind:errormemo"/>
- <Cell col="2" text="bind:rrgstno" mask="999999-9999999"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:cmpyid"/>
- <Cell col="5" text="bind:insuid"/>
- <Cell col="6" text="bind:insucorpbrchcd"/>
- <Cell col="7" text="bind:insutrgtflag"/>
- <Cell col="8" text="bind:scndhptstrgtyn"/>
- <Cell col="9" text="bind:livcncrflag"/>
- <Cell col="10" text="bind:freecncrtrgtyn"/>
- <Cell col="11" text="bind:stmccncryn"/>
- <Cell col="12" text="bind:largeintescncryn"/>
- <Cell col="13" text="bind:livcncrtrgtyn"/>
- <Cell col="14" text="bind:mamcncryn"/>
- <Cell col="15" text="bind:cervcncryn"/>
- <Cell col="16" text="bind:healcntrcd"/>
- <Cell col="17" text="bind:healcntrnm"/>
- <Cell col="18" text="bind:bizoffccd"/>
- <Cell col="19" text="bind:deptcd"/>
- <Cell col="20" text="bind:jobkindflag"/>
- <Cell col="21" text="bind:entcodd" mask="yyyy-mm-dd"/>
- <Cell col="22" text="bind:clntempid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit readonly="true" position="absolute 303 721 403 740" id="output1"/>
- <Edit readonly="true" position="absolute 532 721 632 740" id="output2"/>
- <Edit readonly="true" position="absolute 761 721 861 740" id="output3"/>
- <Shape position="absolute 0 55 1193 61" linetype="horizontal" id="line4" class="line_3" anchor="left top right"/>
- <Edit readonly="true" position="absolute 135 35 255 54" align="align:center middle;" id="opt_cmpyid" anchor="left top"/>
- <Static id="caption6" text="대상자 자료 연계" class="tit_1" position="absolute 0 0 148 25" anchor="left top"/>
- <Static id="caption11" text="민원실구분" class="cell_1" position="absolute 927 33 1057 56" anchor="top right"/>
- <Static id="caption12" text="소속지사코드" class="cell_1" position="absolute 665 33 795 56" anchor="top right"/>
- <Static id="caption14" text="사업장관리번호" class="cell_1" position="absolute 0 33 130 56" anchor="left top"/>
- <Static id="caption15" text="사업장명" class="cell_1" position="absolute 263 33 393 56" anchor="left top"/>
- <Shape id="line6" class="line_10" position="absolute 0 28 1192 34" anchor="left top right"/>
- <Edit id="opt_cmpynm" taborder="1" readonly="true" position="absolute 399 35 658 54" anchor="left top right"/>
- <Edit id="opt_insucorpbrchcd" taborder="2" readonly="true" position="absolute 800 35 920 54" anchor="top right"/>
- <Edit id="opt_civilaplflag" taborder="3" readonly="true" position="absolute 1063 35 1191 54" anchor="top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_linklst_acptinfo_cmpyacpt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bizoffccd" type="STRING"/>
- <Column id="bizoffcnm" type="STRING"/>
- <Column id="acpt_cmpyno" type="STRING"/>
- <Column id="prsdnm" type="STRING"/>
- <Column id="totlabrmancnt" type="STRING"/>
- <Column id="totlabrwomcnt" type="STRING"/>
- <Column id="officertrgtmancnt" type="STRING"/>
- <Column id="officertrgtwomcnt" type="STRING"/>
- <Column id="nonofficertrgtmancnt" type="STRING"/>
- <Column id="nonofficertrgtwomcnt" type="STRING"/>
- <Column id="minilabrcd" type="STRING"/>
- <Column id="inducsid" type="STRING"/>
- <Column id="biztype" type="STRING"/>
- <Column id="miltrcntrhospcd" type="STRING"/>
- <Column id="telno" type="STRING"/>
- <Column id="zipcd1" type="STRING"/>
- <Column id="zipcd2" type="STRING"/>
- <Column id="detladdr" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_linklst_deptinfo_cmpydept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dept_bizoffccd" type="STRING"/>
- <Column id="dept_deptcd" type="STRING"/>
- <Column id="deptnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_returnsts_statusinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="errormemo" type="STRING"/>
- <Column id="rrgstno" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="cmpyid" type="STRING"/>
- <Column id="insuid" type="STRING"/>
- <Column id="insucorpbrchcd" type="STRING"/>
- <Column id="insutrgtflag" type="STRING"/>
- <Column id="scndhptstrgtyn" type="STRING"/>
- <Column id="livcncrflag" type="STRING"/>
- <Column id="freecncrtrgtyn" type="STRING"/>
- <Column id="stmccncryn" type="STRING"/>
- <Column id="largeintescncryn" type="STRING"/>
- <Column id="livcncrtrgtyn" type="STRING"/>
- <Column id="mamcncryn" type="STRING"/>
- <Column id="cervcncryn" type="STRING"/>
- <Column id="healcntrcd" type="STRING"/>
- <Column id="healcntrnm" type="STRING"/>
- <Column id="bizoffccd" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- <Column id="jobkindflag" type="STRING"/>
- <Column id="entcodd" type="STRING"/>
- <Column id="clntempid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_baseinfo_cmpy" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cmpyid" type="STRING" size="256"/>
- <Column id="cmpynm" type="STRING" size="256"/>
- <Column id="insucorpbrchcd" type="STRING" size="256"/>
- <Column id="civilaplflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reqdata" type="STRING" size="256"/>
- <Column id="savedata" type="STRING" size="256"/>
- <Column id="stndyear" type="STRING" size="256"/>
- <Column id="linkflag" type="STRING" size="256"/>
- <Column id="srchinstcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_disccdlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="코드명"/>
- <Column id="dcamt" type="INT" size="256" sumtext="기본할인액"/>
- <Column id="adddcamt" type="INT" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_uncocdlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="코드명"/>
- <Column id="cmpyrate" type="INT" size="256" sumtext="단체부담율"/>
- <Column id="insurate" type="INT" size="256" sumtext="공단부담율"/>
- <Column id="cntrrate" type="INT" size="256" sumtext="보건소부담률"/>
- <Column id="ownrate" type="INT" size="256" sumtext="개인부담율"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cncruncocdlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="코드명"/>
- <Column id="cmpyrate" type="INT" size="256" sumtext="단체부담율"/>
- <Column id="insurate" type="INT" size="256" sumtext="공단부담율"/>
- <Column id="cntrrate" type="INT" size="256" sumtext="보건소부담률"/>
- <Column id="ownrate" type="INT" size="256" sumtext="개인부담율"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_calclst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filename" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_linklst_acptinfo_cmpyper" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rrgstno" type="STRING" size="256" sumtext="대상자주민번호"/>
- <Column id="insuid" type="STRING" size="256" sumtext="증번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="대상자성명"/>
- <Column id="insucorpbrchcd" type="STRING" size="256" sumtext="소속지사"/>
- <Column id="civilaplflag" type="STRING" size="256" sumtext="센터구분"/>
- <Column id="insutrgtflag" type="STRING" size="256" sumtext="직역구분"/>
- <Column id="scndhptstrgtyn" type="STRING" size="256" sumtext="간염대상여부"/>
- <Column id="livcncrflag" type="STRING" size="256" sumtext="간암검사구분"/>
- <Column id="freecncrtrgtyn" type="STRING" size="256" sumtext="국가암검사여부"/>
- <Column id="stmccncryn" type="STRING" size="256" sumtext="국가암검사(위)"/>
- <Column id="largeintescncryn" type="STRING" size="256" sumtext="국가암검사(대장)"/>
- <Column id="livcncrtrgtyn" type="STRING" size="256" sumtext="국가암검사(간)"/>
- <Column id="mamcncryn" type="STRING" size="256" sumtext="국가암검사(유방)"/>
- <Column id="cervcncryn" type="STRING" size="256" sumtext="자궁경부암치료비지원여부"/>
- <Column id="healcntrcd" type="STRING" size="256" sumtext="보건소코드"/>
- <Column id="healcntrnm" type="STRING" size="256" sumtext="보건소명"/>
- <Column id="cmpyid" type="STRING" size="256" sumtext="사업장관리번호"/>
- <Column id="cmpycd" type="STRING" size="256" sumtext="사업자등록번호"/>
- <Column id="bizoffccd" type="STRING" size="256" sumtext="지점기호"/>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="jobkindflag" type="STRING" size="256" sumtext="직종"/>
- <Column id="entcodd" type="STRING" size="256" sumtext="취득일자"/>
- <Column id="clntempid" type="STRING" size="256" sumtext="사번/군번"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_linklst_cmpybase" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="appyear" type="STRING" size="256" sumtext="적용년도"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="totalcount" type="STRING" size="256"/>
- <Column id="errcount" type="STRING" size="256"/>
- <Column id="nomcount" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_base" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="appyear" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="output1" propid="value" datasetid="ds_main_result" columnid="totalcount"/>
- <BindItem id="item1" compid="output2" propid="value" datasetid="ds_main_result" columnid="nomcount"/>
- <BindItem id="item2" compid="output3" propid="value" datasetid="ds_main_result" columnid="errcount"/>
- <BindItem id="item3" compid="ipt_appyear" propid="value" datasetid="ds_main_base" columnid="appyear"/>
- </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_zipcodexp::ZBP001.xjs";
- include "ast_commonxp::AST.xjs";
- include "ast_healthexamrsrvacptxp::AHA.xjs";
- include "ast_healthexambasexp::healcombolist.xjs";
- function SMAHA04070_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAHA04070_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_voluntrindachivinfo);
- grdf_initGrid(datagrid1);
- grdf_initGrid(datagrid3);
- fInit();
- }
- function fInit()
- {
- ds_main_returnsts_statusinfo.clearData();
- ds_main_linklst_acptinfo_cmpyacpt.clearData();
- ds_main_linklst_deptinfo_cmpydept.clearData();
-
- ds_send.setColumn(0, "stndyear", utlf_getCurrentDate());
- ds_send.setColumn(0, "linkflag", "CF");
-
- //청구방법
- ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("posinstcd"));
-
- var oParam = {};
- oParam.id = "TRAHA00104";
- oParam.service = "healexambaseapp.ComCode";
- oParam.method = "reqGetDiscCdList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_disccdlst=disccdlst ds_uncocdlst=uncocdlst ds_cncruncocdlst=cncruncocdlst ds_calclst=calclst";
- oParam.async = false;
- //oParam.callback = "cf_TRAHA00104";
- tranf_submit(oParam);
- }
- function button14_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileUpload();
- }
- // 검진대상자 연계파일 입력 함수
- function fFileUpload()
- {
- var fd = new FileDialog();
- var fileName = fd.open("open", FileDialog.LOAD,"%MYDOCUMENT%");
- var regExp = /.dat$/gi;
-
- if(!utlf_isNull(fileName)) // 검진대상자 연계파일 존재시
- {
- ds_main_linklst_acptinfo_cmpyacpt.clearData();
- ds_main_linklst_acptinfo_cmpyper.clearData();
- ds_main_linklst_cmpybase.clearData();
- ds_main_linklst_deptinfo_cmpydept.clearData();
- ds_main_returnsts_statusinfo.clearData();
- ds_main_result.clearData();
- ds_main_base.clearData();
-
- var vGrd = null;
- ds_hidden_save.setColumn(0, "filename", fileName);
-
- // 엑셀, dat파일 구분
- if(regExp.test(fileName))
- {
- var fso,ts,tsr;
- fso = new ActiveXObject("Scripting.FileSystemObject");
- ts = fso.OpenTextFile(fileName);
- ds_send.setColumn(0, "linkdata", ts.ReadAll());
- ts.Close();
-
- var dd = ds_send.getColumn(0, "linkdata");
-
- //submit("TRAHA04071");
- var oParam = {};
- oParam.id = "TRAHA04071";
- oParam.service = "healthexamrsrvacptapp.GnrlRsrvAcpt";
- oParam.method = "reqGetBusPlceDataLnk";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_baseinfo_cmpy=cmpy ds_main_linklst_acptinfo_cmpyacpt=cmpyacpt ds_main_linklst_deptinfo_cmpydept=cmpydept ds_main_linklst_acptinfo_cmpyper=cmpyper ds_main_linklst_cmpybase=cmpybase";
- oParam.async = false;
- oParam.callback = "cf_TRAHA04071";
- tranf_submit(oParam);
- }
- }
-
- }
- //저장
- function btn_delete_onclick(obj:Button, e:ClickEventInfo)
- {
- fHealMediExamSet();
- }
- // 건진대상자 저장 함수
- function fHealMediExamSet()
- {
- if(utlf_isNull(ds_main_base.getColumn(0, "appyear")))
- {
- sysf_messageBox("대상년도는 ", "I003");
- ipt_appyear.setFocus();
- return;
- }
- var oParam = {};
- oParam.id = "TXAHA04071";
- oParam.service = "healthexamrsrvacptapp.GnrlRsrvAcpt";
- oParam.method = "reqExeHealMediExam";
- oParam.inds = "baseinfo=ds_main_baseinfo_cmpy acptinfo=ds_main_linklst_acptinfo_cmpyacpt deptinfo=ds_main_linklst_deptinfo_cmpydept perinfo=ds_main_linklst_acptinfo_cmpyper cmpybase=ds_main_base";
- oParam.outds = "ds_main_returnsts_statusinfo=statusinfo";
- oParam.async = false;
- oParam.callback = "cf_TXAHA04071";
- tranf_submit(oParam);
- }
- function cf_TXAHA04071(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
- else
- {
- ds_main_result.setColumn(0, "totalcount", ds_main_returnsts_statusinfo.getColumn(0, "totalcount"));
- ds_main_result.setColumn(0, "nomcount", ds_main_returnsts_statusinfo.getColumn(0, "nomcount"));
- ds_main_result.setColumn(0, "errcount", ds_main_returnsts_statusinfo.getColumn(0, "errcount"));
- }
- }]]></Script>
- </Form>
- </FDL>
|