SMRAI00300_회계담당자권한.xrw 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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. <list>
  11. <authlist/>
  12. </list>
  13. </main>
  14. <send>
  15. <instcd/>
  16. </send>
  17. <init/>
  18. <hidden>
  19. <list>
  20. <authlist/>
  21. </list>
  22. </hidden>
  23. <temp/>
  24. </root>
  25. </instance>
  26. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  27. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  28. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  29. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. fResetForm();
  33. ]]>
  34. </script>
  35. <script type="javascript">
  36. <![CDATA[
  37. //========================================================================================
  38. //화면 로드시 초기화 함수
  39. //========================================================================================
  40. function fResetForm()
  41. {
  42. misfComboComCdList("Z0007", cmb_instcd, "N");
  43. model.setValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  44. model.removenode("/root/main/list/authlist");
  45. model.refresh();
  46. }
  47. //========================================================================================
  48. //사번 Help Open
  49. //========================================================================================
  50. function fOpenPopupUserHelp(pCtrl, pInstance)
  51. {
  52. misfOpenPopUpList("12", pCtrl, "", pInstance);
  53. model.refresh();
  54. }
  55. ]]>
  56. </script>
  57. <submission id="TRRAI00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  58. <submission id="TXRAI00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/list" resultref="/root/temp"/>
  59. </model>
  60. </xhtml:head>
  61. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  62. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  63. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">회계 담당자 권한 관리</caption>
  64. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  65. </group>
  66. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  67. <group id="grp_sea" style="left:0px; top:10px; width:1194; height:35px; vertical-align:top; ">
  68. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  69. <line id="line5" class="line_4" style="x1:1107px; y1:8px; x2:1107px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  70. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1123px; top:8px; width:56px; height:22px; text-align:left; ">
  71. <caption>조회</caption>
  72. <script type="javascript" ev:event="DOMActivate">
  73. <![CDATA[
  74. submit("TRRAI00301");
  75. ]]>
  76. </script>
  77. </button>
  78. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:125px; top:10px; width:220px; height:19px; ">
  79. <choices>
  80. <itemset>
  81. <label/>
  82. <value/>
  83. </itemset>
  84. </choices>
  85. <script type="javascript" ev:event="xforms-value-changed">
  86. <![CDATA[
  87. btn_search.dispatch("DOMActivate");
  88. ]]>
  89. </script>
  90. </select1>
  91. <caption id="caption7" class="search_name" style="left:16px; top:9px; width:99px; height:17px; ">기 관 :</caption>
  92. </group>
  93. <caption id="caption9" class="tit_2" style="left:5px; top:55px; width:117px; height:13px; ">사용자 권한</caption>
  94. <line id="line3" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  95. <line id="line4" class="line_3" style="x1:0px; y1:121px; x2:1194px; y2:121px; "/>
  96. <datagrid id="grd_authlist" nodeset="/root/main/list/authlist" caption="기관코드^사번^이름^전표승인요청권한^전표승인요청취소권한^전표승인권한^전표승인취소권한^비고" colsep="^" colwidth="0,100,100,130,130,130,130,300" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="16" rowsep="|" style="left:0px; top:75px; width:1194px; height:665px; ">
  97. <col ref="instcd"/>
  98. <col ref="emplno" type="inputbutton"/>
  99. <col ref="name"/>
  100. <col checkvalue="Y,N" ref="slipreqapproval" type="checkbox"/>
  101. <col checkvalue="Y,N" ref="slipreqcancel" type="checkbox"/>
  102. <col checkvalue="Y,N" ref="sliprecognition" type="checkbox"/>
  103. <col checkvalue="Y,N" ref="slipcancel" type="checkbox"/>
  104. <col ref="cmt" type="input"/>
  105. <script type="javascript" ev:event="onbuttonclick">
  106. <![CDATA[
  107. if(grd_authlist.col == grd_authlist.colRef("emplno"))
  108. {
  109. fOpenPopupUserHelp(grd_authlist, "emplno,name");
  110. }
  111. ]]>
  112. </script>
  113. </datagrid>
  114. <button id="btn_excel" class="btn2_letter4" style="left:1015px; top:50px; width:64px; height:19px; text-align:left; ">
  115. <caption>엑셀출력</caption>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. radfSaveExcel(grd_authlist);
  119. ]]>
  120. </script>
  121. </button>
  122. <button id="btn_addrow" class="btn2_letter3" style="left:1084px; top:50px; width:58px; height:19px; ">
  123. <caption>행추가</caption>
  124. <script type="javascript" ev:event="DOMActivate">
  125. <![CDATA[
  126. misfGridIUD(grd_authlist, "A");
  127. model.setValue(grd_authlist.nodeset + "[" + grd_authlist.row + "]/instcd", model.getValue(cmb_instcd.attribute("ref")));
  128. ]]>
  129. </script>
  130. </button>
  131. <button id="btn_delrow" class="btn2_letter3" style="left:1139px; top:50px; width:53px; height:19px; ">
  132. <caption>행삭제</caption>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. misfGridIUD(grd_authlist, "D");
  136. ]]>
  137. </script>
  138. </button>
  139. </group>
  140. <group id="group2" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  141. <line id="line1" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  142. <button id="btn_save" class="btn4_letter2" style="left:1138px; top:3px; width:56px; height:22px; ">
  143. <caption>저장</caption>
  144. <script type="javascript" ev:event="DOMActivate">
  145. <![CDATA[
  146. if(grd_authlist.getUpdateData() != "")
  147. {
  148. model.setValue("/root/hidden/list/authlist", grd_authlist.getUpdateData());
  149. submit("TXRAI00301");
  150. btn_search.dispatch("DOMActivate");
  151. }
  152. ]]>
  153. </script>
  154. </button>
  155. </group>
  156. </xhtml:body>
  157. </xhtml:html>