123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SMCHT00100_건진데이터마이닝관리
- * Summary : 건진데이터마이닝 관리
- * Programmer : 최정환
- * Date Written : 2007.06.20
- * History : 2007.06.20 차재훈 수정 2008.08.20
- * Remark :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>건진데이터마이닝 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <healexam>
- <tmpldefine>
- <healexamdtmnkey/>
- <healexamdtmnlrgcd/>
- <healexamdtmnmdlcd/>
- <healexamdtmnsmlcd/>
- <healexamdtmntitl/>
- <healexamdtmnattruseyn/>
- <humtrainfouseyn>Y</humtrainfouseyn>
- <healexaminfouseyn/>
- <rsltinfouseyn/>
- <judginfouseyn/>
- <autexecflag/>
- <execdt/>
- <clintdupltretmthd/>
- <appbasedd/>
- <spcldd/>
- <execbaseddflag/>
- <execbasemm/>
- <execbasedd/>
- <execbasedayno/>
- <dataextrbfdayno/>
- <savemode/>
- <lnkinfocond/>
- </tmpldefine>
- <humtrainfo>
- <pid/>
- <hngnm/>
- <sex/>
- <btype/>
- <rh/>
- <healexamvipgrde/>
- </humtrainfo>
- <area/>
- <agelist/>
- <healexaminfo>
- <infofromdd/>
- <infotodd/>
- <infohealexamflag/>
- <cmpycd/>
- <cmpynm/>
- <totamtfrom/>
- <totamtto/>
- <scndhptstrgtyn/>
- <livcncrtrgtyn/>
- <oraltestyn/>
- <freecncrtrgtyn/>
- <stmccncrflagyn/>
- <stmccncrflag/>
- <largeintescncrflagyn/>
- <largeintescncrflag/>
- <livcncrflagyn/>
- <livcncrflag/>
- <mamcncrflagyn/>
- <mamcncrflag/>
- <cervcncrflagyn/>
- <cervcncrflag/>
- </healexaminfo>
- <healexaminfopkg/>
- <healexaminfotest/>
- <healexamrslttest/>
- <healexamrslt>
- <rsltfromdd/>
- <rslttodd/>
- <rslthealexamflag/>
- </healexamrslt>
- <healexamjudg>
- <judgfromdd/>
- <judgtodd/>
- <judghealexamflag/>
- </healexamjudg>
- <colgjudgsick/>
- <gnrljudg/>
- <spcljudg/>
- <cmpnlnk>
- <cmpnlrgcd/>
- <cmpnmdlcd/>
- <cmpnsmlcd/>
- <cmpnnm/>
- <cmpncd/>
- </cmpnlnk>
- </healexam>
- <info>
- <cmpnlist>
- <cmpnsmlnm/>
- <cmpncd/>
- <cmpnnm/>
- </cmpnlist>
- </info>
- <list>
- <healexamdtmnexeclist>
- <hngnm/>
- <pid/>
- <sex/>
- <age/>
- <mpphontel/>
- <email/>
- <zipcd/>
- <address/>
- </healexamdtmnexeclist>
- </list>
- <agelist>
- <agefrom/>
- <ageto/>
- </agelist>
- <healexaminfopkg>
- <pkgnm/>
- <pkgcd/>
- </healexaminfopkg>
- <healexaminfotest>
- <testnm/>
- <testcd/>
- </healexaminfotest>
- <healexamrslttest>
- <testcd/>
- <testnm/>
- <rsltflag/>
- <testrsltval/>
- <testnvalminval/>
- <testnvalmaxval/>
- <judgcd/>
- <judgnm/>
- </healexamrslttest>
- <colgjudgsick>
- <cmpycd/>
- <cmpynm/>
- <sickcd/>
- <sicknm/>
- <judgflag/>
- </colgjudgsick>
- <gnrljudg>
- <clscd/>
- <etccd/>
- <etcdetlcd/>
- <etcdetlnm/>
- </gnrljudg>
- <spcljudg>
- <spcljudgcd/>
- <spcljudgnm/>
- </spcljudg>
- <area>
- <citycd>
- </citycd>
- <city/>
- <citycntyareacd/>
- <citycntyarea/>
- <blokcd/>
- <blok/>
- </area>
- </main>
- <send>
- <healexamdtmnlrgcd/>
- <healexamdtmnmdlcd/>
- <citycd/>
- <citycntyareacd/>
- <cmpnlrgcd/>
- <cmpnmdlcd/>
- <cmpnsmlcd/>
- </send>
- <init>
- <A0066list>
- <cdid/>
- <cdnm/>
- </A0066list>
- <A0068list>
- <cdid/>
- <cdnm/>
- </A0068list>
- <A0118list>
- <cdid/>
- <cdnm/>
- </A0118list>
- <P0013list>
- <cdid/>
- <cdnm/>
- </P0013list>
- <P0014list>
- <cdid/>
- <cdnm/>
- </P0014list>
- <P0313list>
- <cdid/>
- <cdnm/>
- </P0313list>
- <C0032list>
- <cdid/>
- <cdnm/>
- </C0032list>
- <C0034list>
- <cdid/>
- <cdnm/>
- </C0034list>
- <C0037list>
- <cdid/>
- <cdnm/>
- </C0037list>
- <C0039list>
- <cdid/>
- <cdnm/>
- </C0039list>
- <healexamdtmnlrg>
- <healexamdtmnlrggrup>
- <healexamdtmnlrgtitl/>
- <healexamdtmnlrgcd/>
- </healexamdtmnlrggrup>
- </healexamdtmnlrg>
- <healexamdtmnmdl>
- <healexamdtmnmdlgrup>
- <healexamdtmnmdltitl/>
- <healexamdtmnmdlcd/>
- </healexamdtmnmdlgrup>
- </healexamdtmnmdl>
- <healexamdtmnsml>
- <healexamdtmnsmlgrup>
- <healexamdtmnsmltitl/>
- <healexamdtmnsmlcd/>
- </healexamdtmnsmlgrup>
- </healexamdtmnsml>
- <areacity>
- <city>
- <citynm/>
- <citycd/>
- </city>
- </areacity>
- <areacitycnty>
- <citycntyarea>
- <citycntyareanm/>
- <citycntyareacd/>
- </citycntyarea>
- </areacitycnty>
- <areablok>
- <blok>
- <bloknm/>
- <blokcd/>
- </blok>
- </areablok>
- <cmpnlrg>
- <cmpnlrggrup>
- <cmpnlrgnm/>
- <cmpnlrgcd/>
- </cmpnlrggrup>
- </cmpnlrg>
- <cmpnmdl>
- <cmpnmdlgrup>
- <cmpnmdlnm/>
- <cmpnmdlcd/>
- </cmpnmdlgrup>
- </cmpnmdl>
- <cmpnsml>
- <cmpnsmlgrup>
- <cmpnsmlnm/>
- <cmpnsmlcd/>
- </cmpnsmlgrup>
- </cmpnsml>
- <diagdetlvw>P</diagdetlvw>
- <diagdetlvw1>P</diagdetlvw1>
- </init>
- <temp>
- <areagrup>
- <citycd>
- </citycd>
- <city/>
- <citycntyareacd/>
- <citycntyarea/>
- <blokcd/>
- <blok/>
- </areagrup>
- <age>
- <agefrom/>
- <ageto/>
- </age>
- <healexaminfopkg>
- <pkgcd/>
- <pkgnm/>
- </healexaminfopkg>
- <healexaminfotest>
- <addtestcd/>
- <addtestnm/>
- <rsltflag/>
- </healexaminfotest>
- <healexamrslttest>
- <testcd/>
- <testnm/>
- <rsltflag/>
- <testrsltval/>
- <testnvalminval/>
- <testnvalmaxval/>
- <judgcd/>
- <judgnm/>
- </healexamrslttest>
- <colgjudgsick>
- <cmpycd/>
- <cmpynm/>
- <sickcd/>
- <sicknm/>
- </colgjudgsick>
- <gnrljudg>
- <clscd/>
- <etccd/>
- <etcdetlcd/>
- <etcdetlnm/>
- </gnrljudg>
- <spcljudg>
- <spcljudgcd/>
- <spcljudgnm/>
- </spcljudg>
- <ref>
- <data>
- <rgstfromdd/>
- <rgsttodd/>
- <dtmnnm/>
- <rgstnm/>
- <autexecflag/>
- <cmpnlnkyn/>
- </data>
- <key>
- <healexamdtmnkey/>
- </key>
- <refmode/>
- </ref>
- <countnode/>
- </temp>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRCDT00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/areacity"/>
- <submission id="TRCDT00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/areacitycnty"/>
- <submission id="TRCDT00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/areablok"/>
- <submission id="TRCDT00107" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/cmpnlrg/cmpnlrggrup"/>
- <submission id="TRCDT00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmpnmdl/cmpnmdlgrup"/>
- <submission id="TRCDT00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmpnsml/cmpnsmlgrup"/>
- <submission id="TRCDT00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/info/cmnpnlist"/>
- <submission id="TRCHT00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/healexamdtmnlrg/healexamdtmnlrggrup"/>
- <submission id="TRCHT00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/healexamdtmnmdl/healexamdtmnmdlgrup"/>
- <submission id="TRCHT00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/healexamdtmnsml/healexamdtmnsmlgrup"/>
- <submission id="TRCHT00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/ref/key" replace="instance" resultref="/root/main/healexam"/>
- <submission id="TRCHT00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/healexam" replace="instance" resultref="/root/main/list"/>
- <submission id="TXCHT00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/healexam" resultref="/root/temp/ref/key"/>
- </model>
- <script type="javascript" src="../../../crm/crmweb/js/CCZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 그리드의 초기화
- fGridInit();
-
- // 초기화면은 캠페인 연결로 보여준다.
- //model.toggle("case4");
- //btn_cmpn.selected = true;
-
- // 공통코드를 호출하여 자료(혈액형ABO, 혈액형RH, 건진구분1, 종합건진고객등급, 결과구분)를 가져온다
- zbcfGetCodeList( new Array("P0013","P0014","P0313","A0068","A0118","A0066","C0032","C0034","C0037","C0039"), new Array("/root/init/P0013list","/root/init/P0014list","/root/init/P0313list","/root/init/A0068list","/root/init/A0118list","/root/init/A0066list","/root/init/C0032list","/root/init/C0034list","/root/init/C0037list","/root/init/C0039list"), true );
-
- // 지역의 시도구분을 가져온다.
- submit("TRCDT00101");
-
- // 캠페인 대그룹을 가져온다
- submit("TRCDT00107");
-
- // 건진데이터마이닝 대그룹을 가져온다
- submit("TRCHT00101");
-
- // 기본값 셋팅
-
- model.setValue("/root/main/healexam/tmpldefine/healexamdtmnattruseyn", "Y") // 사용여부
- model.setValue("/root/main/healexam/healexaminfo/scndhptstrgtyn", "N") // 2차간염
- model.setValue("/root/main/healexam/healexaminfo/livcncrtrgtyn", "N") // 간암검사
- model.setValue("/root/main/healexam/healexaminfo/oraltestyn", "N") // 구강검사
- model.setValue("/root/main/healexam/healexaminfo/freecncrtrgtyn", "N") // 무료암검사
-
- // 실행기준일 셋팅
- // model.setValue("/root/main/healexam/tmpldefine/execbaseddflag", "1");
- // fSetBaseDD();
-
- // 건진정보의 건진구분 선택에 따른 활성화
- fSetInfoHealExamflag();
-
- // 검사결과값 입력셋팅
- fSetTestRsltValFlag();
-
- // 조회 (데이터마이닝 목록조회에서 넘어온 dtmnkey값으로 내용을 조회)
- var healexamdtmnkey = model.getValue("/root/temp/ref/key/healexamdtmnkey");
- var refmode = model.getValue("/root/temp/ref/refmode");
- if ( healexamdtmnkey != "" ){
-
- submit("TRCHT00104");
-
- // 수정모드로 표시
- model.setValue("/root/main/healexam/tmpldefine/savemode","U");
-
- // 조회 페이지로 이동시 기존 검색조건 셋팅을 위하여 조회모드를 변경
- model.setValue("/root/temp/ref/refmode","C");
- // 데이터마이닝 중분류 및 소분류 세팅(초기화 버튼, 대/중분류 콤보 선택)
- fGetHealExamDtmnMdlCd();
- fGetHealExamDtmnSmlCd();
-
- // 캠페인 중분류 및 소분류, 캠페인리스트 세팅(초기화 버튼, 대/중/소분류 콤보 선택)
- fGetCmpnMdlCd();
- fGetCmpnSmlCd();
- fGetCmpnList();
-
- // 연결정보중 N 을 공백으로 변경한다.
-
- var humtrainfouseyn = model.getValue("/root/main/healexam/tmpldefine/humtrainfouseyn");
- var healexaminfouseyn = model.getValue("/root/main/healexam/tmpldefine/healexaminfouseyn");
- var rsltinfouseyn = model.getValue("/root/main/healexam/tmpldefine/rsltinfouseyn");
- var judginfouseyn = model.getValue("/root/main/healexam/tmpldefine/judginfouseyn");
-
- if (humtrainfouseyn == "N") {
- model.setValue("/root/main/healexam/tmpldefine/humtrainfouseyn", "");
- }
- if (healexaminfouseyn == "N") {
- model.setValue("/root/main/healexam/tmpldefine/healexaminfouseyn", "");
- }
- if (rsltinfouseyn == "N") {
- model.setValue("/root/main/healexam/tmpldefine/rsltinfouseyn", "");
- }
- if (judginfouseyn == "N") {
- model.setValue("/root/main/healexam/tmpldefine/judginfouseyn", "");
- }
-
- // 인스턴스 생성 (이미 존재하는 Node 생성 안함.)
- // 인적정보
- model.makeNode( "/root/main/healexam/humtrainfo/sex" );
- model.makeNode( "/root/main/healexam/humtrainfo/btype" );
- model.makeNode( "/root/main/healexam/humtrainfo/rh" );
-
- // 건진정보
- model.makeNode( "/root/main/healexam/healexaminfo/infofromdd" );
- model.makeNode( "/root/main/healexam/healexaminfo/infotodd" );
- model.makeNode( "/root/main/healexam/healexaminfo/infohealexamflag" );
- model.makeNode( "/root/main/healexam/healexaminfo/cmpycd" );
- model.makeNode( "/root/main/healexam/healexaminfo/cmpynm" );
- model.makeNode( "/root/main/healexam/healexaminfo/totamtfrom" );
- model.makeNode( "/root/main/healexam/healexaminfo/totamtto" );
- model.makeNode( "/root/main/healexam/healexaminfo/scndhptstrgtyn" );
- model.makeNode( "/root/main/healexam/healexaminfo/livcncrtrgtyn" );
- model.makeNode( "/root/main/healexam/healexaminfo/oraltestyn" );
- model.makeNode( "/root/main/healexam/healexaminfo/freecncrtrgtyn" );
- model.makeNode( "/root/main/healexam/healexaminfo/stmccncrflagyn" );
- model.makeNode( "/root/main/healexam/healexaminfo/stmccncrflag" );
- model.makeNode( "/root/main/healexam/healexaminfo/largeintescncrflagyn" );
- model.makeNode( "/root/main/healexam/healexaminfo/largeintescncrflag" );
- model.makeNode( "/root/main/healexam/healexaminfo/livcncrflagyn" );
- model.makeNode( "/root/main/healexam/healexaminfo/livcncrflag" );
- model.makeNode( "/root/main/healexam/healexaminfo/mamcncrflagyn" );
- model.makeNode( "/root/main/healexam/healexaminfo/mamcncrflag" );
- model.makeNode( "/root/main/healexam/healexaminfo/cervcncrflagyn" );
- model.makeNode( "/root/main/healexam/healexaminfo/cervcncrflag" );
-
- // 결과정보
- model.makeNode( "/root/main/healexam/healexamrslt/rsltfromdd" );
- model.makeNode( "/root/main/healexam/healexamrslt/rslttodd" );
- model.makeNode( "/root/main/healexam/healexamrslt/rslthealexamflag" );
-
- // 판정정보
- model.makeNode( "/root/main/healexam/healexamjudg/judgfromdd" );
- model.makeNode( "/root/main/healexam/healexamjudg/judgtodd" );
- model.makeNode( "/root/main/healexam/healexamjudg/judghealexamflag" );
-
- //캠페인연결정보
- model.makeNode( "/root/main/healexam/cmpnlnk/cmpnlrgcd" );
- model.makeNode( "/root/main/healexam/cmpnlnk/cmpnmdlcd" );
- model.makeNode( "/root/main/healexam/cmpnlnk/cmpnsmlcd" );
- model.makeNode( "/root/main/healexam/cmpnlnk/cmpnnm" );
- model.makeNode( "/root/main/healexam/cmpnlnk/cmpncd" );
-
- } else {
- // 입력모드로 표시
- model.setValue("/root/main/healexam/tmpldefine/savemode","I");
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- //=======================//
- //행삭제 //
- //=======================//
- function fDelRow(grid) {
- var srcGrid = grid;
- var fRow = srcGrid.fixedRows - 1;
- var sRow = srcGrid.selectedRow(0);
-
- if ( sRow > fRow ) {
- if( srcGrid.rowStatus(sRow) == 1){
- srcGrid.deleteRow(sRow);
- }else{
- srcGrid.addStatus(sRow, "delete");
- }
- }else{
- messageBox("삭제할 행이 선택되지", "E007");
- return;
- }
- model.refresh();
- }
-
- // 그리드의 초기화
- function fGridInit() {
-
- // 인적정보중 그리드의 col을 초기화 시켜준다.
- model.removenodeset("/root/main/area"); // 지역
- model.removenodeset("/root/main/agelist"); // 연령
-
- // 건진정보중 건진패키지 그리드의 col을 초기화 시켜준다.
- model.removenodeset("/root/main/healexaminfopkg"); // 건진패키지정보
-
- // 건진정보중 추가검사 그리드의 col을 초기화 시켜준다.
- model.removenodeset("/root/main/healexaminfotest"); // 추가검사
-
- // 결과정보중 그리드의 col을 초기화 시켜준다.
- model.removenodeset("/root/main/healexamrslttest"); // 건진검사결과정보
-
- // 판정정보중 그리드의 col을 초기화 시켜준다.
- model.removenodeset("/root/main/colgjudgsick"); // 판정질환(종검)
- model.removenodeset("/root/main/gnrljudg"); // 판정코드(일검)
-
- // 캠폐인연결정보중 그리드의 col을 초기화 시켜준다.
- model.removenodeset("/root/main/info/cmpnlist"); // 캠폐인리스트
-
- // 대상자(수동실행)리스트 그리드의 col을 초기화 시켜준다.
- model.removenodeset("/root/main/list/healexamdtmnexeclist"); // 대상자(수동실행)리스트
-
- model.refresh();
- }
-
-
- // 선택한 건진데이터마이닝 대분류에 따른 건진데이터마이닝 중분류를 가져온다.
- function fGetHealExamDtmnMdlCd() {
- var healexamdtmnlrgcd = model.getValue("/root/main/healexam/tmpldefine/healexamdtmnlrgcd");
- model.setValue("/root/send/healexamdtmnlrgcd",healexamdtmnlrgcd);
- submit("TRCHT00102");
- }
-
- // 선택한 데이터마이닝 중분류에 따른 데이터마이닝 소분류를 가져온다.
- function fGetHealExamDtmnSmlCd() {
- var healexamdtmnlrgcd = model.getValue("/root/main/healexam/tmpldefine/healexamdtmnlrgcd");
- var healexamdtmnmdlcd = model.getValue("/root/main/healexam/tmpldefine/healexamdtmnmdlcd");
- model.setValue("/root/send/healexamdtmnlrgcd",healexamdtmnlrgcd);
- model.setValue("/root/send/healexamdtmnmdlcd",healexamdtmnmdlcd);
- submit("TRCHT00103");
- }
-
- // 선택한 캠페인 대분류에 따른 캠페인 중분류를 가져온다.
- function fGetCmpnMdlCd() {
- var cmpnlrgcd = model.getValue("/root/main/healexam/cmpnlnk/cmpnlrgcd");
- if (cmpnlrgcd != "") {
- model.setValue("/root/send/cmpnlrgcd",cmpnlrgcd);
- submit("TRCDT00108");
- }
- }
-
- // 선택한 캠페인 중분류에 따른 캠페인 소분류를 가져온다.
- function fGetCmpnSmlCd() {
- var cmpnmdlcd = model.getValue("/root/main/healexam/cmpnlnk/cmpnmdlcd");
-
- if (cmpnmdlcd != "") {
- model.setValue("/root/send/cmpnmdlcd",cmpnmdlcd);
- submit("TRCDT00109");
- }
- }
-
- // 선택한 캠페인 소분류에 따른 캠페인 리스트를 가져온다.
- function fGetCmpnList() {
- var cmpnsmlcd = model.getValue("/root/main/healexam/cmpnlnk/cmpnsmlcd");
-
- if (cmpnsmlcd != "") {
- model.setValue("/root/send/cmpnsmlcd",cmpnsmlcd);
- submit("TRCDT00110");
- }
- }
-
- // 패키지검색 팝업창 호출
- function fPkgCodeList(receive_pkgcd_path, receive_pkgnm_path){
- setParameter("receive_pkgcd_path", receive_pkgcd_path);
- setParameter("receive_pkgnm_path", receive_pkgnm_path);
- modal("SPCHT00500");
- clearParameter("receive_pkgcd_path");
- clearParameter("receive_pkgnm_path");
- }
-
- // 검사검색 팝업창 호출
- function fTestCodeList(standard, search_term, receive_testcd_path, receive_testnm_path, receive_rsltflag_path){
- setParameter("standard", standard);
- setParameter("search_term", search_term);
- setParameter("receive_testcd_path", receive_testcd_path);
- setParameter("receive_testnm_path", receive_testnm_path);
- setParameter("receive_rsltflag_path", receive_rsltflag_path);
- modal("SPCHT00600");
- clearParameter("standard");
- clearParameter("search_term");
- clearParameter("receive_testcd_path");
- clearParameter("receive_testnm_path");
- clearParameter("receive_rsltflag_path");
- fSetTestRsltValFlag();
- }
-
- // 판정검색 팝업창 호출
- function fJudgCodeList(rsltflag, search_term, receive_judgcd_path, receive_judgnm_path){
-
- setParameter("rsltflag", rsltflag);
- setParameter("search_term", search_term);
- setParameter("receive_judgcd_path", receive_judgcd_path);
- setParameter("receive_judgnm_path", receive_judgnm_path);
- modal("SPCHT00800");
- clearParameter("rsltflag");
- clearParameter("search_term");
- clearParameter("receive_judgcd_path");
- clearParameter("receive_judgnm_path");
- }
-
- // 판정검색 팝업창 호출4개코드값
- function fClsCodeList(receive_clscd_path, receive_etccd_path, receive_etcdetlcd_path, receive_etcdetlnm_path){
- var rsltflag = "4code";
-
- setParameter("rsltflag", rsltflag);
- setParameter("receive_clscd_path", receive_clscd_path);
- setParameter("receive_etccd_path", receive_etccd_path);
- setParameter("receive_etcdetlcd_path", receive_etcdetlcd_path);
- setParameter("receive_etcdetlnm_path", receive_etcdetlnm_path);
- modal("SPCHT00800");
- clearParameter("rsltflag");
- clearParameter("receive_clscd_path");
- clearParameter("receive_etccd_path");
- clearParameter("receive_etcdetlcd_path");
- clearParameter("receive_etcdetlnm_path");
- }
-
- // 사업장검색 팝업창 호출
- function fCmpyCodeList(receive_cmpycd_path, receive_cmpynm_path){
- setParameter("receive_cmpycd_path", receive_cmpycd_path);
- setParameter("receive_cmpynm_path", receive_cmpynm_path);
- modal("SPCHI00200");
- clearParameter("receive_cmpycd_path");
- clearParameter("receive_cmpynm_path");
- }
-
- // 판정질환검색 팝업창 호출
- function fSickCodeList( receive_sickcd_path, receive_sicknm_path){
- setParameter("receive_sickcd_path", receive_sickcd_path);
- setParameter("receive_sicknm_path", receive_sicknm_path);
- modal("SPCHT00700");
- clearParameter("receive_sickcd_path");
- clearParameter("receive_sicknm_path");
- }
-
- // 건진데이터마이닝 그룹관리의 변경된 내용을 새로 적용시켜준다.
- function fHealExamDtmnLrg() {
- model.removenodeset("/root/init/healexamdtmnlrg/healexamdtmnlrggrup");
- model.removenodeset("/root/init/healexamdtmnmdl/healexamdtmnmdlgrup");
- model.removenodeset("/root/init/healexamdtmnsml/healexamdtmnsmlgrup");
- model.resetInstanceNode("/root/main/healexam/tmpldefine/healexamdtmnlrgcd");
- model.resetInstanceNode("/root/main/healexam/tmpldefine/healexamdtmnmdlcd");
- model.resetInstanceNode("/root/main/healexam/tmpldefine/healexamdtmnsmlcd");
- submit("TRCHT00101");
- }
-
- // 실행기준일 선택에 따른 입력 컨트롤 제한
- function fSetBaseDD() {
- var base_flag = "";
- base_flag = model.getValue("/root/main/healexam/tmpldefine/execbaseddflag");
- switch (base_flag) {
- case "1":
- ipt_execbasedayno.disabled = false;
- ipt_execbasemm.disabled = true;
- ipt_execbasedd.disabled = true;
- break;
- case "2":
- ipt_execbasedayno.disabled = true;
- ipt_execbasemm.disabled = false;
- ipt_execbasedd.disabled = false;
- break;
- default:
- ipt_execbasedayno.disabled = false;
- ipt_execbasemm.disabled = true;
- ipt_execbasedd.disabled = true;
- break;
- }
- }
-
- // 건진정보의 건진구분 선택에 따른 활성화
- function fSetInfoHealExamflag() {
- var base_flag = "";
- base_flag = model.getValue("/root/main/healexam/healexaminfo/infohealexamflag");
- switch (base_flag) {
- case "C":
- rdo_scndhptstrgtyn.disabled = true;
- rdo_livcncrtrgtyn.disabled = true;
- rdo_oraltestyn.disabled = true;
- rdo_freecncrtrgtyn.disabled = true;
- chk_stmccncrflagyn.disabled = true;
- cmb_stmccncrflag.disabled = true;
- chk_largeintescncrflagyn.disabled = true;
- cmb_largeintescncrflag.disabled = true;
- chk_livcncrflagyn.disabled = true;
- cmb_livcncrflag.disabled = true;
- chk_mamcncrflagyn.disabled = true;
- cmb_mamcncrflag.disabled = true;
- chk_cervcncrflagyn.disabled = true;
- cmb_cervcncrflag.disabled = true;
- break;
- case "G":
- rdo_scndhptstrgtyn.disabled = false;
- rdo_livcncrtrgtyn.disabled = false;
- rdo_oraltestyn.disabled = false;
- rdo_freecncrtrgtyn.disabled = false;
- chk_stmccncrflagyn.disabled = false;
- cmb_stmccncrflag.disabled = false;
- chk_largeintescncrflagyn.disabled = false;
- cmb_largeintescncrflag.disabled = false;
- chk_livcncrflagyn.disabled = false;
- cmb_livcncrflag.disabled = false;
- chk_mamcncrflagyn.disabled = false;
- cmb_mamcncrflag.disabled = false;
- chk_cervcncrflagyn.disabled = false;
- cmb_cervcncrflag.disabled = false;
- break;
- default:
- rdo_scndhptstrgtyn.disabled = true;
- rdo_livcncrtrgtyn.disabled = true;
- rdo_oraltestyn.disabled = true;
- rdo_freecncrtrgtyn.disabled = true;
- chk_stmccncrflagyn.disabled = true;
- cmb_stmccncrflag.disabled = true;
- chk_largeintescncrflagyn.disabled = true;
- cmb_largeintescncrflag.disabled = true;
- chk_livcncrflagyn.disabled = true;
- cmb_livcncrflag.disabled = true;
- chk_mamcncrflagyn.disabled = true;
- cmb_mamcncrflag.disabled = true;
- chk_cervcncrflagyn.disabled = true;
- cmb_cervcncrflag.disabled = true;
- break;
- }
- }
-
- function fSetTestRsltValFlag() {
- var base_flag = "";
- base_flag = model.getValue("/root/temp/healexamrslttest/rsltflag");
- switch (base_flag) {
- case "O":
- ipt_testrsltval.disabled = false;
- ipt_testnvalminval.disabled = true;
- ipt_testnvalmaxval.disabled = true;
- btn_clscd.disabled = false;
- break;
- case "N":
- ipt_testrsltval.disabled = true;
- ipt_testnvalminval.disabled = false;
- ipt_testnvalmaxval.disabled = false;
- btn_clscd.disabled = true;
- break;
- default:
- ipt_testrsltval.disabled = true;
- ipt_testnvalminval.disabled = true;
- ipt_testnvalmaxval.disabled = true;
- btn_clscd.disabled = true;
- break;
- }
- }
-
- function fJudgHealExamFlagChoi() {
- var judghealexamflag = model.getValue("/root/main/healexam/healexamjudg/judghealexamflag");
- //alert(judghealexamflag);
-
- if (judghealexamflag == "C1") {
- model.toggle("case11");
- } else if(judghealexamflag == "S1") {
- model.toggle("case13");
- } else {
- model.toggle("case12");
- }
-
- }
-
- function fCheckHealExam() {
-
- var healexaminfouseyn = model.getValue("/root/main/healexam/tmpldefine/healexaminfouseyn");
- var rsltinfouseyn = model.getValue("/root/main/healexam/tmpldefine/rsltinfouseyn");
- var judginfouseyn = model.getValue("/root/main/healexam/tmpldefine/judginfouseyn");
- var lnkinfocond = "";
-
- if (healexaminfouseyn == "Y" && rsltinfouseyn != "Y" && judginfouseyn != "Y") { // 인적+건진정보
- lnkinfocond = "1"
- } else if (healexaminfouseyn != "Y" && rsltinfouseyn == "Y" && judginfouseyn != "Y") { // 인적+결과정보
- lnkinfocond = "2"
- } else if (healexaminfouseyn != "Y" && rsltinfouseyn != "Y" && judginfouseyn == "Y") { // 인적+판정정보
- lnkinfocond = "3"
- } else {
- lnkinfocond = "0"
- }
-
- if (lnkinfocond == "0") {
- messageBox("건진데이터마이닝 결합조건이 ","E004");
- } else {
-
- model.makeValue("/root/main/healexam/tmpldefine/lnkinfocond",lnkinfocond);
-
- var infofromdd = model.getValue("/root/main/healexam/healexaminfo/infofromdd");
- var infotodd = model.getValue("/root/main/healexam/healexaminfo/infotodd");
- var infohealexamflag = model.getValue("/root/main/healexam/healexaminfo/infohealexamflag");
-
- var rsltinfodd = model.getValue("/root/main/healexam/healexamrslt/rsltfromdd");
- var rslttodd = model.getValue("/root/main/healexam/healexamrslt/rslttodd");
- var rslthealexamflag = model.getValue("/root/main/healexam/healexamrslt/rslthealexamflag");
-
- var judgfromdd = model.getValue("/root/main/healexam/healexamjudg/judgfromdd");
- var judgtodd = model.getValue("/root/main/healexam/healexamjudg/judgtodd");
- var judghealexamflag = model.getValue("/root/main/healexam/healexamjudg/judghealexamflag");
- if (lnkinfocond == "1") {
- if (infofromdd.length < "8") {
- messageBox("건진일자(시작)를 ","C001");
- } else if (infotodd.length < "8") {
- messageBox("건진일자(끝)를 ","C001");
- } else if(infofromdd > infotodd){
- messageBox("건진일자(시작)와 건진일자(끝)를 올바르게", "C001");
- } else if (infohealexamflag == "") {
- messageBox("건진구분을","C002");
- } else {
- return true;
- }
- } else if (lnkinfocond == "2") {
- if (rsltinfodd.length < "8") {
- messageBox("건진일자(시작)를 ","C001");
- } else if (rslttodd.length < "8") {
- messageBox("건진일자(끝)를 ","C001");
- } else if(rsltinfodd > rslttodd){
- messageBox("건진일자(시작)와 건진일자(끝)를 올바르게", "C001");
- } else if (rslthealexamflag == "") {
- messageBox("건진구분을","C002");
- } else {
- return true;
- }
- } else if (judgfromdd == "3") {
- if (chosfromdd.length < "8") {
- messageBox("건진일자(시작)를 ","C001");
- } else if (chostodd.length < "8") {
- messageBox("건진일자(끝)를 ","C001");
- } else if(judgfromdd > chostodd){
- messageBox("건진일자(시작)와 건진일자(끝)를 올바르게", "C001");
- } else if (judghealexamflag == "") {
- messageBox("건진구분을","C002");
- } else {
- return true;
- }
- } else {
- return true;
- }
- }
- }
-
- function fSaveHealExam(savemode) {
-
- // 필수입력 체크
- if (!fCheckHealExam()) return;
-
- if(isRequiredControls("ipt_healexamdtmntitl", "cmb_healexamdtmnsmlcd")) {
- messageBox("모든 필수값이 입력이","I002");
- //} else {
- // 저장시 그리드값을 인스턴스로 생성
- model.makeValue("/root/main/healexam/area", grd_area.getUpdateData()); // 지역
- model.makeValue("/root/main/healexam/agelist", grd_age.getUpdateData()); // 연령
- model.makeValue("/root/main/healexam/healexaminfopkg", grd_healexaminfopkg.getUpdateData()); // 패키지정보(건진정보)
- model.makeValue("/root/main/healexam/healexaminfotest", grd_healexaminfotest.getUpdateData()); // 추가검사(건진정보)
- model.makeValue("/root/main/healexam/healexamrslttest", grd_healexamrslttest.getUpdateData()); // 건진결과정보
- model.makeValue("/root/main/healexam/colgjudgsick", grd_colgjudgsick.getUpdateData()); // 판정질환정보(종검)
- model.makeValue("/root/main/healexam/gnrljudg", grd_gnrljudg.getUpdateData()); // 판정코드(일검)
-
-
- if(submit("TXCHT00101") == true){
- // submit() 성공하면 그리드의 i,u,d 상태 제거
- grd_area.clearStatus();
- grd_age.clearStatus();
- grd_healexaminfopkg.clearStatus();
- grd_healexaminfotest.clearStatus();
- grd_healexamrslttest.clearStatus();
- grd_colgjudgsick.clearStatus();
- grd_gnrljudg.clearStatus();
-
- messageBox("건진탬플릿 저장이", "I002", "");
- // 입력모드면 템플릿 저장후 수정모드로 변경과 dtmnkey값을 설정해준다.
- if (savemode == "I") {
- model.setValue("/root/main/healexam/tmpldefine/savemode","U");
-
- var healexamdtmnkey = model.getValue("/root/temp/ref/key/healexamdtmnkey");
- model.makeValue("/root/main/healexam/tmpldefine/healexamdtmnkey", healexamdtmnkey);
- }
- }
- }
- }
-
- function fHealExamDtMnExec() {
- // 필수입력 체크
- if (!fCheckHealExam()) return;
- // 그리드값을 인스턴스로 생성
- model.makeValue("/root/main/healexam/area", grd_area.getUpdateDataAll("i")); // 지역
- model.makeValue("/root/main/healexam/agelist", grd_age.getUpdateDataAll("i")); // 연령
- model.makeValue("/root/main/healexam/healexaminfopkg", grd_healexaminfopkg.getUpdateDataAll("i")); // 건진패키지(건진정보)
- model.makeValue("/root/main/healexam/healexaminfotest", grd_healexaminfotest.getUpdateDataAll("i")); // 추가검사(건진정보)
- model.makeValue("/root/main/healexam/healexamrslttest", grd_healexamrslttest.getUpdateDataAll("i")); // 개별건진검사결과정보
- model.makeValue("/root/main/healexam/colgjudgsick", grd_colgjudgsick.getUpdateDataAll("i")); // 판정질환(종검)
- model.makeValue("/root/main/healexam/gnrljudg", grd_gnrljudg.getUpdateDataAll("i")); // 판정코드(일검)
-
- submit("TRCHT00105");
- model.SetFocus("grd_healexamdtmnexeclist");
- var grid_rows = grd_healexamdtmnexeclist.rows-1;
- model.setvalue("/root/temp/countnode" , grid_rows);
-
- // 수동실행을 위하여 그리드값을 인스턴스로 생성한걸 지워준다.
-
- // model.resetInstanceNode("/root/main/healexam/area");
- // model.resetInstanceNode("/root/main/healexam/agelist");
- // model.resetInstanceNode("/root/main/healexam/healexaminfopkg");
- // model.resetInstanceNode("/root/main/healexam/healexaminfotest");
- // model.resetInstanceNode("/root/main/healexam/healexamrslttest");
- // model.resetInstanceNode("/root/main/healexam/colgjudgsick");
- // model.resetInstanceNode("/root/main/healexam/gnrljudg");
- // model.resetInstanceNode("/root/main/healexam/testlist");
-
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,693;">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:165px; height:14px; ">건진정보마이닝 등록</caption>
- </group>
- <group id="group2" style="left:224px; top:13px; width:970px; height:204px; ">
- <caption id="caption9" class="tit_2" style="left:5px; top:10px; width:111px; height:13px; ">탬플릿 정의</caption>
- <button id="btn_healexamdtmnlist" class="btn5_letter2" style="left:794px; top:5px; width:42px; height:19px; ">
- <caption>목록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- navigate("SMCHT00200", "", "", "", "SMCHT00200", "/root/temp/ref", "/root/send");
- ]]>
- </script>
- </button>
- <button id="btn_healexamdtmnreset" class="btn5_letter3" style="left:839px; top:5px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/healexam/tmpldefine");
- model.resetInstanceNode("/root/main/healexam/humtrainfo");
- model.resetInstanceNode("/root/main/healexam/area");
- model.resetInstanceNode("/root/main/healexam/agelist");
- model.resetInstanceNode("/root/main/healexam/healexaminfo");
- model.resetInstanceNode("/root/main/healexam/healexaminfopkg");
- model.resetInstanceNode("/root/main/healexam/healexaminfotest");
- model.resetInstanceNode("/root/main/healexam/healexamrslttest");
- model.resetInstanceNode("/root/main/healexam/healexamrslt");
- model.resetInstanceNode("/root/main/healexam/healexamjudg");
- model.resetInstanceNode("/root/main/healexam/colgjudgsick");
- model.resetInstanceNode("/root/main/healexam/gnrljudg");
- model.resetInstanceNode("/root/main/healexam/cmpnlnk");
-
- model.removeNodeset("/root/init/P0013list/P0013");
- model.removeNodeset("/root/init/P0114list/P0114");
- model.removeNodeset("/root/init/P0313list/P0313");
- model.removeNodeset("/root/init/A0068list/A0068");
- model.removeNodeset("/root/init/A0118list/A0118");
- model.removeNodeset("/root/init/A0066list/A0066");
- model.removeNodeset("/root/init/C0034list/C0034");
- model.removeNodeset("/root/init/C0037list/C0037");
- model.removeNodeset("/root/init/C0039list/C0039");
-
- model.dispatch("xforms-ready");
-
- ]]>
- </script>
- </button>
- <button id="btn_healexamdtmnsave" class="btn5_letter5" style="left:895px; top:5px; width:75px; height:19px; ">
- <caption>템플릿저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var savemode = model.getValue("/root/main/healexamtmpl/tmpldefine/savemode");
- fSaveHealExam(savemode); //캠페인 속성 저장(I:등록, U:수정)
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:970px; y2:25px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:53px; x2:970px; y2:53px; "/>
- <caption id="cap_healexamdtmntitl" class="cell_1" style="left:0px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">탬플릿명</caption>
- <input id="ipt_healexamdtmntitl" ref="/root/main/healexam/tmpldefine/healexamdtmntitl" class="input_default" style="left:108px; top:31px; width:209px; height:19px; "/>
- <caption id="cap_healexamdtmnsmlcd" class="cell_1" style="left:320px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">소속그룹</caption>
- <select1 id="cmb_healexamdtmnlrgcd" ref="/root/main/healexam/tmpldefine/healexamdtmnlrgcd" class="combo_default" appearance="minimal" style="left:428px; top:31px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/healexamdtmnlrg/healexamdtmnlrggrup">
- <label ref="healexamdtmnlrgtitl"/>
- <value ref="healexamdtmnlrgcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 기존에 선택된 중분류, 소분류를 초기화한다.
- model.removenodeset("/root/init/healexamdtmnmdl/healexamdtmnmdlgrup");
- model.removenodeset("/root/init/healexamdtmnsml/healexamdtmnsmlgrup");
- model.resetInstanceNode("/root/main/healexam/tmpldefine/healexamdtmnmdlcd");
- model.resetInstanceNode("/root/main/healexam/tmpldefine/healexamdtmnsmlcd");
-
- // 선택한 건진데이터마이닝 대분류에 따른 건진데이터마아닝 중분류를 가져온다.
- fGetHealExamDtmnMdlCd();
- model.setFocus("cmb_healexamdtmnmdlcd");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_healexamdtmnmdlcd" ref="/root/main/healexam/tmpldefine/healexamdtmnmdlcd" class="combo_default" appearance="minimal" style="left:581px; top:31px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/healexamdtmnmdl/healexamdtmnmdlgrup">
- <label ref="healexamdtmnmdltitl"/>
- <value ref="healexamdtmnmdlcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 선택한 건진데이터마이닝 중분류에 따른 건진데이터마아닝 소분류를 가져온다.
- fGetHealExamDtmnSmlCd();
- model.setFocus("cmb_healexamdtmnsmlcd");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_healexamdtmnsmlcd" ref="/root/main/healexam/tmpldefine/healexamdtmnsmlcd" class="combo_default" appearance="minimal" style="left:734px; top:31px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/healexamdtmnsml/healexamdtmnsmlgrup">
- <label ref="healexamdtmnsmltitl"/>
- <value ref="healexamdtmnsmlcd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line5" class="line_2" style="x1:0px; y1:78px; x2:970px; y2:78px; "/>
- <caption id="caption21" class="cell_1" style="left:0px; top:55px; width:105px; height:23px; text-align:center; vertical-align:middle; ">사용여부</caption>
- <select1 id="rdo_useyn" ref="/root/main/healexam/tmpldefine/healexamdtmnattruseyn" appearance="full" cellspacing="15" cols="2" overflow="visible" style="left:108px; top:56px; width:130px; height:19px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/C0039list/C0039">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="cell_1" style="left:320px; top:55px; width:105px; height:23px; text-align:center; vertical-align:middle; ">연결정보</caption>
- <select id="chk_humtrainfouseyn" ref="/root/main/healexam/tmpldefine/humtrainfouseyn" disabled="true" overflow="visible" appearance="full" cellspacing="15" cols="2" style="left:428px; top:57px; width:100px; height:19px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>인적정보</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_healexaminfouseyn" ref="/root/main/healexam/tmpldefine/healexaminfouseyn" overflow="visible" appearance="full" cellspacing="15" cols="2" style="left:531px; top:57px; width:100px; height:19px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>건진정보</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_rsltinfouseyn" ref="/root/main/healexam/tmpldefine/rsltinfouseyn" overflow="visible" appearance="full" cellspacing="15" cols="2" style="left:634px; top:57px; width:100px; height:19px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>결과정보</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_judginfouseyn" ref="/root/main/healexam/tmpldefine/judginfouseyn" overflow="visible" appearance="full" cellspacing="15" cols="2" style="left:737px; top:57px; width:100px; height:19px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>판정정보</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <line id="line1" class="line_2" style="x1:0px; y1:153px; x2:970px; y2:153px; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:80px; width:105px; height:23px; text-align:center; vertical-align:middle; ">건진고객등급</caption>
- <select1 id="cmb_healexamvipgrde" ref="/root/main/healexam/humtrainfo/healexamvipgrde" class="combo_default" appearance="minimal" style="left:108px; top:81px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0118list/A0118">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption6" class="cell_1" style="left:320px; top:80px; width:105px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
- <input id="ipt_pid" ref="/root/main/healexam/humtrainfo/pid" maxlength="10" style="left:428px; top:81px; width:110px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_pidsrch", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_pidsrch" class="icon_search" style="left:541px; top:81px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 등록번호 검색
- var search_condition = "pid";
- var search_term = model.getValue("/root/main/healexam/humtrainfo/pid");
- var receive_pid_path = "/root/main/healexam/humtrainfo/pid";
- var receive_patnm_path = "/root/main/healexam/humtrainfo/hngnm";
- var receive_mpphontel_path = "";
- var receive_email_path = "";
-
- cczfOpenSelectClnt(search_condition, search_term, receive_pid_path, receive_patnm_path, receive_mpphontel_path, receive_email_path);
- ]]>
- </script>
- </button>
- <input id="ipt_trgtnm" ref="/root/main/healexam/humtrainfo/hngnm" disabled="true" maxlength="30" style="left:560px; top:81px; width:200px; height:19px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:128px; x2:320px; y2:128px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:105px; width:105px; height:23px; text-align:center; vertical-align:middle; ">혈액형</caption>
- <caption id="caption22" style="left:110px; top:108px; width:37px; height:17px; ">(ABO)</caption>
- <select1 id="cmb_btype" ref="/root/main/healexam/humtrainfo/btype" class="combo_default" appearance="minimal" style="left:150px; top:106px; width:54px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0013list/P0013">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption23" style="left:207px; top:108px; width:40px; height:17px; ">/(RH)</caption>
- <select1 id="cmb_rh" ref="/root/main/healexam/humtrainfo/rh" class="combo_default" appearance="minimal" style="left:247px; top:106px; width:40px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0014list/P0014">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_sex" class="cell_1" style="left:0px; top:130px; width:105px; height:23px; text-align:center; vertical-align:middle; ">성별</caption>
- <select1 id="rdo_sex" ref="/root/main/healexam/humtrainfo/sex" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:108px; top:131px; width:138px; height:19px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/P0313list/P0313">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption10" class="cell_1" style="left:320px; top:105px; width:105px; height:48px; text-align:center; vertical-align:middle; ">연령</caption>
- <input id="ipt_agefrom" ref="/root/temp/age/agefrom" class="input_default" format="999" appearance="output" style="left:661px; top:106px; width:50px; height:19px; "/>
- <caption id="caption12" style="left:714px; top:106px; width:35px; height:17px; ">세 ~</caption>
- <input id="ipt_ageto" ref="/root/temp/age/ageto" class="input_default" format="999" appearance="output" style="left:752px; top:106px; width:50px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_age_ins", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption13" style="left:805px; top:106px; width:20px; height:17px; ">세</caption>
- <button id="btn_age_ins" class="btn2_letter2" style="left:661px; top:133px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 입력한 연령을 연령그리드에 넣어준다.
- var agefrom = model.getValue("/root/temp/age/agefrom");
- var ageto = model.getValue("/root/temp/age/ageto");
- if(agefrom == ""){
- var rtn = messageBox("시작연령 ", "C001");
- return;
- } else if(ageto == "") {
- var rtn = messageBox("끝연령 ", "C001");
- return;
- } else {
-
- if(agefrom > ageto){
- var rtn = messageBox("시작연령과 끝연령을 올바르게", "C001");
- } else {
- grd_age.addRow();
- model.copyNode("/root/main/agelist[" + grd_age.row + " ]", "/root/temp/age");
- model.resetInstanceNode("/root/temp/age");
- model.refresh();
- grd_age.attribute ( "height" ) = ( grd_age.rows ) * 23;
- model.setValue( "/root/init/diagdetlvw", "M" );
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_age_del" class="btn2_letter2" style="left:706px; top:133px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택한 연령그리드를 삭제한다.
- if ((grd_age.row > 0) && (grd_age.col > 1)){
- grd_age.deleteRow(grd_age.row);
- grd_age.refresh();
- grd_age.attribute ( "height" ) = ( grd_age.rows ) * 23;
- model.setValue( "/root/init/diagdetlvw", "M" );
- } else {
- messageBox("삭제할 행이 없거나 선택하지 ","E007");
- }
- ]]>
- </script>
- </button>
- <line id="line9" class="line_3" style="x1:0px; y1:203px; x2:970px; y2:203px; "/>
- <caption id="caption17" class="cell_1" style="left:0px; top:155px; width:105px; height:48px; text-align:center; vertical-align:middle; ">지역</caption>
- <datagrid id="grd_area" nodeset="/root/main/area" class="datagrid0" scroll="auto" caption="^시도^시도코드^시군구^시군구코드^읍면동^읍면동코드" colwidth="0, 100, 0, 100, 0, 210, 0" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" style="left:108px; top:155px; width:450px; height:47px; ">
- <col ref="seq" visibility="hidden"/>
- <col ref="city"/>
- <col ref="citycd" visibility="hidden"/>
- <col ref="citycntyarea"/>
- <col ref="citycntyareacd" visibility="hidden"/>
- <col ref="blok"/>
- <col ref="blokcd" visibility="hidden"/>
- </datagrid>
- <select1 id="cmb_city" ref="/root/temp/areagrup/citycd" class="combo_default" appearance="minimal" style="left:561px; top:156px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/areacity/city">
- <label ref="citynm"/>
- <value ref="citycd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 선택한 시도에 따른 시군구를 가져온다.
- // 선택한 시도의 lable값을 인스턴스에 심어준다.
- var citycd = model.getValue("/root/temp/areagrup/citycd");
- var citynm = cmb_city.label;
-
- model.setValue("/root/send/citycd",citycd);
- model.setValue("/root/temp/areagrup/city", citynm);
-
- model.removenodeset("/root/init/areacitycnty/citycntyarea");
- model.removenodeset("/root/init/areablok/blok");
- model.resetInstanceNode("/root/temp/areagrup/citycntyareacd");
- model.resetInstanceNode("/root/temp/areagrup/blokcd");
- submit("TRCDT00102");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_citycntyarea" ref="/root/temp/areagrup/citycntyareacd" class="combo_default" appearance="minimal" style="left:654px; top:156px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/areacitycnty/citycntyarea">
- <label ref="citycntyareanm"/>
- <value ref="citycntyareacd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 선택한 시군구에 대한 읍면동을 가져온다.
- // 선택한 시군구의 lable값을 인스턴스에 심어준다.
- var citycntyareacd = model.getValue("/root/temp/areagrup/citycntyareacd");
- var citycntyareanm = cmb_citycntyarea.label;
- model.setValue("/root/send/citycntyareacd",citycntyareacd);
- model.setValue("/root/temp/areagrup/citycntyarea", citycntyareanm);
- submit("TRCDT00103");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_blok" ref="/root/temp/areagrup/blokcd" class="combo_default" appearance="minimal" style="left:787px; top:156px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/areablok/blok">
- <label ref="bloknm"/>
- <value ref="blokcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 선택한 읍면동의 lable값을 인스턴스에 심어준다.
- var bloknm = cmb_blok.label;
- model.setValue("/root/temp/areagrup/blok", bloknm);
- ]]>
- </script>
- </select1>
- <button id="btn_area_ins" class="btn2_letter2" style="left:561px; top:180px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택한 지역을 지역그리드에 넣어준다.
- var citycd = model.getValue("/root/temp/areagrup/citycd");
- var city = model.getValue("/root/temp/areagrup/city");
- var citycntyareacd = model.getValue("/root/temp/areagrup/citycntyareacd");
- var citycntyarea = model.getValue("/root/temp/areagrup/citycntyarea");
- var blokcd = model.getValue("/root/temp/areagrup/blokcd");
- var blok = model.getValue("/root/temp/areagrup/blok");
- if(citycd == ""){
- var rtn = messageBox("시도를 ", "C002");
- return;
- } else {
- grd_area.additem();
- model.copyNode("/root/main/area[" + grd_area.row + " ]", "/root/temp/areagrup");
- //model.resetInstanceNode("/root/temp/citycd");
- model.resetInstanceNode("/root/temp/areagrup");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_area_del" class="btn2_letter2" style="left:606px; top:180px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택한 지역그리드를 삭제한다.
- deleteSelectedRows(grd_area, false); // 지역 선택행 삭제
- //grd_area.deleteRow(grd_area.row);
- //grd_area.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_age" nodeset="/root/main/agelist" class="datagrid" scroll="autovscroll" caption="^연령시작^연령끝" colwidth="0, 97, 97" dataheight="22" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" style="left:428px; top:105px; width:230px; height:48px; ">
- <col ref="seq" visibility="hidden"/>
- <col ref="agefrom"/>
- <col ref="ageto"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if ( model.getValue( "/root/init/diagdetlvw" ) == "P" && grd_age.rows > 2) {
- grd_age.attribute ( "height" ) = ( grd_age.rows ) * 23;
- model.setValue( "/root/init/diagdetlvw", "M" );
- } else if ( model.getValue( "/root/init/diagdetlvw" ) == "M" && grd_age.rows > 2) {
- grd_age.attribute ( "height" ) = "45";
- model.setValue( "/root/init/diagdetlvw", "P" );
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <switch id="switch2" style="left:225px; top:245px; width:970px; height:210px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case1">
- <line id="line10" class="line_2" style="x1:5px; y1:33px; x2:965px; y2:33px; "/>
- <caption id="caption26" class="cell_1" style="left:5px; top:10px; width:105px; height:23px; text-align:center; vertical-align:middle; ">건진일자</caption>
- <input id="ipt_infofromdd" ref="/root/main/healexam/healexaminfo/infofromdd" class="input_default" inputtype="date" style="left:113px; top:12px; width:93px; height:19px; "/>
- <caption id="caption18" class="search_no_b" style="left:209px; top:10px; width:12px; height:17px; ">~</caption>
- <input id="ipt_infotodd" ref="/root/main/healexam/healexaminfo/infotodd" class="input_default" inputtype="date" style="left:224px; top:12px; width:93px; height:19px; "/>
- <caption id="caption28" class="cell_1" style="left:418px; top:10px; width:90px; height:23px; text-align:center; vertical-align:middle; ">건진구분</caption>
- <select1 id="cmb_infohealexamflag" ref="/root/main/healexam/healexaminfo/infohealexamflag" class="combo_default" appearance="minimal" style="left:511px; top:12px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0068list/A0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetInfoHealExamflag(); // 건진정보의 건진구분 선택에 따른 활성화
- ]]>
- </script>
- </select1>
- <line id="line11" class="line_2" style="x1:5px; y1:58px; x2:414px; y2:58px; "/>
- <caption id="caption11" class="cell_1" style="left:5px; top:35px; width:105px; height:23px; text-align:center; vertical-align:middle; ">사업장</caption>
- <output id="opt_cmpycd" ref="/root/main/healexam/healexaminfo/cmpycd" class="output_fix" style="left:113px; top:37px; width:80px; height:19px; "/>
- <button id="btn_cmpysrch" class="icon_search" style="left:196px; top:37px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 사업장검색
- var receive_cmpynm_path = "/root/main/healexam/healexaminfo/cmpynm";
- var receive_cmpycd_path = "/root/main/healexam/healexaminfo/cmpycd";
- fCmpyCodeList(receive_cmpycd_path, receive_cmpynm_path);
- ]]>
- </script>
- </button>
- <output id="opt_cmpynm" ref="/root/main/healexam/healexaminfo/cmpynm" class="output_fix" style="left:215px; top:37px; width:200px; height:19px; "/>
- <line id="line13" class="line_2" style="x1:5px; y1:83px; x2:965px; y2:83px; "/>
- <caption id="caption16" class="cell_1" style="left:5px; top:60px; width:105px; height:23px; text-align:center; vertical-align:middle; ">2차간염</caption>
- <select1 id="rdo_scndhptstrgtyn" ref="/root/main/healexam/healexaminfo/scndhptstrgtyn" appearance="full" cols="2" rows="1" overflow="visible" style="left:113px; top:60px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>대상</label>
- <value>Y</value>
- </item>
- <item>
- <label>비대상</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption19" class="cell_1" style="left:216px; top:60px; width:90px; height:23px; text-align:center; vertical-align:middle; ">간암검사</caption>
- <select1 id="rdo_livcncrtrgtyn" ref="/root/main/healexam/healexaminfo/livcncrtrgtyn" appearance="full" cols="2" rows="1" overflow="visible" style="left:309px; top:60px; width:105px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>대상</label>
- <value>Y</value>
- </item>
- <item>
- <label>비대상</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption20" class="cell_1" style="left:5px; top:85px; width:105px; height:23px; text-align:center; vertical-align:middle; ">구강검사</caption>
- <select1 id="rdo_oraltestyn" ref="/root/main/healexam/healexaminfo/oraltestyn" appearance="full" cols="2" rows="1" overflow="visible" style="left:113px; top:85px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>대상</label>
- <value>Y</value>
- </item>
- <item>
- <label>비대상</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption24" class="cell_1" style="left:216px; top:85px; width:90px; height:23px; text-align:center; vertical-align:middle; ">무료암검사</caption>
- <select1 id="rdo_freecncrtrgtyn" ref="/root/main/healexam/healexaminfo/freecncrtrgtyn" appearance="full" cols="2" rows="1" overflow="visible" style="left:309px; top:85px; width:105px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>대상</label>
- <value>Y</value>
- </item>
- <item>
- <label>비대상</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <line id="line12" class="line_2" style="x1:5px; y1:108px; x2:965px; y2:108px; "/>
- <caption id="caption25" class="cell_1" style="left:418px; top:35px; width:90px; height:48px; text-align:center; vertical-align:middle; ">암검사 구분</caption>
- <select id="chk_stmccncrflagyn" ref="/root/main/healexam/healexaminfo/stmccncrflagyn" overflow="visible" appearance="full" cols="1" style="left:511px; top:37px; width:43px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>위</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select1 id="cmb_stmccncrflag" ref="/root/main/healexam/healexaminfo/stmccncrflag" class="combo_essential" appearance="minimal" style="left:557px; top:37px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0037list/C0037">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_largeintescncrflagyn" ref="/root/main/healexam/healexaminfo/largeintescncrflagyn" overflow="visible" appearance="full" cols="1" style="left:654px; top:37px; width:43px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>대장</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select1 id="cmb_largeintescncrflag" ref="/root/main/healexam/healexaminfo/largeintescncrflag" class="combo_essential" appearance="minimal" style="left:725px; top:37px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0037list/C0037">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_livcncrflagyn" ref="/root/main/healexam/healexaminfo/livcncrflagyn" overflow="visible" appearance="full" cols="1" style="left:822px; top:37px; width:43px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>간</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select1 id="cmb_livcncrflag" ref="/root/main/healexam/healexaminfo/livcncrflag" class="combo_essential" appearance="minimal" style="left:868px; top:37px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0037list/C0037">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_mamcncrflagyn" ref="/root/main/healexam/healexaminfo/mamcncrflagyn" overflow="visible" appearance="full" cols="1" style="left:511px; top:62px; width:43px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>유방</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select1 id="cmb_mamcncrflag" ref="/root/main/healexam/healexaminfo/mamcncrflag" class="combo_essential" appearance="minimal" style="left:557px; top:62px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0037list/C0037">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_cervcncrflagyn" ref="/root/main/healexam/healexaminfo/cervcncrflagyn" overflow="visible" appearance="full" cols="1" style="left:654px; top:62px; width:68px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>자궁경부</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select1 id="cmb_cervcncrflag" ref="/root/main/healexam/healexaminfo/cervcncrflag" class="combo_essential" appearance="minimal" style="left:725px; top:62px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0037list/C0037">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption27" class="cell_1" style="left:5px; top:110px; width:105px; height:96px; text-align:center; vertical-align:middle; ">패키지</caption>
- <datagrid id="grd_healexaminfopkg" nodeset="/root/main/healexaminfopkg" scroll="auto" caption="^패키지코드^명칭" colwidth="0, 100, 177" dataheight="23" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" tooltip="true" style="left:113px; top:110px; width:302px; height:73px; ">
- <col ref="seq" visibility="hidden"/>
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- </datagrid>
- <button id="btn_pkgsrch" class="icon_search" style="left:309px; top:185px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 건진정보패키지검색
- var receive_pkgnm_path = "/root/temp/healexaminfopkg/pkgnm";
- var receive_pkgcd_path = "/root/temp/healexaminfopkg/pkgcd";
- fPkgCodeList(receive_pkgcd_path, receive_pkgnm_path);
- ]]>
- </script>
- </button>
- <output id="opt_pkgnm" ref="/root/temp/healexaminfopkg/pkgnm" class="output_fix" style="left:113px; top:185px; width:193px; height:19px; "/>
- <button id="btn_pkg_ins" class="btn2_letter2" style="left:328px; top:185px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 입력한 연령을 연령그리드에 넣어준다.
- var pkgcd = model.getValue("/root/temp/healexaminfopkg/pkgcd");
- var pkgnm = model.getValue("/root/temp/healexaminfopkg/pkgnm");
- if(pkgcd == "" || pkgnm == ""){
- var rtn = messageBox("건진패키지를", "C001");
- return;
- } else {
- grd_healexaminfopkg.addRow();
- model.copyNode("/root/main/healexaminfopkg[" + grd_healexaminfopkg.row + " ]", "/root/temp/healexaminfopkg");
- model.resetInstanceNode("/root/temp/healexaminfopkg");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_pkg_del" class="btn2_letter2" style="left:373px; top:185px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택한 건진패키지를 삭제한다.
- deleteSelectedRows(grd_healexaminfopkg, false);
- ]]>
- </script>
- </button>
- <caption id="caption29" class="cell_1" style="left:418px; top:85px; width:90px; height:121px; text-align:center; vertical-align:middle; ">추가검사</caption>
- <datagrid id="grd_healexaminfotest" nodeset="/root/main/healexaminfotest" scroll="auto" caption="^검사코드^검사명" colwidth="0, 150, 271" dataheight="23" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" tooltip="true" style="left:511px; top:85px; width:451px; height:98px; ">
- <col ref="seq" visibility="hidden"/>
- <col ref="addtestcd"/>
- <col ref="addtestnm"/>
- </datagrid>
- <output id="opt_addtestcd" ref="/root/temp/healexaminfotest/addtestcd" class="output_fix" style="left:511px; top:185px; width:100px; height:19px; "/>
- <button id="btn_addtestsrch" class="icon_search" style="left:614px; top:185px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 검사검색
- var standard = model.getValue("/root/temp/healexaminfotest/addtestnm");
- var search_term = model.getValue("/root/temp/healexaminfotest/addtestcd");
- var receive_testnm_path = "/root/temp/healexaminfotest/addtestnm";
- var receive_testcd_path = "/root/temp/healexaminfotest/addtestcd";
- var receive_rsltflag_path = "/root/temp/healexaminfotest/rsltflag";
- fTestCodeList(standard, search_term, receive_testcd_path, receive_testnm_path, receive_rsltflag_path);
- ]]>
- </script>
- </button>
- <output id="opt_addtestnm" ref="/root/temp/healexaminfotest/addtestnm" class="output_fix" style="left:633px; top:185px; width:239px; height:19px; "/>
- <button id="btn_addtest_ins" class="btn2_letter2" style="left:875px; top:185px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 입력한 추가검사를 추가검사그리드에 넣어준다.
- var addtestcd = model.getValue("/root/temp/healexaminfotest/addtestcd");
- var addtestnm = model.getValue("/root/temp/healexaminfotest/addtestnm");
- if(addtestcd == "" || addtestnm == ""){
- var rtn = messageBox("추가검사를", "C001");
- return;
- } else {
- grd_healexaminfotest.addRow();
- model.copyNode("/root/main/healexaminfotest[" + grd_healexaminfotest.row + " ]", "/root/temp/healexaminfotest");
- model.resetInstanceNode("/root/temp/healexaminfotest");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_addtest_del" class="btn2_letter2" style="left:920px; top:185px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택한 건진패키지를 삭제한다.
- deleteSelectedRows(grd_healexaminfotest, false);
- ]]>
- </script>
- </button>
- </case>
- <case id="case2">
- <line id="line14" class="line_2" style="x1:5px; y1:33px; x2:317px; y2:33px; "/>
- <caption id="caption30" class="cell_1" style="left:5px; top:10px; width:105px; height:23px; text-align:center; vertical-align:middle; ">건진일자</caption>
- <input id="ipt_rsltfromdd" ref="/root/main/healexam/healexamrslt/rsltfromdd" class="input_default" inputtype="date" style="left:113px; top:12px; width:93px; height:19px; "/>
- <caption id="caption31" class="search_no_b" style="left:209px; top:10px; width:12px; height:17px; ">~</caption>
- <input id="ipt_rslttodd" ref="/root/main/healexam/healexamrslt/rslttodd" class="input_default" inputtype="date" style="left:224px; top:12px; width:93px; height:19px; "/>
- <caption id="caption32" class="cell_1" style="left:320px; top:10px; width:105px; height:23px; text-align:center; vertical-align:middle; ">건진구분</caption>
- <select1 id="cmb_rslthealexamflag" ref="/root/main/healexam/healexamrslt/rslthealexamflag" class="combo_default" appearance="minimal" style="left:428px; top:12px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0068list/A0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var rslthealexamflag = model.getValue("/root/main/healexam/healexamrslt/rslthealexamflag");
- if(rslthealexamflag == "G"){
- btn_judgcode.disabled = false;
- }else{
- btn_judgcode.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <output id="opt_testcd" ref="/root/temp/healexamrslttest/testcd" class="output_fix" style="left:113px; top:134px; width:150px; height:19px; "/>
- <output id="opt_testnm" ref="/root/temp/healexamrslttest/testnm" class="output_fix" style="left:266px; top:134px; width:300px; height:19px; "/>
- <select1 id="cmb_rsltflag" ref="/root/temp/healexamrslttest/rsltflag" class="combo_default" disabled="true" appearance="minimal" style="left:569px; top:134px; width:67px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0066list/A0066">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_testsrch" class="icon_search" style="left:639px; top:134px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 검사검색
- var standard = model.getValue("/root/temp/healexamrslttest/testnm");
- var search_term = model.getValue("/root/temp/healexamrslttest/testcd");
- var receive_testnm_path = "/root/temp/healexamrslttest/testnm";
- var receive_testcd_path = "/root/temp/healexamrslttest/testcd";
- var receive_rsltflag_path = "/root/temp/healexamrslttest/rsltflag";
- fTestCodeList(standard, search_term, receive_testcd_path, receive_testnm_path, receive_rsltflag_path);
- ]]>
- </script>
- </button>
- <input id="ipt_testrsltval" ref="/root/temp/healexamrslttest/testrsltval" class="input_default" editable="false" imemode="disabled" style="left:113px; top:159px; width:150px; height:19px; "/>
- <input id="ipt_testnvalminval" ref="/root/temp/healexamrslttest/testnvalminval" class="input_default" imemode="disabled" style="left:296px; top:159px; width:50px; height:19px; "/>
- <caption id="caption33" style="left:346px; top:159px; width:12px; height:17px; ">~</caption>
- <input id="ipt_testnvalmaxval" ref="/root/temp/healexamrslttest/testnvalmaxval" class="input_default" imemode="disabled" style="left:358px; top:159px; width:50px; height:19px; "/>
- <output id="opt_judgcd" ref="/root/temp/healexamrslttest/judgcd" class="output_fix" style="left:113px; top:184px; width:150px; height:19px; "/>
- <output id="opt_judgnm" ref="/root/temp/healexamrslttest/judgnm" class="output_fix" style="left:266px; top:184px; width:300px; height:19px; "/>
- <button id="btn_judgcode" class="icon_search" disabled="true" style="left:569px; top:184px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 판정검색
- var rsltflag = "joincode";
- var search_term = "";
- var receive_judgnm_path = "/root/temp/healexamrslttest/judgnm";
- var receive_judgcd_path = "/root/temp/healexamrslttest/judgcd";
- fJudgCodeList(rsltflag, search_term, receive_judgcd_path, receive_judgnm_path);
- ]]>
- </script>
- </button>
- <button id="btn_test_ins" class="btn2_letter2" style="left:658px; top:133px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 검색한 검사결과정보를 그리드에 넣어준다.
- var testnm = model.getValue("/root/temp/healexamrslttest/testnm");
- var testcd = model.getValue("/root/temp/healexamrslttest/testcd");
-
- if(testnm == "" || testcd ==""){
- var rtn = messageBox("검사코드 ", "C001");
- return;
- } else {
- grd_healexamrslttest.additem();
- model.copyNode("/root/main/healexamrslttest[" + grd_healexamrslttest.row + " ]", "/root/temp/healexamrslttest");
- model.resetInstanceNode("/root/temp/healexamrslttest");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_test_del" class="btn2_letter2" style="left:703px; top:133px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택한 검사그리드를 삭제한다.
- grd_healexamrslttest.deleteRow(grd_healexamrslttest.row);
- grd_healexamrslttest.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_healexamrslttest" nodeset="/root/main/healexamrslttest" caption="^검사코드^검사명^결과구분^검사일반결과값^검사수치최소값^검사수치최대값^판정코드^판정명" colsep="^" colwidth="0, 80, 145, 70, 120, 90, 90, 80, 145" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:113px; top:35px; width:849px; height:96px; ">
- <col ref="seq" visibility="hidden"/>
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="rsltflag"/>
- <col ref="testrsltval"/>
- <col ref="testnvalminval"/>
- <col ref="testnvalmaxval"/>
- <col ref="judgcd"/>
- <col ref="judgnm"/>
- </datagrid>
- <caption id="caption34" class="cell_1" style="left:5px; top:35px; width:105px; height:96px; text-align:center; vertical-align:middle; ">개별건진검사결과</caption>
- <caption id="caption35" class="cell_1" style="left:5px; top:131px; width:105px; height:25px; text-align:left; vertical-align:middle; ">1.검사코드</caption>
- <caption id="caption36" class="cell_1" style="left:5px; top:156px; width:105px; height:25px; text-align:left; vertical-align:middle; ">2.검사결과값</caption>
- <caption id="caption37" class="cell_1" style="left:5px; top:181px; width:105px; height:25px; text-align:left; vertical-align:middle; ">3.판정코드</caption>
- <button id="btn_clscd" class="icon_search" style="left:268px; top:160px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 판정검색
- var rsltflag = "O";
- var search_term = "";
- var receive_judgnm_path = "/root/temp/healexamrslttest/testrsltval";
- var receive_judgcd_path = "";
- fJudgCodeList(rsltflag, search_term, receive_judgcd_path, receive_judgnm_path);
- ]]>
- </script>
- </button>
- </case>
- <case id="case3">
- <line id="line16" class="line_2" style="x1:5px; y1:33px; x2:965px; y2:33px; "/>
- <caption id="caption38" class="cell_1" style="left:5px; top:10px; width:105px; height:23px; text-align:center; vertical-align:middle; ">건진일자</caption>
- <input id="ipt_judgfromdd" ref="/root/main/healexam/healexamjudg/judgfromdd" class="input_default" inputtype="date" style="left:113px; top:12px; width:93px; height:19px; "/>
- <caption id="caption39" class="search_no_b" style="left:209px; top:10px; width:12px; height:17px; ">~</caption>
- <input id="ipt_judgtodd" ref="/root/main/healexam/healexamjudg/judgtodd" class="input_default" inputtype="date" style="left:224px; top:12px; width:93px; height:19px; "/>
- <caption id="caption40" class="cell_1" style="left:320px; top:10px; width:105px; height:23px; text-align:center; vertical-align:middle; ">건진구분</caption>
- <select1 id="cmb_judghealexamflag" ref="/root/main/healexam/healexamjudg/judghealexamflag" class="combo_default" appearance="minimal" style="left:428px; top:12px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0068list/A0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <!--<script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fJudgHealExamFlagChoi();
- ]]>
- </script>-->
- </select1>
- <line id="line17" class="line_2" style="x1:5px; y1:118px; x2:965px; y2:118px; "/>
- <caption id="caption41" class="cell_1" style="left:5px; top:35px; width:105px; height:83px; text-align:center; vertical-align:middle; ">판정질환(종검)</caption>
- <datagrid id="grd_colgjudgsick" nodeset="/root/main/colgjudgsick" class="datagrid0" caption="^사업장코드^사업장명^질환코드^질환명^" colwidth="0, 60, 160, 60, 170" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" style="left:112px; top:36px; width:480px; height:83px; ">
- <col ref="seq" visibility="hidden"/>
- <col ref="cmpycd"/>
- <col ref="cmpynm"/>
- <col ref="sickcd"/>
- <col ref="sicknm"/>
- </datagrid>
- <output id="opt_cmpycd2" ref="/root/temp/colgjudgsick/cmpycd" class="output_fix" style="left:595px; top:36px; width:70px; height:19px; "/>
- <button id="btn_cmpysrch2" class="icon_search" style="left:668px; top:36px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 사업장검색
- var receive_cmpynm_path = "/root/temp/colgjudgsick/cmpynm";
- var receive_cmpycd_path = "/root/temp/colgjudgsick/cmpycd";
- fCmpyCodeList(receive_cmpycd_path, receive_cmpynm_path);
- ]]>
- </script>
- </button>
- <output id="opt_cmpynm2" ref="/root/temp/colgjudgsick/cmpynm" class="output_fix" style="left:687px; top:36px; width:220px; height:19px; "/>
- <!--<output id="opt_sickcd" ref="/root/temp/colgjudgsick/sickcd" class="output_fix" style="left:595px; top:61px; width:70px; height:19px; "/>-->
- <input id="ipt_sickcd" ref="/root/temp/colgjudgsick/sickcd" class="input_default" style="left:595px; top:61px; width:70px; height:19px; "/>
- <button id="btn_sicksrch" class="icon_search" style="left:668px; top:61px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 판정질환검색
- var receive_sicknm_path = "/root/temp/colgjudgsick/sicknm";
- var receive_sickcd_path = "/root/temp/colgjudgsick/sickcd";
- fSickCodeList(receive_sickcd_path, receive_sicknm_path);
-
- ]]>
- </script>
- </button>
- <!--<output id="opt_sicknm" ref="/root/temp/colgjudgsick/sicknm" class="output_fix" style="left:687px; top:61px; width:185px; height:19px; "/>-->
- <input id="ipt_sicknm" ref="/root/temp/colgjudgsick/sicknm" class="input_default" style="left:687px; top:61px; width:220px; height:19px; "/>
- <button id="btn_sick_ins" class="btn2_letter2" style="left:595px; top:85px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 검색한 판정질환(종검)정보를 그리드에 넣어준다.
- var cmpycd = model.getValue("/root/temp/colgjudgsick/cmpycd");
- var sickcd = model.getValue("/root/temp/colgjudgsick/sickcd");
- if(sickcd ==""){
- var rtn = messageBox("판정질환을 ", "C001");
- return;
- } else {
- grd_colgjudgsick.additem();
- model.copyNode("/root/main/colgjudgsick[" + grd_colgjudgsick.row + " ]", "/root/temp/colgjudgsick");
- model.resetInstanceNode("/root/temp/colgjudgsick");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_sick_del" class="btn2_letter2" style="left:640px; top:85px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelRow(grd_colgjudgsick);
- ]]>
- </script>
- </button>
- <line id="line18" class="line_2" style="x1:5px; y1:203px; x2:965px; y2:203px; "/>
- <caption id="caption42" class="cell_1" style="left:5px; top:120px; width:105px; height:83px; text-align:center; vertical-align:middle; ">판정코드(일검)</caption>
- <datagrid id="grd_gnrljudg" nodeset="/root/main/gnrljudg" class="datagrid0" caption="^분류코드^하위코드^상세코드^상세코드명" colwidth="0, 80, 80, 80, 200" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" style="left:112px; top:121px; width:480px; height:83px; ">
- <col ref="seq" visibility="hidden"/>
- <col ref="clscd"/>
- <col ref="etccd"/>
- <col ref="etcdetlcd"/>
- <col ref="etcdetlnm"/>
- </datagrid>
- <output id="opt_gnrljudgcd" ref="/root/temp/gnrljudg/etcdetlcd" class="output_fix" style="left:595px; top:146px; width:100px; height:19px; "/>
- <button id="btn_gnrljudgsrch" class="icon_search" style="left:810px; top:123px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 판정검색
- var receive_clscd_path = "/root/temp/gnrljudg/clscd"
- var receive_etccd_path = "/root/temp/gnrljudg/etccd"
- var receive_etcdetlcd_path = "/root/temp/gnrljudg/etcdetlcd";
- var receive_etcdetlnm_path = "/root/temp/gnrljudg/etcdetlnm";
- fClsCodeList(receive_clscd_path, receive_etccd_path, receive_etcdetlcd_path, receive_etcdetlnm_path);
- ]]>
- </script>
- </button>
- <button id="btn_gnrljudg_ins" class="btn2_letter2" style="left:595px; top:171px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var clscd = model.getValue("/root/temp/gnrljudg/clscd");
- if(clscd == ""){
- var rtn = messageBox("판정코드를 ", "C001");
- return;
- } else {
- grd_gnrljudg.additem();
- model.copyNode("/root/main/gnrljudg[" + grd_gnrljudg.row + " ]", "/root/temp/gnrljudg");
- model.resetInstanceNode("/root/temp/gnrljudg");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_gnrljudg_del" class="btn2_letter2" style="left:640px; top:171px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelRow(grd_gnrljudg);
-
- ]]>
- </script>
- </button>
- <output id="output1" ref="/root/temp/gnrljudg/clscd" class="output_fix" style="left:595px; top:121px; width:100px; height:19px; "/>
- <output id="output2" ref="/root/temp/gnrljudg/etcdetlnm" class="output_fix" style="left:702px; top:146px; width:205px; height:19px; "/>
- <output id="output4" ref="/root/temp/gnrljudg/etccd" class="output_fix" style="left:702px; top:121px; width:100px; height:19px; "/>
- </case>
- <!--<case id="case4" selected="true">
- <line id="line20" class="line_2" style="x1:5px; y1:58px; x2:450px; y2:58px; "/>
- <caption id="caption60" class="cell_1" style="left:5px; top:10px; width:105px; height:48px; text-align:center; vertical-align:middle; ">캠페인</caption>
- <select1 id="cmb_cmpnlrgcd" ref="/root/main/healexam/cmpnlnk/cmpnlrgcd" class="combo_default" appearance="minimal" style="left:113px; top:12px; width:108px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmpnlrg/cmpnlrggrup">
- <label ref="cmpnlrgnm"/>
- <value ref="cmpnlrgcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.removenodeset("/root/init/cmpnmdl/cmpnmdlgrup");
- model.removenodeset("/root/init/cmpnsml/cmpnsmlgrup");
- model.resetInstanceNode("/root/main/info/cmpnmdlcd");
- model.resetInstanceNode("/root/main/info/cmpnsmlcd");
-
- // 선택한 캠페인 대분류에 따른 캠페인 중분류를 가져온다.
- fGetCmpnMdlCd();
- model.setFocus("cmb_cmpnmdlcd");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cmpnmdlcd" ref="/root/main/healexam/cmpnlnk/cmpnmdlcd" class="combo_default" appearance="minimal" style="left:224px; top:12px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmpnmdl/cmpnmdlgrup">
- <label ref="cmpnmdlnm"/>
- <value ref="cmpnmdlcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 선택한 캠페인 대분류에 따른 캠페인 중분류를 가져온다.
- fGetCmpnSmlCd();
- model.setFocus("cmb_cmpnsmlcd");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cmpnsmlcd" ref="/root/main/healexam/cmpnlnk/cmpnsmlcd" class="combo_default" appearance="minimal" style="left:337px; top:12px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmpnsml/cmpnsmlgrup">
- <label ref="cmpnsmlnm"/>
- <value ref="cmpnsmlcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // 선택한 캠페인 소분류에 따른 캠페인 리스트를 가져온다.
- fGetCmpnList();
- ]]>
- </script>
- </select1>
- <input id="ipt_cmpnnm" ref="/root/main/healexam/cmpnlnk/cmpnnm" class="input_default" style="left:113px; top:35px; width:221px; height:19px; "/>
- <line id="line21" class="line_2" style="x1:5px; y1:82px; x2:450px; y2:82px; "/>
- <caption id="caption62" class="cell_1" style="left:5px; top:60px; width:105px; height:23px; text-align:center; vertical-align:middle; ">자동실행구분</caption>
- <select1 id="cmb_autexecflag" ref="/root/main/healexam/tmpldefine/autexecflag" class="combo_default" appearance="minimal" style="left:113px; top:62px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>자동</label>
- <value>A</value>
- </item>
- <item>
- <label>수동</label>
- <value>M</value>
- </item>
- </choices>
- </select1>
- <caption id="caption61" class="cell_1" style="left:220px; top:60px; width:105px; height:23px; text-align:center; vertical-align:middle; ">매일 실행 시각</caption>
- <input id="ipt_execdt" ref="/root/main/healexam/tmpldefine/execdt" class="input_default" format="hh:nn" style="left:328px; top:60px; width:119px; height:19px; "/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var check_tm = model.getValue("/root/main/healexam/tmpldefine/daydd");
- if (check_tm != "" && !isValidDateTime(check_tm,"hhmm")) {
- messageBox("시간이 바르게 입력되지","E007");
- model.resetInstanceNode("/root/main/healexam/tmpldefine/daydd");
- model.refresh();
- model.setFocus("ipt_daydd");
- }
- ]]>
- </script>
- <line id="line22" class="line_2" style="x1:5px; y1:106px; x2:965px; y2:106px; "/>
- <caption id="caption64" class="cell_1" style="left:5px; top:84px; width:105px; height:23px; text-align:center; vertical-align:middle; ">고객존재시</caption>
- <select1 id="rdo_clintdupltretmthd" ref="/root/main/healexam/tmpldefine/clintdupltretmthd" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:113px; top:86px; width:250px; height:19px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>변경됨</label>
- <value>0</value>
- </item>
- <item>
- <label>추가 등록됨</label>
- <value>1</value>
- </item>
- <item>
- <label>적용안함</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <datagrid id="grd_cmpnlist" nodeset="/root/main/info/cmpnlist" caption="소분류^캠페인 코드^캠페인명" colwidth="130, 90, 240" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:451px; top:10px; width:500px; height:95px; ">
- <col ref="cmpnsmlnm"/>
- <col ref="cmpncd"/>
- <col ref="cmpnnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // 선택한 데이터마이닝 대그룹에 속한 데이터마이닝 중그룹을 가져온다.
- var row = grd_cmpnlist.row;
- var cmpncd = grd_cmpnlist.valueMatrix( row, grd_cmpnlist.colRef("cmpncd"));
- var cmpnnm = grd_cmpnlist.valueMatrix( row, grd_cmpnlist.colRef("cmpnnm"));
- model.setValue("/root/main/healexam/cmpnlnk/cmpncd", cmpncd);
- model.setValue("/root/main/healexam/cmpnlnk/cmpnnm", cmpnnm);
-
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <line id="line23" class="line_2" style="x1:5px; y1:131px; x2:965px; y2:131px; "/>
- <caption id="caption44" class="cell_1" style="left:5px; top:108px; width:105px; height:23px; text-align:center; vertical-align:middle; ">적용기준일</caption>
- <select1 id="rdo_appbasedd" ref="/root/main/healexam/tmpldefine/appbasedd" appearance="full" cellspacing="15" cols="7" overflow="visible" style="left:113px; top:110px; width:330px; height:19px; background-color:transparent; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/C0032list/C0032">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_spcldd" ref="/root/main/healexam/tmpldefine/spcldd" class="input_search" inputtype="date" style="left:445px; top:110px; width:120px; height:19px; "/>
- </case>-->
- </switch>
- <button id="btn_healexaminfo" class="btn_sw" group="tab" style="left:225px; top:225px; width:100px; height:22px; ">
- <caption>건진정보</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var healexaminfouseyn = model.getvalue("/root/main/healexam/tmpldefine/healexaminfouseyn")
-
- if (healexaminfouseyn == "Y") {
- model.toggle("case1");
- } else {
- messageBox("연결정보중 건진정보가 선택되지","E007");
- }
- ]]>
- </script>
- </button>
- <button id="btn_rsltinfo" class="btn_sw" group="tab" style="left:325px; top:225px; width:100px; height:22px; ">
- <caption>결과정보</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rsltinfouseyn = model.getvalue("/root/main/healexam/tmpldefine/rsltinfouseyn")
-
- if (rsltinfouseyn == "Y") {
- model.toggle("case2");
- } else {
- messageBox("연결정보중 결과정보가 선택되지","E007");
- }
- ]]>
- </script>
- </button>
- <button id="btn_judginfo" class="btn_sw" group="tab" style="left:425px; top:225px; width:100px; height:22px; ">
- <caption>판정정보</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var judginfouseyn = model.getvalue("/root/main/healexam/tmpldefine/judginfouseyn")
-
- if (judginfouseyn == "Y") {
- model.toggle("case3");
- } else {
- messageBox("연결정보중 판정정보가 선택되지","E007");
- }
- ]]>
- </script>
- </button>
- <!--<button id="btn_cmpn" class="btn_sw" group="tab" style="left:525px; top:275px; width:100px; height:22px; ">
- <caption>캠페인 연결</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case4");
- ]]>
- </script>
- </button>-->
- <group id="group4" style="left:225px; top:465px; width:970px; height:310px; ">
- <caption id="caption45" class="tit_2" style="left:5px; top:0px; width:251px; height:13px; ">탬플릿 수동 실행 미리보기 결과</caption>
- <button id="btn_sms" class="btn3_letter5" style="left:5px; top:16px; width:92px; height:22px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cczfSMSTrsmOpen("grid",grd_healexamdtmnexeclist,1,7,"","");
- ]]>
- </script>
- </button>
- <button id="btn_email" class="btn3_letter5" style="left:100px; top:16px; width:92px; height:22px; ">
- <caption>이메일발송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cczfEmailTrsmOpen("grid",grd_dtmnexec,8,"");
- ]]>
- </script>
- </button>
- <button id="btn_dm" class="btn3_letter4" style="left:195px; top:16px; width:80px; height:22px; ">
- <caption>DM출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cczfDMTrsmOpen(grd_dtmnexec,1,9,10,2);
- ]]>
- </script>
- </button>
- <!--<button id="btn_cmpn_ins" class="btn3_letter5" style="left:278px; top:16px; width:92px; height:22px; ">
- <caption>캠페인등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- cczfOpenInsertCmpn(grd_dtmnexec,"03");
- ]]>
- </script>
- </button>-->
- <caption id="caption46" style="left:690px; top:16px; width:80px; height:17px; ">전체 인원수 :</caption>
- <output id="opt_count" ref="/root/temp/countnode" appearance="output" style="left:773px; top:15px; width:30px; height:19px; text-align:right; "/>
- <caption id="caption47" style="left:806px; top:16px; width:30px; height:17px; ">건</caption>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:839px; top:15px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file_nm = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (file_nm != "") {
- grd_healexamdtmnexeclist.saveExcel(file_nm, "SheetName", true, true, "", "", false);
- }
- ]]>
- </script>
- </button>
- <button id="btn_manlexec" class="btn2_letter4" style="left:906px; top:15px; width:64px; height:19px; ">
- <caption>수동실행</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fHealExamDtMnExec(); //건진데이터마이닝 수동실행
- ]]>
- </script>
- </button>
- <line id="line24" class="line_1" style="x1:0px; y1:41px; x2:970px; y2:41px; "/>
- <datagrid id="grd_healexamdtmnexeclist" nodeset="/root/main/list/healexamdtmnexeclist" caption="이름^등록번호^성별^혈액형^RH^나이^휴대폰^이메일^우편번호^주소^최종내원일" colwidth="100, 100, 50, 50, 50, 50, 100, 150, 100, 295, 100" defaultrows="1" explorerbar="sortshowmove" rowheader="seq" style="left:0px; top:46px; width:970px; height:240px; ">
- <col ref="hngnm"/>
- <col ref="pid"/>
- <col ref="sex"/>
- <col ref="btype"/>
- <col ref="rh"/>
- <col ref="age"/>
- <col ref="mpphontel"/>
- <col ref="email"/>
- <col ref="zipcd"/>
- <col ref="address"/>
- <col ref="lastchosdt"/>
- </datagrid>
- <button id="btn_select" class="btn2_letter4" style="left:0px; top:289px; width:64px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var grid = grd_healexamdtmnexeclist;
- var grid_rows = grid.rows-1;
- grid.selectionmode = "byrow";
- grid.select(1, 1, grid_rows, 1) = true;
- ]]>
- </script>
- </button>
- <button id="btn_release" class="btn2_letter4" style="left:67px; top:289px; width:64px; height:19px; ">
- <caption>전체해제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var grid = grd_healexamdtmnexeclist;
- var grid_rows = grid.rows-1;
- grid.selectionmode = "byrow";
- grid.select(1, 1, grid_rows, 1) = false;
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" style="left:0px; top:23px; width:215px; height:757px; ">
- <caption id="caption48" class="tit_2" style="left:0px; top:0px; width:215px; height:14px; ">건진정보마이닝 템플릿</caption>
- <import id="import1" src="./SSCHT00400_건진데이터마이닝그룹트리.xrw" style="left:0px; top:13px; width:215px; height:744px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|