SPCRB00300_의료협력OSS검색.xrw 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SPCRB00300_의료협력OSS검색.xrw
  4. * Summary : 의료협력에서 관리되는 One Stop Service 검색
  5. * Programmer : 엄윤호
  6. * Date Written : 2007.10.17
  7. * History : 2007.10.17
  8. * Remark :
  9. -->
  10. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title>One Stop Service 검색</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <list>
  19. <osslist/>
  20. </list>
  21. </main>
  22. </root>
  23. </instance>
  24. <script type="javascript" ev:event="xforms-ready">
  25. <![CDATA[
  26. fCheckAuth();
  27. model.refresh();
  28. ]]>
  29. </script>
  30. </model>
  31. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  32. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  33. <script type="javascript">
  34. <![CDATA[
  35. function fCheckAuth() {
  36. // 권한체크
  37. //if (!checkAuth("r")) {
  38. //}
  39. //if (!checkAuth("x")) {
  40. //}
  41. //if (!checkAuth("p")) {
  42. //}
  43. }
  44. function fSetOpenerData() {
  45. // 부모창에 값을 넘겨주고 창을 닫는다.
  46. var receive_osscd_path = opener.window.javascript.getParameter("receive_osscd_path");
  47. var receive_ossnm_path = opener.window.javascript.getParameter("receive_ossnm_path");
  48. var grid = grd_osslist;
  49. var osscd = grid.valueMatrix(grid.row, 1);
  50. var ossnm = grid.valueMatrix(grid.row, 2);
  51. if (receive_osscd_path != "") opener.model.setValue(receive_osscd_path, osscd);
  52. if (receive_ossnm_path != "") opener.model.setValue(receive_ossnm_path, ossnm);
  53. opener.model.refresh();
  54. window.close();
  55. }
  56. ]]>
  57. </script>
  58. </xhtml:head>
  59. <xhtml:body pagewidth="416" pageheight="273" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  60. <group id="group1" scroll="auto" style="left:0px; top:0px; width:400px; height:230px; ">
  61. <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:165px; height:13px; vertical-align:middle; ">One Stop Service 목록</caption>
  62. <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:400px; y2:25px; "/>
  63. <datagrid id="grd_osslist" nodeset="/root/main/list/osslist" allowselection="false" caption="One Stop Service 코드^One Stop Service 명" colwidth="150, 210" extendlastcol="scroll" rowheader="select" style="left:0px; top:30px; width:400px; height:200px; ">
  64. <col class="text_center" ref="cdid"/>
  65. <col ref="cdnm"/>
  66. <script type="javascript" ev:event="ondblclick">
  67. <![CDATA[
  68. var grid = grd_osslist;
  69. if (grid.row > 0 && grid.isCell(event.target)) {
  70. fSetOpenerData();
  71. } else {
  72. messageBox("One Stop Service를","C002");
  73. }
  74. ]]>
  75. </script>
  76. </datagrid>
  77. </group>
  78. <group id="group2" scroll="auto" style="left:0px; top:230px; width:400px; height:27px; ">
  79. <button id="btn_confirm" class="btn4_letter2" style="left:285px; top:5px; width:56px; height:22px; ">
  80. <caption>확인</caption>
  81. <script type="javascript" ev:event="DOMActivate">
  82. <![CDATA[
  83. var grid = grd_osslist;
  84. if (grid.row > 0) {
  85. fSetOpenerData();
  86. } else {
  87. messageBox("One Stop Service를","C002");
  88. }
  89. ]]>
  90. </script>
  91. </button>
  92. <button id="btn_cancel" class="btn4_letter2" style="left:344px; top:5px; width:56px; height:22px; ">
  93. <caption>취소</caption>
  94. <close ev:event="DOMActivate"/>
  95. </button>
  96. </group>
  97. </xhtml:body>
  98. </xhtml:html>