SMMND02600_T-set관리현황조회.xrw 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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>T-set 관리현황 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <mngtprescondlist>
  11. <mngtprescondinfo>
  12. <pid/>
  13. <hngnm/>
  14. <sexage/>
  15. <exchdd/>
  16. <scheexchdd/>
  17. </mngtprescondinfo>
  18. </mngtprescondlist>
  19. </main>
  20. <send>
  21. <cond>
  22. <fromdd/>
  23. <todd/>
  24. <exchdd/>
  25. </cond>
  26. </send>
  27. </root>
  28. </instance>
  29. <submission id="TRMND02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/mngtprescondinfo"/>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. setHelp(); // 온라인 도움말 화면이 있는 경우 ready 에서 실행.
  33. fInit(); // 초기화
  34. fSrchMngtPresCond(); // t-set관리현황을 조회
  35. ]]>
  36. </script>
  37. </model>
  38. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  41. <script type="javascript" src="../../../emr/dialroomweb/js/SMMND02600.js"/>
  42. </xhtml:head>
  43. <xhtml:body guideline="1,1195;1,5;1,1194;1,1177;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  44. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  45. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  46. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  47. <caption id="caption2" class="search_name" style="left:320px; top:9px; width:86px; height:17px; ">조회기간 :</caption>
  48. <button id="button1" class="btn1_letter2" style="left:1038px; top:7px; width:56px; height:22px; ">
  49. <caption>조회</caption>
  50. <script type="javascript" ev:event="DOMActivate">
  51. <![CDATA[
  52. fSrchMngtPresCond(); // t-set관리현황을 조회
  53. ]]>
  54. </script>
  55. </button>
  56. <line id="line13" class="line_4" style="x1:1022px; y1:7px; x2:1022px; y2:29px; "/>
  57. <input id="ipt_fromdd" ref="/root/send/cond/fromdd" class="input_s_essential" inputtype="date" style="left:414px; top:8px; width:90px; height:19px; "/>
  58. <caption id="caption1" style="left:509px; top:11px; width:15px; height:15px; font-weight:bold; ">~</caption>
  59. <input id="ipt_todd" ref="/root/send/cond/todd" class="input_s_essential" inputtype="date" style="left:524px; top:8px; width:90px; height:19px; "/>
  60. <select1 id="rdo_exchdd" ref="/root/send/cond/exchdd" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:133px; top:10px; width:160px; height:15px; background-color:transparent; border-style:none; ">
  61. <choices>
  62. <item>
  63. <label>교환일자</label>
  64. <value>1</value>
  65. </item>
  66. <item>
  67. <label>교환예정일</label>
  68. <value>2</value>
  69. </item>
  70. </choices>
  71. <script type="javascript" ev:event="xforms-value-changed">
  72. <![CDATA[
  73. if(rdo_exchdd.value == "2"){
  74. model.setValue("/root/send/cond/fromdd", getCurrentDate().toDate().getAddDate(-1, "M").getDateFormat()); //시작일
  75. model.setValue("/root/send/cond/todd" , getCurrentDate().toDate().getAddDate( 1, "M").getDateFormat()); //종료일
  76. }else{
  77. model.setValue("/root/send/cond/fromdd", ""); //시작일
  78. model.setValue("/root/send/cond/todd" , ""); //종료일
  79. }
  80. fSrchMngtPresCond(); // t-set관리현황을 조회
  81. ]]>
  82. </script>
  83. </select1>
  84. <button id="button2" class="btn1_letter4" style="left:1096px; top:7px; width:80px; height:22px; ">
  85. <caption>엑셀저장</caption>
  86. <script type="javascript" ev:event="DOMActivate">
  87. <![CDATA[
  88. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  89. if (fileName != "")
  90. {
  91. grd_mngtprescondinfo.saveExcel(fileName, "SheetName", true, true, "", "", false);
  92. }
  93. ]]>
  94. </script>
  95. </button>
  96. <button id="button3" class="btn1_letter2" visibility="hidden" style="left:955px; top:6px; width:56px; height:22px; ">
  97. <caption>출력</caption>
  98. </button>
  99. <caption id="caption3" class="search_name" style="left:20px; top:9px; width:112px; height:17px; ">조회일자기준 :</caption>
  100. </group>
  101. <line id="line1" class="line_1" style="x1:0px; y1:55px; x2:1194px; y2:55px; "/>
  102. <datagrid id="grd_mngtprescondinfo" nodeset="/root/main/mngtprescondlist/mngtprescondinfo" caption="등록번호^환자명^S/A^교환일자^교환예정일" colsep="^" colwidth="150, 168, 92, 165, 165" mergecellsfixedrows="bycolrec" rowheader="25" rowheight="23" rowsep="|" style="left:0px; top:60px; width:1194px; height:680px; text-align:center; ">
  103. <col ref="pid"/>
  104. <col ref="hngnm"/>
  105. <col ref="sexage"/>
  106. <col ref="exchdd" format="yyyy-mm-dd"/>
  107. <col ref="scheexchdd" format="yyyy-mm-dd" style="text-align:center; "/>
  108. </datagrid>
  109. </group>
  110. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">T-set 관리현황조회</caption>
  111. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  112. </xhtml:body>
  113. </xhtml:html>