123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>병원명조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- </send>
- <main>
- <reqagninfo>
- <reqagnkindcd>1</reqagnkindcd>
- <reqagnkindnm/>
- </reqagninfo>
- </main>
- <init>
- <areacd>
- <A0426>
- </A0426>
- </areacd>
- <hospgrade>
- <A0429>
- </A0429>
- </hospgrade>
- </init>
- </root>
- </instance>
- <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"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRARH00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list"/>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/soclworkweb/js/AWMCommon.js"/>
- <script type="javascript">
- <![CDATA[
- // 초기값
- function fInit()
- {
- // 공통코드 목록 가져오기
- zbcfGetCodeList(new Array("A0429"), new Array("/root/init/hospgrade") , true);
-
- // 유형코드
- zbcfGetKindCodeList(
- new Array("A0014"), //업무규칙
- new Array("A0426"), //코드군
- new Array("/root/init/areacd"), //노드
- true, //minimum : true TRZBC00105
- new Array(""), //sorting 항목
- new Array("")
- );
-
-
- model.removeNodeset("/root/main/list/req_hosp_list");
- model.refresh();
- }
-
- // 병원 선택
- function fConfirm() {
- if ( checkOpener() ) {
- opener.model.makeNode("/root/send/savedata/replinfo/reqagnkindcd");
- opener.model.setValue("/root/send/savedata/replinfo/reqagnkindcd", model.getValue("/root/main/reqagninfo/reqagnkindcd"));
-
- if (model.getValue("/root/main/reqagninfo/reqagnkindcd") == "9")
- {
- var reqagnkindnm = model.getValue("/root/main/reqagninfo/reqagnkindnm");
- }
- else
- {
- var reqagnkindnm = rdo_reqagnkindcd.label;
- }
-
- opener.model.makeNode("/root/send/savedata/replinfo/reqagnkindnm");
-
- opener.model.setValue("/root/send/savedata/replinfo/reqagnkindnm", reqagnkindnm);
-
- model.close();
-
- /*
- var row = grd_list.row;
-
- if( row > 0 ){
- if( getNodesetCount("/root/main/list/req_hosp_list") > 0 ){
- //opener.model.copyNode("/root/main/hospinfo/hospinfolist", grd_list.getNode( row ));
- model.copyNode(opener.root.main.hospinfo.hospinfolist, "/root/main/list/req_hosp_list[" + row + "]");
- opener.model.makeNode("/root/main/hospflag");
- opener.model.setValue("/root/main/hospflag", "Y");
-
- opener.model.refresh();
- window.close();
- }
- }
- */
- } else {
- messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
-
- }
-
- function fSelect()
- {
- if (rdo_reqagnkindcd.value == "9")
- {
- ipt_reqagnkindnm.disabled = false;
- }
- else
- {
- ipt_reqagnkindnm.disabled = true;
- }
-
- }
-
- // 조회
- function fSearch()
- {
- // reqGetHospList
- // getHospList
- submit("TRARH00201");
- }
-
- function fHospPopup()
- {
-
- var coophospnm = setParameter("coophospnm", model.getValue("/root/send/search/coophospnm"));
- var status = setParameter("status", "i");
- modal("SMARH00100",1,1,1);
- fSearch();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="218" pageheight="145" 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:200px; height:120px; ">
- <group id="grp_tle" style="left:0px; top:0px; width:200; height:13px; ">
- <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">되의뢰유형등록</caption>
- </group>
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:25px; width:197px; height:90px; "/>
- <select1 id="rdo_reqagnkindcd" ref="/root/main/reqagninfo/reqagnkindcd" overflow="visible" appearance="full" rows="3" style="left:20px; top:35px; width:165px; height:50px; border-style:none; ">
- <choices>
- <item>
- <label>환자와 면담 후 결정</label>
- <value>1</value>
- </item>
- <item>
- <label>의뢰병원으로 되의뢰</label>
- <value>2</value>
- </item>
- <item>
- <label>병원지정</label>
- <value>9</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSelect();
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_reqagnkindnm" ref="/root/main/reqagninfo/reqagnkindnm" class="input_default" disabled="true" navindex="63" maxlength="30" style="left:35px; top:85px; width:145px; height:19px; "/>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:120px; width:200px; height:25px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:140px; top:0px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fConfirm();
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|