123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257 |
- <?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="">
- <main>
- <deptindxlist>
- <item>
- <depth/>
- <deptindxcd/>
- <deptupindxcd/>
- <deptindxnm/>
- <deptseqno/>
- </item>
- </deptindxlist>
- <indxinfo>
- <deptindx>
- <deptindxcd/>
- <deptindxflag/>
- <deptindxnm/>
- <deptupindxcd/>
- <deptupindxnm/>
- <deptnm/>
- <deptcd/>
- <status/>
- <srchdeptindxcd/>
- <deptseqno/>
- </deptindx>
- </indxinfo>
- </main>
- <hidden>
- <condition>
- <indxflag>0</indxflag>
- <selectedindxcd/>
- <getdata/>
- <srcheddeptnm/>
- <srcheddeptcd/>
- <highestlvel/>
- </condition>
- <main/>
- </hidden>
- <send>
- </send>
- <init>
- <today/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TXMRT01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/deptindxlist"/>
- <submission id="TRMRT01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/deptindxlist"/>
- <submission id="TRMRT01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/indxinfo"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TXMRT01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata/dragdrop" resultref="/root/main/deptindxlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/termmngtweb/js/SMMRT01300.js"/>
- <script type="javascript" src="../../../emr/termmngtweb/js/MRTCommon.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:98px; height:14px; ">과색인 관리</caption>
- </group>
- <group id="group2" style="left:0px; top:13px; width:1195px; height:769px; vertical-align:top; ">
- <line id="line1" class="line_1" style="x1:0px; y1:50px; x2:535px; y2:50px; "/>
- <line id="line10" class="line_3" style="x1:0px; y1:756px; x2:535px; y2:756px; "/>
- <caption id="caption19" class="cell_1" style="left:0px; top:56px; width:535px; height:23px; text-align:center; vertical-align:middle; ">색인명</caption>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:12px; width:470px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:405px; y1:18px; x2:405px; y2:40px; "/>
- <caption id="caption3" class="search_name" style="left:10px; top:21px; width:86px; height:17px; ">색인구분 :</caption>
- <caption id="caption26" class="search_name" style="left:192px; top:20px; width:86px; height:17px; ">진료부서 :</caption>
- <line id="line4" class="line_2" style="x1:542px; y1:153px; x2:1191px; y2:153px; "/>
- <line id="line6" class="line_2" style="x1:542px; y1:79px; x2:1191px; y2:79px; "/>
- <caption id="caption16" class="cell_1" style="left:542px; top:57px; width:79px; height:23px; vertical-align:middle; ">색인코드</caption>
- <caption id="caption17" class="cell_1" style="left:542px; top:105px; width:79px; height:23px; vertical-align:middle; ">상위색인코드</caption>
- <line id="line21" class="line_2" style="x1:542px; y1:103px; x2:1191px; y2:103px; "/>
- <caption id="caption18" class="cell_1" style="left:542px; top:130px; width:79px; height:23px; vertical-align:middle; ">부서코드</caption>
- <line id="line22" class="line_2" style="x1:542px; y1:128px; x2:1191px; y2:128px; "/>
- <line id="line23" class="line_2" style="x1:542px; y1:56px; x2:1191px; y2:56px; "/>
- <line id="line24" class="line_1" style="x1:542px; y1:51px; x2:1191px; y2:51px; "/>
- <treeview id="trv_deptindx" ref="/root/hidden/condition/selectedindxcd" dragmode="true" dropmode="true" itemsettype="depth" style="left:0px; top:81px; width:535px; height:688px; ">
- <itemset nodeset="/root/main/deptindxlist/item">
- <label ref="deptindxnm"/>
- <value ref="deptindxcd"/>
- <depth ref="depth"/>
- </itemset>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //해당 정보 조회/등록화면에 뿌려준다.
- //fDisable("DD");
- fSrchIndxInfo();
- ]]>
- </script>
- <script type="javascript" ev:event="ondrop">
- <![CDATA[
- fDragDropIndx();
- ]]>
- </script>
- </treeview>
- <select1 id="cmb_indxflag" ref="/root/hidden/condition/indxflag" appearance="minimal" style="left:100px; top:20px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>진단</label>
- <value>0</value>
- </item>
- <item>
- <label>수술</label>
- <value>9</value>
- </item>
- <item>
- <label>주호소</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/hidden/condition/indxflag") == "0") {
- model.toggle("case1");
- } else if(model.getValue("/root/hidden/condition/indxflag") == "9") {
- model.toggle("case2");
- }else {
- model.toggle("case3");
- }
- //fClear();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if(model.getValue("/root/hidden/condition/indxflag") == "0") {
- model.toggle("case1");
- } else if(model.getValue("/root/hidden/condition/indxflag") == "9") {
- model.toggle("case2");
- }else {
- model.toggle("case3");
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_srcheddeptnm" ref="/root/hidden/condition/srcheddeptnm" class="input_s_essential" style="left:281px; top:19px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_deptsrch", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_srchedindx" class="btn1_letter2" style="left:410px; top:18px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchDeptIndxList();
- ]]>
- </script>
- </button>
- <button id="btn_addindx" class="btn2_letter4" style="left:471px; top:28px; width:64px; height:19px; ">
- <caption>색인추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddIndx();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="cell_1" style="left:542px; top:81px; width:79px; height:23px; vertical-align:middle; ">색인명</caption>
- <input id="ipt_deptnm" ref="/root/main/indxinfo/deptindx/deptnm" class="input_essential" disabled="true" style="left:624px; top:132px; width:100px; height:19px; "/>
- <input id="ipt_deptupindxcd" ref="/root/main/indxinfo/deptindx/deptupindxcd" class="input_essential" disabled="true" style="left:624px; top:107px; width:100px; height:19px; "/>
- <input id="ipt_deptindxcd" ref="/root/main/indxinfo/deptindx/deptindxcd" class="input_essential" disabled="true" style="left:624px; top:59px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- btn_upindxcd.disabled = "false";
- ]]>
- </script>
- </input>
- <input id="ipt_deptindxnm" ref="/root/main/indxinfo/deptindx/deptindxnm" class="input_essential" style="left:624px; top:83px; width:567px; height:19px; "/>
- <input id="ipt_deptupindxnm" ref="/root/main/indxinfo/deptindx/deptupindxnm" class="input_default" disabled="true" style="left:747px; top:107px; width:443px; height:19px; "/>
- <button id="btn_clear" class="btn2_letter4" style="left:1036px; top:30px; width:64px; height:19px; ">
- <caption>CLEAR</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fIndxClear();
- ]]>
- </script>
- </button>
- <caption id="cap_indxinfo" class="tit_2" style="left:542px; top:36px; width:121px; height:13px; ">진단 색인 정보</caption>
- <button id="btn_upindxcd" class="icon_search" style="left:727px; top:109px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("indxflag", model.getValue(xCondPath+"/indxflag"));
- setParameter("deptcd", model.getValue(xCondPath+"/srcheddeptcd"));
- modal("SPMRT01100", 1,100,100, "SPMRT01100");
- var sIndxCd = getParameter("indxcd");
-
- if(sIndxCd != ""){
- model.setValue(xIndxInfoPath+"/deptupindxcd", sIndxCd);
- model.setValue(xIndxInfoPath+"/deptupindxnm", getParameter("indxnm"));
- }
- setParameter("indxcd", "");
- setParameter("indxnm", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_deptsrch" class="icon_search" style="left:386px; top:21px; width:16px; height:14px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- zbcfOpenInstDeptCodeList("deptnm", model.getValue(xCondPath+"/srcheddeptnm"), xCondPath+"/srcheddeptcd", xCondPath+"/srcheddeptnm", "ordduseryn", "D");
- fSrchDeptIndxList();
- ]]>
- </script>
- </button>
- <select id="cmb_highestlvel" ref="/root/hidden/condition/highestlvel" overflow="visible" appearance="full" style="left:726px; top:60px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>최상위</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fIndxClear();
- ]]>
- </script>
- </select>
- <button id="button90" class="btn5_letter2" style="left:1104px; top:30px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue(xIndxInfoPath+"/status") != "I"){
- model.setValue(xIndxInfoPath+"/status", "D");
- fSaveIndxInfo();
- }else{
- fIndxClear();
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn5_letter2" style="left:1150px; top:30px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveIndxInfo();
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/main/indxinfo/deptindx/deptseqno" class="input_default" disabled="true" visibility="hidden" style="left:737px; top:132px; width:78px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|