SMRTH00900_증명서종류및출력기준관리.xrw 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. <crtfctprntbaselist/>
  11. </main>
  12. <send>
  13. <crtfctcd/>
  14. <crtfctprntbaselist/>
  15. </send>
  16. <init/>
  17. <hidden/>
  18. <temp/>
  19. </root>
  20. </instance>
  21. <script type="javascript" ev:event="xforms-ready">
  22. <![CDATA[
  23. fCheckAuth();
  24. misfGridInit(grd_crtfctprntbaselist);
  25. misfGridComboComCdList("R0146",grd_crtfctprntbaselist,"appdutstat");
  26. misfMsterDetailSet(grd_crtfctprntbaselist, null, "TRRTH00901", "Y");
  27. btn_search.dispatch("DOMActivate");
  28. model.refresh();
  29. ]]>
  30. </script>
  31. <script type="javascript">
  32. <![CDATA[
  33. //========================================================================================
  34. //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
  35. //========================================================================================
  36. function fCheckAuth() {
  37. btn_search.disabled = !checkAuth("R") ;
  38. btn_save.disabled = !checkAuth("X") ;
  39. }
  40. ]]>
  41. </script>
  42. <submission id="TRRTH00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/crtfctprntbaselist"/>
  43. <submission id="TXRTH00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  44. </model>
  45. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  48. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  49. </xhtml:head>
  50. <xhtml:body>
  51. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  52. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">증명서 종류 및 출력기준 관리</caption>
  53. </group>
  54. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  55. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:30; background-color:#fffbf2; border-color:#ffd799; "/>
  56. <caption id="caption2" class="search_name" style="left:15px; top:16; width:99px; height:17px; ">증명서코드 :</caption>
  57. <line id="line207" class="line_1" style="x1:0px; y1:65; x2:1195px; y2:65; "/>
  58. <datagrid id="grd_crtfctprntbaselist" nodeset="/root/main/crtfctprntbaselist" caption="증명서코드^증명서명칭^인턴가능여부^레지던트가능여부^적용근무상태^증명서종류^통수^상태^발급번호" colsep="^" colwidth="90, 200, 120, 120, 100" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:70; width:1195px; height:673; ">
  59. <col ref="crtfctcd" type="input" maxlength="2"/>
  60. <col ref="crtfctnm" type="input" maxlength="100"/>
  61. <col checkvalue="Y,N" ref="intnpossyn" type="checkbox" visibility="hidden"/>
  62. <col checkvalue="Y,N" ref="residentpossyn" type="checkbox" visibility="hidden"/>
  63. <col ref="appdutstat" type="combo" visibility="hidden" maxlength="2">
  64. <choices>
  65. <itemset>
  66. <label/>
  67. <value/>
  68. </itemset>
  69. </choices>
  70. </col>
  71. </datagrid>
  72. <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:14; width:56px; height:22px; text-align:left; ">
  73. <caption>조회</caption>
  74. <script type="javascript" ev:event="DOMActivate">
  75. <![CDATA[
  76. misfMsterDetailRetrieve();
  77. misfSetReadOnlyCol(grd_crtfctprntbaselist, "crtfctcd", true);
  78. ]]>
  79. </script>
  80. </button>
  81. <line id="line2" class="line_4" style="x1:1110px; y1:18px; x2:1110px; y2:30; border-color:#ffe4bb; border-left-style:solid; "/>
  82. <input id="ipt_crtfctcd" ref="/root/send/crtfctcd" style="left:115px; top:15; width:100px; height:19px; "/>
  83. <button id="button10" class="btn2_letter3" style="left:1085; top:44; width:42px; height:19px; ">
  84. <caption>행추가</caption>
  85. <script type="javascript" ev:event="DOMActivate">
  86. <![CDATA[
  87. misfGridIUD(grd_crtfctprntbaselist, "A");
  88. ]]>
  89. </script>
  90. </button>
  91. <button id="button2" class="btn2_letter3" style="left:1140; top:44; width:42px; height:19px; ">
  92. <caption>행삭제</caption>
  93. <script type="javascript" ev:event="DOMActivate">
  94. <![CDATA[
  95. misfGridIUD(grd_crtfctprntbaselist, "D");
  96. ]]>
  97. </script>
  98. </button>
  99. </group>
  100. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  101. <button id="button16" class="btn3_letter4" visibility="hidden" style="left:0px; top:3; width:80px; height:22px; ">
  102. <caption>화면이동</caption>
  103. </button>
  104. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
  105. <caption>저장</caption>
  106. <script type="javascript" ev:event="DOMActivate">
  107. <![CDATA[
  108. var updtdata = getGridUpdateData(grd_crtfctprntbaselist);
  109. //기관코드 값 체크
  110. if ( updtdata == "")
  111. {
  112. messageBox("그리드에 수정된 데이터가 ","I004");
  113. return;
  114. }
  115. misfSave("TXRTH00901");
  116. model.refresh();
  117. ]]>
  118. </script>
  119. </button>
  120. <line id="line1" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  121. </group>
  122. </xhtml:body>
  123. </xhtml:html>