SPMNR08700_부서별임상관찰조회순서관리.xrw 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <cond>
  11. <wardcd/>
  12. </cond>
  13. <iteminfo>
  14. <itemlist>
  15. <itcd/>
  16. <itnm/>
  17. <sortseq/>
  18. </itemlist>
  19. </iteminfo>
  20. </main>
  21. <init>
  22. <deptinfo/>
  23. </init>
  24. </root>
  25. </instance>
  26. <script type="javascript" ev:event="xforms-ready">
  27. <![CDATA[
  28. var sUserid = getUserInfo("userid");
  29. if(sUserid == 'ENR' || sUserid == '01111') {
  30. cmb_wardcd.disabled = false;
  31. }
  32. submit("TRMNW11001");
  33. model.setValue(cmb_wardcd.attribute("ref"), getUserInfo("dutplcecd"));
  34. cmb_wardcd.refresh();
  35. fGetItemIist();
  36. ]]>
  37. </script>
  38. <submission id="TRMNW11001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/deptinfo"/>
  39. <submission id="TRMNR08701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/iteminfo"/>
  40. <submission id="TXMNR08701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/tmp"/>
  41. </model>
  42. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  44. <script type="javascript">
  45. <![CDATA[
  46. function fGetItemIist() {
  47. model.makeValue("/root/send/reqdata/wardcd", model.getValue(cmb_wardcd.attribute("ref")));
  48. submit("TRMNR08701");
  49. }
  50. ]]>
  51. </script>
  52. </xhtml:head>
  53. <xhtml:body pagewidth="335" pageheight="550" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  54. <group id="grp_inpatinfo" style="left:0px; top:20px; width:315px; height:35px; ">
  55. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:315px; height:35px; "/>
  56. <caption id="caption33" class="search_name" style="left:5px; top:9px; width:70px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">병 동 :</caption>
  57. <button id="button1" class="btn1_letter2" style="left:250px; top:7px; width:56px; height:22px; ">
  58. <caption>조회</caption>
  59. <script type="javascript" ev:event="DOMActivate">
  60. <![CDATA[
  61. fGetItemIist();
  62. ]]>
  63. </script>
  64. </button>
  65. <select1 id="cmb_wardcd" ref="/root/main/cond/wardcd" class="combo_search" disabled="true" appearance="minimal" editmode="search" itemcount="40" style="left:71px; top:9px; width:119px; height:19px; ">
  66. <choices>
  67. <itemset nodeset="/root/init/deptinfo/deptlist">
  68. <label ref="depthngnm"/>
  69. <value ref="deptcd"/>
  70. </itemset>
  71. </choices>
  72. <script type="javascript" ev:event="xforms-value-changed">
  73. <![CDATA[
  74. ]]>
  75. </script>
  76. </select1>
  77. <line id="line3" class="line_4" style="x1:240px; y1:7px; x2:240px; y2:27px; "/>
  78. </group>
  79. <!--
  80. <button id="button4" class="btn3_letter12" visibility="hidden" style="left:393px; top:5px; width:176px; height:22px; ">
  81. <caption>I/O기준시간관리 Master</caption>
  82. <script type="javascript" ev:event="DOMActivate">
  83. <![CDATA[
  84. modal("SPMNR08500");
  85. ]]>
  86. </script>
  87. </button>
  88. -->
  89. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:315px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">임상관찰기록 조회순서관리</caption>
  90. <line id="line2" class="line_1" style="x1:0px; y1:85px; x2:315px; y2:85px; "/>
  91. <caption id="caption1" class="tit_2" style="left:0px; top:70px; width:116px; height:14px; ">부서별 Item List</caption>
  92. <datagrid id="grd_itemlist" nodeset="/root/main/iteminfo/itemlist" caption="아이템코드^아이템명^순번^부서코드" colsep="^" colwidth="74, 156, 47, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:90px; width:315px; height:440px; ">
  93. <col ref="itcd" style="text-align:center; "/>
  94. <col ref="itnm"/>
  95. <col ref="sortseq" type="input" style="text-align:center; "/>
  96. <col ref="wardcd" visibility="hidden"/>
  97. </datagrid>
  98. <button id="btn_save" class="btn2_letter2" style="left:275px; top:65px; width:42px; height:19px; ">
  99. <caption>저장</caption>
  100. <script type="javascript" ev:event="DOMActivate">
  101. <![CDATA[
  102. var updtdata = getGridUpdateData(grd_itemlist);
  103. if(updtdata == null || updtdata == "") {
  104. messageBox("저장할 내용이 없습니다.", "E");
  105. return;
  106. }
  107. model.makeValue("/root/send/savedata/itemlist", getGridUpdateData(grd_itemlist));
  108. submit("TXMNR08701");
  109. fGetItemIist();
  110. ]]>
  111. </script>
  112. </button>
  113. </xhtml:body>
  114. </xhtml:html>