SPMMO03900_협진분류관리.xrw 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>협진분류관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cnsttype>
  11. <status/>
  12. <cnstteamseq/>
  13. <coopteamcd/>
  14. <cnstteamnm/>
  15. <cnsttrgtdeptcd/>
  16. <cnsttrgtorddrid/>
  17. </cnsttype>
  18. <cnsttypedesc>
  19. <cnsttypedesc>
  20. <rownum/>
  21. <cnstteamnm/>
  22. <userinfo/>
  23. <usercdinfo/>
  24. </cnsttypedesc>
  25. </cnsttypedesc>
  26. <cnsttypelist>
  27. <cnsttypelist>
  28. <rownum/>
  29. <cnstteamnm/>
  30. <coopteamcd/>
  31. <cnstteamseq/>
  32. </cnsttypelist>
  33. </cnsttypelist>
  34. </main>
  35. <send>
  36. <reqdata/>
  37. <savedata/>
  38. </send>
  39. <hidden/>
  40. <init>
  41. <orddept/>
  42. <userlist/>
  43. <cnsttypecombo/>
  44. <popupmenu>
  45. <item>
  46. <name>협진의사추가</name>
  47. <func>fAddCnstDr</func>
  48. </item>
  49. <item>
  50. <name/>
  51. <func/>
  52. </item>
  53. <item>
  54. <name>협진의사삭제</name>
  55. <func>fDelCnstDr</func>
  56. </item>
  57. </popupmenu>
  58. <popupmenu2>
  59. <item>
  60. <name>협진분류삭제</name>
  61. <func>fDelCnstType</func>
  62. </item>
  63. </popupmenu2>
  64. </init>
  65. </root>
  66. </instance>
  67. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  68. <submission id="TXMMO03901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/cnsttypedesc"/>
  69. <submission id="TRMMO03901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cnsttypedesc"/>
  70. <submission id="TXMMO03902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/cnsttypedept"/>
  71. <submission id="TRMMO03902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/cnsttypedept"/>
  72. <script type="javascript" ev:event="xforms-ready">
  73. <![CDATA[
  74. fInitialize_SPMMO03900();
  75. ]]>
  76. </script>
  77. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  78. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  79. </model>
  80. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  82. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  83. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  84. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  85. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO03900.js"/>
  86. </xhtml:head>
  87. <xhtml:body pagewidth="613" pageheight="315" guideline="1,597;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  88. <datagrid id="grd_cnsttypelist" nodeset="/root/cnsttype/cnsttypelist" caption="협진팀명^진료과^진료의" colsep="^" colwidth="204, 184, 206" defaultrows="1" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="byrow" tooltip="true" style="left:1px; top:28px; width:596px; height:48px; ">
  89. <col ref="cnsttypenm"/>
  90. <col/>
  91. <col/>
  92. <script type="javascript" ev:event="onmousedown">
  93. <![CDATA[
  94. ]]>
  95. </script>
  96. <script type="javascript" ev:event="xforms-value-changed">
  97. <![CDATA[
  98. ]]>
  99. </script>
  100. </datagrid>
  101. <line id="line7" class="line_1" style="x1:0px; y1:23px; x2:597px; y2:23px; "/>
  102. <caption id="caption18" class="tit_2" style="left:0px; top:5px; width:121px; height:13px; ">협진분류관리</caption>
  103. <line id="line1" class="line_1" style="x1:0px; y1:80px; x2:597px; y2:80px; "/>
  104. <button id="button1" class="btn2_letter2" visibility="hidden" style="left:508px; top:2px; width:42px; height:19px; ">
  105. <caption>신규</caption>
  106. <script type="javascript" ev:event="DOMActivate">
  107. <![CDATA[
  108. fClkBtnNew();
  109. ]]>
  110. </script>
  111. </button>
  112. <button id="button2" class="btn5_letter2" style="left:552px; top:2px; width:42px; height:19px; ">
  113. <caption>저장</caption>
  114. <script type="javascript" ev:event="DOMActivate">
  115. <![CDATA[
  116. fReqExeSaveCnstTypeCD();
  117. ]]>
  118. </script>
  119. </button>
  120. <select1 id="cmb_cnsttypeorddrid" ref="/root/main/cnsttype/cnsttrgtorddrid" appearance="minimal" style="left:392px; top:54px; width:202px; height:19px; ">
  121. <choices>
  122. <itemset nodeset="/root/init/userlist/usercombo">
  123. <label ref="usernm"/>
  124. <value ref="userid"/>
  125. </itemset>
  126. </choices>
  127. </select1>
  128. <select1 id="cmb_cnsttrgtcd" ref="/root/main/cnsttype/cnsttrgtdeptcd" appearance="minimal" style="left:208px; top:54px; width:179px; height:19px; ">
  129. <choices>
  130. <itemset nodeset="/root/init/orddept/dept">
  131. <label ref="depthngnm"/>
  132. <value ref="deptcd"/>
  133. </itemset>
  134. </choices>
  135. <script type="javascript" ev:event="xforms-value-changed">
  136. <![CDATA[
  137. var cnsttrgtdeptcd = model.getValue("/root/main/cnsttype/cnsttrgtdeptcd");
  138. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , cnsttrgtdeptcd, "0330"); //협진분류과 의사콤보 조회
  139. model.refresh();
  140. ]]>
  141. </script>
  142. </select1>
  143. <datagrid id="grd_cnsttypedesc" nodeset="/root/main/cnsttypelist/cnsttypelist" caption="순번^협진팀명^caption1^caption2" colsep="^" colwidth="41, 96, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" tooltip="true" style="left:1px; top:85px; width:596px; height:210px; ">
  144. <col ref="rownum" style="text-align:center; "/>
  145. <col ref="cnstteamnm"/>
  146. <col ref="coopteamcd" visibility="hidden"/>
  147. <col ref="cnstteamseq" visibility="hidden"/>
  148. <script type="javascript" ev:event="onmousedown">
  149. <![CDATA[
  150. var curcol = grd_cnsttypedesc.mouseCol;
  151. if(curcol > 1){ //협진분류정보를 클릭한 경우
  152. setPopupMenu("grd_cnsttypedesc", false, "/root/init/popupmenu/item", "name", "func");
  153. }else{ //협진분류명, 등록일자를 클릭한 경우
  154. setPopupMenu("grd_cnsttypedesc", false, "/root/init/popupmenu2/item", "name", "func");
  155. }
  156. ]]>
  157. </script>
  158. <script type="javascript" ev:event="onclick">
  159. <![CDATA[
  160. ]]>
  161. </script>
  162. </datagrid>
  163. <select1 id="cmb_cnsttypecd" ref="/root/main/cnsttype/coopteamcd" appearance="minimal" style="left:4px; top:54px; width:199px; height:19px; ">
  164. <choices>
  165. <itemset nodeset="/root/init/cnsttypecombo/M0525">
  166. <label ref="cdnm"/>
  167. <value ref="cdid"/>
  168. </itemset>
  169. </choices>
  170. <!--
  171. <script type="javascript" ev:event="xforms-value-changed">
  172. <![CDATA[
  173. var cnsttypecd = cmb_cnsttypecd.value;
  174. var cnsttypenm = cmb_cnsttypecd.label;
  175. var cnsttrgtcd = model.getValue("/root/init/cnsttypecombo/cnsttypecombo[cnsttypecd='" + cnsttypecd + "']/cnsttrgtcd");
  176. model.setValue(sCNSTPATINFO_PATH + "/cnsttrgtcd", cnsttrgtcd);
  177. model.setValue(sCNSTPATINFO_PATH + "/cnsttypenm", cnsttypenm);
  178. model.refresh();
  179. ]]>
  180. </script>
  181. -->
  182. </select1>
  183. </xhtml:body>
  184. </xhtml:html>