SPMRD01000_CA등록번호조회.xrw 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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>CA 등록번호 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <uncncrnoinfo>
  11. <uncncrnolist>
  12. <cncrno/>
  13. <cncrhistno/>
  14. <seqno/>
  15. </uncncrnolist>
  16. </uncncrnoinfo>
  17. </main>
  18. <cond>
  19. <fromnum/>
  20. <tonum/>
  21. </cond>
  22. </root>
  23. </instance>
  24. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  25. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  26. <script type="javascript" src="../../../emr/termmngtweb/js/MRTCommon.js"/>
  27. <script type="javascript" src="../../../emr/formmngtweb/js/MRF03200.js"/>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. ]]>
  31. </script>
  32. <submission id="TRMRD00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/uncncrnoinfo"/>
  33. </model>
  34. </xhtml:head>
  35. <xhtml:body pagewidth="450" pageheight="540">
  36. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:448px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  37. <button id="bnt_srch" class="btn1_letter2" style="left:384px; top:28px; width:56px; height:22px; ">
  38. <caption>조회</caption>
  39. <script type="javascript" ev:event="DOMActivate">
  40. <![CDATA[
  41. var fromnum = model.getValue("/root/cond/fromnum");
  42. var tonum = model.getValue("/root/cond/tonum");
  43. if(fromnum.length>=1){
  44. if(fromnum.length < 8){
  45. messageBox("조회할 번호 8자리를","C001");
  46. model.setFocus("ipt_fromnum");
  47. return;
  48. }else if(tonum.length < 8){
  49. messageBox("조회할 번호 8자리를","C001");
  50. model.setFocus("ipt_tonum");
  51. return;
  52. }
  53. }
  54. submit("TRMRD00108");
  55. ]]>
  56. </script>
  57. </button>
  58. <line id="line13" class="line_4" style="x1:375px; y1:28px; x2:375px; y2:50px; "/>
  59. <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:448px; y2:60px; "/>
  60. <caption id="caption19" class="cell_1" style="left:0px; top:65px; width:448px; height:25px; text-align:center; vertical-align:middle; ">미 입력된 CA 등록번호</caption>
  61. <input id="ipt_fromnum" ref="/root/cond/fromnum" class="input_s_essential" maxlength="8" style="left:125px; top:29px; width:100px; height:19px; "/>
  62. <datagrid id="grd_uncncrnolist" nodeset="/root/main/uncncrnoinfo/uncncrnolist" caption="CA 등록번호^cncrhistno^seqno^기관코드" colsep="^" colwidth="297, 150, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:92px; width:448px; height:406px; ">
  63. <col ref="cncrno"/>
  64. <col ref="cncrhistno" visibility="hidden"/>
  65. <col ref="seqno" visibility="hidden"/>
  66. </datagrid>
  67. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:122px; height:14px; ">CA 등록번호 조회</caption>
  68. <caption id="caption1" style="left:230px; top:29px; width:20px; height:20px; ">~</caption>
  69. <input id="ipt_tonum" ref="/root/cond/tonum" class="input_s_essential" maxlength="8" style="left:248px; top:29px; width:100px; height:19px; "/>
  70. <caption id="caption8" class="search_name" style="left:5px; top:30px; width:110px; height:17px; ">조회할 번호 :</caption>
  71. <button id="btn_excel" class="btn6_letter2" style="left:390px; top:500px; width:56px; height:22px; ">
  72. <caption>엑셀</caption>
  73. <script type="javascript" ev:event="DOMActivate">
  74. <![CDATA[
  75. var fileName = window.fileDialog("save", ",", false, "미입력된암등록번호", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  76. if (fileName != "")
  77. {
  78. grd_uncncrnolist.saveExcel(fileName, "SheetName", false, false, "", "", false);
  79. }
  80. ]]>
  81. </script>
  82. </button>
  83. </xhtml:body>
  84. </xhtml:html>