SMMRE00300_참조값등록.xrw 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>참조값 등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <onlyuseyn>N</onlyuseyn>
  12. </cond>
  13. <selinfo>
  14. <refinfo>
  15. <reflist>
  16. <gubun/>
  17. <code/>
  18. <codename/>
  19. <seq/>
  20. <useyn/>
  21. <instcd/>
  22. <status/>
  23. </reflist>
  24. </refinfo>
  25. </selinfo>
  26. </main>
  27. <send>
  28. <refinfo>
  29. <reqdata/>
  30. <savedata>
  31. </savedata>
  32. </refinfo>
  33. </send>
  34. <hidden>
  35. </hidden>
  36. <init>
  37. </init>
  38. <temp>
  39. </temp>
  40. </root>
  41. </instance>
  42. <script type="javascript" ev:event="xforms-ready">
  43. <![CDATA[
  44. fInitialize();
  45. ]]>
  46. </script>
  47. <submission id="TRMRE00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/refinfo" resultref="/root/main/selinfo/refinfo/reflist"/>
  48. <submission id="TXMRE00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/refinfo" resultref="/root/main/selinfo/refinfo/reflist"/>
  49. </model>
  50. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  52. <script type="javascript" src="../../../emr/dentirecweb/js/MRE001.js"/>
  53. <script type="javascript" src="../../../emr/dentirecweb/js/SMMRE00300.js"/>
  54. </xhtml:head>
  55. <xhtml:body pagewidth="600" pageheight="800" guideline="1,5;2,9;1,1100;2,716;1,-3;" style="background-color:transparent; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  56. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:21px; width:580px; height:39px; background-color:#fffbf2; border-color:#ffd799; "/>
  57. <line id="line1" class="line_1" style="x1:0px; y1:83px; x2:580px; y2:83px; "/>
  58. <caption id="caption14" class="search_name" style="left:20px; top:31px; width:117px; height:17px; ">사용하는 것만</caption>
  59. <caption id="caption2" class="tit_2" style="left:0px; top:68px; width:57px; height:13px; vertical-align:middle; ">참조값</caption>
  60. <datagrid id="grd_reflist" nodeset="/root/main/selinfo/refinfo/reflist" caption="참조^구분코드^구분명^순번^사용" colsep="^" colwidth="60, 60, 300, 60, 40, 160" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:88px; width:580px; height:712px; margin-left:0; margin-right:0; ">
  61. <col ref="gubun" type="input" style="text-align:center; "/>
  62. <col ref="code" type="input" style="text-align:center; "/>
  63. <col ref="codename" type="input"/>
  64. <col ref="seq" type="input" style="text-align:center; "/>
  65. <col checkvalue="Y,N" ref="useyn" type="checkbox"/>
  66. <col ref="instcd" visibility="hidden"/>
  67. <col ref="status" visibility="hidden"/>
  68. <script type="javascript" ev:event="onstartedit">
  69. <![CDATA[
  70. if (grd_reflist.valueMatrix(grd_reflist.row,grd_reflist.colRef("instcd")) != "")
  71. {
  72. if ( grd_reflist.col == grd_reflist.colRef("gubun")
  73. || grd_reflist.col == grd_reflist.colRef("code"))
  74. {
  75. event.defaultAction = "cancel";
  76. }
  77. else
  78. {
  79. event.defaultAction = "perform";
  80. }
  81. }
  82. ]]>
  83. </script>
  84. <script type="javascript" ev:event="xforms-value-changed">
  85. <![CDATA[
  86. if (grd_reflist.valueMatrix(grd_reflist.row,grd_reflist.colRef("instcd")) != "")
  87. {
  88. grd_reflist.valueMatrix(grd_reflist.row,grd_reflist.colRef("status")) = "m";
  89. }
  90. ]]>
  91. </script>
  92. </datagrid>
  93. <line id="line3" style="x1:500px; y1:25px; x2:500px; y2:55px; border-color:#ffe4bb; border-left-style:solid; "/>
  94. <button id="btn_req" class="btn1_letter2" navindex="5" style="left:510px; top:30px; width:56px; height:22px; ">
  95. <caption>조회</caption>
  96. <script type="javascript" ev:event="DOMActivate">
  97. <![CDATA[
  98. fGetrefinfo(); // 술식어를 조회한다.
  99. ]]>
  100. </script>
  101. </button>
  102. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:173px; height:14px; ">참조값 등록</caption>
  103. <button id="btn_save" class="btn5_letter2" navindex="11" style="left:537px; top:62px; width:42px; height:19px; ">
  104. <caption>저장</caption>
  105. <script type="javascript" ev:event="DOMActivate">
  106. <![CDATA[
  107. fClkBtnrefSave();
  108. ]]>
  109. </script>
  110. </button>
  111. <button id="btn_insert" class="btn2_letter2" navindex="9" style="left:449px; top:62px; width:42px; height:19px; ">
  112. <caption>추가</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. fClkBtnrefAdd();
  116. ]]>
  117. </script>
  118. </button>
  119. <button id="btn_del" class="btn2_letter2" navindex="10" style="left:493px; top:62px; width:42px; height:19px; ">
  120. <caption>삭제</caption>
  121. <script type="javascript" ev:event="DOMActivate">
  122. <![CDATA[
  123. fClkBtnrefDel();
  124. ]]>
  125. </script>
  126. </button>
  127. <bool id="bool1" navindex="4" checkvalue="Y, N" ref="/root/main/cond/onlyuseyn" style="left:130px; top:30px; width:25px; height:20px; "/>
  128. </xhtml:body>
  129. </xhtml:html>