12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAHA04090" position="absolute 0 0 1196 810" titletext="단체예약접수" oninit="SMAHA04090_oninit" onload="SMAHA04090_onload">
- <Layouts>
- <Layout>
- <Tab position="absolute 0 27 1195 784" id="switch1" anchor="all">
- <Tabpages>
- <Tabpage text="공단건진" id="case_gnrl">
- <Layouts>
- <Layout width="1195" height="730">
- <Shape position="absolute 0 48 1195 54" linetype="horizontal" id="line8" class="line_3" anchor="left top right"/>
- <Button position="absolute 233 27 298 49" id="button3" class="btn2" text="일괄적용" onclick="switch1_case_gnrl_button3_onclick"/>
- <Static text="공단일괄 예약/접수" position="absolute 0 6 151 28" id="caption2" class="tit_2"/>
- <Button position="absolute 1041 0 1118 22" id="btn_upload" class="btn2" text="파일업로드" anchor="top right" onclick="switch1_case_gnrl_btn_upload_onclick"/>
- <Radio position="absolute 82 28 225 48" id="rdo_healexamplacecd" columncount="-1" rowcount="-1" innerdataset="@ds_init_baseinfo_healexamplacelst_S600" datacolumn="cdnm" codecolumn="cdid"/>
- <Static text="장소구분" position="absolute 0 27 78 49" align="align:center middle;" id="caption47" class="cell_1"/>
- <Shape position="absolute 0 22 1195 28" linetype="horizontal" id="line17" class="line_10" anchor="left top right"/>
- <Grid position="absolute 0 52 1195 725" id="grd_cupload" binddataset="ds_main_uploadlst_item" autoenter="select" cellsizingtype="col" anchor="all" onexpanddown="switch1_case_gnrl_grd_cupload_onexpanddown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="24"/>
- <Column size="50"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="150"/>
- <Column size="110"/>
- <Column size="110"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="250"/>
- <Column size="200"/>
- <Column size="200"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <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" colspan="2" text="우편번호" taborder="undefined"/>
- <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="sex"/>
- <Cell col="19" text="brthdd"/>
- <Cell col="20" text="age"/>
- <Cell col="21" text="forgneryn"/>
- <Cell col="22" text="emailid"/>
- <Cell col="23" text="emailtype"/>
- <Cell col="24" text="statflag"/>
- <Cell col="25" text="healexamflag"/>
- <Cell col="26" text="healexamdetlflag"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" colspan="2" displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'Y' ? 1 : 0" taborder="undefined"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:rrgstno1" enable="false"/>
- <Cell col="5" displaytype="text" edittype="text" text="bind:rrgstno2" enable="false"/>
- <Cell col="6" displaytype="date" edittype="date" text="bind:hopedd" calendardisplaynulltype="nulltext"/>
- <Cell col="7" displaytype="text" edittype="text" text="bind:email" enable="false"/>
- <Cell col="8" displaytype="text" edittype="text" text="bind:telno" enable="false"/>
- <Cell col="9" displaytype="text" edittype="text" text="bind:mpphon" enable="false"/>
- <Cell col="10" displaytype="text" edittype="text" text="bind:zipcd11" enable="false"/>
- <Cell col="11" displaytype="text" edittype="text" text="bind:zipcd12" enable="false"/>
- <Cell col="12" text="bind:detladdr1" enable="false"/>
- <Cell col="13" displaytype="text" edittype="text" text="bind:pkgcd" expandshow="show"/>
- <Cell col="14" displaytype="text" edittype="text" text="bind:testcd" expandshow="show"/>
- <Cell col="15" displaytype="combo" edittype="combo" text="bind:healexamplacecd" combodataset="ds_init_baseinfo_healexamplacelst_S600" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="16" text="bind:pkgnm"/>
- <Cell col="17" text="bind:testnm"/>
- <Cell col="18" text="bind:sex"/>
- <Cell col="19" text="bind:brthdd"/>
- <Cell col="20" text="bind:age"/>
- <Cell col="21" text="bind:forgneryn"/>
- <Cell col="22" text="bind:emailid"/>
- <Cell col="23" text="bind:emailtype"/>
- <Cell col="24" text="bind:statflag"/>
- <Cell col="25" text="bind:healexamflag"/>
- <Cell col="26" text="bind:healexamdetlflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1120 0 1195 22" id="btn_chkdata" class="btn2" text="데이터확인" anchor="top right" onclick="switch1_case_gnrl_btn_chkdata_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="특수건진" id="case_spcl">
- <Layouts>
- <Layout>
- <Button position="absolute 1120 0 1195 22" id="button1" class="btn2" text="파일업로드" onclick="switch1_case_spcl_button1_onclick" anchor="top right"/>
- <Static text="특수일괄 예약/접수" position="absolute 0 6 151 28" id="caption1" class="tit_2"/>
- <Shape position="absolute 0 22 1195 28" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
- <Shape position="absolute 0 48 1195 54" linetype="horizontal" id="line2" class="line_3" anchor="left top right"/>
- <Button position="absolute 427 27 491 49" id="button4" class="btn2" text="일괄적용" onclick="switch1_case_spcl_button4_onclick"/>
- <Radio position="absolute 77 28 220 48" id="rdo_spclhealexamplace" columncount="-1" rowcount="-1" innerdataset="@ds_init_baseinfo_healexamplacelst_S600" datacolumn="cdnm" codecolumn="cdid"/>
- <Static text="장소구분" position="absolute 0 27 73 49" align="align:center middle;" id="caption3" class="cell_1"/>
- <Grid position="absolute 0 52 1195 725" id="grd_supload" binddataset="ds_main_uploadspcllst_item" anchor="all" autoenter="select" cellsizingtype="col" onexpanddown="switch1_case_spcl_grd_supload_onexpanddown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27"/>
- <Column size="21"/>
- <Column size="50"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <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="유해인자1"/>
- <Cell col="20" text="유해인자2"/>
- <Cell col="21" text="유해인자3"/>
- <Cell col="22" text="유해인자4"/>
- <Cell col="23" text="유해인자5"/>
- <Cell col="24" text="유해인자6"/>
- <Cell col="25" text="유해인자7"/>
- <Cell col="26" text="유해인자8"/>
- <Cell col="27" text="유해인자9"/>
- <Cell col="28" text="유해인자10"/>
- <Cell col="29" text="유해인자11"/>
- <Cell col="30" text="유해인자12"/>
- <Cell col="31" text="유해인자13"/>
- <Cell col="32" text="유해인자14"/>
- <Cell col="33" text="유해인자15"/>
- <Cell col="34" text="유해인자16"/>
- <Cell col="35" text="유해인자17"/>
- <Cell col="36" text="유해인자18"/>
- <Cell col="37" text="유해인자19"/>
- <Cell col="38" text="유해인자20"/>
- <Cell col="39" text="추가검사"/>
- <Cell col="40" text="추가청구구분"/>
- <Cell col="41" text="간이패키지"/>
- <Cell col="42" text="간이청구구분"/>
- <Cell col="43" text="장소구분"/>
- <Cell col="44" text="출장/내원구분"/>
- <Cell col="45" text="공단(생애전환기)"/>
- <Cell col="46" text="공단청구구분"/>
- <Cell col="47" text="비고"/>
- <Cell col="48" text="1/2차"/>
- <Cell col="49" text="sex"/>
- <Cell col="50" text="brthdd"/>
- <Cell col="51" text="age"/>
- <Cell col="52" text="forgneryn"/>
- <Cell col="53" text="statflag"/>
- <Cell col="54" text="gnrlpkgcd"/>
- <Cell col="55" text="acptcd"/>
- <Cell col="56" text="healexamflag"/>
- <Cell col="57" text="healexamdetlflag"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" colspan="2" displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'Y' ? 1 : 0" taborder="undefined"/>
- <Cell col="3" text="bind:cmpycd"/>
- <Cell col="4" displaytype="date" edittype="date" text="bind:hopedd" calendardisplaynulltype="nulltext" enable="false"/>
- <Cell col="5" text="bind:chartno"/>
- <Cell col="6" text="bind:hngnm"/>
- <Cell col="7" text="bind:rrgstno"/>
- <Cell col="8" text="bind:clntempid"/>
- <Cell col="9" text="bind:acpt_insuid"/>
- <Cell col="10" text="bind:deptnm"/>
- <Cell col="11" displaytype="date" edittype="date" text="bind:entcodd" calendardisplaynulltype="nulltext" enable="false"/>
- <Cell col="12" displaytype="date" edittype="date" text="bind:junibdd" calendardisplaynulltype="nulltext" enable="false"/>
- <Cell col="13" displaytype="combo" edittype="combo" text="bind:jobkindcd" combodataset="ds_init_baseinfo_jobkindlst_G108" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="14" displaytype="text" edittype="text" text="bind:workproccd" expandshow="show"/>
- <Cell col="15" text="bind:workprocnm"/>
- <Cell col="16" displaytype="combo" text="bind:gnrlflag" combodataset="ds_init_baseinfo_autopkglst_G110" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="17" displaytype="combo" text="bind:gnrluncocd" combodataset="ds_init_baseinfo_pamcdlst_uncocdlst" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="18" displaytype="combo" text="bind:spclhealexamflag" combodataset="ds_init_baseinfo_spclflaglst_G111" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="19" displaytype="text" edittype="text" text="bind:spclpkg1" expandshow="show"/>
- <Cell col="20" displaytype="text" edittype="text" text="bind:spclpkg2" expandshow="show"/>
- <Cell col="21" displaytype="text" edittype="text" text="bind:spclpkg3" expandshow="show"/>
- <Cell col="22" displaytype="text" edittype="text" text="bind:spclpkg4" expandshow="show"/>
- <Cell col="23" displaytype="text" edittype="text" text="bind:spclpkg5" expandshow="show"/>
- <Cell col="24" displaytype="text" edittype="text" text="bind:spclpkg6" expandshow="show"/>
- <Cell col="25" displaytype="text" edittype="text" text="bind:spclpkg7" expandshow="show"/>
- <Cell col="26" displaytype="text" edittype="text" text="bind:spclpkg8" expandshow="show"/>
- <Cell col="27" displaytype="text" edittype="text" text="bind:spclpkg9" expandshow="show"/>
- <Cell col="28" displaytype="text" edittype="text" text="bind:spclpkg10" expandshow="show"/>
- <Cell col="29" displaytype="text" edittype="text" text="bind:spclpkg11" expandshow="show"/>
- <Cell col="30" displaytype="text" edittype="text" text="bind:spclpkg12" expandshow="show"/>
- <Cell col="31" displaytype="text" edittype="text" text="bind:spclpkg13" expandshow="show"/>
- <Cell col="32" displaytype="text" edittype="text" text="bind:spclpkg14" expandshow="show"/>
- <Cell col="33" displaytype="text" edittype="text" text="bind:spclpkg15" expandshow="show"/>
- <Cell col="34" displaytype="text" edittype="text" text="bind:spclpkg16" expandshow="show"/>
- <Cell col="35" displaytype="text" edittype="text" text="bind:spclpkg17" expandshow="show"/>
- <Cell col="36" displaytype="text" edittype="text" text="bind:spclpkg18" expandshow="show"/>
- <Cell col="37" displaytype="text" edittype="text" text="bind:spclpkg19" expandshow="show"/>
- <Cell col="38" displaytype="text" edittype="text" text="bind:spclpkg20" expandshow="show"/>
- <Cell col="39" displaytype="text" edittype="text" text="bind:addtest" expandshow="show"/>
- <Cell col="40" displaytype="combo" text="bind:adduncocd" combodataset="ds_init_baseinfo_pamcdlst_uncocdlst" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="41" displaytype="text" edittype="text" text="bind:simppkgcd" expandshow="show"/>
- <Cell col="42" displaytype="combo" text="bind:simpuncocd" combodataset="ds_init_baseinfo_pamcdlst_uncocdlst" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="43" displaytype="combo" edittype="combo" text="bind:healexamplacecd" combodataset="ds_init_baseinfo_healexamplacelst_S600" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="44" displaytype="combo" text="bind:plceflag" combodataset="ds_init_baseinfo_plceflag_A0110" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="45" displaytype="text" edittype="text" text="bind:lifeconvpkgcd" expandshow="show"/>
- <Cell col="46" displaytype="combo" text="bind:lifeconvuncocd" combodataset="ds_init_baseinfo_pamcdlst_uncocdlst" combocodecol="cd" combodatacol="nm" enable="false"/>
- <Cell col="47" text="bind:remcnts"/>
- <Cell col="48" displaytype="combo" edittype="combo" text="bind:dgflag" combodataset="ds_cmb_dgflag" combocodecol="value" combodatacol="label"/>
- <Cell col="49" text="bind:sex"/>
- <Cell col="50" text="bind:brthdd"/>
- <Cell col="51" text="bind:age"/>
- <Cell col="52" text="bind:forgneryn"/>
- <Cell col="53" text="bind:statflag"/>
- <Cell col="54" text="bind:gnrlpkgcd"/>
- <Cell col="55" text="bind:acptcd"/>
- <Cell col="56" text="bind:healexamflag"/>
- <Cell col="57" text="bind:healexamdetlflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1053 0 1117 22" id="button2" class="btn2" text="물질확인" onclick="switch1_case_spcl_button2_onclick" anchor="top right"/>
- <Static text="출장/내원구분" position="absolute 223 27 313 49" align="align:center middle;" id="caption4" class="cell_1"/>
- <Combo position="absolute 317 29 422 48" id="combo1" innerdataset="@ds_init_baseinfo_plceflag_A0110" datacolumn="cdnm" codecolumn="cdid"/>
- <Button position="absolute 964 0 1050 22" id="button15" class="btn2" text="주민번호체크" onclick="switch1_case_spcl_button15_onclick" anchor="top right"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="증번호" id="case_insu">
- <Layouts>
- <Layout>
- <Div id="grp_sea" anchor="left top right" taborder="1" class="div_SA2" position="absolute 0 0 1195 40"/>
- <Static text="증번호등록" position="absolute 0 48 151 69" id="caption8" class="tit_2"/>
- <Shape position="absolute 0 64 1195 70" linetype="horizontal" id="line3" class="line_10" anchor="left top right"/>
- <Grid position="absolute 0 69 1195 725" id="grd_iupload" binddataset="ds_main_uploadinsulst_item" anchor="all" cellsizingtype="col" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="150"/>
- <Column size="150"/>
- <Column size="150"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" colspan="2" text="주민번호" taborder="undefined"/>
- <Cell col="3" text="증번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" style="background:EXPR(background_rrgstno1);background2:EXPR(background_rrgstno2);" text="bind:rrgstno1" enable="false"/>
- <Cell col="2" displaytype="text" style="background:EXPR(back_rrgstno2);background2:EXPR(back_rrgstno2);" text="bind:rrgstno2" enable="false"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:insuid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1042 42 1117 64" id="button6" class="btn2" text="파일업로드" anchor="top right" onclick="switch1_case_insu_button6_onclick"/>
- <Button position="absolute 930 42 983 64" id="button7" class="btn2" text="행추가" anchor="top right" onclick="switch1_case_insu_button7_onclick"/>
- <Button position="absolute 986 42 1039 64" id="button9" class="btn2" text="행삭제" anchor="top right" onclick="switch1_case_insu_button9_onclick"/>
- <Button position="absolute 1122 9 1178 31" id="btn_acptlst" class="btn1" text="조회" anchor="top right" onclick="switch1_case_insu_btn_acptlst_onclick"/>
- <Shape position="absolute 1103 10 1109 32" linetype="vertical" id="line29" anchor="top right"/>
- <Edit position="absolute 95 10 195 29" id="input1" autoselect="true" autoskip="true"/>
- <Edit position="absolute 205 10 305 29" id="input2" autoselect="true" autoskip="true"/>
- <Edit position="absolute 412 9 522 28" id="input3" autoselect="true" autoskip="true"/>
- <Static text="주민번호 :" position="absolute 5 12 91 29" id="caption49" class="search_name"/>
- <Static text="증번호 :" position="absolute 335 12 421 29" id="caption9" class="search_name"/>
- <Button position="absolute 1120 42 1195 64" id="button10" class="btn2" text="데이터확인" anchor="top right" onclick="switch1_case_insu_button10_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="내려받기" id="case_down">
- <Layouts>
- <Layout>
- <Div id="grp_sea" anchor="left top right" taborder="13" class="div_SA2" position="absolute 0 0 1195 40"/>
- <Edit position="absolute 537 10 677 29" id="opt_cmpynm" enable="false"/>
- <Button position="absolute 518 10 534 26" id="btn_srchcmpy" class="icon_search" text="" onclick="switch1_case_down_btn_srchcmpy_onclick"/>
- <Edit position="absolute 409 10 513 29" id="ipt_cmpycd" class="input_default" taborder="12" autoselect="true" autoskip="true" onkeyup="switch1_case_down_ipt_cmpycd_onkeyup"/>
- <Static text="건진일자 :" position="absolute 6 12 92 29" id="caption5" class="search_name"/>
- <Static text="사업체 :" position="absolute 331 12 417 29" id="caption7" class="search_name"/>
- <Calendar position="absolute 93 9 193 28" id="ipt_srchfromdd" class="input_essential" autoselect="true" autoskip="true"/>
- <Static text="~" position="absolute 197 10 209 27" id="caption50" class="search_n_b"/>
- <Calendar position="absolute 213 9 313 28" id="ipt_srchtodd" class="input_essential" autoselect="true" autoskip="true" onchanged="switch1_case_down_ipt_srchtodd_onchanged"/>
- <Button position="absolute 1123 10 1179 32" id="button12" class="btn1" text="조회" anchor="top right" onclick="switch1_case_down_button12_onclick"/>
- <Shape position="absolute 1109 10 1115 32" linetype="vertical" id="line4" anchor="top right"/>
- <Button position="absolute 1115 42 1195 64" id="button13" class="btn7" text="엑셀저장" anchor="top right" onclick="switch1_case_down_button13_onclick"/>
- <Grid position="absolute 0 69 1195 725" id="grd_spcldownlst" binddataset="ds_main_downloadlst_item" autoenter="select" cellsizingtype="both" anchor="all" onrbuttondown="switch1_case_down_grd_spcldownlst_onrbuttondown" selecttype="multirow" extendsizetype="row" autosizingtype="row" cellclickbound="cell">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="26"/>
- <Column size="29"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <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="유해인자1"/>
- <Cell col="20" text="유해인자2"/>
- <Cell col="21" text="유해인자3"/>
- <Cell col="22" text="유해인자4"/>
- <Cell col="23" text="유해인자5"/>
- <Cell col="24" text="유해인자6"/>
- <Cell col="25" text="유해인자7"/>
- <Cell col="26" text="유해인자8"/>
- <Cell col="27" text="유해인자9"/>
- <Cell col="28" text="유해인자10"/>
- <Cell col="29" text="유해인자11"/>
- <Cell col="30" text="유해인자12"/>
- <Cell col="31" text="유해인자13"/>
- <Cell col="32" text="유해인자14"/>
- <Cell col="33" text="유해인자15"/>
- <Cell col="34" text="유해인자16"/>
- <Cell col="35" text="유해인자17"/>
- <Cell col="36" text="유해인자18"/>
- <Cell col="37" text="유해인자19"/>
- <Cell col="38" text="유해인자20"/>
- <Cell col="39" text="추가검사"/>
- <Cell col="40" text="추가청구구분"/>
- <Cell col="41" text="간이패키지"/>
- <Cell col="42" text="간이청구구분"/>
- <Cell col="43" text=" 등록번호"/>
- <Cell col="44" text="검진일"/>
- <Cell col="45" text="유해인자목록"/>
- <Cell col="46" text="유해인자별검사"/>
- <Cell col="47" text="사업체명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" colspan="2" displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'Y' ? 1 : 0" taborder="undefined"/>
- <Cell col="3" text="bind:cmpycd"/>
- <Cell col="4" displaytype="date" edittype="date" text="bind:hopedd" calendardisplaynulltype="nulltext" enable="false"/>
- <Cell col="5" text="bind:chartno"/>
- <Cell col="6" text="bind:hngnm"/>
- <Cell col="7" text="bind:rrgstno"/>
- <Cell col="8" text="bind:clntempid"/>
- <Cell col="9" text="bind:insuid"/>
- <Cell col="10" text="bind:clntdeptnm"/>
- <Cell col="11" displaytype="date" edittype="date" text="bind:entcodd" calendardisplaynulltype="nulltext" enable="false"/>
- <Cell col="12" displaytype="date" edittype="date" text="bind:junibdd" calendardisplaynulltype="nulltext" enable="false"/>
- <Cell col="13" edittype="none" text="bind:jobkindnm" enable="false"/>
- <Cell col="14" edittype="none" text="bind:workproccd"/>
- <Cell col="15" text="bind:workprocnm"/>
- <Cell col="16" edittype="none" style="align:left middle;padding:3 3 3 3;" text="bind:gnrlpkg" wordwrap="word" autosizerow="limitmin" enable="false"/>
- <Cell col="17" edittype="none" style="align:left middle;padding:3 3 3 3;" text="bind:gnrluncocd" wordwrap="word" autosizerow="limitmin" enable="false"/>
- <Cell col="18" edittype="none" text="bind:spclhealexamflag" enable="false"/>
- <Cell col="19" edittype="none" text="bind:spclpkg1"/>
- <Cell col="20" edittype="none" text="bind:spclpkg2"/>
- <Cell col="21" edittype="none" text="bind:spclpkg3"/>
- <Cell col="22" edittype="none" text="bind:spclpkg4"/>
- <Cell col="23" edittype="none" text="bind:spclpkg5"/>
- <Cell col="24" edittype="none" text="bind:spclpkg6"/>
- <Cell col="25" edittype="none" text="bind:spclpkg7"/>
- <Cell col="26" edittype="none" text="bind:spclpkg8"/>
- <Cell col="27" edittype="none" text="bind:spclpkg9"/>
- <Cell col="28" edittype="none" text="bind:spclpkg10"/>
- <Cell col="29" edittype="none" text="bind:spclpkg11"/>
- <Cell col="30" edittype="none" text="bind:spclpkg12"/>
- <Cell col="31" edittype="none" text="bind:spclpkg13"/>
- <Cell col="32" edittype="none" text="bind:spclpkg14"/>
- <Cell col="33" edittype="none" text="bind:spclpkg15"/>
- <Cell col="34" edittype="none" text="bind:spclpkg16"/>
- <Cell col="35" edittype="none" text="bind:spclpkg17"/>
- <Cell col="36" edittype="none" text="bind:spclpkg18"/>
- <Cell col="37" edittype="none" text="bind:spclpkg19"/>
- <Cell col="38" edittype="none" text="bind:spclpkg20"/>
- <Cell col="39" edittype="none" text="bind:addtest"/>
- <Cell col="40" edittype="none" text="bind:adduncocd" enable="false"/>
- <Cell col="41" edittype="none" text="bind:simppkg"/>
- <Cell col="42" edittype="none" text="bind:simpuncocd" enable="false"/>
- <Cell col="43" edittype="none" text="bind:pid"/>
- <Cell col="44" displaytype="date" edittype="date" text="bind:acptdd" calendardisplaynulltype="nulltext" enable="false"/>
- <Cell col="45" text="bind:spclpkg"/>
- <Cell col="46" text="bind:spclpkgcmt"/>
- <Cell col="47" text="bind:cmpynm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="특수일괄 예약/접수" position="absolute 0 48 151 69" id="caption10" class="tit_2"/>
- <Shape position="absolute 0 64 1195 70" linetype="horizontal" id="line5" class="line_10" anchor="left top right"/>
- <Static text="부서명 :" position="absolute 701 12 787 29" id="caption11" class="search_name"/>
- <Edit position="absolute 776 10 946 29" id="input4" autoselect="true" autoskip="true" onkeyup="switch1_case_down_input4_onkeyup"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption6" text="일괄예약/접수" class="tit_1" position="absolute 0 0 159 25"/>
- <Button id="button14" taborder="1" text="검진개인표" class="btn6" position="absolute 0 783 92 805" anchor="left bottom" onclick="button14_onclick"/>
- <Button id="button33" taborder="2" text="초기화" class="btn4" position="absolute 1045 783 1113 805" anchor="right bottom" onclick="button33_onclick"/>
- <Button id="button8" taborder="3" text="등록처리" class="btn4" position="absolute 1115 783 1195 805" anchor="right bottom" onclick="button8_onclick"/>
- <PopupMenu id="pmn_menu1" position="absolute 1237 100 1308 145" innerdataset="@ds_init_popupmenu_grid_item" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="pmn_menu1_onmenuclick"/>
- </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="srchhealexamflag" type="STRING" size="256"/>
- <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
- <Column id="srchhealexamplacecd" type="STRING" size="256"/>
- <Column id="srchhealexamplacecd2" type="STRING" size="256"/>
- <Column id="srchspclcmpycd" type="STRING" size="256"/>
- <Column id="srchspclcmpynm" type="STRING" size="256"/>
- <Column id="srchspclbizoffccd" type="STRING" size="256"/>
- <Column id="srchspcldeptcd" type="STRING" size="256"/>
- <Column id="srchrrgstno1" type="STRING" size="256"/>
- <Column id="srchrrgstno2" type="STRING" size="256"/>
- <Column id="srchinsuid" type="STRING" size="256"/>
- <Column id="srchinstcd" type="STRING" size="256"/>
- <Column id="srchplceflag" type="STRING" size="256"/>
- <Column id="srchrrgstnogrd1" type="STRING" size="256"/>
- <Column id="srchrrgstnogrd2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchhealexamflag"/>
- <Col id="srchhealexamdetlflag"/>
- <Col id="srchhealexamplacecd"/>
- <Col id="srchhealexamplacecd2"/>
- <Col id="srchspclcmpycd"/>
- <Col id="srchspclcmpynm"/>
- <Col id="srchspclbizoffccd"/>
- <Col id="srchspcldeptcd"/>
- <Col id="srchrrgstno1"/>
- <Col id="srchrrgstno2"/>
- <Col id="srchinsuid"/>
- <Col id="srchinstcd"/>
- <Col id="srchplceflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_baseinfo_healexamplacelst_S600" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_uploadlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_uploadlst_item_oncolumnchanged">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="hopedd" type="STRING" size="256"/>
- <Column id="email" type="STRING" size="256"/>
- <Column id="telno" type="STRING" size="256"/>
- <Column id="mpphon" type="STRING" size="256"/>
- <Column id="zipcd11" type="STRING" size="256"/>
- <Column id="zipcd12" type="STRING" size="256"/>
- <Column id="detladdr1" type="STRING" size="256"/>
- <Column id="pkgcd" type="STRING" size="256"/>
- <Column id="testcd" type="STRING" size="256"/>
- <Column id="healexamplacecd" type="STRING" size="256"/>
- <Column id="pkgnm" type="STRING" size="256"/>
- <Column id="testnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="brthdd" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="forgneryn" type="STRING" size="256"/>
- <Column id="emailid" type="STRING" size="256"/>
- <Column id="emailtype" type="STRING" size="256"/>
- <Column id="statflag" type="STRING" size="256"/>
- <Column id="healexamflag" type="STRING" size="256"/>
- <Column id="healexamdetlflag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_baseinfo_plceflag_A0110" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_uploadspcllst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_uploadspcllst_item_oncolumnchanged"/>
- <Dataset id="ds_main_uploadinsulst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="insuid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_download" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="srchcmpycd" type="STRING" size="256"/>
- <Column id="srchcmpynm" type="STRING" size="256"/>
- <Column id="srchdeptnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchfromdd"/>
- <Col id="srchtodd"/>
- <Col id="srchcmpycd"/>
- <Col id="srchcmpynm"/>
- <Col id="srchdeptnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_downloadlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_downloadlst_item_oncolumnchanged">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256" sumtext="사업체코드"/>
- <Column id="cmpycd" type="STRING" size="256" sumtext="사업체코드"/>
- <Column id="hopedd" type="STRING" size="256" sumtext="예약일자"/>
- <Column id="chartno" type="STRING" size="256" sumtext="차크번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="clntempid" type="STRING" size="256" sumtext="사원번호"/>
- <Column id="insuid" type="STRING" size="256" sumtext="증번호"/>
- <Column id="clntdeptnm" type="STRING" size="256" sumtext="부서명"/>
- <Column id="entcodd" type="STRING" size="256" sumtext="입사일자"/>
- <Column id="junibdd" type="STRING" size="256" sumtext="전입일자"/>
- <Column id="jobkindnm" type="STRING" size="256" sumtext="직업코드"/>
- <Column id="workproccd" type="STRING" size="256" sumtext="작업공정코드"/>
- <Column id="workprocnm" type="STRING" size="256" sumtext="작업공정명"/>
- <Column id="gnrlpkg" type="STRING" size="256" sumtext="일반구분"/>
- <Column id="gnrluncocd" type="STRING" size="256" sumtext="일반청구구분"/>
- <Column id="spclhealexamflag" type="STRING" size="256" sumtext="특검구분"/>
- <Column id="spclpkg1" type="STRING" size="256" sumtext="특검패키지1"/>
- <Column id="spclpkg2" type="STRING" size="256" sumtext="특검패키지2"/>
- <Column id="spclpkg3" type="STRING" size="256" sumtext="특검패키지3"/>
- <Column id="spclpkg4" type="STRING" size="256" sumtext="특검패키지4"/>
- <Column id="spclpkg5" type="STRING" size="256" sumtext="특검패키지5"/>
- <Column id="spclpkg6" type="STRING" size="256" sumtext="특검패키지6"/>
- <Column id="spclpkg7" type="STRING" size="256" sumtext="특검패키지7"/>
- <Column id="spclpkg8" type="STRING" size="256" sumtext="특검패키지8"/>
- <Column id="spclpkg9" type="STRING" size="256" sumtext="특검패키지9"/>
- <Column id="spclpkg10" type="STRING" size="256" sumtext="특검패키지10"/>
- <Column id="spclpkg11" type="STRING" size="256" sumtext="특검패키지11"/>
- <Column id="spclpkg12" type="STRING" size="256" sumtext="특검패키지12"/>
- <Column id="spclpkg13" type="STRING" size="256" sumtext="특검패키지13"/>
- <Column id="spclpkg14" type="STRING" size="256" sumtext="특검패키지14"/>
- <Column id="spclpkg15" type="STRING" size="256" sumtext="특검패키지15"/>
- <Column id="spclpkg16" type="STRING" size="256" sumtext="특검패키지16"/>
- <Column id="spclpkg17" type="STRING" size="256" sumtext="특검패키지17"/>
- <Column id="spclpkg18" type="STRING" size="256" sumtext="특검패키지18"/>
- <Column id="spclpkg19" type="STRING" size="256" sumtext="특검패키지19"/>
- <Column id="spclpkg20" type="STRING" size="256" sumtext="특검패키지20"/>
- <Column id="addtest" type="STRING" size="256" sumtext="추가검사"/>
- <Column id="adduncocd" type="STRING" size="256" sumtext="청구구분"/>
- <Column id="simppkg" type="STRING" size="256" sumtext="기본패키지코드"/>
- <Column id="simpuncocd" type="STRING" size="256" sumtext="기본청구구분"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
- <Column id="spclpkg" type="STRING" size="256" sumtext="특검패키지목록"/>
- <Column id="spclpkgcmt" type="STRING" size="256" sumtext="특검패키지비고"/>
- <Column id="cmpynm" type="STRING" size="256" sumtext="사업체명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_baseinfo_pamcdlst_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_init_pkginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchhealexamflag" type="STRING" size="256" sumtext="건진구분"/>
- <Column id="srchhealexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
- <Column id="srchpkgcondflag" type="STRING" size="256" sumtext="조회구분"/>
- <Column id="srchpkgcond" type="STRING" size="256" sumtext="조회조건"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_baseinfo_jobkindlst_G108" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_dgflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">1차</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">2차</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_baseinfo_spclflaglst_G111" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_baseinfo_autopkglst_G110" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_pkglst_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="okflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_pkglst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_testlst_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_testlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_tmp_testcount_testcount" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_tmp_uploadinsulst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="insuid" type="STRING" size="256" sumtext="증번호"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_srch_insurrgstno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_duprrgstnolst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_duprrgstnolst_insu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidde_pkglst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_tmp_rrgstinfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rrgstcnt" type="STRING" size="256" sumtext="주민번호1"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_pkginfo_pkglst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_popupmenu_grid_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">선택</Col>
- <Col id="func">fSetCheck</Col>
- </Row>
- <Row>
- <Col id="label">선택취소</Col>
- <Col id="func">fSetCnclCheck</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_printinfo_spcl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_baseinfo_healexamflag_A0068" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_baseinfo_healexamdetlflag_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_baseinfo_acptcd_G112" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="switch1.case_insu.input1" propid="value" datasetid="ds_send" columnid="srchrrgstno1"/>
- <BindItem id="item1" compid="switch1.case_insu.input2" propid="value" datasetid="ds_send" columnid="srchrrgstno2"/>
- <BindItem id="item2" compid="switch1.case_insu.input3" propid="value" datasetid="ds_send" columnid="srchinsuid"/>
- <BindItem id="item3" compid="switch1.case_down.ipt_srchfromdd" propid="value" datasetid="ds_send_download" columnid="srchfromdd"/>
- <BindItem id="item4" compid="switch1.case_down.ipt_srchtodd" propid="value" datasetid="ds_send_download" columnid="srchtodd"/>
- <BindItem id="item5" compid="switch1.case_down.ipt_cmpycd" propid="value" datasetid="ds_send_download" columnid="srchcmpycd"/>
- <BindItem id="item6" compid="switch1.case_down.opt_cmpynm" propid="value" datasetid="ds_send_download" columnid="srchcmpynm"/>
- <BindItem id="item7" compid="switch1.case_down.input4" propid="value" datasetid="ds_send_download" columnid="srchdeptnm"/>
- <BindItem id="item8" compid="switch1.case_spcl.rdo_spclhealexamplace" propid="value" datasetid="ds_send" columnid="srchhealexamplacecd2"/>
- <BindItem id="item9" compid="switch1.case_spcl.combo1" propid="value" datasetid="ds_send" columnid=""/>
- <BindItem id="item10" compid="switch1.case_gnrl.rdo_healexamplacecd" propid="value" datasetid="ds_send"/>
- </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";
- include "ast_healthexambasexp::healcombolist.xjs";
- include "ast_healthexamrsrvacptxp::AHA.xjs";
- var arErrorCode = new HashArray();
- var m_vHealexamflag = "";
- var m_vHealexamdetlflag = "";
- function SMAHA04090_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAHA04090_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(switch1.case_down.grd_spcldownlst);
- grdf_initGrid(switch1.case_gnrl.grd_cupload);
- grdf_initGrid(switch1.case_insu.grd_iupload);
- grdf_setRowTypeIcon(switch1.case_insu.grd_iupload, 0);
- grdf_initGrid(switch1.case_spcl.grd_supload);
-
- var sFlag = frmf_getMenuParam();
- if(!utlf_isNull(sFlag))
- {
- m_vHealexamflag = String(sFlag).substr(0,1);
- m_vHealexamdetlflag = String(sFlag).substr(0,3);
- }
- fGetBaseInfo();
- fInit();
- }
- function fGetBaseInfo()
- {
- var arrParam = [{dsNm: "ds_init_baseinfo_healexamflag_A0068", cdGrpId: "A0068"}
- ,{dsNm: "ds_init_baseinfo_healexamdetlflag_A0070", cdGrpId: "A0070"}
- ,{dsNm: "ds_init_baseinfo_plceflag_A0110", cdGrpId: "A0110"}]
- appf_getCodeList(arrParam);
-
- var arrParam = [{dsNm: "ds_init_baseinfo_healexamplacelst_S600", cdGrpId: "S600"}
- , {dsNm: "ds_init_baseinfo_jobkindlst_G108", cdGrpId: "G108"}
- , {dsNm: "ds_init_baseinfo_spclflaglst_G111", cdGrpId: "G111"}];
- healGetCodeList(arrParam);
- for(var i = 0; i < ds_init_baseinfo_healexamplacelst_S600.rowcount; i++)
- {
- if(utlf_isNull(ds_init_baseinfo_healexamplacelst_S600.getColumn(0, "cdid")))
- {
- ds_init_baseinfo_healexamplacelst_S600.deleteRow(i);
- }
- }
-
- var arrParam = [{dsNm: "ds_init_baseinfo_autopkglst_G110", cdGrpId: "G110"}
- , {dsNm: "ds_init_baseinfo_acptcd_G112", cdGrpId: "G112"}];
- healGetCodeListSubmit(arrParam);
- ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("dutplceinstcd") );
-
- var oParam = {};
- oParam.id = "TRAHA00104";
- oParam.service = "healexambaseapp.ComCode";
- oParam.method = "reqGetDiscCdList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_=disccdlst ds_init_baseinfo_pamcdlst_uncocdlst=uncocdlst ds_=cncruncocdlst ds_=calclst";
- oParam.async = false;
- //oParam.callback = "cf_TRAHA00104";
- tranf_submit(oParam);
-
- dsf_makeValue(ds_init_pkginfo, "srchhealexamflag", "string", "G");
- dsf_makeValue(ds_init_pkginfo, "srchhealexamdetlflag", "string", "G03");
-
- var oParam = {};
- oParam.id = "TRAHA04042";
- oParam.service = "healthexamrsrvacptapp.TotalRsrvAcpt";
- oParam.method = "reqGetTotalPkgList";
- oParam.inds = "req=ds_init_pkginfo";
- oParam.outds = "ds_main_pkginfo_pkglst_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHA04042";
- tranf_submit(oParam);
-
- switch1.case_gnrl.rdo_healexamplacecd.innerdataset = "ds_init_baseinfo_healexamplacelst_S600";
- switch1.case_gnrl.rdo_healexamplacecd.datacolumn = "cdnm";
- switch1.case_gnrl.rdo_healexamplacecd.codecolumn = "cdid";
-
- switch1.case_spcl.rdo_spclhealexamplace.innerdataset = "ds_init_baseinfo_healexamplacelst_S600";
- switch1.case_spcl.rdo_spclhealexamplace.datacolumn = "cdnm";
- switch1.case_spcl.rdo_spclhealexamplace.codecolumn = "cdid";
- }
- function fInit()
- {
- ds_send_download.setColumn(0, "srchfromdd" , utlf_getCurrentDate());
- ds_send_download.setColumn(0, "srchtodd" , utlf_getCurrentDate());
-
- switch1.tabindex = 0;
-
- ds_send.setColumn(0, "srchhealexamflag" , m_vHealexamflag);
- ds_send.setColumn(0, "srchhealexamdetlflag" , m_vHealexamdetlflag);
-
- switch1.case_gnrl.grd_cupload.setCellProperty("head", 1, "text", 0);
- switch1.case_spcl.grd_supload.setCellProperty("head", 1, "text", 0);
- switch1.case_down.grd_spcldownlst.setCellProperty("head", 1, "text", 0);
-
- switch1.case_gnrl.rdo_healexamplacecd.index = 0;
- switch1.case_spcl.rdo_spclhealexamplace.index = 0;
- }
- function switch1_case_gnrl_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var i = 0; i < ds_main_uploadlst_item.rowcount; i++)
- {
- ds_main_uploadlst_item.setColumn(i, "healexamplacecd", ds_send.getColumn(0, "srchhealexamplacecd"));
- }
- }
- function ds_main_uploadlst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "chk")
- {
- obj.setColumn(e.row, "chk", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function switch1_case_gnrl_grd_cupload_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- var col = e.cell;
- var row = e.row;
- if(col == obj.getBindCellIndex("Body","pkgcd"))
- {
- if(utlf_isNull(ds_send.getColumn(0, "srchhealexamdetlflag")))
- {
- sysf_messageBox("건진구분 정보를", "C001");
- return;
- }
- ds_hidden_pkglst_list.clearData();
- var rgstno = ds_main_uploadlst_item.getColumn(row, "rrgstno1") + ds_main_uploadlst_item.getColumn(row, "rrgstno2");
- fGetPkgCd("SMAHA00300", "P", "Y","nm" , "",ds_send.getColumn(0, "srchhealexamdetlflag") , fGetRrgstNo(rgstno,"S"), "ds_hidden_pkglst","Y","" ,fGetRrgstNo(rgstno,"A") );
-
- if(ds_temp.getColumn(0, "okflag") == "ok")
- {
- fSetPkg(grd_cupload, "ds_hidden_pkglst_list");
- }
- }
- else if( col == grd_cupload.colRef("testcd"))
- {
- if(utlf_isNull(ds_send.getColumn(0, "srchhealexamdetlflag")))
- {
- sysf_messageBox("건진구분 정보를", "C001");
- return;
- }
- ds_hidden_testlst_list.clearData();
- var rgstno = ds_main_uploadlst_item.getColumn(row, "rrgstno1") + ds_main_uploadlst_item.getColumn(row, "rrgstno2");
- fGetPkgCd("SMAHA00300", "A", "Y","nm" , "",ds_send.getColumn(0, "srchhealexamdetlflag") , fGetRrgstNo(rgstno,"S"), "ds_hidden_testlst","Y","" ,fGetRrgstNo(rgstno,"A") );
- if(ds_temp.getColumn(0, "okflag") == "ok")
- {
- fSetAddTest(grd_cupload , "ds_hidden_testlst_list");
- }
- }
- }
- function fGetRrgstNo(vRstno,vMode)
- {
- var rstno = String(vRstno).replace("-","");
- var sex = rstno.substr(6,1);
- var YY = "";
- if(vMode == "S")
- {
- if(sex == "2" || sex == "4" || sex == "6" || sex == "8")
- {
- return "F";
- }
- else if(sex == "1" || sex == "3" || sex == "5" || sex == "7")
- {
- return "M";
- }
- }
- else if(vMode == "A")
- {
- if(sex == "1" || sex == "2" || sex == "5" || sex == "6")
- {
- YY = "19"
- }
- else if(sex == "3" || sex == "4" || sex == "7" || sex == "8")
- {
- YY = "20"
- }
- var toYear = getNewDate().getFullYear();
- var bornday = YY + rstno.substr(0,2);
- return parseInt(toYear) - parseInt(bornday);
- }
- else if(vMode == "B")
- {
- if(sex == "1" || sex == "2" || sex == "5" || sex == "6")
- {
- YY = "19"
- }
- else if(sex == "3" || sex == "4" || sex == "7" || sex == "8")
- {
- YY = "20"
- }
- return YY + rstno.substr(0,6);
- }
- else if(vMode == "F")
- {
- var forgnerYN = "N";
- if(sex == "5" || sex == "6" || sex == "7" || sex == "8")
- {
- forgnerYN = "Y";
- }
- return forgnerYN;
- }
- }
- function fCheckDup(testList , desTestCd)
- {
- var sTestCd = String(testList).split(",");
- var chk = false;
-
- for(var j=0; j < sTestCd.length; j++)
- {
- var srcTestCd = sTestCd[j];
- if(srcTestCd == desTestCd)
- {
- chk = true;
- }
- }
- return chk;
- }
- function fSetPkg(vGrd , vNodeSet)
- {
- if(utlf_isNull(vGrd)) return;
- if(utlf_isNull(vNodeSet)) return;
-
- var nodeList = eval(vNodeSet);
- var pkgcdList = this.objects[vGrd.binddataset].getColumn(this.objects[vGrd.binddataset].rowposition, "pkgcd");
- var pkgnmList = this.objects[vGrd.binddataset].getColumn(this.objects[vGrd.binddataset].rowposition, "pkgnm");
-
- for(var i = 0; i < nodeList.rowcount; i++)
- {
- var pkgcd = nodeList.getColumn(i, "pkgcd");
- var pkgnm = nodeList.getColumn(i, "pkgnm");
-
- if(!utlf_isNull(pkgcdList))
- {
- if ( fCheckDup(pkgcdList , pkgcd) )
- {
- if( sysf_messageBox("중복되는 패키지코드[" + pkgcd + " - " + pkgnm +"] 를 추가 ", "S001") != 6 )
- {
- continue ;
- }
- }
- }
-
- if(!utlf_isNull(pkgcdList))
- {
- pkgcdList += "," + pkgcd ;
- pkgnmList += "," + pkgnm ;
- }
- else
- {
- pkgcdList += pkgcd != "" && nodeList.rowcount > i ? "," + pkgcd : pkgcd;
- pkgnmList += pkgnm != "" && nodeList.rowcount > i ?"," + pkgnm : pkgnm;
- }
- }
- this.objects[vGrd.binddataset].setColumn(this.objects[vGrd.binddataset].rowposition, "pkgcd", pkgcdList);
- this.objects[vGrd.binddataset].setColumn(this.objects[vGrd.binddataset].rowposition, "pkgnm", pkgnmList);
- }
- function fSetAddTest(vGrd , vNodeSet)
- {
- if(utlf_isNull(vGrd)) return;
- if(utlf_isNull(vNodeSet)) return;
-
- var nodeList = eval(vNodeSet);
- var testcdList = this.objects[vGrd.binddataset].getColumn(this.objects[vGrd.binddataset].rowposition, "testcd");
- var testnmList = this.objects[vGrd.binddataset].getColumn(this.objects[vGrd.binddataset].rowposition, "testnm");
-
- for(var i = 0; i < nodeList.rowcount; i++)
- {
- var testcd = nodeList.getColumn(i, "testcd");
- var testnm = nodeList.getColumn(i, "testnm");
- var groupflag = nodeList.getColumn(i, "grupflag");
-
- if(!utlf_isNull(testcdList))
- {
- if ( fCheckDup(testcdList , testcd) )
- {
- if( sysf_messageBox("중복되는 검사코드[" + testcd + " - " + testnm +"] 를 추가 ", "S001") != 6 )
- {
- continue ;
- }
- }
- }
-
- var pkgCd = this.objects[vGrd.binddataset].getColumn(this.objects[vGrd.binddataset].rowposition, "pkgcd");
- if(!utlf_isNull(pkgCd))
- {
- ds_hidden_send.clearData();
- dsf_makeValue(ds_hidden_send, "pkgcd", "string" , testcd);
- dsf_makeValue(ds_hidden_send, "grupflag", "string" , grupflag);
- dsf_makeValue(ds_hidden_send, "srchpkgcd", "string" , pkgCd);
- dsf_makeValue(ds_hidden_send, "healexamflag", "string" , ds_send.getColumn(0, "srchhealexamflag"));
- dsf_makeValue(ds_hidden_send, "cmpycd", "string" , "");
- dsf_makeValue(ds_hidden_send, "conseq", "string" , "");
- dsf_makeValue(ds_hidden_send, "conhistseq", "string" , "");
-
- var oParam = {};
- oParam.id = "TRAHA00013";
- oParam.service = "healexamrsrvacptapp.RsrvAcpt";
- oParam.method = "reqTestDuplex";
- oParam.inds = "req=ds_hidden_send";
- oParam.outds = "ds_tmp_testcount_testcount=testcount";
- oParam.async = false;
- //oParam.callback = "cf_TRAHA00013";
- tranf_submit(oParam);
- var dupTestnm = ds_tmp_testcount_testcount.getColumn(0, "testnm")
- if(!utlf_isNull(dupTestnm))
- {
- if( sysf_messageBox("패키지의 [" + testnm + "]검사와 중복됩니다. 추가 ", "S001") != 6 )
- {
- continue ;
- }
- }
- }
-
- if(!utlf_isNull(testcdList))
- {
- testcdList += "," + testcd ;
- testnmList += "," + testnm ;
- }
- else
- {
- testcdList += testcd != "" && nodeList.rowcount > i ? "," + testcd : testcd;
- testnmList += testnm != "" &&nodeList.rowcount > i ? "," + testnm : testnm;
- }
- }
- this.objects[vGrd.binddataset].setColumn(this.objects[vGrd.binddataset].rowposition, "testcd", testcdList);
- this.objects[vGrd.binddataset].setColumn(this.objects[vGrd.binddataset].rowposition, "testnm", testnmList);
- }
- function ds_main_uploadspcllst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "chk")
- {
- obj.setColumn(e.row, "chk", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function switch1_case_spcl_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var i = 0; i < ds_main_uploadspcllst_item.rowcount; i++)
- {
- ds_main_uploadspcllst_item.setColumn(i, "healexamplacecd", ds_send.getColumn(0, "srchhealexamplacecd2"));
- ds_main_uploadspcllst_item.setColumn(i, "plceflag", ds_send.getColumn(0, "srchplceflag"));
- }
- }
- function switch1_case_gnrl_btn_upload_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileUpload();
- }
- function fFileUpload()
- {
- if(switch1.tabindex == 0)
- {
- grdf_ImportExcel("ds_main_uploadlst_item", 2, switch1.case_gnrl.grd_cupload, 0);
- }
- else if(switch1.tabindex == 1)
- {
- grdf_ImportExcel("ds_main_uploadspcllst_item", 2, switch1.case_spcl.grd_supload, 0);
- var cnt = ds_main_uploadspcllst_item.rowcount;
-
- ds_send.setColumn(0, "srchrrgstno1" , "");
- ds_send.setColumn(0, "srchrrgstno2" , "");
- ds_send.setColumn(0, "srchinsuid" , "");
-
- var oParam = {};
- oParam.id = "TRAHA04092";
- oParam.service = "healthexamrsrvacptapp.TotalRsrvAcpt";
- oParam.method = "reqGetGroupInsuIdList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_tmp_uploadinsulst_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHA04092";
- tranf_submit(oParam);
- for(var i = 0; i < cnt; i++)
- {
- ds_main_uploadspcllst_item.setColumn(i, "rrgstno", String(ds_main_uploadspcllst_item.getColumn(i, "rrgstno")).replace(/-/g,""));
- var rrgstno1 = String(ds_main_uploadspcllst_item.getColumn(i, "rrgstno")).substr(0,6);
- var rrgstno2 = String(ds_main_uploadspcllst_item.getColumn(i, "rrgstno")).substr(6,7);
- var node = ds_tmp_uploadinsulst_item.findRowExpr("rrgstno1 =='" + rrgstno1+ "' && rrgstno2 =='" + rrgstno2 +"'");
- if(node > 0)
- {
- if(utlf_isNull(ds_main_uploadspcllst_item.getColumn(i, "acpt_insuid")))
- {
- ds_main_uploadspcllst_item.setColumn(i, "acpt_insuid", ds_tmp_uploadinsulst_item.getColumn(node, "insuid"));
- }
- }
- ds_main_uploadspcllst_item.updatecontrol = false;
- ds_main_uploadspcllst_item.setRowType(i, "i");
- ds_main_uploadspcllst_item.updatecontrol = true;
- }
- }
- else if(switch1.tabindex == 2)
- {
- ds_main_uploadinsulst_item.clearData();
- grdf_ImportExcel("ds_main_uploadinsulst_item", 2, switch1.case_insu.grd_iupload, 0);
-
- var cnt = ds_main_uploadinsulst_item.rowcount;
-
- ds_send_srch_insurrgstno.copyData(grdf_getGridUpdateData(switch1.case_insu.grd_iupload), true);
-
- var rrgstCnt = 0;
-
- var oParam = {};
- oParam.id = "TRAHA04091";
- oParam.service = "healthexamrsrvacptapp.GnrlRsrvAcpt";
- oParam.method = "reqGetGroupRsrvAcptDupRrgstnoList";
- oParam.inds = "req=ds_main_uploadinsulst_item insu=ds_send_srch_insurrgstno";
- oParam.outds = "ds_hidden_duprrgstnolst_item=item ds_hidden_duprrgstnolst_insu=insu";
- oParam.async = false;
- oParam.callback = "cf_TRAHA04091";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRAHA04091") > -1)
- {
- rrgstCnt = ds_hidden_duprrgstnolst_insu.rowcount;
- for(var j = 0; j < ds_main_uploadinsulst_item.rowcount; j++)
- {
- var srchrrgstno1 = ds_main_uploadinsulst_item.getColumn(j, "rrgstno1");
- var srchrrgstno2 = ds_main_uploadinsulst_item.getColumn(j, "rrgstno2");
-
- for(var k = 0; k < rrgstCnt ; k++)
- {
- var desrrgstno1 = ds_hidden_duprrgstnolst_insu.getColumn(k, "rrgstno1");
- var desrrgstno2 = ds_hidden_duprrgstnolst_insu.getColumn(k, "rrgstno2");
-
- if(srchrrgstno1 == desrrgstno1 && srchrrgstno2 == desrrgstno2)
- {
- ds_main_uploadinsulst_item.updatecontrol = false;
- dsf_makeValue(ds_main_uploadinsulst_item, "background_rrgstno1", "string", "#f7a08b", j);
- dsf_makeValue(ds_main_uploadinsulst_item, "background_rrgstno2", "string", "#f7a08b", j);
- ds_main_uploadinsulst_item.updatecontrol = true;
- }
- }
- }
- }
-
- if(rrgstCnt > 0)
- {
- sysf_messageBox("["+ rrgstCnt +"]건이 이미 등록된 주민번호 ","I009");
- }
- }
- }
- function switch1_case_gnrl_btn_chkdata_onclick(obj:Button, e:ClickEventInfo)
- {
- var chkCnt = 0;
- var dupRrgstCnt = 0;
-
- switch1.case_gnrl.grd_cupload.setCellProperty("Body", switch1.case_gnrl.grd_cupload.getBindCellIndex("Body", "pname"), "edittype", "none");
- chkCnt = fChkData(switch1.case_gnrl.grd_cupload);
- dupRrgstCnt = fChkDupRrgstno(grd_cupload);
- sysf_messageBox("데이터 확인이 처리되었습니다.\n주민번호 중복[" + dupRrgstCnt + "]건과 \n" + "["+ chkCnt +"]건의 오류항목이 ","E005");
- }
- function fDispGrd(vGrd,vMode,vRow,vCol)
- {
- if(vMode == "E")
- {
- if(!utlf_isNull(vCol))
- {
- dsf_makeValue(this.objects[vGrd.binddataset], "background_"+vCol, "string", "#f7a08b", vRow);
- dsf_makeValue(this.objects[vGrd.binddataset], "edittype_"+vCol, "string", "normal", vRow);
- vGrd.setCellProperty("Body", vGrd.getBindCellIndex("Body", vCol), "background", "expr:background_"+vCol);
- vGrd.setCellProperty("Body", vGrd.getBindCellIndex("Body", vCol), "background2", "expr:background_"+vCol);
- vGrd.setCellProperty("Body", vGrd.getBindCellIndex("Body", vCol), "edittype", "expr:edittype_"+vCol);
- }
- else
- {
- dsf_makeValue(this.objects[vGrd.binddataset], "background_"+vCol, "string", "#f7a08b", vRow);
- dsf_makeValue(this.objects[vGrd.binddataset], "edittype_"+vCol, "string", "none", vRow);
- vGrd.setCellProperty("Body", vGrd.getBindCellIndex("Body", vCol), "background", "expr:background_"+vCol);
- vGrd.setCellProperty("Body", vGrd.getBindCellIndex("Body", vCol), "background2", "expr:background_"+vCol);
- vGrd.setCellProperty("Body", vGrd.getBindCellIndex("Body", vCol), "edittype", "expr:edittype_"+vCol);
- }
- }
- }
- function fChkData(vGrd)
- {
- var nodeSet = this.objects[vGrd.binddataset];
- var chkCnt = 0;
-
- for(var i = 0; i < nodeSet.rowcount; i++ )
- {
- var rrgstno1 = utlf_transNullToEmpty(nodeSet.getColumn(i, "rrgstno1"));
- var rrgstno2 = utlf_transNullToEmpty(nodeSet.getColumn(i, "rrgstno2"));
-
- if(!utlf_isRsrNo(String(rrgstno1 + rrgstno2)))
- {
- var ret1 = fChkValue(rrgstno1,"R1")
- var ret2 = fChkValue(rrgstno2,"R2")
- if(!ret1)
- {
- fDispGrd(vGrd,"E",i, "rrgstno1");
- chkCnt++;
- }
- if(!ret2)
- {
- fDispGrd(vGrd,"E",i, "rrgstno2");
- chkCnt++;
- }
-
- if(ret1 == true && ret2 == true)
- {
- fDispGrd(vGrd,"E",i, "rrgstno1");
- fDispGrd(vGrd,"E",i, "rrgstno2");
- chkCnt++;
- }
- }
- var zip1 = nodeSet.getColumn(i, "zipcd11");
- if(!fChkValue(zip1,"Z1"))
- {
- fDispGrd(vGrd,"E",i,"zipcd11");
- chkCnt++;
- }
-
- var zip2 = nodeSet.getColumn(i, "zipcd12");
- if(!fChkValue(zip2,"Z2"))
- {
- fDispGrd(vGrd,"E",i,"zipcd12");
- chkCnt++;
- }
-
- var telno = nodeSet.getColumn(i, "telno");
- if(!fChkValue(telno,"T","-"))
- {
- fDispGrd(vGrd,"E",i,"telno");
- chkCnt++;
- }
-
- var mpno = nodeSet.getColumn(i, "mpphon");
- if(!fChkValue(mpno,"M","-"))
- {
- fDispGrd(vGrd,"E",i,"mpphon");
- chkCnt++;
- }
-
- var hopedd = String(nodeSet.getColumn(i , "hopedd")).replace(/-/g,"");
- if(!fChkValue(hopedd,"D",""))
- {
- fDispGrd(vGrd,"E",i,"hopedd");
- chkCnt++;
- }
-
- var email = nodeSet.getColumn(i , "email");
- if(!fChkValue(email,"E"))
- {
- fDispGrd(vGrd,"E",i,"email");
- chkCnt++;
- }
- }
- return chkCnt;
- }
- function fChkDupRrgstno(vGrd)
- {
- var vGrid_Node = this.objects[vGrd.binddataset]
- vGrid_Node.applyChange();
- for(var i = 0; i < vGrid_Node.rowcount; i++)
- {
- if(vGrid_Node.getColumn(i, "chk") == "Y" )
- {
- vGrid_Node.updatacontrol = false;
- vGrid_Node.setRowType(i, "i");
- vGrid_Node.updatecontrol = true;
- }
- }
-
- dsf_createDs("ds_send_srch_rrgstno");
- ds_send_srch_rrgstno.copyData(grdf_getGridUpdateData(vGrd));
-
- var oParam = {};
- oParam.id = "TRAHA04091";
- oParam.service = "healthexamrsrvacptapp.GnrlRsrvAcpt";
- oParam.method = "reqGetGroupRsrvAcptDupRrgstnoList";
- oParam.inds = "req=ds_send_srch_rrgstno insu=ds_send_srch_rrgstno";
- oParam.outds = "ds_hidden_duprrgstnolst_item=item ds_hidden_duprrgstnolst_insu=insu";
- oParam.async = false;
- oParam.callback = "cf_TRAHA04091";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRAHA04091") > -1)
- {
- var rrgstCnt = ds_hidden_duprrgstnolst_item.rowcount;
- for(var j = 0; j < vGrid_Node.rowcount; j++)
- {
- var srchrrgstno1 = vGrid_Node.getColumn(j ,"rrgstno1");
- var srchrrgstno2 = vGrid_Node.getColumn(j ,"rrgstno2");
-
- for(var k = 0; k < rrgstCnt ; k++)
- {
- var desrrgstno1 = ds_hidden_duprrgstnolst_item.getColumn(k, "rrgstno1");
- var desrrgstno2 = ds_hidden_duprrgstnolst_item.getColumn(k, "rrgstno2");
-
- if(srchrrgstno1 == desrrgstno1 && srchrrgstno2 == desrrgstno2)
- {
- vGrid_Node.setColumn(j, "chk", "N");
- dsf_makeValue(vGrid_Node, "background_hngnm", "string", "#f7a08b", j);
- vGrd.setCellProperty("Body", vGrd.getBindCellIndex("Body", "hngnm"),"background", "expr:background_hngnm")
- vGrd.setCellProperty("Body", vGrd.getBindCellIndex("Body", "hngnm"),"background2", "expr:background_hngnm")
- }
- }
- }
- }
- return rrgstCnt;
- }
- function cf_TRAHA04091(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function fChkValue(vChkValue,vMode,vDel)
- {
- var ret = false;
- var regExp = "";
- if(typeof(vDel) == "undefined" || utlf_isNull(vDel))
- {
- vDel = "";
- }
-
-
- if(vMode == "R1")
- {
- regExp = "/[0-9]{2}[01]{1}[0-9]{1}[0123]{1}[0-9]{1}$/g";
- }
- else if(vMode == "R2")
- {
- regExp = "/[12345678]{1}[0-9]{6}$/g";
- }
- else if(vMode == "Z1")
- {
- regExp = "/^[0-9]{3}$/g";
- }
- else if(vMode == "Z2")
- {
- regExp = "/^[0-9]{3}$/g";
-
- }
- else if(vMode == "D")
- {
- regExp = "/[0-9]{4}" + vDel + "[01]{1}[0-9]{1}" + vDel + "[0123]{1}[0-9]{1}/g";
-
- }
- else if(vMode == "E")
- {
- regExp = "/[_0-9a-zA-Z]+([-+.0-9a-zA-Z_]+)*@[_0-9a-zA-Z]+([-+.0-9a-zA-Z_]+)*.[a-zA-Z]{2,4}$/g";
-
- }
- else if(vMode == "T")
- {
- regExp = "/(02|0[3-9]{1}[0-9]{1})" + vDel + "[1-9]{1}[0-9]{2,3}" + vDel + "[0-9]{4}$/g";
-
- }
- else if(vMode == "M")
- {
- regExp = "/01[016789]" + vDel + "[1-9]{1}[0-9]{2,3}" + vDel + "[0-9]{4}$/g";
-
- }
- if(utlf_isNull(vChkValue))
- {
- return true;
- }
- else
- {
- return ret = eval(regExp).test(vChkValue);
- }
- }
- function switch1_case_spcl_grd_supload_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- var col = e.cell;
- var row = e.row;
-
- if(col >= obj.getBindCellIndex("Body", "spclpkg1") && obj.getBindCellIndex("Body", "spclpkg20") >= col)
- {
- ds_hidden_pkglst.clearData();
- var rgstno = ds_main_uploadspcllst_item.getColumn(row, "rrgstno1") + ds_main_uploadspcllst_item.getColumn(row, "rrgstno2");
- fGetPkgCd("SMAHA00300", "P", "N","nm" , ds_main_uploadspcllst_item.getColumn(row,col) ,"G03" , fGetRrgstNo(rgstno,"S"), "ds_hidden_pkglst","Y","" ,fGetRrgstNo(rgstno,"A") );
- ds_main_uploadspcllst_item.setColumn(row,col, utlf_isNull(ds_hidden_pkglst.getColumn(0, "pkgcd")) ? ds_main_uploadspcllst_item.getColumn(row,col) : ds_hidden_pkglst.getColumn(0, "pkgcd"));
- }
- else if( col == obj.getBindCellIndex("Body","addtest"))
- {
- ds_hidden_testlst_list.clearData();
-
- var rgstno = ds_main_uploadspcllst_item.getColumn(row, "rrgstno1") + ds_main_uploadspcllst_item.getColumn(row, "rrgstno2");
- fGetPkgCd("SMAHA00300", "A", "Y","nm" , "","G03" , fGetRrgstNo(rgstno,"S"), "ds_hidden_testlst","Y","" ,fGetRrgstNo(rgstno,"A") );
- var nodeList = ds_hidden_testlst_list;
- var testcdList = ds_main_uploadspcllst_item.getColumn(ds_main_uploadspcllst_item.rowposition, "addtest");
-
- for(var i = 0; i < nodeList.rowcount; i++)
- {
- var testcd = ds_hidden_testlst_list.getColumn(i, "testcd");
- var testnm = ds_hidden_testlst_list.getColumn(i, "testnm");
- var groupflag = ds_hidden_testlst_list.getColumn(i, "groupflag");
-
- if(!utlf_isNull(testcdList))
- {
- if( fCheckDup(testcdList , testcd))
- {
- if( sysf_messageBox("중복되는 검사코드[" + testcd + " - " + testnm +"] 를 추가 ", "S001") != 6 )
- {
- continue ;
- }
- }
- }
- if(!utlf_isNull(testcdList))
- {
- testcdList += "," + testcd ;
- }
- else
- {
- testcdList += testcd != "" && nodeList.length>i ? "," + testcd : testcd;
- }
- }
- ds_main_uploadspcllst_item.setColumn(ds_main_uploadspcllst_item.rowposition, "addtest", testcdList);
- }
- else if( col == obj.getBindCellIndex("Body", "lifeconvpkgcd"))
- {
- ds_hidden_testlst_list.clearData();
-
- var rgstno = ds_main_uploadspcllst_item.getColumn(row, "rrgstno1") + ds_main_uploadspcllst_item.getColumn(row, "rrgstno2"); // 주민번호
- fGetPkgCd("SMAHA00300", "A", "Y","nm" , "","G08" , fGetRrgstNo(rgstno,"S"), "ds_hidden_testlst","Y","" ,fGetRrgstNo(rgstno,"A") );
- var nodeList = ds_hidden_testlst_list;
- var testcdList = ds_main_uploadspcllst_item.getColumn(ds_main_uploadspcllst_item.rowposition, "lifeconvpkgcd");
-
- for(var i = 0; i < nodeList.rowcount; i++)
- {
- var testcd = ds_hidden_testlst_list.getColumn(i, "testcd");
- var testnm = ds_hidden_testlst_list.getColumn(i, "testnm");
- var groupflag = ds_hidden_testlst_list.getColumn(i, "groupflag");
-
- if(!utlf_isNull(testcdList))
- {
- if ( fCheckDup(testcdList , testcd) )
- {
- if( sysf_messageBox("중복되는 검사코드[" + testcd + " - " + testnm +"] 를 추가 ", "S001") != 6 )
- {
- continue ;
- }
- }
- }
- if(!utlf_isNull(testcdList))
- {
- testcdList += "," + testcd ;
- }
- else
- {
- testcdList += testcd != "" && nodeList.length>i ? "," + testcd : testcd;
- }
- }
- ds_main_uploadspcllst_item.setColumn(ds_main_uploadspcllst_item.rowposition, "lifeconvpkgcd", testcdList);
- }
- else if( col == obj.getBindCellIndex("Body","workproccd"))
- {
- fGetCommonCode("N","G105",ds_main_uploadspcllst_item.getColumn(row , "workproccd"),"", ds_main_uploadspcllst_item.getColumn(row, "workproccd"), ds_main_uploadspcllst_item.getColumn(row, "workprocnm"));
- }
- else if(col == obj.getBindCellIndex("Body", "simppkgcd"))
- {
- ds_hidden_pkglst.clearData();
- var rgstno = ds_main_uploadspcllst_item.getColumn(row, "rrgstno1") + ds_main_uploadspcllst_item.getColumn(row, "rrgstno2");
- fGetPkgCd("SMAHA00300", "P", "N","nm" , ds_main_uploadspcllst_item.getColumn(row,col) ,"G11" , fGetRrgstNo(rgstno,"S"), "ds_hidden_pkglst","Y","" ,fGetRrgstNo(rgstno,"A") );
- ds_main_uploadspcllst_item.setColumn(row,col, utlf_isNull(ds_hidden_pkglst.getColumn(0, "pkgcd")) ? ds_main_uploadspcllst_item.getColumn(row,col) : ds_hidde_pkglst.getColumn(0, "pkgcd"));
- }
- }
- function switch1_case_spcl_button15_onclick(obj:Button, e:ClickEventInfo)
- {
- var chkCnt = 0;
- for(var i = 0; i < ds_main_uploadspcllst_item.rowcount; i++)
- {
- if(!utlf_isRsrNo(ds_main_uploadspcllst_item.getColumn(i, "rrgstno")))
- {
- dsf_makeValue(ds_main_uploadspcllst_item, "background_rrgstno", "string", "#f7a08b", i);
- chkCnt++;
- }
- switch1.case_spcl.grd_supload.setCellProperty("Body", switch1.case_spcl.grd_supload.getBindCellIndex("Body", "rrgstno"), "background", "expr:background_rrgstno");
- switch1.case_spcl.grd_supload.setCellProperty("Body", switch1.case_spcl.grd_supload.getBindCellIndex("Body", "rrgstno"), "background2", "expr:background_rrgstno");
-
- var rrgstno1 = String(ds_main_uploadspcllst_item.getColumn(i, "rrgstno")).substr(0,6);
- var rrgstno2 = String(ds_main_uploadspcllst_item.getColumn(i, "rrgstno")).substr(6,7);
- var hngnm = ds_main_uploadspcllst_item.getColumn(i, "hngnm");
-
- ds_send.setColumn(0, "srchrrgstnogrd1",rrgstno1);
- ds_send.setColumn(0, "srchrrgstnogrd2",rrgstno2);
-
- var oParam = {};
- oParam.id = "TRAHA04094";
- oParam.service = "healthexamrsrvacptapp.TotalRsrvAcpt";
- oParam.method = "reqGetPatRrgstnoDuplist";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_tmp_rrgstinfo_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAHA04094";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRAHA04094") > -1)
- {
- var rrgstcnt = parseInt(ds_tmp_rrgstinfo_item.getColumn(0, "rrgstcnt"));
- if(rrgstcnt > 1)
- {
- sysf_messageBox("[" + hngnm + "]님의 주민번호가 [" + rrgstcnt + "]건 있습니다.","I007");
- return;
- }
- }
- }
- sysf_messageBox("[" + chkCnt + "]건의 주민번호가","E016");
- }
- function cf_TRAHA04094(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function switch1_case_spcl_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var pkgNodeList = ds_main_pkginfo_pkglst_item;
- for(var i = 0; i < ds_main_uploadspcllst_item.rowcount; i++)
- {
- for(var j = switch1.case_spcl.grd_supload.getBindCellIndex("Body", "spclpkg1"); j <= switch1.case_spcl.grd_supload.getBindCellIndex("Body", "spclpkg20"); j++)
- {
- var srchPkgnm = ds_main_uploadspcllst_item.getColumn(i , j);
- if(utlf_isNull(srchPkgnm)) continue;
-
- for(var x = 0; x < pkgNodeList.rowcount; x++)
- {
- var desPkgnm = pkgNodeList.getColumn(x, "pkgnm");
- if(srchPkgnm == desPkgnm)
- {
- ds_main_uploadspcllst_item.setColumn(i, j, pkgNodeList.getColumn(x, "pkgcd"));
- break;
- }
- }
- }
- }
- }
- function switch1_case_spcl_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileUpload();
- }
- function switch1_case_insu_btn_acptlst_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_uploadinsulst_item.clearData();
-
- var oParam = {};
- oParam.id = "TRAHA04092";
- oParam.service = "healthexamrsrvacptapp.TotalRsrvAcpt";
- oParam.method = "reqGetGroupInsuIdList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_tmp_uploadinsulst_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAHA04092";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRAHA04092") > -1)
- {
- ds_main_uploadinsulst_item.copyData(ds_tmp_uploadinsulst_item);
- }
- }
- function cf_TRAHA04092(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function switch1_case_insu_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_uploadinsulst_item.addRow();
- }
- function switch1_case_insu_button9_onclick(obj:Button, e:ClickEventInfo)
- {
- var rows = grdf_getSelectedRows(switch1.case_insu.grd_iupload);
- for(var i = rows.length; i >= 0; i--)
- {
- var m_row = rows[i];
-
- if(ds_main_uploadinsulst_item.getRowType(m_row) == 2)
- {
- ds_main_uploadinsulst_item.deleteRow(m_row);
- }
- else
- {
- ds_main_uploadinsulst_item.updatecontrol = false;
- ds_main_uploadinsulst_item.setRowType(m_row, "d");
- ds_main_uploadinsulst_item.updatecontrol = true;
- }
- }
- }
- function switch1_case_insu_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileUpload();
- }
- function switch1_case_insu_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- var chkCnt = 0;
- for(var i = 0; i < ds_main_uploadinsulst_item.rowcount; i++)
- {
- var rrgstno1 = ds_main_uploadinsulst_item.getColumn(i, "rrgstno1");
- var rrgstno2 = ds_main_uploadinsulst_item.getColumn(i, "rrgstno2");
-
- if(!utlf_isRsrNo(String(rrgstno1+rrgstno2)))
- {
- var ret1 = fChkValue(rrgstno1,"R1")
- var ret2 = fChkValue(rrgstno2,"R2")
- if(!ret1)
- {
- fDispGrd(switch1.case_insu.grd_iupload,"E",i,"rrgstno1");
- chkCnt++;
- }
- if(!ret2)
- {
- fDispGrd(switch1.case_insu.grd_iupload,"E",i,"rrgstno2");
- chkCnt++;
- }
- if(ret1 == true && ret2 == true)
- {
- fDispGrd(switch1.case_insu.grd_iupload,"E",i,"rrgstno1");
- fDispGrd(switch1.case_insu.grd_iupload,"E",i,"rrgstno2");
- chkCnt++;
- }
- }
- }
- sysf_messageBox("데이터 확인이 처리되었습니다.\n" + "["+ chkCnt +"]건의 주민번호가 ","E016");
- }
- function switch1_case_down_ipt_srchtodd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- switch1.case_insu.btn_acptlst.click();
- }
- function switch1_case_down_ipt_cmpycd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- switch1.case_down.btn_srchcmpy.click();
- }
- }
- function switch1_case_down_btn_srchcmpy_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetComnCd("SMAHA01500", "09" , "nm", switch1.case_down.ipt_cmpycd.value, switch1.case_down.ipt_cmpycd, switch1.case_down.opt_cmpynm);
- }
- function switch1_case_down_input4_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- switch1.case_down.button12.click();
- }
- }
- function switch1_case_down_button12_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetSpclDownList();
- }
- function fGetSpclDownList()
- {
- var healexamflag = ds_send.getColumn(0, "srchhealexamflag");
- var healexamdetlflag = ds_send.getColumn(0, "srchhealexamdetlflag");
-
- dsf_makeValue(ds_send_download,"srchhealexamflag","string", healexamflag);
- dsf_makeValue(ds_send_download,"srchhealexamdetlflag","string", healexamdetlflag);
- var oParam = {};
- oParam.id = "TRAHA04093";
- oParam.service = "healthexamrsrvacptapp.TotalRsrvAcpt";
- oParam.method = "reqGetSpclExcelDownList";
- oParam.inds = "req=ds_send_download";
- oParam.outds = "ds_main_downloadlst_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHA04093";
- tranf_submit(oParam);
-
- ds_main_downloadlst_item.updatecontrol = false;
- dsf_setFixVal(ds_main_downloadlst_item, "chk:N");
- ds_main_downloadlst_item.updatecontrol = true;
- }
- function ds_main_downloadlst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "chk")
- {
- obj.setColumn(e.row, "chk", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function switch1_case_down_button13_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(switch1.case_down.grd_spcldownlst, "excel", "sheet1", "true", "", "");
- }
- function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id +"();");
- }
- function switch1_case_down_grd_spcldownlst_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- pmn_menu1.trackPopup(e.screenX,e.screenY);
- }
- function fSetCheck()
- {
- var rows = grdf_getSelectedRows(switch1.case_down.grd_spcldownlst);
- for(var i = 0; i < rows.length; i++)
- {
- var m_row = rows[i];
- ds_main_downloadlst_item.setColumn(m_row, "chk", "Y");
- }
- }
- function fSetCnclCheck()
- {
- var rows = grdf_getSelectedRows(switch1.case_down.grd_spcldownlst);
- for(var i = 0; i < rows.length; i++)
- {
- var m_row = rows[i];
- ds_main_downloadlst_item.setColumn(m_row, "chk", "N");
- }
- }
- function button14_onclick(obj:Button, e:ClickEventInfo)
- {
- if(switch1.tabindex == 3)
- {
- fPrintSpclSeq();
- }
- }
- function fPrintSpclSeq()
- {
- if(ds_main_downloadlst_item.getCaseCount("chk == 'Y'") == 0)
- {
- sysf_messageBox("출력할 건진자가" , "I004");
- return;
- }
- ds_main_printinfo_spcl.clearData();
- for(var i = 0; i < ds_main_downloadlst_item.rowcount; i++)
- {
- if(ds_main_downloadlst_item.getColumn(i, "chk") == "Y")
- {
- var addRow = ds_main_printinfo_spcl.addRow();
- dsf_makeValue(ds_main_printinfo_spcl, "chartno","string", ds_main_downloadlst_item.getColumn(i , "chartno"), addRow);
- dsf_makeValue(ds_main_printinfo_spcl, "cmpynm","string", ds_main_downloadlst_item.getColumn(i , "cmpynm"), addRow);
- dsf_makeValue(ds_main_printinfo_spcl, "deptnm","string", ds_main_downloadlst_item.getColumn(i , "clntdeptnm"), addRow);
- dsf_makeValue(ds_main_printinfo_spcl, "clntempid","string", ds_main_downloadlst_item.getColumn(i , "clntempid"), addRow);
- dsf_makeValue(ds_main_printinfo_spcl, "pid","string", ds_main_downloadlst_item.getColumn(i , "pid"), addRow);
- dsf_makeValue(ds_main_printinfo_spcl, "hngnm","string", ds_main_downloadlst_item.getColumn(i , "hngnm"), addRow);
- dsf_makeValue(ds_main_printinfo_spcl, "rrgstno","string", ds_main_downloadlst_item.getColumn(i , "rrgstno"), addRow);
- dsf_makeValue(ds_main_printinfo_spcl, "spclpkg","string", ds_main_downloadlst_item.getColumn(i , "spclpkg"), addRow);
- dsf_makeValue(ds_main_printinfo_spcl, "spclpkgcmt","string", ds_main_downloadlst_item.getColumn(i , "spclpkgcmt"), addRow);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/main/printinfo/spcl", ds_main_printinfo_spcl);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "directprint=1;print=1;printdialog=0;";
- rptf_exeReportPreview30(["RPAHA04090"],[objParam], option);
- }
- }
- }
- function button33_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_uploadinsulst_item.clearData();
- ds_main_uploadlst_item.clearData();
- ds_main_uploadspcllst_item.clearData();
- }
- function button8_onclick(obj:Button, e:ClickEventInfo)
- {
- if(sysf_messageBox("예약처리를","Q004") == "6")
- {
- if(switch1.tabindex == 0)
- {
- fSaveGroupRsrvAcpt();
- }
- else if(switch1.tabindex == 1)
- {
- fSaveGroupSpclRsrvAcpt();
- }
- else if(switch1.tabindex == 2)
- {
- fSaveGroupInsuInfo();
- }
- }
- }
- function fSaveGroupRsrvAcpt()
- {
- var hopeDDCnt = 0;
- var pkgCnt = 0;
- var healexamplaceCnt = 0;
-
- for(var i = 0; i < ds_main_uploadlst_item.rowcount; i++)
- {
- if(ds_main_uploadlst_item.getColumn(i, "chk") == "Y")
- {
- if(utlf_isNull(ds_main_uploadlst_item.getColumn(i, "hopedd")))
- {
- hopeDDCnt++;
- }
- if(utlf_isNull(ds_main_uploadlst_item.getColumn(i, "pkgcd")))
- {
- pkgCnt++;
- }
- if(utlf_isNull(ds_main_uploadlst_item.getColumn(i, "healexamplacecd")))
- {
- healexamplaceCnt++;
- }
- }
- }
- var healexamflag = ds_send.getColumn(0, "srchhealexamflag");
- var healexamdetlflag = ds_send.getColumn(0, "srchhealexamdetlflag");
-
- if(utlf_isNull(healexamflag) || ds_init_baseinfo_healexamflag_A0068.getCaseCount("cdid =='" + healexamflag + "'") < 1)
- {
- sysf_messageBox("건진구분 정보를", "I007");
- return;
- }
- if(utlf_isNull(healexamdetlflag) || ds_init_baseinfo_healexamdetlflag_A0070.getCaseCount("cdid =='" + healexamdetlflag + "'") < 1)
- {
- sysf_messageBox("건진상세구분 정보를", "I007");
- return;
- }
- if(hopeDDCnt > 0)
- {
- sysf_messageBox("건진일을 모두 ", "C001");
- return;
- }
- if(pkgCnt > 0)
- {
- sysf_messageBox("패키지코드를 모두 ", "C001");
- return;
- }
- if(healexamplaceCnt > 0)
- {
- sysf_messageBox("건진장소 구분을 모두 ", "C001");
- return;
- }
-
- //초기화
- var rsrvCnt = 0;
- var healexamflag = ds_send.getColumn(0, "srchhealexamflag");
- var healexamdetlflag = ds_send.getColumn(0, "srchhealexamdetlflag");
- ds_main_uploadlst_item.applyChange();
-
- for (var i = 0; i < ds_main_uploadlst_item.rowcount; i++)
- {
- if(ds_main_uploadlst_item.getColumn(i, "chk") == "Y" )
- {
- var rrgstno = ds_main_uploadlst_item.getColumn(i , "rrgstno1") + ds_main_uploadlst_item.getColumn(i , "rrgstno2");
- var email = String(ds_main_uploadlst_item.getColumn(i, "email")).split("@");
-
- ds_main_uploadlst_item.updatecontrol = false;
- ds_main_uploadlst_item.setRowType(i, "i");
- ds_main_uploadlst_item.setColumn(i, "sex", fGetRrgstNo(rrgstno,"S"));
- ds_main_uploadlst_item.setColumn(i, "brthdd", fGetRrgstNo(rrgstno,"B"));
- ds_main_uploadlst_item.setColumn(i, "age", fGetRrgstNo(rrgstno,"A"));
- ds_main_uploadlst_item.setColumn(i, "forgeryn", fGetRrgstNo(rrgstno,"F"));
- ds_main_uploadlst_item.setColumn(i, "statflag", "A");
- ds_main_uploadlst_item.setColumn(i, "emailid", email[0]);
- ds_main_uploadlst_item.setColumn(i, "emailtype", email[1]);
- ds_main_uploadlst_item.setColumn(i, "healexamflag", healexamflag);
- ds_main_uploadlst_item.setColumn(i, "healexamdetlflag", healexamdetlflag);
- ds_main_uploadlst_item.updatecontrol = true;
- }
- }
-
- var saveGroup = grdf_getGridUpdateData(switch1.case_gnrl.grd_cupload);
- if(saveGroup.rowcount != 0)
- {
- dsf_createDs("ds_send_save_gnrlgroup");
- ds_send_save_gnrlgroup.copyData(saveGroup);
-
- var oParam = {};
- oParam.id = "TXAHA00101";
- oParam.service = "healthexamrsrvacptapp.GnrlRsrvAcpt";
- oParam.method = "reqExeGnrlGroupRsrvAcpt";
- oParam.inds = "req=ds_send_save_gnrlgroup";
- oParam.outds = "ds_=save";
- oParam.async = false;
- oParam.callback = "cf_TXAHA00101";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXAHA00101") > -1)
- {
- sysf_messageBox("예약처리가","I002");
- return;
- }
- }
- else
- {
- sysf_messageBox("저장할 내역이 " , "E014");
- return;
- }
- }
- function cf_TXAHA00101(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function fSaveGroupSpclRsrvAcpt()
- {
- var hopeDDCnt = 0;
- var plceCnt = 0;
- var healexamplaceCnt = 0;
-
- for(var i = 0; i < ds_main_uploadspcllst_item.rowcount; i++)
- {
- if(ds_main_uploadspcllst_item.getColumn(i, "chk") == "Y" )
- {
- var plceFlag = ds_main_uploadspcllst_item.getColumn(i, "plceflag");
- var healexamplcecd = ds_main_uploadspcllst_item.getColumn(i, "healexamplacecd");
- if(utlf_isNull(ds_main_uploadspcllst_item.getColumn(i, "hopedd")))
- {
- hopeDDCnt++;
- }
- if( utlf_isNull(healexamplcecd) || ds_init_baseinfo_healexamplacelst_S600.lookup("cdid =='" + healexamplcecd + "'") < 1)
- {
- healexamplaceCnt++;
- }
- if(utlf_isNull(plceFlag) || ds_init_baseinfo_plceflag_A0110.findRow("cdid =='" + plceFlag + "'") < 1)
- {
- plceCnt++;
- }
- }
- }
- var healexamflag = ds_send.getColumn(0, "srchhealexamflag");
- var healexamdetlflag = ds_send.getColumn(0, "srchhealexamdetlflag");
-
- if(utlf_isNull(healexamflag) || ds_init_baseinfo_healexamflag_A0068.findRow("cdid =='" + healexamflag + "'") < 1)
- {
- sysf_messageBox("건진구분 정보를", "I007");
- return;
- }
- if(utlf_isNull(healexamdetlflag) || ds_init_baseinfo_healexamflag_A0068.findRow("cdid =='" + healexamdetlflag + "'") < 1)
- {
- sysf_messageBox("건진상세구분 정보를", "I007");
- return;
- }
- if(hopeDDCnt > 0)
- {
- sysf_messageBox("건진일을", "I007");
- return;
- }
-
- if(healexamplaceCnt > 0)
- {
- sysf_messageBox("건진장소 구분을 ", "I007");
- return;
- }
-
- if(plceCnt > 0)
- {
- sysf_messageBox("출장/내원 구분을", "I007");
- return;
- }
-
- var rsrvCnt = 0;
- var healexamflag = ds_send.getColumn(0, "srchhealexamflag");
- var healexamdetlflag = ds_send.getColumn(0, "srchhealexamdetlflag");
-
- ds_main_uploadspcllst_item.applyChange();
-
- for(var i = 0; i < ds_main_uploadspcllst_item.rowcount; i++)
- {
- if(ds_main_uploadspcllst_item.getColumn(i, "chk") == "Y" )
- {
- ds_main_uploadspcllst_item.updatecontrol = false;
- ds_main_uploadspcllst_item.setRowType(i, "i");
- var rrgstno = ds_main_uploadspcllst_item.getColumn(i, "rrgstno");
- ds_main_uploadspcllst_item.setColumn(i, "sex", fGetRrgstNo(rrgstno,"S"));
- ds_main_uploadspcllst_item.setColumn(i, "brthdd", fGetRrgstNo(rrgstno,"B"));
- ds_main_uploadspcllst_item.setColumn(i, "age", fGetRrgstNo(rrgstno,"A"));
- ds_main_uploadspcllst_item.setColumn(i, "forgeryn", fGetRrgstNo(rrgstno,"F"));
- ds_main_uploadspcllst_item.setColumn(i, "statflag", "A");
- ds_main_uploadspcllst_item.setColumn(i, "healexamflag", healexamflag);
- ds_main_uploadspcllst_item.setColumn(i, "healexamdetlflag", healexamdetlflag);
- ds_main_uploadspcllst_item.setColumn(i, "gnrlpkgcd", ds_init_baseinfo_autopkglst_G110.lookup("cdid", ds_main_uploadspcllst_item.getColumn(i, "gnrlflag"), "cmt"));
- ds_main_uploadspcllst_item.setColumn(i, "acptcd", ds_init_baseinfo_acptcd_G112.lookup("cdid", "01", "cmt"));
- }
- }
-
- var saveGroup = grdf_getGridUpdateData(switch1.case_spcl.grd_supload);
- if(saveGroup.rowcount != 0)
- {
- dsf_createDs("ds_send_save_spclgroup")
- ds_send_save_spclgroup.copyData(saveGroup);
-
- var oParam = {};
- oParam.id = "TXAHA04092";
- oParam.service = "healthexamrsrvacptapp.TotalRsrvAcpt";
- oParam.method = "reqExeGroupSpclRsrvSave";
- oParam.inds = "req=ds_send_save_spclgroup";
- oParam.outds = "ds_=save";
- oParam.async = false;
- oParam.callback = "cf_TXAHA04092";
- tranf_submit(oParam);
- }
- else
- {
- sysf_messageBox("저장할 내역이 " , "E014");
- return;
- }
- }
- function cf_TXAHA04092(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0) return;
- else
- {
- sysf_messageBox("예약처리가","I002");
- return;
- }
- }
- function fSaveGroupInsuInfo()
- {
- var rrgstnoCnt1 = 0;
- var rrgstnoCnt2 = 0;
- var insuidCnt = 0;
-
- for(var i = 0; i < ds_main_uploadinsulst_item.rowcount; i++)
- {
- if(utlf_isNull(ds_main_uploadinsulst_item.getColumn(i, "rrgstno1")))
- {
- rrgstnoCnt1++;
- }
- if(utlf_isNull(ds_main_uploadinsulst_item.getColumn(i, "rrgstno2")))
- {
- rrgstnoCnt2++;
- }
- if(utlf_isNull(ds_main_uploadinsulst_item.getColumn(i, "insuid")))
- {
- insuidCnt++;
- }
- }
-
- if(rrgstnoCnt1 > 0)
- {
- sysf_messageBox("주민번호 앞번호를", "C001");
- return;
- }
- if(rrgstnoCnt2 > 0)
- {
- sysf_messageBox("주민번호 뒷번호를", "C001");
- return;
- }
- if(insuidCnt > 0)
- {
- sysf_messageBox("증번호", "C001");
- return;
- }
-
- var saveGroup = grdf_getGridUpdateData(grd_iupload);
- if(saveGroup.rowcount != 0)
- {
- dsf_createDs("ds_send_save_insugroup")
- grdf_setStatusColumn(saveGroup, "m");
- ds_send_save_insugroup.copyData(saveGroup, true);
-
- var oParam = {};
- oParam.id = "TXAHA04092";
- oParam.service = "healthexamrsrvacptapp.TotalRsrvAcpt";
- oParam.method = "reqExeGroupInsuSave";
- oParam.inds = "req=ds_send_save_insugroup";
- oParam.outds = "ds_=save";
- oParam.async = false;
- oParam.callback = "cf_TXAHA04092";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXAHA04092") > -1)
- {
- ds_main_uploadinsulst_item.clearData();
-
- var oParam = {};
- oParam.id = "TRAHA04092";
- oParam.service = "healthexamrsrvacptapp.TotalRsrvAcpt";
- oParam.method = "reqGetGroupInsuIdList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_tmp_uploadinsulst_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRAHA04092";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRAHA04092") > -1)
- {
- ds_main_uploadinsulst_item.copyData(ds_tmp_uploadinsulst_item);
- }
- sysf_messageBox("등록처리가","I002");
- return;
- }
- }
- else
- {
- sysf_messageBox("저장할 내역이 " , "E014");
- return;
- }
- }
- function cf_TXAHA04092(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }]]></Script>
- </Form>
- </FDL>
|