123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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="">
- <send>
- <search>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <orddeptcd/>
- <orddrid/>
- <fromdd/>
- <todd/>
- <coophospnm/>
- <drnm/>
- <patflag/>
- <hospgrade/>
- <saveflag/>
- <replflag/>
- <cptype/>
- <reqagntype/>
- <qreplflag/>
- </search>
- <reqdata>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <orddeptcd/>
- <orddrid/>
- <fromdd/>
- <todd/>
- <coophospnm/>
- <drnm/>
- <patflag/>
- <hospgrade/>
- <saveflag/>
- <replflag/>
- <qreplflag/>
- </reqdata>
- <doctor/>
- <cond>
- <pid/>
- </cond>
- </send>
- <main>
- <list>
- <rqstlist>
- <orddd/>
- <pid/>
- <hngnm/>
- <patflag/>
- <saveflag/>
- <recdd/>
- <orddeptnm/>
- <orddrnm/>
- <cptype/>
- <reqdd/>
- <coophospnm/>
- <drnm/>
- <cretno/>
- <seqno/>
- <orddeptcd/>
- <orddrid/>
- <reqdd/>
- <coophospnm/>
- <drnm/>
- <clsmatyn/>
- <gradyear/>
- <telno/>
- <faxno/>
- <coopflag/>
- <emailid/>
- <emailaddr/>
- <qreplflag/>
- <reqseqno/>
- </rqstlist>
- <cntinfo>
- <reqcnt/>
- <replcnt/>
- </cntinfo>
- </list>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <popupendflag/>
- <patient>
- <patinfo>
- <patyn/>
- </patinfo>
- </patient>
- </main>
- <init>
- <dept>
- <dept>
- </dept>
- </dept>
- <doctlist>
- <medispcl>
- <doctid/>
- <doctnm/>
- </medispcl>
- </doctlist>
- <hospgrade>
- <A0429>
- </A0429>
- </hospgrade>
- <saveflag>
- <A0497/>
- </saveflag>
- <patflag>
- </patflag>
- <openeryn/>
- <replflag/>
- <repltype>
- <A0423/>
- </repltype>
- <cptype>
- <A0420/>
- </cptype>
- <condcptype>
- <A0420/>
- </condcptype>
- <reqagntype>
- <A0583/>
- </reqagntype>
- <qreplflag>
- <A0636/>
- </qreplflag>
- <hardcd/>
- <wincloseyn>N</wincloseyn>
- </init>
- <temp>
- <hardcode/>
- </temp>
- <arcmreqp/>
- <send2/>
- </root>
- </instance>
- <submission id="TRZBP00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRARC01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/doctor" resultref="/root/init/doctlist"/>
- <submission id="TRARC02509" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send2" resultref="/root/arcmreqp"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRARC02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/list"/>
- <submission id="TRARC02602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/patient"/>
- <submission id="TRMMB04105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXARC00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/updcnt"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/common.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../ast/soclworkweb/js/AWMCommon.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript">
- <![CDATA[
- // 초기값
- function fInit()
- {
- // 공통코드 목록 가져오기
- zbcfGetCodeList(new Array("A0429", "A0496", "A0497", "A0423", "A0420", "A0420","A0583", "A0636")
- , new Array("/root/init/hospgrade", "/root/init/patflag", "/root/init/saveflag", "/root/init/repltype", "/root/init/cptype", "/root/init/condcptype","/root/init/reqagntype", "/root/init/qreplflag") , true);
-
- // 유형코드(구분항목)
- zbcfGetKindCodeList(
- new Array("A0016"), //업무규칙
- new Array("A0423"), //코드군
- new Array("/root/init/patflag"), //노드
- true, //minimum : true TRZBC00105
- new Array("dispseq"), //sorting 항목
- new Array("asc")
- );
-
- // 병원구분
- addComboItem("cmb_hospgrade", "협력병의원", "CA", "above");
- addComboItem("cmb_hospgrade", "", "", "above");
- addComboItem("cmb_saveflag", "", "", "above");
- addComboItem("cmb_patflag", "", "", "above");
- addComboItem("cmb_cptype", "", "", "above");
- addComboItem("cmb_reqagntype", "", "", "above");
- addComboItem("cmb_qreplflag", "", "", "above");
- cmb_qreplflag.select(1); //진료정보공개 동의여부 - 예
-
- cmb_hospgrade.select(0); //병원구분 - 전체
-
- if (getUserInfo("dutplceinstcd") == "031") {
- cmb_hospgrade.select(1); //협력병의원
- cmb_hospgrade.disabled = true;
- }
-
- cmb_saveflag.select(3); //작성구분 - 미작성
- cmb_patflag.select(1); //회신유형 - 전체
-
- model.removeNodeset("/root/main/list/rqstlist");
-
- /*
- if (checkOpener()) {
- var pid = opener.javascript.getParameter("pid");
- var hngnm = opener.javascript.getParameter("hngnm");
-
- model.setValue("/root/send/search/pid", pid);
- model.setValue("/root/send/search/hngnm", hngnm);
-
- } else {
- messageBox("상위화면이 변경되어 데이터를 전달할 수 ", "I004");
- }
- */
- if (checkOpener())
- {
- // 회신, 되의뢰 구분
- var replflag = opener.javascript.getParameter("replflag");
-
- //alert(replflag);
- if (replflag == "")
- {
- model.setValue("/root/init/openeryn", "N");
- replflag = "P";
- }
- else
- {
- //model.setValue("/root/init/openeryn", "Y");
- model.setValue("/root/init/openeryn", "N");
- }
-
- model.setValue("/root/init/replflag", replflag);
- model.setValue("/root/send/search/replflag", replflag);
-
- }
- else
- {
- model.setValue("/root/init/openeryn", "N");
-
- // 회신으로 셋팅
- model.setValue("/root/init/replflag", "P");
- model.setValue("/root/send/search/replflag", "P");
- }
-
-
- /*
- // 진료과
- //var instcd = "012";
- var instcd = getUserInfo("dutplceinstcd");
- //var standard_yn = "orduseyn";
- var standard_yn = "rcptuseyn";
- var ord_deptflag = "D";
- var rslt_ref = "/root/init/dept";
- var sort_method = "depthngnm";
- //zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_method);
- sort_field = "depthngnm"
- zsdfGetInOutOrdDeptList(instcd, rslt_ref, sort_field, sort_method);
- */
-
-
- //과정보 설정(2014-05-12 이윤주 수정:칠곡 소아청소년과 분과 관련)
- mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/dept", "T");
-
- // 진료과
- //addComboItem("cmb_orddeptcd", " ", "", "above");
-
- var jobkindcd = getUserInfo("jobkindcd");
- var dutplcecd = getUserInfo("dutplcecd");
-
- // 의료협력부서 가져옴(kimsj 091217 협력부서에서 등록번호 조회시 오류 - 노드변경)
- mmbfGetHardCodeInfo("/root/send/harddatadept", "/root/init/hardcd", 9915);
-
- //alert(dutplcecd);
- var userid = getUserInfo("userid");
- // 3260000000 : 의료협력 진료과코드, 직종 간호직 : 1140
- // 의료협력이 아닌경우는 진료과 자동 셋팅되고 선택할 수 없도록 막음
- //if (dutplcecd != "3260000000" && dutplcecd != "10000")
- var dutplcecd = getUserInfo("dutplcecd");
- if(model.getValue("/root/init/hardcd/hardcd[hardcd='" + dutplcecd + "']/hardcd") == "" && userid != "AST")
- //if (dutplcecd != "3260000000" && userid != "AST")
- {
- var dutplcecd = getUserInfo("dutplcecd");
- var userid = getUserInfo("userid");
- model.setValue("/root/send/search/orddeptcd", dutplcecd);
- }
-
- fDoctSerach();
-
- var CurrentDate = getCurrentDate();
- model.setValue("/root/send/search/todd", CurrentDate);
-
- var fromdd = CurrentDate.toDate().getAddDate(-4,"M").getDateFormat();
- model.setValue("/root/send/search/fromdd", fromdd);
-
-
- mmbfGetHardCodeInfoNm("/root/send/harddata","/root/temp/hardcode", 121); //OCR서식의 등록번호 체크로직 표시 여부
- var hardcd = model.getValue("/root/temp/hardcode/hardcd/hardcd");
-
- if (hardcd == "Y")
- {
- model.setValue("/root/send/search/orddrid", userid);
- if ( !fCheckDate() ) return; //필수 저장여부 체크
- fSearch();
- }
- else
- {
- //if (dutplcecd != "3260000000" && dutplcecd != "10000")
- var dutplcecd = getUserInfo("dutplcecd");
- if(model.getValue("/root/init/hardcd/hardcd[hardcd='" + dutplcecd + "']/hardcd") == "" && userid != "AST")
- //if (dutplcecd != "3260000000" && userid != "AST")
- {
- model.setValue("/root/send/search/orddrid", userid);
-
- //cmb_orddeptcd.disabled = true;
- //cmb_orddrid.disabled = true;
-
- if ( !fCheckDate() ) return; //필수 저장여부 체크
- fSearch();
-
- }
-
- }
-
- model.refresh();
- //alert("dutplcecd==>" + dutplcecd + "::: userid--->" + userid);
-
- /*
- if (model.getValue("/root/send/search/pid") != "")
- {
- //fPatPopUp();
- fSearch();
- }
- */
-
- //inputEnterKey("btn_pat", "DOMActivate");
- }
- // 진료의사 조회
- function fDoctSerach()
- {
- // 진료의사
- model.resetInstanceNode("/root/init/doctlist");
- model.removenode("/root/send/doctor");
-
- // 오늘 날짜로 세팅
- var CurrentDate = getCurrentDate();
- //model.makeValue("/root/send/doctor/orddd", model.getValue("/root/send/search/f_date"));
- model.makeValue("/root/send/doctor/orddd", getCurrentDate());
- model.makeValue("/root/send/doctor/orddeptcd", model.getValue("/root/send/search/orddeptcd"));
- model.makeValue("/root/send/doctor/allyn", "N");
-
- submit("TRARC01302", false);
- cmb_orddrid.select(0);
-
- //model.setValue("/root/main/patient/orddrid", orddrid);
- }
-
-
- // 병원 선택
- function fConfirm() {
- if (grd_list.rows <= 1) return;
- if (grd_list.row < 1) return;
-
- var mainObj = getMainViewer();
-
- var row = grd_list.row;
-
- // 메뉴에서 열었는지 팝업으로 열었는지 체크
- var openeryn = model.getValue("/root/init/openeryn");
-
- if( row > 0 )
- {
- if( getNodesetCount("/root/main/list/rqstlist") > 0 )
- {
- if (openeryn == "Y")
- {
- var pid = opener.javascript.setParameter("pid", model.getValue("/root/main/list/rqstlist[" + row + "]/pid"));
- var orddeptcd = opener.javascript.setParameter("orddeptcd", model.getValue("/root/main/list/rqstlist[" + row + "]/orddeptcd"));
- var orddrid = opener.javascript.setParameter("orddrid", model.getValue("/root/main/list/rqstlist[" + row + "]/orddrid"));
-
- var orddeptnm = opener.javascript.setParameter("orddeptnm", model.getValue("/root/main/list/rqstlist[" + row + "]/orddeptnm"));
- var orddrnm = opener.javascript.setParameter("orddrnm", model.getValue("/root/main/list/rqstlist[" + row + "]/orddrnm"));
-
- var orddd = opener.javascript.setParameter("orddd", model.getValue("/root/main/list/rqstlist[" + row + "]/orddd"));
- var cretno = opener.javascript.setParameter("cretno", model.getValue("/root/main/list/rqstlist[" + row + "]/cretno"));
- var seqno = opener.javascript.setParameter("seqno", model.getValue("/root/main/list/rqstlist[" + row + "]/seqno"));
- var reqdd = opener.javascript.setParameter("reqdd", model.getValue("/root/main/list/rqstlist[" + row + "]/reqdd"));
-
- var reqyn = opener.javascript.setParameter("reqyn", "Y");
-
- var selectyn = opener.javascript.setParameter("selectyn", "Y");
-
- var replflag = opener.javascript.setParameter("replflag", model.getValue("/root/init/replflag"));
-
- model.close();
- }
- else {
-
- var pid = opener.javascript.setParameter("pid", model.getValue("/root/main/list/rqstlist[" + row + "]/pid"));
- var orddeptcd = opener.javascript.setParameter("orddeptcd", model.getValue("/root/main/list/rqstlist[" + row + "]/orddeptcd"));
- var orddrid = opener.javascript.setParameter("orddrid", model.getValue("/root/main/list/rqstlist[" + row + "]/orddrid"));
-
- var orddeptnm = opener.javascript.setParameter("orddeptnm", model.getValue("/root/main/list/rqstlist[" + row + "]/orddeptnm"));
- var orddrnm = opener.javascript.setParameter("orddrnm", model.getValue("/root/main/list/rqstlist[" + row + "]/orddrnm"));
-
- var orddd = opener.javascript.setParameter("orddd", model.getValue("/root/main/list/rqstlist[" + row + "]/orddd"));
- var cretno = opener.javascript.setParameter("cretno", model.getValue("/root/main/list/rqstlist[" + row + "]/cretno"));
- var seqno = opener.javascript.setParameter("seqno", model.getValue("/root/main/list/rqstlist[" + row + "]/seqno"));
- var reqdd = opener.javascript.setParameter("reqdd", model.getValue("/root/main/list/rqstlist[" + row + "]/reqdd"));
-
- var reqyn = opener.javascript.setParameter("reqyn", "Y");
-
- var selectyn = opener.javascript.setParameter("selectyn", "N");
-
- opener.javascript.setParameter("replflag", model.getValue("/root/init/replflag"));
-
- // 처방에서 넘긴건지, 의뢰환자찾기에서 넘긴건지 구분
- var prcpyn = opener.javascript.setParameter("prcpyn", "N");
-
- var openerId = opener.window.javascript.getScreenID();
-
- if (openerId == "SMARC02500")
- {
- opener.window.javascript.fInit();
- }
- else
- {
- modal("SMARC02500");
- }
- }
- }
- var wincloseyn = model.getValue("/root/init/wincloseyn");
- if (wincloseyn == "Y") {
- window.close();
- }
- }
-
- }
-
- // 조회전 필수 체크
- function fCheckDate()
- {
- var dutplcecd = getUserInfo("dutplcecd");
- var userid = getUserInfo("userid");
-
- var fromdd = model.getValue("/root/send/search/fromdd");
- var todd = model.getValue("/root/send/search/todd");
- var pid = model.getValue("/root/send/search/pid");
-
- // 3260000000 : 의료협력 진료과코드, 직종 간호직 : 1140
- // 의료협력이 아닌경우는 진료과 자동 셋팅되고 선택할 수 없도록 막음
- var hardcd = model.getValue("/root/temp/hardcode/hardcd/hardcd");
-
- if (hardcd == "Y")
- {
- if (isNull(pid) == true)
- {
- if( ! isValidDateTime( fromdd, 'YYYYMMDD') || ! isValidDateTime( todd, 'YYYYMMDD') ){
-
- messageBox("입력하신 일자구분이 정확한 날짜타입이 아닙니다.", "E999", "");
- return false;
- }
-
- if( getDateInterval(fromdd, todd) > 124 ){
- messageBox("조회가능한 최대 기간은 4달입니다. 일자구분에서 날짜를 수정하세요!", "E999", "");
- return false;
- }
-
- if( getDateInterval(fromdd, todd) < 0 ){
- messageBox("일자구분에서 시작일자가 종료일자보다 미래일자 입니다. 확인하세요!", "E999", "");
- return false;
- }
-
- // 날짜 계산
- var daycnt = getDateInterval(fromdd, todd);
-
- // 1일이 아닌 경우는 조건을 타야 함
- if (daycnt != 0)
- {
- // 진료과 체크
- if (model.getValue("/root/send/search/orddeptcd") == "")
- {
- messageBox("일자구분에서 하루 이상의 기간을 선택했을 경우, 진료과는 조회 필수 조건입니다. 진료과를 입력하세요.", "E999", "");
- //messageBox("진료과를 ","C002");
- return false;
- }
-
- //alert(ipt_hngnm.currentText.length);
- if (ipt_hngnm.currentText.length > 0 && ipt_hngnm.currentText.length < 2) {
- messageBox("환자명은 2글자 이상으로 해주십시요!","E999","");
- model.setFocus("ipt_hngnm");
- return false;
- }
-
- if (ipt_coophospnm.currentText.length > 0 && ipt_coophospnm.currentText.length < 2) {
- messageBox("의뢰병원은 2글자 이상으로 해주십시요!","E999","");
- model.setFocus("ipt_coophospnm");
- return false;
- }
-
- if (ipt_drnm.currentText.length > 0 && ipt_drnm.currentText.length < 2) {
- messageBox("의뢰의사는 2글자 이상으로 해주십시요!","E999","");
- model.setFocus("ipt_drnm");
- return false;
- }
- }
- }
- }
- else
- {
- //if (dutplcecd != "3260000000" && dutplcecd != "10000")
- var dutplcecd = getUserInfo("dutplcecd");
- if(model.getValue("/root/init/hardcd/hardcd[hardcd='" + dutplcecd + "']/hardcd") == "" && userid != "AST")
- //if (dutplcecd != "3260000000" && userid != "AST")
- {
- if (isNull(pid) == true)
- {
- if (model.getValue("/root/send/search/orddeptcd") == "")
- {
- messageBox("진료과를 ","C001");
- model.setFocus("cmb_orddeptcd");
- return false;
- }
-
- // if (model.getValue("/root/send/search/orddrid") == "")
- // {
- // messageBox("진료의사를 ","C001");
- // model.setFocus("cmb_orddrid");
- // return false;
- // }
-
- if( ! isValidDateTime( fromdd, 'YYYYMMDD') || ! isValidDateTime( todd, 'YYYYMMDD') ){
-
- messageBox("입력하신 일자구분이 정확한 날짜타입이 아닙니다.", "E999", "");
- return false;
- }
-
- if( getDateInterval(fromdd, todd) > 124 ){
- messageBox("조회가능한 최대 기간은 4달입니다. 일자구분에서 날짜를 수정하세요!", "E999", "");
- return false;
- }
-
- if( getDateInterval(fromdd, todd) < 0 ){
- messageBox("일자구분에서 시작일자가 종료일자보다 미래일자 입니다. 확인하세요!", "E999", "");
- return false;
- }
-
- //alert(ipt_hngnm.currentText.length);
- if (ipt_hngnm.currentText.length > 0 && ipt_hngnm.currentText.length < 2) {
- messageBox("환자명은 2글자 이상으로 해주십시요!","E999","");
- model.setFocus("ipt_hngnm");
- return false;
- }
-
- if (ipt_coophospnm.currentText.length > 0 && ipt_coophospnm.currentText.length < 2) {
- messageBox("의뢰병원은 2글자 이상으로 해주십시요!","E999","");
- model.setFocus("ipt_coophospnm");
- return false;
- }
-
- if (ipt_drnm.currentText.length > 0 && ipt_drnm.currentText.length < 2) {
- messageBox("의뢰의사는 2글자 이상으로 해주십시요!","E999","");
- model.setFocus("ipt_drnm");
- return false;
- }
- }
- }
- else
- {
- if (isNull(pid) == true)
- {
- if( ! isValidDateTime( fromdd, 'YYYYMMDD') || ! isValidDateTime( todd, 'YYYYMMDD') ){
-
- messageBox("입력하신 일자구분이 정확한 날짜타입이 아닙니다.", "E999", "");
- return false;
- }
-
- if( getDateInterval(fromdd, todd) > 124 ){
- messageBox("조회가능한 최대 기간은 4달입니다. 일자구분에서 날짜를 수정하세요!", "E999", "");
- return false;
- }
-
- if( getDateInterval(fromdd, todd) < 0 ){
- messageBox("일자구분에서 시작일자가 종료일자보다 미래일자 입니다. 확인하세요!", "E999", "");
- return false;
- }
-
- // 날짜 계산
- var daycnt = getDateInterval(fromdd, todd);
-
- // 1일이 아닌 경우는 조건을 타야 함
- if (daycnt != 0)
- {
- // 진료과 체크
- if (model.getValue("/root/send/search/orddeptcd") == "")
- {
- messageBox("일자구분에서 하루 이상의 기간을 선택했을 경우, 진료과는 조회 필수 조건입니다. 진료과를 입력하세요.", "E999", "");
- //messageBox("진료과를 ","C002");
- return false;
- }
-
- //alert(ipt_hngnm.currentText.length);
- if (ipt_hngnm.currentText.length > 0 && ipt_hngnm.currentText.length < 2) {
- messageBox("환자명은 2글자 이상으로 해주십시요!","E999","");
- model.setFocus("ipt_hngnm");
- return false;
- }
-
- if (ipt_coophospnm.currentText.length > 0 && ipt_coophospnm.currentText.length < 2) {
- messageBox("의뢰병원은 2글자 이상으로 해주십시요!","E999","");
- model.setFocus("ipt_coophospnm");
- return false;
- }
-
- if (ipt_drnm.currentText.length > 0 && ipt_drnm.currentText.length < 2) {
- messageBox("의뢰의사는 2글자 이상으로 해주십시요!","E999","");
- model.setFocus("ipt_drnm");
- return false;
- }
- }
- }
- }
- }
-
- return true;
- }
-
- // 조회
- function fSearch()
- {
-
- model.resetInstanceNode("/root/send/reqdata");
-
- var pid = model.getValue("/root/send/search/pid");
-
-
- if (isNull(pid) == true)
- {
- model.copyNode("/root/send/reqdata", "/root/send/search");
- }
- else
- {
- if (getUserInfo("dutplceinstcd") == "031" && fContainsHardCD("5974", getUserInfo("dutplcecd")) == false ) {
-
- var flag ="2";
- var msg = "현재 이 환자는 의뢰건이 존재하지 않거나 진료정보공개 동의를 하지 않아 회신대상이 아닙니다.";
- var orddeptcd = model.getValue("/root/send/search/orddeptcd");
-
- model.resetInstanceNode("/root/arcmreqp");
- model.makeValue ( "/root/send2/cond1", pid);
- model.makeValue ( "/root/send2/cond2", getCurrentDate());
- model.makeValue ( "/root/send2/cond4", orddeptcd);
-
- if ( getUserInfo("dutplceinstcd") == "031" ) {
- flag = "1";
- msg = "현재 이 환자는 의뢰건이 존재하지 않거나 또는 협력병의원이 아니거나 진료정보공개 동의를 하지 않아 회신대상이 아닙니다.";
- }
-
- model.makeValue ( "/root/send2/flag", flag);
-
- submit("TRARC02509");
-
- if ( model.getValue("/root/arcmreqp/arcmreqp/replflag") == "N" ) {
- messageBox(msg , "E");
- return;
- }
- }
-
- model.setValue("/root/send/reqdata/pid", pid);
- model.setValue("/root/send/reqdata/replflag", model.getValue("/root/send/search/replflag"));
- }
-
- /*
- var reqagntype=model.getValue("/root/send/search/reqagntype");
- if(isNull(reqagntype))
- {
- model.makeValue(
- }
- else
- {
-
- }
- */
-
- // reqmngt
- // reqGetOrdRqstList
- // getRqstList(리스트), getCntInfo(의뢰건수)
- if (submit("TRARC02601", false) == true)
- {
-
- var jobkindcd = getUserInfo("jobkindcd");
- var dutplcecd = getUserInfo("dutplcecd");
- // 메뉴에서 열었는지 팝업으로 열었는지 체크
- var openeryn = model.getValue("/root/init/openeryn");
-
- //alert(dutplcecd);
- // 3260000000 : 의료협력 진료과코드, 직종 간호직 : 1140
- // 의료협력이 아닌경우에만 미등록환자도 등록가능함.
- var dutplcecd = getUserInfo("dutplcecd");
- if(model.getValue("/root/init/hardcd/hardcd[hardcd='" + dutplcecd + "']/hardcd") == "" && dutplcecd != "10000")
- //if (dutplcecd != "3260000000" && dutplcecd != "10000")
- {
- // 등록번호로 조회한 경우 조회건이 없는 환자인 경우는 미등록이 가능함
- if (model.instances(0).selectNodes("/root/main/list/rqstlist/pid").length == 0 && ipt_pid.currentText.length > 0)
- {
- model.resetInstanceNode("/root/send/cond/pid");
- model.setValue("/root/send/cond/pid", ipt_pid.currentText);
- // 등록번호 체크, 의뢰등록여부 체크 필요(추후 추가)
- if (submit("TRARC02602", false) == true)
- {
- if (model.getValue("/root/main/patient/patinfo/patyn") == "Y")
- {
- // 실행 하시겠습니까?
- var btn = messageBox("미등록된 환자입니다. 진료회신서 등록을 작성하시겠습니까?", "Q999");
-
- if (btn == '6')
- {
- if (openeryn == "Y")
- {
- var pid = opener.javascript.setParameter("pid", ipt_pid.currentText);
- var orddeptcd = opener.javascript.setParameter("orddeptcd", model.getValue("/root/send/search/orddeptcd"));
- var orddrid = opener.javascript.setParameter("orddrid", model.getValue("/root/send/search/orddrid"));
-
- var orddeptnm = opener.javascript.setParameter("orddeptnm", cmb_orddeptcd.label);
- var orddrnm = opener.javascript.setParameter("orddrnm", cmb_orddrid.label);
-
- var orddd = opener.javascript.setParameter("orddd", "");
- var cretno = opener.javascript.setParameter("cretno", "0");
- var seqno = opener.javascript.setParameter("seqno", "0");
- var reqdd = opener.javascript.setParameter("reqdd", "");
- var reqyn = opener.javascript.setParameter("reqyn", "N");
-
- var selectyn = opener.javascript.setParameter("selectyn", "Y");
-
- var replflag = opener.javascript.setParameter("replflag", model.getValue("/root/init/replflag"));
-
- model.close();
- // ReplSavePopUp()
- }
- else
- {
- /*
- var pid = setParameter("pid", ipt_pid.currentText);
- var orddeptcd = setParameter("orddeptcd", model.getValue("/root/send/search/orddeptcd"));
- var orddrid = setParameter("orddrid", model.getValue("/root/send/search/orddrid"));
-
- var orddeptnm = setParameter("orddeptnm", cmb_orddeptcd.label);
- var orddrnm = setParameter("orddrnm", cmb_orddrid.label);
-
- var orddd = setParameter("orddd", "");
- var cretno = setParameter("cretno", "0");
- var seqno = setParameter("seqno", "0");
- var reqdd = setParameter("reqdd", "");
- var reqyn = setParameter("reqyn", "N");
-
- var selectyn = setParameter("selectyn", "N");
-
- var replflag = setParameter("replflag", model.getValue("/root/init/replflag"));
- //alert(replflag);
- // 처방에서 넘긴건지, 의뢰환자찾기에서 넘긴건지 구분
- var prcpyn = setParameter("prcpyn", "N");
- */
-
- opener.model.resetInstanceNode("/root/main/reqpatinfo");
-
- opener.model.setValue("/root/main/reqpatinfo/pid", ipt_pid.currentText);
- opener.model.setValue("/root/main/reqpatinfo/orddeptcd", model.getValue("/root/send/search/orddeptcd"));
- opener.model.setValue("/root/main/reqpatinfo/orddrid", model.getValue("/root/send/search/orddrid"));
- opener.model.setValue("/root/main/reqpatinfo/orddeptnm", cmb_orddeptcd.label);
- opener.model.setValue("/root/main/reqpatinfo/orddrnm", cmb_orddrid.label);
- opener.model.setValue("/root/main/reqpatinfo/orddd", "");
- opener.model.setValue("/root/main/reqpatinfo/cretno", "0");
- opener.model.setValue("/root/main/reqpatinfo/seqno", "0");
- opener.model.setValue("/root/main/reqpatinfo/reqdd", "");
- opener.model.setValue("/root/main/reqpatinfo/reqyn", "N");
- opener.model.setValue("/root/main/reqpatinfo/selectyn", "N");
- opener.model.setValue("/root/main/reqpatinfo/replflag", model.getValue("/root/init/replflag"));
- opener.model.setValue("/root/main/reqpatinfo/prcpyn", "N");
-
- var curEmrRecObj = getOpenWindow("SMARC02500"); //활성화된 진료기록 화면 object loading
- //var curCpObj = mainObj.javascript.getOpenWindow("SPARC00100"); //활성화된 CP Main 화면 object loading
-
- if (curEmrRecObj != null)
- {
- curEmrRecObj.javascript.fInit();
- }
- else
- {
- open("SMARC02500",1,1,1, "SMARC02500", "", "", "", false);
- }
-
- //open("SMARC02500", 1,10, 10, "SMARC02500", "", "");
- }
-
- }
-
- }
- }
- }
- }
- }
- else
- {
- messageBox("조회를", "E009");
- }
-
- }
-
- // 회신서 등록 팝업
- function ReplSavePopUp()
- {
- if (checkOpener()) {
- var InsUpdtValue = opener.model.setValue(opener.root.init.selectyn, 'y'); //저장, 수정 후 재조회하기 위한 값 넘기기
- model.close();
- }
-
- /*
- var mainObj = getMainViewer();
-
- var curEmrRecObj = getOpenWindow("SMARC02500"); //활성화된 진료기록 화면 object loading
- //alert(curEmrRecObj);
-
- if (curEmrRecObj != null)
- {
- curEmrRecObj.javascript.fInit();
- }
- else
- {
- open("SMARC02500",1,1,1, "SMARC02500", "", "", "", false);
- }
- */
-
- }
-
- // 등록번호 조회 팝업
- function fPatPopUp()
- {
- model.makeValue("/root/temp/pid", model.getValue("/root/send/search/pid"));
- model.makeValue("/root/temp/srchcond","1");
- model.makeValue("/root/temp/autoflag","Y");
-
- modal("SPPMC02500", 1,10, 10, "SPPMC02500", "/root/temp", "/root/send");
-
- //model.resetInstanceNode("/root/main/patinfo/patinfolist");
- //model.resetInstanceNode("/root/send/cond");
- model.setValue("/root/send/search/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/search/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
-
- //fHistSearch();
-
- model.refresh();
-
- }
-
- // 리스트 엑셀 파일로 저장
- function fExcel()
- {
- if (grd_list.rows <= 1) return;
-
- var fileName = window.fileDialog("save", ",", false, "의뢰 회신 환자 리스트", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != ""){
- grd_list.saveExcel(fileName, "SheetName", false, false, "", "", false);
- }
- }
- function fSave()
- {
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="876" pageheight="497" guideline="1,2;500,500;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:860px; height:470px; ">
- <group id="grp_tle" style="left:0px; top:0px; width:860px; height:13px; ">
- <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">의뢰환자찾기</caption>
- </group>
- <group id="group1" style="left:0px; top:25px; width:860px; height:135px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:857px; height:133px; "/>
- <line id="line8" class="line_4" style="x1:788px; y1:5px; x2:788px; y2:130px; "/>
- <caption id="caption4" class="search_name" style="left:237px; top:60px; width:94px; height:17px; ">의뢰의사 :</caption>
- <caption id="caption3" class="search_name" style="left:7px; top:60px; width:99px; height:17px; ">의뢰병원 :</caption>
- <input id="ipt_pid" ref="/root/send/search/pid" class="input_search" style="left:97px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if (event.keyCode == 13 && ipt_pid.currentText.length> 0)
- {
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_hngnm" ref="/root/send/search/hngnm" class="input_search" imemode="hangul" style="left:327px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if (event.keyCode == 13 && ipt_hngnm.currentText.length> 0)
- {
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_rrgstno1" ref="/root/send/search/rrgstno1" class="input_search" imemode="alpha" maxlength="6" format="####" style="left:574px; top:10px; width:85px; height:19px; "/>
- <input id="ipt_rrgstno2" ref="/root/send/search/rrgstno2" class="input_search" imemode="alpha" maxlength="7" format="####" style="left:683px; top:10px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if (event.keyCode == 13 && ipt_rrgstno1.currentText.length == 6 && ipt_rrgstno2.currentText.length == 7)
- {
- inputEnterKey("btn_search", "DOMActivate");
- }
-
- ]]>
- </script>
- </input>
- <select1 id="cmb_orddeptcd" ref="/root/send/search/orddeptcd" class="combo_search" appearance="minimal" style="left:97px; top:35px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/dept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fDoctSerach();
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_orddrid" ref="/root/send/search/orddrid" class="combo_search" appearance="minimal" style="left:327px; top:35px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/doctlist/medispcl">
- <label ref="doctnm"/>
- <value ref="doctid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromdd" ref="/root/send/search/fromdd" class="input_search" inputtype="date" style="left:574px; top:35px; width:85px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/search/todd" class="input_search" inputtype="date" style="left:683px; top:35px; width:85px; height:19px; "/>
- <input id="ipt_coophospnm" ref="/root/send/search/coophospnm" class="input_search" imemode="hangul" style="left:97px; top:60px; width:100px; height:19px; "/>
- <input id="ipt_drnm" ref="/root/send/search/drnm" class="input_search" imemode="hangul" style="left:327px; top:60px; width:100px; height:19px; "/>
- <select1 id="cmb_patflag" ref="/root/send/search/patflag" class="combo_search" appearance="minimal" style="left:97px; top:110px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/repltype/A0423">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_hospgrade" ref="/root/send/search/hospgrade" class="combo_search" appearance="minimal" style="left:97px; top:85px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/hospgrade/A0429">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_saveflag" ref="/root/send/search/saveflag" class="combo_search" appearance="minimal" style="left:327px; top:85px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/saveflag/A0497">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption23" class="search_name" style="left:7px; top:10px; width:95px; height:17px; ">등록번호 :</caption>
- <caption id="caption1" class="search_name" style="left:237px; top:10px; width:95px; height:17px; ">환자명 :</caption>
- <caption id="caption5" class="search_name" style="left:465px; top:10px; width:95px; height:17px; ">주민번호 :</caption>
- <caption id="caption11" class="search_name" style="left:7px; top:35px; width:95px; height:17px; ">진료과 :</caption>
- <caption id="caption6" class="search_name" style="left:237px; top:35px; width:95px; height:17px; ">진료의사 :</caption>
- <caption id="caption7" class="search_no_b" style="left:665px; top:35px; width:12px; height:17px; ">~</caption>
- <caption id="caption9" class="search_name" style="left:465px; top:35px; width:94px; height:17px; ">진료일자 :</caption>
- <caption id="caption10" class="search_name" style="left:237px; top:85px; width:112px; height:17px; ">작성구분 :</caption>
- <caption id="caption12" class="search_name" style="left:7px; top:85px; width:112px; height:17px; ">병원구분 :</caption>
- <caption id="caption13" class="search_no_b" style="left:665px; top:10px; width:12px; height:17px; ">-</caption>
- <caption id="caption14" class="search_name" style="left:7px; top:110px; width:102px; height:17px; ">회신유형:</caption>
- <button id="btn_search" class="btn1_letter2" style="left:795px; top:45px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !fCheckDate() ) return; //필수 저장여부 체크
- fSearch();
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_cptype" ref="/root/send/search/cptype" class="combo_search" appearance="minimal" style="left:574px; top:60px; width:151px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/condcptype/A0420">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption16" class="search_name" style="left:465px; top:60px; width:127px; height:17px; ">One-Stop :</caption>
- <select1 id="cmb_reqagntype" ref="/root/send/search/reqagntype" class="combo_search" appearance="minimal" style="left:337px; top:110px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqagntype/A0583">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption18" class="search_name" style="left:237px; top:110px; width:102px; height:17px; ">되의뢰유형:</caption>
- <caption id="caption19" class="search_name" style="left:465px; top:85px; width:180px; height:17px; ">진료정보공개 동의여부 :</caption>
- <select1 id="cmb_qreplflag" ref="/root/send/search/qreplflag" class="combo_search" appearance="minimal" style="left:639px; top:85px; width:86px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/qreplflag/A0636">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:181px; x2:860px; y2:181px; "/>
- <datagrid id="grd_list" nodeset="/root/main/list/rqstlist" caption="HIE^진료일자^등록번호^환자명^동의여부^회신유형^되의뢰유형^작성구분^회신작성일자^진료의사^진료과^One-Stop^의뢰일자^의뢰병원^의뢰의사^동문여부^졸업년도^전화번호^Fax번호^협력여부^E-MAIL^E-MAIL^일련번호" colsep="^" colwidth="39, 80, 80, 100, 80, 80, 93, 80, 80, 80, 111, 100, 80, 150, 83, 61, 77, 93, 102, 74, 78, 142, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:185px; width:857px; height:280px; ">
- <col ref="hieyn" type="output"/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="qreplflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/qreplflag/A0636">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="patflag" type="combo" format="yyyy-mm-dd" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/repltype/A0423">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="reqagntype" type="combo">
- <choices>
- <itemset nodeset="/root/init/reqagntype/A0583">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="saveflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/saveflag/A0497">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="recdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="orddrid" type="combo">
- <choices>
- <itemset nodeset="/root/init/doctlist/medispcl">
- <label ref="doctnm"/>
- <value ref="doctid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptnm"/>
- <col disabled="true" ref="cptype" type="combo">
- <choices>
- <itemset nodeset="/root/init/cptype/A0420">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="coophospnm"/>
- <col ref="drnm"/>
- <col ref="clsmatyn" style="text-align:center; "/>
- <col ref="gradyear" style="text-align:center; "/>
- <col ref="telno"/>
- <col ref="faxno"/>
- <col disabled="true" ref="coopflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>협력</label>
- <value>1</value>
- </item>
- <item>
- <label>일반</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="emailid"/>
- <col ref="emailaddr"/>
- <col ref="reqseqno"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fConfirm();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_list.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption8" class="tit_2" style="left:5px; top:166px; width:151px; height:13px; ">의뢰/회신 환자 리스트</caption>
- <button id="button13" class="btn2_letter3" navindex="6" style="left:805px; top:161px; width:53px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExcel();
- ]]>
- </script>
- </button>
- <caption id="caption17" class="cell_1" style="left:600px; top:161px; width:45px; height:19px; vertical-align:middle; ">의뢰</caption>
- <caption id="caption15" class="cell_1" style="left:705px; top:161px; width:45px; height:19px; vertical-align:middle; ">회신</caption>
- <output id="opt_reqcnt" ref="/root/main/list/cntinfo/reqcnt" class="output_fix" format="#,###" appearance="output" maxlength="6" style="left:648px; top:161px; width:50px; height:19px; text-align:right; "/>
- <output id="opt_replcnt" ref="/root/main/list/cntinfo/replcnt" class="output_fix" format="#,###" appearance="output" maxlength="6" style="left:753px; top:161px; width:50px; height:19px; text-align:right; "/>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:468px; width:860px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:742px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fConfirm();
-
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:801px; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var openeryn = model.getValue("/root/init/openeryn");
- if (openeryn == "Y")
- {
- var selectyn = opener.javascript.setParameter("selectyn", "N");
- }
- else
- {
- var selectyn = setParameter("selectyn", "N");
- }
-
- model.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:680px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/savedata/list", grd_list.getUpdateData());
- submit("TXARC00201")
-
- var updcnt = model.getValue("/root/updcnt/cnt");
-
- if (updcnt > 0 )
- {
- fSearch();
- model.refresh();
- messageBox("저장이","I002");
- }
-
- ]]>
- </script>
- </button>
- <bool id="bool1" checkvalue="Y,N" ref="/root/init/wincloseyn" style="left:0px; top:2px; width:30px; height:20px; "/>
- <caption id="caption20" style="left:25px; top:3px; width:90px; height:20px; ">화면 자동 닫음</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|