SMRAI00400_기관별권한관리.xrw 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <mngtlist/>
  12. </list>
  13. </main>
  14. <send>
  15. <mngtlist/>
  16. <condition>
  17. <temp>temp</temp>
  18. </condition>
  19. </send>
  20. <init/>
  21. <hidden/>
  22. <temp/>
  23. </root>
  24. </instance>
  25. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  26. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  27. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  28. <script type="javascript" ev:event="xforms-ready">
  29. <![CDATA[
  30. fCheckAuth();
  31. fOpenForm();
  32. ]]>
  33. </script>
  34. <script type="javascript">
  35. <![CDATA[
  36. //========================================================================================
  37. //버튼에 대한 화면 권한 체크(R : 읽기, X : 입력/수정/삭제, P : 출력)
  38. //========================================================================================
  39. function fCheckAuth() {
  40. btn_search.disabled = !checkAuth("R");
  41. btn_save.disabled = !checkAuth("X");
  42. }
  43. //========================================================================================
  44. //화면 로드시 초기화 함수
  45. //========================================================================================
  46. function fOpenForm() {
  47. model.removenode(grd_mngtlist.nodeset);
  48. model.refresh();
  49. btn_search.dispatch("DOMActivate");
  50. }
  51. ]]>
  52. </script>
  53. <submission id="TRRAI00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition" resultref="/root/main/list"/>
  54. <submission id="TXRAI00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/mngtlist" resultref="/root/temp"/>
  55. </model>
  56. </xhtml:head>
  57. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  58. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  59. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:13px; ">기관별 권한 관리</caption>
  60. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  61. </group>
  62. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  63. <line id="line1" class="line_1" style="x1:0px; y1:23px; x2:1194px; y2:22px; "/>
  64. <caption id="caption35" class="tit_2" style="left:5px; top:5px; width:105px; height:13px; ">관리 항목</caption>
  65. <datagrid id="grd_mngtlist" nodeset="/root/main/list/mngtlist" caption="기관코드^기관명^조건1^조건2^조건3^조건4^조건5^조건6^조건7^조건8^조건9^조건10" colsep="^" colwidth="100, 155, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70" ellipsis="true" mergecellsfixedcols="never" mergecellsfixedrows="never" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:26px; width:1195px; height:244px; ">
  66. <col ref="instcd" type="input" style="text-align:center; vertical-align:middle; "/>
  67. <col ref="instnm" style="text-align:center; vertical-align:middle; "/>
  68. <col checkvalue="Y,N" ref="condition1" type="checkbox"/>
  69. <choices>
  70. <item>
  71. <label>Y</label>
  72. <value>Y</value>
  73. </item>
  74. <item>
  75. <label>N</label>
  76. <value>N</value>
  77. </item>
  78. </choices>
  79. <col checkvalue="Y,N" ref="condition2" type="checkbox"/>
  80. <choices>
  81. <item>
  82. <label>Y</label>
  83. <value>Y</value>
  84. </item>
  85. <item>
  86. <label>N</label>
  87. <value>N</value>
  88. </item>
  89. </choices>
  90. <col checkvalue="Y,N" ref="condition3" type="checkbox"/>
  91. <choices>
  92. <item>
  93. <label>Y</label>
  94. <value>Y</value>
  95. </item>
  96. <item>
  97. <label>N</label>
  98. <value>N</value>
  99. </item>
  100. </choices>
  101. <col checkvalue="Y,N" ref="condition4" type="checkbox"/>
  102. <choices>
  103. <item>
  104. <label>Y</label>
  105. <value>Y</value>
  106. </item>
  107. <item>
  108. <label>N</label>
  109. <value>N</value>
  110. </item>
  111. </choices>
  112. <col checkvalue="Y,N" ref="condition5" type="checkbox"/>
  113. <choices>
  114. <item>
  115. <label>Y</label>
  116. <value>Y</value>
  117. </item>
  118. <item>
  119. <label>N</label>
  120. <value>N</value>
  121. </item>
  122. </choices>
  123. <col checkvalue="Y,N" ref="condition6" type="checkbox"/>
  124. <choices>
  125. <item>
  126. <label>Y</label>
  127. <value>Y</value>
  128. </item>
  129. <item>
  130. <label>N</label>
  131. <value>N</value>
  132. </item>
  133. </choices>
  134. <col checkvalue="Y,N" ref="condition7" type="checkbox"/>
  135. <choices>
  136. <item>
  137. <label>Y</label>
  138. <value>Y</value>
  139. </item>
  140. <item>
  141. <label>N</label>
  142. <value>N</value>
  143. </item>
  144. </choices>
  145. <col checkvalue="Y,N" ref="condition8" type="checkbox"/>
  146. <choices>
  147. <item>
  148. <label>Y</label>
  149. <value>Y</value>
  150. </item>
  151. <item>
  152. <label>N</label>
  153. <value>N</value>
  154. </item>
  155. </choices>
  156. <col checkvalue="Y,N" ref="condition9" type="checkbox"/>
  157. <choices>
  158. <item>
  159. <label>Y</label>
  160. <value>Y</value>
  161. </item>
  162. <item>
  163. <label>N</label>
  164. <value>N</value>
  165. </item>
  166. </choices>
  167. <col checkvalue="Y,N" ref="condition10" type="checkbox"/>
  168. <choices>
  169. <item>
  170. <label>Y</label>
  171. <value>Y</value>
  172. </item>
  173. <item>
  174. <label>N</label>
  175. <value>N</value>
  176. </item>
  177. </choices>
  178. </datagrid>
  179. <button id="button1" class="btn2_letter4" style="left:1000px; top:1px; width:64px; height:19px; ">
  180. <caption>엑셀출력</caption>
  181. <script type="javascript" ev:event="onclick">
  182. <![CDATA[
  183. misfSaveExcel(grd_acntcd);
  184. ]]>
  185. </script>
  186. </button>
  187. <caption id="cap_slipshift_2" class="cell_1" visibility="visible" style="left:0px; top:275px; width:1190px; height:465px; font-size:10pt; font-weight:normal; text-align:left; vertical-align:middle; ">
  188. <![CDATA[설명
  189. 조건 1 - Y - 발의부서를 변경할 수 있다.
  190. 조건 2 - Y - 전표발의 화면에 입력 순서를 가리키는 번호가 출력된다.
  191. 조건 3 - Y - 결재라인이 6칸으로 출력된다.
  192. 조건 4 - Y - 예산신청시 부서별 설정된 예산만 신청 할 수 있다.
  193. 조건 5 - Y - 전표발의시 실사용부서를 수정할 수 있다.
  194. 조건 6 - Y - 전표 발의 시 법인카드/개인신용카드/현금영수증 증빙을 입력할 때 거래처를 등록하지 않고 입력 할 수 있다. [빈센트]
  195. 조건 7 - Y - 지출대체 전표를 사용한다.
  196. 조건 8 - Y - 전표발의 시 권한이 있는 사번만 주어진 부서를 선택할 수 있다.
  197. 조건 9 - Y - 전표승인 시 일괄승인이 중복되지 않도록 제한을 둔다. 첫번째 일괄승인은 1번 두번째 일괄승인은 2번으로 (자동)입력 제한을 둔다.
  198. 조건 10 - Y - 회계구분을 사용한다. (ACOUNTINGFLAG)]]>
  199. </caption>
  200. <button id="btn_delrow" class="btn2_letter3" style="left:1140px; top:1px; width:53px; height:19px; ">
  201. <caption>행삭제</caption>
  202. <script type="javascript" ev:event="DOMActivate">
  203. <![CDATA[
  204. misfGridIUD(grd_mngtlist, "D");
  205. ]]>
  206. </script>
  207. </button>
  208. <button id="btn_addrow" class="btn2_letter3" style="left:1085px; top:1px; width:53px; height:19px; ">
  209. <caption>행추가</caption>
  210. <script type="javascript" ev:event="DOMActivate">
  211. <![CDATA[
  212. misfGridIUD(grd_mngtlist, "A");
  213. ]]>
  214. </script>
  215. </button>
  216. </group>
  217. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  218. <line id="line3" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  219. <button id="btn_save" class="btn4_letter2" style="left:1138px; top:3px; width:56px; height:22px; ">
  220. <caption>저장</caption>
  221. <script type="javascript" ev:event="DOMActivate">
  222. <![CDATA[
  223. if(getGridUpdateData(grd_mngtlist) != "")
  224. {
  225. model.setValue("/root/send/mngtlist", grd_mngtlist.getUpdateData());
  226. submit("TXRAI00401");
  227. btn_search.dispatch("DOMActivate");
  228. }
  229. ]]>
  230. </script>
  231. </button>
  232. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1080px; top:3px; width:56px; height:22px; text-align:left; ">
  233. <caption>조회</caption>
  234. <script type="javascript" ev:event="DOMActivate">
  235. <![CDATA[
  236. submit("TRRAI00401");
  237. ]]>
  238. </script>
  239. </button>
  240. </group>
  241. </xhtml:body>
  242. </xhtml:html>