123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <acptinfo>
- <item>
- <pid/>
- <hngnm/>
- <rgstno1/>
- <rgstno2/>
- <sex/>
- <age/>
- <cmpycd/>
- <cmpynm/>
- <pkgcd/>
- <pkgnm/>
- <schlgrde/>
- <clsid/>
- <stuid/>
- <plceflag/>
- <orddd/>
- <judgdd/>
- <judgdrid/>
- <drnm/>
- <reexamfg/>
- </item>
- <rsltlst>
- <item>
- <prcpdd/>
- <execprcpuniqno/>
- <prcpno/>
- <testcd/>
- <testnm/>
- <testrsltcnts>
- </testrsltcnts>
- <outtestrsltcnts/>
- <rsltunit/>
- <rsltflag/>
- <remcnts/>
- <assorsltcnts/>
- <judgcd/>
- <judgrsltcnts/>
- <inptflag/>
- <choirslt>
- <item/>
- </choirslt>
- <judgmark/>
- <refh/>
- <refl/>
- </item>
- </rsltlst>
- <rsltlst2>
- <item>
- <prcpdd/>
- <execprcpuniqno/>
- <prcpno/>
- <testcd/>
- <testnm/>
- <testrsltcnts>
- </testrsltcnts>
- <outtestrsltcnts/>
- <rsltunit/>
- <rsltflag/>
- <remcnts/>
- <assorsltcnts/>
- <judgcd/>
- <judgrsltcnts/>
- <inptflag/>
- <choirslt>
- <item/>
- </choirslt>
- <judgmark/>
- <refh/>
- <refl/>
- </item>
- </rsltlst2>
- <judginfo>
- <specinfo>
- <judgchs>1</judgchs>
- <inqryn/>
- <judgdd/>
- <judgdrid/>
- <pjjgcd/>
- <sjsayoucd/>
- <pkgcd/>
- <pkgnm/>
- <judg1st/>
- <judg1stnm/>
- <judg2st/>
- <judg2stnm/>
- <jchcd/>
- <jchnm/>
- <judgcd/>
- <jhcd/>
- <jhnm/>
- <sbcd/>
- <sbnm/>
- <shcd1/>
- <shcd2/>
- <shcd3/>
- <upmjhscd/>
- <lastjudg/>
- </specinfo>
- <specjudg>
- <judgseq/>
- <pkgcd/>
- <pkgnm/>
- <judg1st/>
- <judg1stnm/>
- <jchcd/>
- <jchnm/>
- <judgchs/>
- <inqryn/>
- <judgdd/>
- <judgdrid/>
- <pjjgcd/>
- <sjsayoucd/>
- <judg2st/>
- <judgcd/>
- <jhcd/>
- <jhnm/>
- <sbcd/>
- <sbnm/>
- <shcd1/>
- <shcd2/>
- <shcd3/>
- <upmjhscd/>
- </specjudg>
- <genjudg>
- <code/>
- <judg1st/>
- <judg1stnm/>
- <jchcd/>
- <jchnm/>
- </genjudg>
- <spclrecinfo>
- <workproccd/>
- <workprocnm/>
- <dayspclworktm/>
- <prodcd/>
- <prodnm/>
- <spclhealexamflag/>
- <duptype/>
- <medioph/>
- <mediotor/>
- <mediskin/>
- <medidental/>
- <mdclhstr/>
- <fmlhstr/>
- <workcause/>
- </spclrecinfo>
- <bizhistlst>
- <seqno/>
- <jobprgrs/>
- <trtchmmt/>
- <sxpsrtermyear/>
- <sxpsrtermmonth/>
- <cmpyno/>
- <cmpynm/>
- <deptnm/>
- </bizhistlst>
- <spclsymplst>
- <sympcd/>
- <sympnm/>
- </spclsymplst>
- </judginfo>
- <inqrlst>
- <item>
- <inqrcd/>
- <inqrnm/>
- <answcd/>
- <answcnts/>
- <remcnts/>
- <answflag/>
- <inptflag/>
- <inqrflag/>
- </item>
- </inqrlst>
- </acptinfo>
- <tempinfo>
- <assorsltlst1>
- <itemasso/>
- </assorsltlst1>
- </tempinfo>
- </main>
- <send>
- <srchhealexamdetlflag/>
- <srchfromdd/>
- <srchtodd/>
- <srchcmpycd/>
- <srchcmpynm/>
- <srchpkgnm/>
- <srchpkgcd2/>
- <srchpid2/>
- <srchpnm/>
- <srchroomcd/>
- <srchinstcd/>
- <srchhealexamflag/>
- <srchpkgcd/>
- <srchtestcd2/>
- <srchrsltflag/>
- <save>
- <healexamflag/>
- <healexamdetlflag/>
- <rsrvdd/>
- <rsrvno/>
- <pid/>
- <orddd/>
- <cretno/>
- <saverslt/>
- <saveinqr/>
- <pkgcd/>
- </save>
- <srchorddd/>
- <srchcretno/>
- <srchrsrvdd/>
- <srchrsrvno/>
- <srchpid/>
- <srchinqrflag/>
- <srchstatfg>G</srchstatfg>
- <dgflag>1</dgflag>
- <dgflag2/>
- <srchpkgflag/>
- <srchoralyn/>
- <srchstatflag/>
- <srchdrflag/>
- </send>
- <hidden>
- <answlst>
- <item/>
- </answlst>
- <count/>
- </hidden>
- <temp>
- <tmpdatas>
- <tmpflag/>
- </tmpdatas>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/pacsweb/js/ZEP001.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <submission id="TRZBC00101"/>
- <submission id="TRAHA00001"/>
- <submission id="TRAHA00002"/>
- <submission id="TRAHR04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/judginfo"/>
- <submission id="TRAHR04002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/judginfo/pjjgcdlst"/>
- <submission id="TRAHR04003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/tmpdatas"/>
- <submission id="TRAHR04004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/tmpdatas"/>
- <submission id="TRAHR04005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/judginfo"/>
- <submission id="TRAHR04009" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/judginfo"/>
- <submission id="TXAHR04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden/count"/>
- <submission id="TXAHR04003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/recSave" replace="instance" resultref="/root/hidden/count"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var m_vHealexamflag = "G";
- var m_vHealexamdetlflag = model.getValue("/root/send/srchhealexamdetlflag");
-
- var row = "";
-
- function fViewNum(){
- window.parent.javascript.vidx = "1";
- }
-
- /**
- * 소견 및 조치내용 가져오기
- * 소견및 조치내용은 종합판정문구 관리에서 건진구분 - 일반으로 관리.
- * vEditObj : 선택한 판정내용이 입력될 입력컨트롤명
- * SPAHR00300_PARAM1: 다중선택여부(Y/N)
- * SPAHR00300_PARAM2: 목적노드Set
- * SPAHR00300_PARAM3: 종합판정문구코드 목적노드
- * SPAHR00300_PARAM4: 종합판정문구내용 목적노드
- * SPAHR00300_PARAM5: 종합판정문구검색코드
- * SPAHR00300_PARAM6: 종합판정문구검색내용
- * SPAHR00300_PARAM7: 건진구분
- */
- function fGetJudgExmpCnts(vEditObj, jCode){
- if( vEditObj == null ) return ;
- model.makeNode("/root/temp/judgexaminfo");
- setParameter("SPAHR00300_PARAM1", "Y");
- setParameter("SPAHR00300_PARAM2", "/root/temp/judgexaminfo");
- setParameter("SPAHR00300_PARAM7", fGetHealExamFlag() );
- setParameter("SPAHR00300_PARAM8", jCode );
- modal("SPAHR00300", 100, 100, "SPAHR00300");
-
- if( model.getValue("/root/temp/SPAHR00300/okflag") != "ok" ) return ;
-
- var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
- if( vNodeList == null ) reutrn ;
- var vJudgCnts = model.getValue( vEditObj.attribute("ref") );
- for( var i = 0 ; i < vNodeList.length ; i++){
- vJudgCnts += "- "+vNodeList.item(i).judghangcnts.text;
- }
- model.setValue( vEditObj.attribute("ref") , vJudgCnts );
- vEditObj.refresh();
- }
-
- function fCheckExamInfo(){
- var idx = window.parent.grd_acptlst.row;
- if( idx < 1) {
- return false;
- }
- model.copyNode("/root/main/acptinfo/item", window.parent.grd_acptlst.nodeset + "[" + idx + "]");
- //결과내역가져오기
- var sNode = window.parent.grd_acptlst.nodeset + "[" + idx + "]/";
- var rsrvdd = window.parent.model.getValue(sNode + "rsrvdd");
- var rsrvno = window.parent.model.getValue(sNode + "rsrvno");
- var pid = window.parent.model.getValue(sNode + "pid");
- var orddd = window.parent.model.getValue(sNode + "orddd");
- var cretno = window.parent.model.getValue(sNode + "cretno");
- var pkgcd = window.parent.model.getValue(sNode + "pkgcd");
-
- if( (pid == "" ) || (orddd=="") || (cretno == "") || (rsrvdd == "") || (rsrvno == "") ){
- messageBox("유효하지 않은 데이터 입니다!", "E999");
- return false;
- }
- model.setValue("/root/send/srchrsrvdd" , rsrvdd );
- model.setValue("/root/send/srchrsrvno" , rsrvno );
- model.setValue("/root/send/srchpid" , pid );
- model.setValue("/root/send/srchorddd" , orddd );
- model.setValue("/root/send/srchcretno" , cretno );
- model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() );
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
- }
-
- /**
- *건진내역별 상세내역가져오기( 판정내역조회)
- *건진구분/건진일자/검사실/환자id/단체코드/패키지코드별 조회
- */
- function fGetJudgInfo( ){
- if( fCheckExamInfo() == false ) return ;
- openLoadingBar("판정정보 ") ;//처리중 화면을 오픈한다.
- closeLoadingBar() ;//처리중 화면을 close한다.
- }
-
- /**===================================================================================
- @desc : 공통 저장정보관련 check
- =====================================================================================*/
- function fCheckSaveInfo(){
- if(model.getValue("/root/send/srchpid") == ""){
- messageBox("판정정보를 저장할 수진자를 선택해 주세요.", "I999"); return;
- }
-
- if(model.getValue("/root/main/acptinfo/judginfo/specinfo/judgchs") == ""){
- messageBox("판정차수를 ", "C001");
- return;
- }
-
- if(model.getValue("/root/main/acptinfo/judginfo/specinfo/judgdd") == ""){
- messageBox("판정일자를 ", "C001");
- return;
- }
- if(model.getValue("/root/main/acptinfo/judginfo/specinfo/judgdrid") == ""){
- messageBox("판정의를 ", "C001");
- return;
- }
-
- for(var i = grd_spcljudglst.fixedRows; i<grd_spcljudglst.rows; i++){
- if(grd_spcljudglst.rowStatus(i) != 4){
- var sPkgcd = grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("pkgcd"));
- var sPjjgcd = grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("pjjgcd"));
- var sJudg1st = grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judg1st"));
- var sJudgcd = grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judgcd"));
-
- for(var j=grd_spcljudglst.fixedRows; j<grd_spcljudglst.rows; j++){
- if(grd_spcljudglst.rowStatus(j) != 4){
- var dPkgcd = grd_spcljudglst.valueMatrix(j, grd_spcljudglst.colRef("pkgcd"));
- var dPjjgcd = grd_spcljudglst.valueMatrix(j, grd_spcljudglst.colRef("pjjgcd"));
- var dJudg1st = grd_spcljudglst.valueMatrix(j, grd_spcljudglst.colRef("judg1st"));
- var dJudgcd = grd_spcljudglst.valueMatrix(j, grd_spcljudglst.colRef("judgcd"));
- if(i!=j){
- if((sPkgcd+sPjjgcd+sJudg1st+sJudgcd) == (dPkgcd+dPjjgcd+dJudg1st+dJudgcd)){
- alert(i + "번째 행과 " + j + "번째 행이 중복되었습니다.");
- return;
- }
- }
- }
- }
- }
- }
-
- model.makeNode("/root/hidden/count");
-
- if(messageBox("판정정보를 ", "Q002") == 6){
- //저장하기 위한 노드 값 이동
- model.makeValue("/root/send/save/healexamflag", model.getValue("/root/send/srchhealexamflag"));
- model.makeValue("/root/send/save/healexamdetlflag", model.getValue("/root/send/srchhealexamdetlflag"));
- model.makeValue("/root/send/save/rsrvdd", model.getValue("/root/send/srchrsrvdd"));
- model.makeValue("/root/send/save/rsrvno", model.getValue("/root/send/srchrsrvno"));
- model.makeValue("/root/send/save/pid", model.getValue("/root/send/srchpid"));
- model.makeValue("/root/send/save/pkgcd", model.getValue("/root/send/srchpkgcd"));
- model.makeValue("/root/send/save/orddd", model.getValue("/root/send/srchorddd"));
- model.makeValue("/root/send/save/inqryn", model.getValue("/root/main/acptinfo/judginfo/specinfo/inqryn"));
- model.makeValue("/root/send/save/judgchs", model.getValue("/root/main/acptinfo/judginfo/specinfo/judgchs"));
- model.makeValue("/root/send/save/judgdd", model.getValue("/root/main/acptinfo/judginfo/specinfo/judgdd"));
- model.makeValue("/root/send/save/judgdrid", model.getValue("/root/main/acptinfo/judginfo/specinfo/judgdrid"));
- model.makeValue("/root/send/save/lastjudg", model.getValue("/root/main/acptinfo/judginfo/specinfo/lastjudg"));
-
- model.makeValue("/root/send/save/savegrid", grd_spcljudglst.getUpdateData());
- if (submit("TXAHR04001")){
- submit("TRAHR04001");
- }
- }
- }
-
- /**===================================================================================
- @desc : 이력정보 저장
- =====================================================================================*/
- function fCheckSaveRecInfo(){
- if(model.getValue("/root/send/srchpid") == ""){
- messageBox("판정정보를 저장할 수진자를 선택해 주세요.", "I999"); return;
- }
- model.makeNode("/root/hidden/count");
-
- if(messageBox("환자의 이력정보를 ", "Q002") == 6){
- //저장하기 위한 노드 값 이동
- model.makeValue("/root/send/save/recSave/healexamflag", model.getValue("/root/send/srchhealexamflag"));
- model.makeValue("/root/send/save/recSave/healexamdetlflag", model.getValue("/root/send/srchhealexamdetlflag"));
- model.makeValue("/root/send/save/recSave/rsrvdd", model.getValue("/root/send/srchrsrvdd"));
- model.makeValue("/root/send/save/recSave/rsrvno", model.getValue("/root/send/srchrsrvno"));
- model.makeValue("/root/send/save/recSave/pid", model.getValue("/root/send/srchpid"));
- model.makeValue("/root/send/save/recSave/workproccd", model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/workproccd"));
- model.makeValue("/root/send/save/recSave/workprocnm", model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/workprocnm"));
- model.makeValue("/root/send/save/recSave/dayspclworktm", model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/dayspclworktm"));
- model.makeValue("/root/send/save/recSave/prodcd", model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/prodcd"));
- model.makeValue("/root/send/save/recSave/prodnm", model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/prodnm"));
- model.makeValue("/root/send/save/recSave/spclhealexamflag", model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/spclhealexamflag"));
- model.makeValue("/root/send/save/recSave/duptype", model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/duptype"));
- model.makeValue("/root/send/save/recSave/medioph", model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/medioph"));
- model.makeValue("/root/send/save/recSave/mediotor", model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/mediotor"));
- model.makeValue("/root/send/save/recSave/mediskin", model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/mediskin"));
- model.makeValue("/root/send/save/recSave/medidental", model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/medidental"));
- model.makeValue("/root/send/save/recSave/mdclhstr", model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/mdclhstr"));
- model.makeValue("/root/send/save/recSave/fmlhstr", model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/fmlhstr"));
- model.makeValue("/root/send/save/recSave/workcause", model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/workcause"));
-
- //과거직력
- var bizHist = getGridUpdateData(grd_bizhistlst);
- model.makeValue("/root/send/save/recSave/bizhistInfo", bizHist);
-
- //자타각
- for(var i=1; i <= grd_spclsymplst.rows; i++) {
- if(grd_spclsymplst.rowStatus(i) == 0) {
- grd_spclsymplst.rowStatus(i) = 2;
- }
- }
- var spclSymp = getGridUpdateData(grd_spclsymplst);
- model.makeValue("/root/send/save/recSave/spclsympinfo", spclSymp);
-
- if (submit("TXAHR04003")){
- submit("TRAHR04001");
- }
- }
- model.refresh();
- }
-
- /*부모폼에서 iviewer로 호출될때 해당 노드에 값 셋팅 - 모폼의 fGetEtcInfo 함수 호출*/
- function fInitDasplay() {
- //grd_spcljudglst.rebuild();
- //grd_genfstjudglst.rebuild();
-
- model.copyNode("/root",opener.root);//parent
- nodenumber = 0;
-
- fSetGridInitState(grd_rsltlst);
-
- btn_judg.selected = true;
- model.toggle("case_judg");
-
- if(rdo_judgchs.value == ""){
- rdo_judgchs.value = "1";
- }
-
- fGetJudgInfo();
-
- //특수사후관리
- if ( window.parent.javascript.fGetEtcInfo("G", "G17") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_shcd1.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- copyNodesetType(cmb_shcd2.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- copyNodesetType(cmb_shcd3.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- //업무적합성
- if ( window.parent.javascript.fGetEtcInfo("G", "G16") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_upmjhscd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- //표적장기(fGetEtcInfo 함수의 두번째 parameter로 임의값을 주어 특수건진 코드를 세분화.
- if ( window.parent.javascript.fGetEtcInfo("T", "M") == true ){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_pjjgcd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- //선정사유
- if (window.parent.javascript.fGetEtcInfo("T", cmb_pjjgcd.value) == true){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_sjsayoucd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- //취급물질
- if (window.parent.javascript.fGetEtcInfo("T", "P") == true){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_pkgcd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- //표적장기를 선택해야 선정사유 항목이 활성화 되도록
- if(cmb_pjjgcd.value == ""){
- cmb_sjsayoucd.disabled = true;
- }else{
- cmb_sjsayoucd.disabled = false;
- }
-
- grd_rsltlst.clearStatus();
- model.refresh();
- }
-
- /*1차소견 팝업(통합판정문구) 호출시 parent로 값 받아오는 함수*/
- function totjudginfo(obj){
- var judgObj = null;
-
- if(obj != null){
- judgObj = obj;
-
- model.makeValue("/root/main/acptinfo/judginfo/specinfo/judg1st", judgObj.judgexmpcd);
- model.makeValue("/root/main/acptinfo/judginfo/specinfo/judg1stnm", judgObj.judghangshrtcnts);
- }
-
- model.refresh();
-
- return true;
- }
-
- function fdataValue(vTestcd,vSubcd){
- var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemexmp");
-
- for (var i=0; i<=nodeCount;i++){
- if ((model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/rsltcd")==vSubcd)){
- nodenumber = i;
- return model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i+"]/rsltnm");
- }
- }
- }
-
- function fdataValueAsso(vTestcd,vSubcd){
- var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemassoexmp1");
-
- for (var i=0; i<nodeCount;i++){
- if ((model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp1["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp1["+i +"]/rsltcd")==vSubcd)){
- nodenumber = i;
- return model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp1["+i+"]/rsltnm");
- }
- }
- }
-
- function fSetGridInitState(vGrdObj){
- if(vGrdObj == null ) return ;
-
- vGrdObj.rebuildStyle();
- vGrdObj.refresh();
- var cnt = vGrdObj.rows;
-
- for( var i = 1 ; i <= cnt ; i++){
- var testrslt = vGrdObj.valueMatrix(i, vGrdObj.colRef("testrsltcnts"));
- var low = vGrdObj.valueMatrix(i, vGrdObj.colRef("minval"));
- var high = vGrdObj.valueMatrix(i, vGrdObj.colRef("maxval"));
- // 기준치에 따른 색깔변경
- if("H" == vGrdObj.valueMatrix( i , vGrdObj.colRef("judgrsltcnts") ) ) {
- vGrdObj.cellStyle("background-color" , i , vGrdObj.colRef("judgrsltcnts") , i , vGrdObj.colRef("judgrsltcnts")) = "#ff7a85";
- }
- if("L" == vGrdObj.valueMatrix( i , vGrdObj.colRef("judgrsltcnts") ) ) {
- vGrdObj.cellStyle("background-color" , i , vGrdObj.colRef("judgrsltcnts") , i , vGrdObj.colRef("judgrsltcnts")) = "#ccffcc";
- }
-
- //결과값이 하한가와 상한가 범위를 벗어난 경우 색으로 구분(녹색:하한가보다 작은 경우, 분홍색:상한가보다 큰 경우)
- if(testrslt != ""){
- if(!isNaN(testrslt)){
- if(low != ""){
- if(eval(testrslt) < eval(low)){
- vGrdObj.cellStyle("background-color", i, 7) = "#ccffcc";
- }
- }
- if(high != ""){
- if(eval(testrslt) > eval(high)){
- vGrdObj.cellStyle("background-color", i, 7) = "#ff7a85";
- }
- }
- }
- }else{
- continue;
- }
- }
- vGrdObj.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <switch id="switch1" style="left:370px; top:20px; width:399px; height:534px; ">
- <case id="case_judg" selected="true" style="left:0px; top:0px; width:397px; height:538px; ">
- <input id="ipt_judgdd" ref="/root/main/acptinfo/judginfo/specinfo/judgdd" inputtype="date" style="left:83px; top:33px; width:95px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:5px; top:31px; width:75px; height:23px; text-align:center; vertical-align:middle; ">판정일자</caption>
- <select1 id="cmb_judgdr" ref="/root/main/acptinfo/judginfo/specinfo/judgdrid" appearance="minimal" style="left:298px; top:33px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.property("judgdr") = cmb_judgdr.value;
- ]]>
- </script>
- </select1>
- <line id="line17" class="line_1" style="x1:5px; y1:1px; x2:395px; y2:1px; "/>
- <caption id="caption7" class="cell_1" style="left:220px; top:31px; width:75px; height:23px; text-align:center; vertical-align:middle; ">판 정 의</caption>
- <caption id="caption1" class="cell_1" style="left:5px; top:6px; width:75px; height:23px; text-align:center; vertical-align:middle; ">판정차수</caption>
- <select1 id="rdo_judgchs" ref="/root/main/acptinfo/judginfo/specinfo/judgchs" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:83px; top:9px; width:97px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>1차</label>
- <value>1</value>
- </item>
- <item>
- <label>2차</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" class="cell_1" style="left:220px; top:6px; width:75px; height:23px; text-align:center; vertical-align:middle; ">문진유무</caption>
- <select1 id="radio2" ref="/root/main/acptinfo/judginfo/specinfo/inqryn" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:298px; top:9px; width:82px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>유</label>
- <value>Y</value>
- </item>
- <item>
- <label>무</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <line id="line7" class="line_2" style="x1:5px; y1:29px; x2:394px; y2:29px; "/>
- <caption id="caption3" class="cell_1" style="left:5px; top:56px; width:75px; height:23px; text-align:center; vertical-align:middle; ">표적장기</caption>
- <caption id="caption4" class="cell_1" style="left:5px; top:81px; width:75px; height:23px; text-align:center; vertical-align:middle; ">선정사유</caption>
- <line id="line2" class="line_2" style="x1:5px; y1:79px; x2:394px; y2:79px; "/>
- <line id="line3" class="line_2" style="x1:5px; y1:104px; x2:394px; y2:104px; "/>
- <caption id="caption5" class="cell_1" style="left:5px; top:106px; width:75px; height:23px; text-align:center; vertical-align:middle; ">취급물질</caption>
- <line id="line4" class="line_2" style="x1:5px; y1:129px; x2:394px; y2:129px; "/>
- <caption id="caption6" class="cell_1" style="left:5px; top:131px; width:75px; height:23px; text-align:center; vertical-align:middle; ">1차 소견</caption>
- <line id="line5" class="line_2" style="x1:5px; y1:154px; x2:394px; y2:154px; "/>
- <caption id="caption8" class="cell_1" style="left:5px; top:156px; width:75px; height:23px; text-align:center; vertical-align:middle; ">2차 소견</caption>
- <line id="line6" class="line_2" style="x1:5px; y1:179px; x2:394px; y2:179px; "/>
- <caption id="caption9" class="cell_1" style="left:5px; top:181px; width:75px; height:23px; text-align:center; vertical-align:middle; ">조 치</caption>
- <line id="line8" class="line_2" style="x1:5px; y1:204px; x2:394px; y2:204px; "/>
- <line id="line9" class="line_2" style="x1:5px; y1:229px; x2:394px; y2:229px; "/>
- <caption id="caption11" class="cell_1" style="left:5px; top:206px; width:75px; height:23px; text-align:center; vertical-align:middle; ">판정코드</caption>
- <line id="line10" class="line_2" style="x1:5px; y1:254px; x2:394px; y2:254px; "/>
- <caption id="caption12" class="cell_1" style="left:5px; top:231px; width:75px; height:23px; text-align:center; vertical-align:middle; ">질 환</caption>
- <line id="line11" class="line_2" style="x1:5px; y1:279px; x2:394px; y2:279px; "/>
- <caption id="caption13" class="cell_1" style="left:5px; top:256px; width:75px; height:23px; text-align:center; vertical-align:middle; ">상병코드</caption>
- <line id="line12" class="line_2" style="x1:5px; y1:304px; x2:394px; y2:304px; "/>
- <caption id="caption14" class="cell_1" style="left:5px; top:281px; width:75px; height:23px; text-align:center; vertical-align:middle; ">사후관리</caption>
- <line id="line13" class="line_2" style="x1:5px; y1:329px; x2:394px; y2:329px; "/>
- <caption id="caption15" class="cell_1" style="left:5px; top:306px; width:75px; height:23px; text-align:center; vertical-align:middle; ">업무적합성</caption>
- <select1 id="cmb_pjjgcd" ref="/root/main/acptinfo/judginfo/specinfo/pjjgcd" appearance="minimal" style="left:83px; top:58px; width:310px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/pjjgcdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (window.parent.javascript.fGetEtcInfo("T", cmb_pjjgcd.value) == true){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_sjsayoucd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- }
-
- if(cmb_pjjgcd.value == ""){
- cmb_sjsayoucd.disabled = true;
- }else{
- cmb_sjsayoucd.disabled = false;
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_sjsayoucd" ref="/root/main/acptinfo/judginfo/specinfo/sjsayoucd" appearance="minimal" style="left:83px; top:82px; width:310px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/sjsayoulst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_judgcd" ref="/root/main/acptinfo/judginfo/specinfo/judgcd" class="combo" appearance="minimal" style="left:83px; top:208px; width:310px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/sjudgcdlst/S170">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_shcd1" ref="/root/main/acptinfo/judginfo/specinfo/shcd1" appearance="minimal" style="left:83px; top:283px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/shcdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_shcd2" ref="/root/main/acptinfo/judginfo/specinfo/shcd2" appearance="minimal" style="left:187px; top:283px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/shcdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_shcd3" ref="/root/main/acptinfo/judginfo/specinfo/shcd3" appearance="minimal" style="left:291px; top:283px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/shcdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_upmjhscd" ref="/root/main/acptinfo/judginfo/specinfo/upmjhscd" appearance="minimal" style="left:83px; top:308px; width:310px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/upmjhscdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <output id="output3" ref="/root/main/acptinfo/judginfo/specinfo/judg1st" style="left:83px; top:132px; width:60px; height:19px; border-color:#eaeaea; border-style:solid; "/>
- <output id="output4" ref="/root/main/acptinfo/judginfo/specinfo/judg1stnm" style="left:162px; top:132px; width:231px; height:19px; border-color:#eaeaea; border-style:solid; "/>
- <output id="output5" ref="/root/main/acptinfo/judginfo/specinfo/judg2stnm" style="left:162px; top:158px; width:231px; height:19px; border-color:#eaeaea; border-style:solid; "/>
- <output id="output6" ref="/root/main/acptinfo/judginfo/specinfo/judg2st" style="left:83px; top:158px; width:60px; height:19px; border-color:#eaeaea; border-style:solid; "/>
- <output id="output7" ref="/root/main/acptinfo/judginfo/specinfo/jchnm" style="left:162px; top:183px; width:231px; height:19px; border-color:#eaeaea; border-style:solid; "/>
- <output id="output8" ref="/root/main/acptinfo/judginfo/specinfo/jchcd" style="left:83px; top:183px; width:60px; height:19px; border-color:#eaeaea; border-style:solid; "/>
- <output id="output9" ref="/root/main/acptinfo/judginfo/specinfo/jhnm" style="left:146px; top:233px; width:247px; height:19px; border-color:#eaeaea; border-style:solid; "/>
- <output id="output10" ref="/root/main/acptinfo/judginfo/specinfo/jhcd" style="left:83px; top:233px; width:60px; height:19px; border-color:#eaeaea; border-style:solid; "/>
- <output id="output11" ref="/root/main/acptinfo/judginfo/specinfo/sbcd" style="left:83px; top:258px; width:60px; height:19px; border-color:#eaeaea; border-style:solid; "/>
- <output id="output12" ref="/root/main/acptinfo/judginfo/specinfo/sbnm" style="left:146px; top:258px; width:247px; height:19px; border-color:#eaeaea; border-style:solid; "/>
- <button id="btn_judg1st" class="icon_search" style="left:145px; top:132px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //popup호출
- model.makeValue("/root/temp/healexamdetlflag", "G03"); //특수건진
- model.makeValue("/root/temp/healexamflag", "G");
- //window.load("SMAHB00810.xrw", "modal", "", "", "/root/temp/tmpflag", "/root/send/srchhealexamdetlflag");
- window.load("SPAHR00410.xrw", "modal", "", "", "/root/temp", "/root/temp");
- //관련 노드값 셋팅
- if(model.getValue("/root/main/acptinfo/judginfo/specinfo/judg1st") != ""){
- model.makeValue("/root/send/srchjudg1st", model.getValue("/root/main/acptinfo/judginfo/specinfo/judg1st"));
- model.makeValue("/root/send/srchclscd", "G");
- model.makeValue("/root/send/srchetccd", "G02"); //조치코드
- model.makeNode("/root/temp/tmpdatas");
- model.makeNode("/root/temp/tmpdatas/specinfo");
- submit("TRAHR04003");
-
- model.setValue("/root/main/acptinfo/judginfo/specinfo/jchcd", model.getValue("/root/temp/tmpdatas/specinfo/jchcd"));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/jchnm", model.getValue("/root/temp/tmpdatas/specinfo/jchnm"));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/judgcd", model.getValue("/root/temp/tmpdatas/specinfo/judgcd"));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/jhcd", model.getValue("/root/temp/tmpdatas/specinfo/jhcd"));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/jhnm", model.getValue("/root/temp/tmpdatas/specinfo/jhnm"));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/sbcd", model.getValue("/root/temp/tmpdatas/specinfo/sbcd"));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/sbnm", model.getValue("/root/temp/tmpdatas/specinfo/sbnm"));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/shcd1", model.getValue("/root/temp/tmpdatas/specinfo/shcd1"));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/upmjhscd", model.getValue("/root/temp/tmpdatas/specinfo/upmjhscd"));
-
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_judg2st" class="icon_search" disabled="true" style="left:145px; top:158px; width:16px; height:16px; ">
- <caption/>
- </button>
- <select1 id="cmb_pkgcd" ref="/root/main/acptinfo/judginfo/specinfo/pkgcd" class="combo_essential" appearance="minimal" style="left:83px; top:107px; width:310px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/pkgcdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_jchcd" class="icon_search" style="left:145px; top:183px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/acptinfo/judginfo/specinfo/judg1st") == ""){
- messageBox("1차소견을 입력 후 수정하세요.","I999"); return;
- }else{
- /*param1 : 호출xrw, param2:대분류코드, param3:중분류코드, param4:멀티유무, param5:목적노드셋, param6:중분류셋팅여부*/
- if(ahzfOpenEtcCdSel( "SMAHR03400", "G", "G02", "N", "/root/temp/templst/item", "Y")){
- model.makeValue("/root/main/acptinfo/judginfo/specinfo/jchcd",model.getValue("/root/temp/templst/item/etcdetlcd"));
- model.makeValue("/root/main/acptinfo/judginfo/specinfo/jchnm",model.getValue("/root/temp/templst/item/etcdetlnm"));
- model.refresh();
- }
- model.makeValue("/root/send/srchclscd", "G");
- model.makeValue("/root/send/srchetccd", "G02"); //조치코드
- model.makeValue("/root/send/srchjchcd", model.getValue("/root/main/acptinfo/judginfo/specinfo/jchcd"));
- model.makeNode("/root/temp/tmpdatas");
- model.makeNode("/root/temp/tmpdatas/specinfo");
- submit("TRAHR04004");
-
- model.setValue("/root/main/acptinfo/judginfo/specinfo/shcd1", model.getValue("/root/temp/tmpdatas/specinfo/shcd1"));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/upmjhscd", model.getValue("/root/temp/tmpdatas/specinfo/upmjhscd"));
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <switch id="switch2" style="left:0px; top:356px; width:395px; height:179px; ">
- <case id="case_spcl" selected="true">
- <button id="btn_grdpkgadd" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:282px; top:3px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/acptinfo/judginfo/specinfo/pkgcd") == ""){
- messageBox("취급물질을 선택해 주세요.","I999");
- return;
- }
-
- grd_spcljudglst.addRow();
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("pkgcd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/pkgcd");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("pkgnm")) = cmb_pkgcd.label;
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("judg1st")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/judg1st");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("judg1stnm")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/judg1stnm");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("jchcd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/jchcd");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("jchnm")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/jchnm");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("judgchs")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/judgchs");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("inqryn")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/inqryn");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("judgdd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/judgdd");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("judgdrid")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/judgdrid");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("pjjgcd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/pjjgcd");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("sjsayoucd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/sjsayoucd");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("judg2st")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/judg2st");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("judgcd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/judgcd");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("jhcd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/jhcd");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("sbcd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/sbcd");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("shcd1")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/shcd1");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("shcd2")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/shcd2");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("shcd3")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/shcd3");
- grd_spcljudglst.valueMatrix(grd_spcljudglst.row, grd_spcljudglst.colRef("upmjhscd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/upmjhscd");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line14" class="line_1" style="x1:4px; y1:24px; x2:390px; y2:24px; "/>
- <button id="btn_grdpkgdel" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:337px; top:3px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_spcljudglst, true);
- ]]>
- </script>
- </button>
- <caption id="caption17" class="tit_2" style="left:4px; top:4px; width:105px; height:13px; ">특수 판정 내역</caption>
- <datagrid id="grd_spcljudglst" nodeset="/root/main/acptinfo/judginfo/specjudg" autoresize="true" caption="판정순번^취급물질^취급물질명^소견코드^소견명^조치코드^조치명^판정차수^문진유무^판정일자^판정의^표적장기^선정사유^2차소견^판정코드^질환코드^질환^상병코드^상병^사후관리1^사후관리2^사후관리3^업무적합성" colsep="^" colwidth="35, 80, 80, 100, 130, 100, 130, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:4px; top:29px; width:386px; height:146px; ">
- <col ref="judgseq" visibility="hidden"/>
- <col disabled="true" ref="pkgcd" type="combo" visibility="visible">
- <choices>
- <itemset nodeset="/root/init/judginfo/pkgcdlst/item">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="pkgnm" visibility="hidden"/>
- <col ref="judg1st" visibility="hidden"/>
- <col ref="judg1stnm"/>
- <col ref="jchcd" visibility="hidden"/>
- <col ref="jchnm"/>
- <col ref="judgchs" visibility="hidden"/>
- <col ref="inqryn" visibility="hidden"/>
- <col ref="judgdd" visibility="hidden"/>
- <col ref="judgdrid" visibility="hidden"/>
- <col ref="pjjgcd" visibility="hidden"/>
- <col ref="sjsayoucd" visibility="hidden"/>
- <col ref="judg2st" visibility="hidden"/>
- <col ref="judgcd" visibility="hidden"/>
- <col ref="jhcd" visibility="hidden"/>
- <col ref="jhnm" visibility="hidden"/>
- <col ref="sbcd" visibility="hidden"/>
- <col ref="sbnm" visibility="hidden"/>
- <col ref="shcd1" visibility="hidden"/>
- <col ref="shcd2" visibility="hidden"/>
- <col ref="shcd3" visibility="hidden"/>
- <col ref="upmjhscd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //그리드의 셀 이외의 곳을 클릭하면 종료한다.
- if(!eval(grd_spcljudglst.iscell(event.target))) return false;
- // 그리드의 헤더부분을 클릭하면 종료한다.
- if(eval(grd_spcljudglst.row) < eval(grd_spcljudglst.fixedRows)) return false;
-
- row = grd_spcljudglst.row;
- btn_edit.disabled = false;
- model.makeValue("/root/main/acptinfo/judginfo/specinfo/judgseq", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("judgseq")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/pjjgcd", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("pjjgcd")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/pkgcd", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("pkgcd")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/judg1st", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("judg1st")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/judg1stnm", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("judg1stnm")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/judg2st", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("judg2st")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/judg2stnm", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("judg2stnm")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/jchcd", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("jchcd")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/jchnm", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("jchnm")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/judgcd", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("judgcd")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/jhcd", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("jhcd")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/jhnm", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("jhnm")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/sbcd", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("sbcd")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/sbnm", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("sbnm")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/shcd1", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("shcd1")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/shcd2", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("shcd2")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/shcd3", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("shcd3")));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/upmjhscd", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("upmjhscd")));
-
- if (window.parent.javascript.fGetEtcInfo("T", cmb_pjjgcd.value) == true){
- model.copyNode("/root/temp/baseinfo",opener.root.temp.baseinfo);//parent
- var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
- if( nd != null ) {
- copyNodesetType(cmb_sjsayoucd.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
- }
- cmb_sjsayoucd.visible = true;
- }
-
- model.setValue("/root/main/acptinfo/judginfo/specinfo/sjsayoucd", grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("sjsayoucd")));
-
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <button id="btn_edit" class="btn2_letter2" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:238px; top:3px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_spcljudglst.rows == grd_spcljudglst.fixedRows) return;
-
- if(model.getValue("/root/main/acptinfo/judginfo/specinfo/pkgcd") == ""){
- alert("수정하고자 하는 내역을 선택 후 수정 버튼을 선택하세요.");
- return;
- }
-
- if(row == ""){
- row = grd_spcljudglst.row;
- }
-
- if(grd_spcljudglst.rowStatus(row) == 1){
- grd_spcljudglst.rowStatus(row) = 1;
- }else{
- grd_spcljudglst.rowStatus(row) = 2;
- }
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("judgseq")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/judgseq");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("pjjgcd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/pjjgcd");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("sjsayoucd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/sjsayoucd");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("pkgcd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/pkgcd");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("judg1st")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/judg1st");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("judg1stnm")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/judg1stnm");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("judg2st")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/judg2st");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("judg2stnm")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/judg2stnm");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("jchcd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/jchcd");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("jchnm")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/jchnm");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("judgcd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/judgcd");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("jhcd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/jhcd");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("jhnm")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/jhnm");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("sbcd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/sbcd");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("sbnm")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/sbnm");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("shcd1")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/shcd1");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("shcd2")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/shcd2");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("shcd3")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/shcd3");
- grd_spcljudglst.valueMatrix(row, grd_spcljudglst.colRef("upmjhscd")) = model.getValue("/root/main/acptinfo/judginfo/specinfo/upmjhscd");
- ]]>
- </script>
- </button>
- </case>
- <case id="case_genl">
- <datagrid id="grd_genfstjudglst" nodeset="/root/main/acptinfo/judginfo/genjudg" caption="코드^소견코드^소견명^조치코드^조치명" colsep="^" colwidth="80, 100, 150, 100, 150" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:4px; top:23px; width:386px; height:152px; ">
- <col ref="code"/>
- <col ref="judg1st" visibility="hidden"/>
- <col ref="judg1stnm"/>
- <col ref="jchcd" visibility="hidden"/>
- <col ref="jchnm"/>
- </datagrid>
- <line id="line15" class="line_1" style="x1:4px; y1:18px; x2:390px; y2:18px; "/>
- <caption id="caption16" class="tit_2" style="left:4px; top:3px; width:125px; height:13px; ">일반1차 판정 내역</caption>
- </case>
- </switch>
- <button id="btn_genl" class="btn_sw" group="tab_3" selected="true" style="left:55px; top:334px; width:50px; height:22px; ">
- <caption>일반</caption>
- <toggle case="case_genl" ev:event="onclick"/>
- </button>
- <button id="btn_spcl" class="btn_sw" group="tab_3" selected="true" style="left:5px; top:334px; width:50px; height:22px; ">
- <caption>특수</caption>
- <toggle case="case_spcl" ev:event="onclick"/>
- </button>
- <button id="button1" class="btn2_letter4" style="left:328px; top:334px; width:64px; height:19px; ">
- <caption>자동판정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/send/srchpid") == ""){
- messageBox("판정정보를 저장할 수진자를 선택해 주세요.", "I999"); return;
- }
-
- model.makeValue("/root/temp/tmpInfo/judgchs", model.getValue("/root/main/acptinfo/judginfo/specinfo/judgchs"));
- model.makeValue("/root/temp/tmpInfo/inqryn", model.getValue("/root/main/acptinfo/judginfo/specinfo/inqryn"));
- model.makeValue("/root/temp/tmpInfo/judgdd", model.getValue("/root/main/acptinfo/judginfo/specinfo/judgdd"));
- model.makeValue("/root/temp/tmpInfo/judgdrid", model.getValue("/root/main/acptinfo/judginfo/specinfo/judgdrid"));
-
- if (submit("TRAHR04009"));
-
- model.setValue("/root/main/acptinfo/judginfo/specinfo/judgchs", model.getValue("/root/temp/tmpInfo/judgchs"));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/inqryn", model.getValue("/root/temp/tmpInfo/inqryn"));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/judgdd", model.getValue("/root/temp/tmpInfo/judgdd"));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/judgdrid", model.getValue("/root/temp/tmpInfo/judgdrid"));
-
- var cnt = getNodesetCount("/root/main/acptinfo/judginfo/specjudg");
-
- grd_spcljudglst.rebuild();
- for(var i = 1; i<= cnt; i++){
- //grd_spcljudglst.addRow();
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judgseq")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judgseq");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("pkgcd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/pkgcd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("pkgnm")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/pkgnm");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judg1st")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judg1st");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judg1stnm")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judg1stnm");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("jchcd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/jchcd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("jchnm")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/jchnm");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judgchs")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judgchs");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("inqryn")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/inqryn");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judgdd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judgdd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judgdrid")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judgdrid");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("pjjgcd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/pjjgcd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("sjsayoucd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/sjsayoucd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judg2st")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judg2st");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judgcd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judgcd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("jhcd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/jhcd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("sbcd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/sbcd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("shcd1")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/shcd1");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("shcd2")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/shcd2");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("shcd3")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/shcd3");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("upmjhscd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/upmjhscd");
- }
- model.refresh();
- if(grd_spcljudglst.rows == grd_spcljudglst.fixedRows){
- return;
- }else{
- for(var i=grd_spcljudglst.fixedRows; i<grd_spcljudglst.rows; i++){
- if(grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judgseq")) == ""){
- grd_spcljudglst.addStatus(i, "insert");
- }else{
- grd_spcljudglst.addStatus(i, "update");
- }
- }
- }
- ]]>
- </script>
- </button>
- <line id="line1" class="line_2" style="x1:5px; y1:54px; x2:394px; y2:54px; "/>
- </case>
- <case id="case_etc" style="left:0px; top:0px; width:768px; height:538px; ">
- <caption id="caption78" class="cell_1" style="left:5px; top:10px; width:130px; height:322px; text-align:left; vertical-align:middle; "/>
- <button id="btn_etcjudg" class="btn2_letter8" style="left:15px; top:155px; width:108px; height:19px; ">
- <caption>소견 및 조치사항</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgExmpCnts(tar_lastjudg,"");
- ]]>
- </script>
- </button>
- <line id="line16" class="line_1" style="x1:5px; y1:1px; x2:395px; y2:1px; "/>
- <textarea id="tar_lastjudg" ref="/root/main/acptinfo/judginfo/specinfo/lastjudg" style="left:138px; top:7px; width:256px; height:322px; "/>
- </case>
- <case id="case_recinfo">
- <input id="ipt_duptype" ref="/root/main/acptinfo/judginfo/spclrecinfo/duptype" imemode="hangul" maxlength="100" maxbyte="100" style="left:78px; top:58px; width:198px; height:19px; "/>
- <input id="ipt_workprocnm" ref="/root/main/acptinfo/judginfo/spclrecinfo/workprocnm" class="output_fix" disabled="true" style="left:166px; top:6px; width:110px; height:19px; "/>
- <input id="ipt_medioph" ref="/root/main/acptinfo/judginfo/spclrecinfo/medioph" class="input_default" style="left:115px; top:84px; width:69px; height:19px; "/>
- <button id="button2" class="btn2_letter3" style="left:282px; top:135px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_bizhistlst.addRow();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter3" style="left:338px; top:135px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_bizhistlst,true);
- ]]>
- </script>
- </button>
- <input id="ipt_mediotor" ref="/root/main/acptinfo/judginfo/spclrecinfo/mediotor" class="input_default" style="left:257px; top:84px; width:69px; height:19px; "/>
- <input id="ipt_workproccd" ref="/root/main/acptinfo/judginfo/spclrecinfo/workproccd" class="input_default" imemode="alpha" style="left:78px; top:6px; width:64px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_selbiz", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="button18" class="btn2_letter3" style="left:338px; top:284px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_spclsymplst,true);
- ]]>
- </script>
- </button>
- <caption id="caption30" class="cell_1" style="left:77px; top:108px; width:35px; height:23px; vertical-align:middle; ">피부</caption>
- <caption id="caption31" class="cell_1" style="left:187px; top:108px; width:35px; height:23px; vertical-align:middle; ">치아</caption>
- <input id="ipt_mediskin" ref="/root/main/acptinfo/judginfo/spclrecinfo/mediskin" class="input_default" style="left:115px; top:110px; width:69px; height:19px; "/>
- <select1 id="cmb_spclhealexamflag" ref="/root/main/acptinfo/judginfo/spclrecinfo/spclhealexamflag" navindex="40" appearance="minimal" style="left:319px; top:32px; width:74px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/spclflaglst/G111">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="button6" class="btn2_letter2" style="left:293px; top:284px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetCommonCode("Y","G107","","/root/main/hidden/tempinfo/item","","");
- var nodeList = instance1.selectNodes("/root/main/hidden/tempinfo/item");
- if(nodeList.length > 0) {
- for(var i=1; i <= nodeList.length; i++ ) {
- grd_spclsymplst.addRow(false);
- grd_spclsymplst.valueMatrix(grd_spclsymplst.rows-1, grd_spclsymplst.colRef("sympcd")) = model.getValue("/root/main/hidden/tempinfo/item[" + i + "]/cdid");
- grd_spclsymplst.valueMatrix(grd_spclsymplst.rows-1, grd_spclsymplst.colRef("sympnm")) = model.getValue("/root/main/hidden/tempinfo/item[" + i + "]/cdnm");
- }
- }
- ]]>
- </script>
- </button>
- <line id="line24" class="line_2" style="x1:5px; y1:28px; x2:392px; y2:28px; "/>
- <input id="ipt_medidental" ref="/root/main/acptinfo/judginfo/spclrecinfo/medidental" class="input_default" style="left:225px; top:110px; width:71px; height:19px; "/>
- <button id="btn_selprod" class="icon_search" style="left:145px; top:33px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetCommonCode("N","G106",model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/prodcd"),"","/root/main/acptinfo/judginfo/spclrecinfo/prodcd","/root/main/acptinfo/judginfo/spclrecinfo/prodnm");
- ipt_prodcd.refresh();
- ipt_prodnm.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption22" class="cell_1" style="left:280px; top:4px; width:73px; height:23px; vertical-align:middle; ">1일폭로시간</caption>
- <caption id="caption34" class="cell_1" style="left:280px; top:30px; width:36px; height:23px; vertical-align:middle; ">분류</caption>
- <caption id="caption23" class="cell_1" style="left:5px; top:30px; width:70px; height:23px; vertical-align:middle; ">생산코드</caption>
- <line id="line26" class="line_2" style="x1:5px; y1:54px; x2:392px; y2:54px; "/>
- <caption id="caption24" class="cell_1" style="left:5px; top:82px; width:70px; height:49px; vertical-align:middle; ">임상진찰</caption>
- <line id="line27" class="line_2" style="x1:5px; y1:80px; x2:392px; y2:80px; "/>
- <caption id="caption25" class="cell_1" style="left:5px; top:56px; width:70px; height:23px; vertical-align:middle; ">근무형태</caption>
- <caption id="caption26" class="tit_2" style="left:5px; top:138px; width:84px; height:13px; ">과거직력</caption>
- <caption id="caption27" class="tit_2" style="left:5px; top:288px; width:84px; height:13px; ">자타각</caption>
- <datagrid id="grd_bizhistlst" nodeset="/root/main/acptinfo/judginfo/bizhistlst" caption="seqno^작업공정^취급화학물질및노출유해인자^노출기간(년)^노출기간(개월)^사업자등록번호^사업장명^부서" colsep="^" colwidth="36, 90, 100, 80, 90, 90, 80, 80" explorerbar="sortmove" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:155px; width:387px; height:127px; ">
- <col ref="seqno" visibility="hidden"/>
- <col ref="jobprgrs" type="input"/>
- <col ref="trtchmmt" type="input"/>
- <col ref="sxpsrtermyear" type="input"/>
- <col ref="sxpsrtermmonth" type="input"/>
- <col ref="cmpyno" type="input" format="999-99-99999"/>
- <col ref="cmpynm" type="input"/>
- <col ref="deptnm" type="input"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_bizhistlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption28" class="cell_1" style="left:77px; top:82px; width:35px; height:23px; vertical-align:middle; ">안과</caption>
- <input id="ipt_prodnm" ref="/root/main/acptinfo/judginfo/spclrecinfo/prodnm" class="output_fix" disabled="true" style="left:166px; top:32px; width:110px; height:19px; "/>
- <caption id="caption29" class="cell_1" style="left:187px; top:82px; width:67px; height:23px; vertical-align:middle; ">이비인후과</caption>
- <input id="input4" ref="/root/main/acptinfo/judginfo/spclrecinfo/dayspclworktm" imemode="alpha" maxlength="2" maxbyte="2" style="left:356px; top:6px; width:37px; height:19px; "/>
- <input id="ipt_prodcd" ref="/root/main/acptinfo/judginfo/spclrecinfo/prodcd" class="input_default" imemode="alpha" style="left:78px; top:32px; width:64px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_selprod", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption19" class="cell_1" style="left:5px; top:4px; width:70px; height:23px; vertical-align:middle; ">작업공정</caption>
- <datagrid id="grd_spclsymplst" nodeset="/root/main/acptinfo/judginfo/spclsymplst" caption="코드^명칭" colsep="^" colwidth="100, 200" explorerbar="sortmove" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:304px; width:387px; height:127px; ">
- <col ref="sympcd"/>
- <col ref="sympnm"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_spclsymplst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_selbiz" class="icon_search" style="left:145px; top:7px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetCommonCode("N","G105",model.getValue("/root/main/acptinfo/judginfo/spclrecinfo/workproccd"),"","/root/main/acptinfo/judginfo/spclrecinfo/workproccd","/root/main/acptinfo/judginfo/spclrecinfo/workprocnm");
- ipt_workproccd.refresh();
- ipt_workprocnm.refresh();
- ]]>
- </script>
- </button>
- <line id="line18" class="line_2" style="x1:82px; y1:106px; x2:392px; y2:106px; "/>
- <line id="line20" class="line_2" style="x1:5px; y1:132px; x2:392px; y2:132px; "/>
- <caption id="caption18" class="cell_1" style="left:5px; top:434px; width:70px; height:23px; vertical-align:middle; ">과거병력</caption>
- <caption id="caption20" class="cell_1" style="left:5px; top:459px; width:70px; height:23px; vertical-align:middle; ">가족력</caption>
- <caption id="caption21" class="cell_1" style="left:5px; top:484px; width:70px; height:23px; vertical-align:middle; ">업무기인성</caption>
- <button id="save_recinfo" class="btn2_letter2" style="left:349px; top:511px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCheckSaveRecInfo();
- ]]>
- </script>
- </button>
- <line id="line21" class="line_2" style="x1:5px; y1:457px; x2:392px; y2:457px; "/>
- <line id="line22" class="line_2" style="x1:5px; y1:482px; x2:392px; y2:482px; "/>
- <line id="line23" class="line_2" style="x1:5px; y1:508px; x2:392px; y2:508px; "/>
- <line id="line25" class="line_2" style="x1:0px; y1:433px; x2:392px; y2:433px; "/>
- <input id="ipt_mdclhstr" ref="/root/main/acptinfo/judginfo/spclrecinfo/mdclhstr" class="input_default" maxlength="100" style="left:78px; top:436px; width:314px; height:19px; "/>
- <input id="ipt_fmlhstr" ref="/root/main/acptinfo/judginfo/spclrecinfo/fmlhstr" class="input_default" maxlength="100" style="left:78px; top:461px; width:314px; height:19px; "/>
- <input id="ipt_workcause" ref="/root/main/acptinfo/judginfo/spclrecinfo/workcause" class="input_default" maxlength="100" style="left:78px; top:486px; width:314px; height:19px; "/>
- <line id="line28" class="line_1" style="x1:5px; y1:1px; x2:395px; y2:1px; "/>
- </case>
- </switch>
- <datagrid id="grd_rsltlst" nodeset="/root/main/acptinfo/rsltlst/item" allowselection="false" caption="처방일자^실시처방
유일번호^처방번호^검사코드^명칭^연계결과^결과^특건연계^공단연계^Low^High^판정값^단위^종류^비고^특수연계코드^판정코드^LIS판정" colsep="^" colwidth="70, 69, 63, 74, 90, 65, 65, 65, 65, 40, 40, 50, 58, 43, 67, 100, 80, 60" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" tooltip="true" style="left:5px; top:1px; width:360px; height:553px; ">
- <col ref="prcpdd" visibility="hidden"/>
- <col ref="execprcpuniqno" visibility="hidden"/>
- <col ref="prcpno" visibility="hidden"/>
- <col ref="testcd" visibility="hidden"/>
- <col ref="testnm"/>
- <col ref="outtestrsltcnts"/>
- <col ref="testrsltcnts" type="input"/>
- <col ref="assorsltcnts1" type="input"/>
- <col ref="assorsltcnts" type="input" visibility="hidden"/>
- <col ref="minval"/>
- <col ref="maxval"/>
- <col ref="judgrsltcnts" visibility="visible"/>
- <col ref="rsltunit"/>
- <col disabled="true" ref="rsltflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/rslttypelst/A0066">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col class="gridinput" ref="remcnts" type="input" visibility="hidden"/>
- <col ref="assorsltcd1" visibility="hidden"/>
- <col ref="judgcd" visibility="hidden"/>
- <col ref="judgmark" visibility="hidden"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if(getUserInfo("dutplceinstcd") == "011"){
- if (event.keyCode == 13 ){
- grp_asso.visible = false;
- if(grd_assorsltlst.rows != 1){
- for(var i=grd_assorsltlst.rows; i>=grd_assorsltlst.fixedRows; i--){
- grd_assorsltlst.deleteRow(i);
- }
- }
-
- if (grd_rsltlst.col == window.parent.javascript.col_rslt ) {
- //선택형검사결과의 결과컬럼
- if ((grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O")||(grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="T")){
- var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
- var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts"));
- var cdata = fdataValue(vtestcd,vsubcd);
- if (cdata!=null){
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = cdata; //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts"));
- //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
- }
- }
-
- if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="N"){
- var maxval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("maxval")));
- var minval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("minval")));
- var testrsltcnts = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts")));
-
- if(maxval < testrsltcnts){
- grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "H";
- } else
- if(minval > testrsltcnts){
- grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "L";
- } else {
- grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "";
- }
- }
- window.parent.javascript.fCalcRslt(grd_rsltlst.colRef("testrsltcnts"));
- window.parent.javascript.fSetJudgStat(grd_rsltlst.colRef("testrsltcnts"));
- }
- //else if(grd_rsltlst.col == window.parent.javaScript.col_assorslt ) {
- else if(grd_rsltlst.col == grd_rsltlst.colRef("assorsltcnts1")) {
- if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O"){
- //선택형검사결과의 공단결과
- var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
- //var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("assorsltcnts"));
- var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("assorsltcnts1"));
- var cdata = fdataValueAsso(vtestcd,vsubcd);
- if(cdata!=null){
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgcd")) = model.getValue("/root/main/tempinfo/assorsltlst1/itemasso["+nodenumber+"]/judgexmpcd");
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgrsltcnts")) = model.getValue("/root/main/tempinfo/assorsltlst1/itemasso["+nodenumber+"]/judgexmpcnts");
- //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
- //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = cdata;
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts1")) = cdata;
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcd1")) = vsubcd;
- }
- }
- //window.parent.javascript.fSetAssoRslt(grd_rsltlst.labelMatrix(grd_rsltlst.row, window.parent.javaScript.col_assorslt ) );
- /*검사결과 자동계산
- window.parent.javascript.fCalcRslt(grd_rsltlst.colRef("assorsltcnts"));
- window.parent.javascript.fSetJudgStat(grd_rsltlst.colRef("assorsltcnts"));*/
- window.parent.javascript.fCalcRslt(grd_rsltlst.colRef("assorsltcnts1"));
- //window.parent.javascript.fSetJudgStat(grd_rsltlst.colRef("assorsltcnts1"));
- }
- grd_rsltlst.row = grd_rsltlst.row +1;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onstartedit">
- <![CDATA[
- if(getUserInfo("dutplceinstcd") == "011"){
- if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O" && grd_rsltlst.col == grd_rsltlst.colRef("assorsltcnts1")){
- var testcd = grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testcd"));
- //var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemassoexmp");
-
- model.removeNodeset("/root/main/tempinfo/assorsltlst1/itemasso");
- grd_assorsltlst.rebuild();
-
- var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemassoexmp1");
- for (var i=0; i<=nodeCount;i++){
- /*if (model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+ i +"]/testcd") == testcd){
- grd_assorsltlst.addRow();
- grd_assorsltlst.valueMatrix(grd_assorsltlst.row, grd_assorsltlst.colRef("rsltcd")) = model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltcd");
- grd_assorsltlst.valueMatrix(grd_assorsltlst.row, grd_assorsltlst.colRef("rsltnm")) = model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltnm");
- }*/
- if (model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp1["+ i +"]/testcd") == testcd){
- grd_assorsltlst.addRow();
- grd_assorsltlst.valueMatrix(grd_assorsltlst.row, grd_assorsltlst.colRef("rsltcd")) = model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp1["+i+"]/rsltcd");
- grd_assorsltlst.valueMatrix(grd_assorsltlst.row, grd_assorsltlst.colRef("rsltnm")) = model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp1["+i+"]/rsltnm");
- }
- }
- grp_asso.visible = true;
- model.refresh();
- }
- }
- ]]>
- </script>
- </datagrid>
- <group id="grp_answ" visibility="hidden" style="left:35px; top:145px; width:265px; height:180px; ">
- <datagrid id="grd_answlst" nodeset="/root/hidden/answlst/item" visibility="visible" caption="코드^답안내용^검사코드^문진구분" colsep="^" colwidth="30, 180, 46, 46" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:255px; height:169px; ">
- <col ref="answcd"/>
- <col ref="answcnts"/>
- <col ref="judginqrcd" visibility="hidden"/>
- <col ref="inqrflag" visibility="hidden"/>
- </datagrid>
- </group>
- <button id="btn_etc" class="btn_sw" group="tab_2" selected="true" style="left:450px; top:1px; width:80px; height:22px; ">
- <caption>기타판정</caption>
- <toggle case="case_etc" ev:event="onclick"/>
- </button>
- <button id="btn_judg" class="btn_sw" group="tab_2" selected="true" style="left:370px; top:1px; width:80px; height:22px; ">
- <caption>판정</caption>
- <toggle case="case_judg" ev:event="onclick"/>
- </button>
- <button id="btn_save" class="btn5_letter4" style="left:635px; top:1px; width:64px; height:19px; ">
- <caption>판정저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCheckSaveInfo();
- ]]>
- </script>
- </button>
- <button id="btn_nomaljudg" class="btn2_letter4" style="left:702px; top:1px; width:64px; height:19px; ">
- <caption>정상판정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/send/srchpid") == ""){
- messageBox("판정정보를 저장할 수진자를 선택해 주세요.", "I999"); return;
- }
-
- model.makeValue("/root/temp/tmpInfo/judgchs", model.getValue("/root/main/acptinfo/judginfo/specinfo/judgchs"));
- model.makeValue("/root/temp/tmpInfo/inqryn", model.getValue("/root/main/acptinfo/judginfo/specinfo/inqryn"));
- model.makeValue("/root/temp/tmpInfo/judgdd", model.getValue("/root/main/acptinfo/judginfo/specinfo/judgdd"));
- model.makeValue("/root/temp/tmpInfo/judgdrid", model.getValue("/root/main/acptinfo/judginfo/specinfo/judgdrid"));
-
- if (submit("TRAHR04005"));
-
- model.setValue("/root/main/acptinfo/judginfo/specinfo/judgchs", model.getValue("/root/temp/tmpInfo/judgchs"));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/inqryn", model.getValue("/root/temp/tmpInfo/inqryn"));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/judgdd", model.getValue("/root/temp/tmpInfo/judgdd"));
- model.setValue("/root/main/acptinfo/judginfo/specinfo/judgdrid", model.getValue("/root/temp/tmpInfo/judgdrid"));
-
- var cnt = getNodesetCount("/root/main/acptinfo/judginfo/specjudg");
-
- grd_spcljudglst.rebuild();
- for(var i = 1; i<= cnt; i++){
- //grd_spcljudglst.addRow();
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judgseq")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judgseq");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("pkgcd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/pkgcd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("pkgnm")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/pkgnm");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judg1st")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judg1st");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judg1stnm")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judg1stnm");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("jchcd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/jchcd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("jchnm")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/jchnm");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judgchs")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judgchs");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("inqryn")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/inqryn");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judgdd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judgdd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judgdrid")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judgdrid");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("pjjgcd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/pjjgcd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("sjsayoucd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/sjsayoucd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judg2st")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judg2st");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judgcd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/judgcd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("jhcd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/jhcd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("sbcd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/sbcd");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("shcd1")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/shcd1");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("shcd2")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/shcd2");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("shcd3")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/shcd3");
- grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("upmjhscd")) = model.getValue("/root/main/acptinfo/judginfo/specjudg[" + i + "]/upmjhscd");
- }
- model.refresh();
- if(grd_spcljudglst.rows == grd_spcljudglst.fixedRows){
- return;
- }else{
- for(var i=grd_spcljudglst.fixedRows; i<grd_spcljudglst.rows; i++){
- if(grd_spcljudglst.valueMatrix(i, grd_spcljudglst.colRef("judgseq")) == ""){
- grd_spcljudglst.addStatus(i, "insert");
- }else{
- grd_spcljudglst.addStatus(i, "update");
- }
- }
- }
- ]]>
- </script>
- </button>
- <group id="grp_asso" visibility="hidden" style="left:75px; top:60px; width:275px; height:245px; ">
- <caption id="caption57" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">특수결과입력</caption>
- <datagrid id="grd_assorsltlst" nodeset="/root/main/tempinfo/assorsltlst1/itemasso" allowselection="false" caption="코드^결과내용" colsep="^" colwidth="36, 185" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:30px; width:265px; height:215px; ">
- <col ref="rsltcd"/>
- <col ref="rsltnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //그리드의 셀 이외의 곳을 클릭하면 종료한다.
- if(!eval(grd_assorsltlst.iscell(event.target))) return false;
- // 그리드의 헤더부분을 클릭하면 종료한다.
- if(eval(grd_assorsltlst.row) < eval(grd_assorsltlst.fixedRows)) return false;
-
- var idx = grd_assorsltlst.row;
- if( idx < 1) return ;
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts1")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso[" + idx + "]/rsltnm" );
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcd1")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso[" + idx + "]/rsltcd" );
- grd_rsltlst.rowStatus(grd_rsltlst.row) = 2;
-
- var nextRow = grd_rsltlst.row + 1;
- if(grd_rsltlst.colType(grd_rsltlst.col) == "input" && nextRow < grd_rsltlst.rows) {
- grd_rsltlst.row = nextRow;
- grd_rsltlst.editCell();
- }
-
- if(grd_rsltlst.valueMatrix(nextRow, grd_rsltlst.colRef("rsltflag")) != "O"){
- grp_asso.visible = false;
- }else{
- grp_asso.visible = true;
- }
- ]]>
- </script>
- </datagrid>
- <line id="line19" class="line_1" style="x1:5px; y1:20px; x2:270px; y2:20px; "/>
- <button id="btn_assoclose" class="icon_plus" style="left:255px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_asso.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_recinfo" class="btn_sw" group="tab_2" selected="true" style="left:530px; top:1px; width:80px; height:22px; ">
- <caption>이력정보</caption>
- <toggle case="case_recinfo" ev:event="onclick"/>
- </button>
- </xhtml:body>
- </xhtml:html>
|