SMMQR01001_안전사고통합보고권한관리.xrw 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <?xml version="1.0" encoding="UTF-8"?>
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <grouplist>
  11. <trgtcdnm/>
  12. <trgtcdsnm/>
  13. <hardspec/>
  14. <ccode/>
  15. <trgtcd/>
  16. </grouplist>
  17. <deptlist>
  18. <dept/>
  19. <deptcd/>
  20. <trgtcd/>
  21. </deptlist>
  22. <ddeptlist>
  23. <subdept/>
  24. <subdeptcd/>
  25. <trgtcd/>
  26. </ddeptlist>
  27. </main>
  28. <send/>
  29. <temp/>
  30. <init>
  31. <comcd>
  32. <R0063>
  33. <cdid/>
  34. <cdnm/>
  35. </R0063>
  36. </comcd>
  37. <hardcd67/>
  38. <hardcd68/>
  39. </init>
  40. <cond>
  41. <userid/>
  42. <jobrespnm/>
  43. </cond>
  44. </root>
  45. </instance>
  46. <script type="javascript" ev:event="xforms-ready">
  47. <![CDATA[
  48. submit("");//권한그룹조회
  49. ]]>
  50. </script>
  51. </model>
  52. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  57. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  58. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  59. </xhtml:head>
  60. <xhtml:body pagewidth="850" pageheight="530">
  61. <group id="group1" style="left:0px; top:0px; width:809px; height:13px; ">
  62. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:365px; height:13px; ">안전사고통합보고조회 권한관리</caption>
  63. </group>
  64. <group id="group4" style="left:0px; top:466px; width:810px; height:25px; ">
  65. <button id="btn_close" class="btn4_letter2" style="left:733px; top:0px; width:56px; height:22px; ">
  66. <caption>닫기</caption>
  67. <script type="javascript" ev:event="DOMActivate">
  68. <![CDATA[
  69. window.close();
  70. ]]>
  71. </script>
  72. </button>
  73. <button id="btn_save" class="btn4_letter2" style="left:673px; top:0px; width:56px; height:22px; ">
  74. <caption>저장</caption>
  75. <script type="javascript" ev:event="DOMActivate">
  76. <![CDATA[
  77. ]]>
  78. </script>
  79. </button>
  80. </group>
  81. <group id="group5" style="left:0px; top:59px; width:812px; height:406px; ">
  82. <button id="btn_add1" class="btn2_letter3" style="left:356px; top:0px; width:53px; height:19px; ">
  83. <caption>행추가</caption>
  84. <script type="javascript" ev:event="DOMActivate">
  85. <![CDATA[
  86. grd_grouplist.addRow();
  87. ]]>
  88. </script>
  89. </button>
  90. <button id="btn_add2" class="btn2_letter3" style="left:696px; top:0px; width:53px; height:19px; ">
  91. <caption>행추가</caption>
  92. <script type="javascript" ev:event="DOMActivate">
  93. <![CDATA[
  94. grd_detaillist.addRow();
  95. ]]>
  96. </script>
  97. </button>
  98. <group id="group2" style="left:0px; top:20px; width:470px; height:385px; ">
  99. <line id="line1" class="line_1" style="x1:0px; y1:0px; x2:470px; y2:0px; "/>
  100. <datagrid id="grd_grouplist" nodeset="/root/main/grouplist" caption="권한그룹^직급^전체조회여부^익명조회여부^그룹분류코드" colsep="^" colwidth="126, 77, 81, 81, 82" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:5px; width:470px; height:380px; ">
  101. <col ref="trgtcdnm" type="input"/>
  102. <col ref="trgtcdsnm" type="combo" _required="true">
  103. <choices>
  104. <itemset nodeset="/root/init/comcd/R0063">
  105. <label ref="cdnm"/>
  106. <value ref="cdid"/>
  107. </itemset>
  108. </choices>
  109. </col>
  110. <col ref="hardspec" type="combo">
  111. <choices>
  112. <item>
  113. <label>Y</label>
  114. <value>Y</value>
  115. </item>
  116. <item>
  117. <label>N</label>
  118. <value>N</value>
  119. </item>
  120. </choices>
  121. </col>
  122. <col ref="ccode" type="combo">
  123. <choices>
  124. <item>
  125. <label>Y</label>
  126. <value>Y</value>
  127. </item>
  128. <item>
  129. <label>N</label>
  130. <value>N</value>
  131. </item>
  132. </choices>
  133. </col>
  134. <col ref="trgtcd"/>
  135. <script type="javascript" ev:event="onbuttonclick">
  136. <![CDATA[
  137. if (grd_grouplist.colAttribute(grd_grouplist.col,"ref") == "trgtcdsnm" ) { //직급
  138. var recv_list = "jobposcd,jobposnm";
  139. misfOpenPopUpList("03", grd_grouplist,"R0062", recv_list) ;
  140. model.refresh();
  141. }
  142. ]]>
  143. </script>
  144. </datagrid>
  145. </group>
  146. <button id="btn_detail" class="icon_right" style="left:475px; top:205px; width:26px; height:19px; ">
  147. <script type="javascript" ev:event="onclick">
  148. <![CDATA[
  149. ]]>
  150. </script>
  151. <caption/>
  152. </button>
  153. <button id="btn_del1" class="btn2_letter3" style="left:416px; top:0px; width:53px; height:19px; ">
  154. <caption>행삭제</caption>
  155. <script type="javascript" ev:event="DOMActivate">
  156. <![CDATA[
  157. grd_grouplist.deleteRow(grd_detaillist.row);
  158. ]]>
  159. </script>
  160. </button>
  161. <button id="btn_del2" class="btn2_letter3" style="left:756px; top:0px; width:53px; height:19px; ">
  162. <caption>행삭제</caption>
  163. <script type="javascript" ev:event="DOMActivate">
  164. <![CDATA[
  165. grd_detaillist.deleteRow(grd_detaillist.row);
  166. ]]>
  167. </script>
  168. </button>
  169. <datagrid id="grd_deptlist" nodeset="/root/main/deptlist" caption="주 과 (부서)^주과코드^그룹분류코드" colsep="^" colwidth="120, 100, 33" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:506px; top:25px; width:145px; height:380px; ">
  170. <col ref="dept" type="inputbutton"/>
  171. <col ref="deptcd"/>
  172. <col ref="trgtcd"/>
  173. <script type="javascript" ev:event="onbuttonclick">
  174. <![CDATA[
  175. var col = grd_deptlist.col;
  176. setParameter("SPZSA20202_1", col);
  177. modal("SPZSA20202", "", "200", "200", "SPZSA20202");
  178. var iProperties = getParameter("SPZSA20202_");
  179. var iSplit_Value=iProperties.split("|");
  180. if(iSplit_Value.length > 0 && iSplit_Value[0] != "" && iSplit_Value[0] != undefined){
  181. var iRow = grd_deptlist.row;
  182. var iNode = "/root/main/detaillist";
  183. if(iSplit_Value[0]=="D")
  184. {
  185. fSetRowValue(iNode, "deptcd", iSplit_Value[3] +""+ iSplit_Value[1], iRow);
  186. fSetRowValue(iNode, "dept", iSplit_Value[2], iRow);
  187. }
  188. ]]>
  189. </script>
  190. </datagrid>
  191. <line id="line2" class="line_1" style="x1:506px; y1:20px; x2:806px; y2:20px; "/>
  192. <datagrid id="grd_ddeptlist" nodeset="/root/main/ddeptlist" caption="부 과(부서)^부과코드^그룹분류코드" colsep="^" colwidth="130, 100, 33" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:650px; top:25px; width:155px; height:380px; ">
  193. <col ref="subdept" type="inputbutton"/>
  194. <col ref="subdeptcd"/>
  195. <col ref="trgtcd"/>
  196. <script type="javascript" ev:event="onbuttonclick">
  197. <![CDATA[
  198. var col = grd_ddeptlist.col;
  199. setParameter("SPZSA20202_1", col);
  200. modal("SPZSA20202", "", "200", "200", "SPZSA20202");
  201. var iProperties = getParameter("SPZSA20202_");
  202. var iSplit_Value=iProperties.split("|");
  203. if(iSplit_Value.length > 0 && iSplit_Value[0] != "" && iSplit_Value[0] != undefined){
  204. var iRow = grd_ddeptlist.row;
  205. var iNode = "/root/main/detaillist";
  206. if(iSplit_Value[0]=="D")
  207. {
  208. fSetRowValue(iNode, "subdeptcd", iSplit_Value[3] +""+ iSplit_Value[1], iRow); // 등록코드
  209. fSetRowValue(iNode, "subdept", iSplit_Value[2], iRow); // 등록명
  210. }
  211. ]]>
  212. </script>
  213. </datagrid>
  214. </group>
  215. <shape id="roundrect1" appearance="roundrect" style="left:0px; top:18px; width:810px; height:35px; "/>
  216. <caption id="caption21" class="search_name" style="left:2px; top:27px; width:141px; height:17px; ">사용자직급조회(ID) :</caption>
  217. <input id="input1" ref="/root/cond/userid" style="left:145px; top:28px; width:70px; height:19px; "/>
  218. <output id="output1" ref="/root/cond/jobrespnm" style="left:323px; top:26px; width:135px; height:19px; "/>
  219. <caption id="caption1" class="search_name" style="left:225px; top:27px; width:141px; height:17px; ">사용자직급 :</caption>
  220. </xhtml:body>
  221. </xhtml:html>