SMRSC01000_사용자별관리물품권한.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  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. <RscmggbnLists>
  11. <rscmggbnlist>
  12. <depth/>
  13. <pcode/>
  14. <codecd/>
  15. <codenm/>
  16. <dispcd/>
  17. <dispnm/>
  18. <basecd/>
  19. <instcd/>
  20. <cdnm/>
  21. <emplno/>
  22. <usernm/>
  23. <goodflag/>
  24. <reqflagnm/>
  25. </rscmggbnlist>
  26. </RscmggbnLists>
  27. <RscmgubnLists>
  28. <TreeList>
  29. <depth/>
  30. <pcode/>
  31. <codecd/>
  32. <codenm>
  33. </codenm>
  34. <basecd/>
  35. <mainmngtdeptcd/>
  36. <mainmngtdeptnm/>
  37. <winacnt/>
  38. <winacntnm/>
  39. <amtacnt/>
  40. <amtacntnm/>
  41. <dispnm>
  42. </dispnm>
  43. </TreeList>
  44. </RscmgubnLists>
  45. <list>
  46. <rscmggbn>
  47. <rscmggbnlist/>
  48. </rscmggbn>
  49. <rscmreus>
  50. <rscmreuslist/>
  51. </rscmreus>
  52. <rscmsude>
  53. <rscmsudelist/>
  54. </rscmsude>
  55. <rscmregb>
  56. <rscmregblist/>
  57. </rscmregb>
  58. </list>
  59. <RscmggbnEmpLists>
  60. <rscmggbnemplist>
  61. <depth/>
  62. <pcode/>
  63. <codecd/>
  64. <codenm/>
  65. <basecd/>
  66. <dispnm/>
  67. </rscmggbnemplist>
  68. </RscmggbnEmpLists>
  69. <RscmggbnEmpData>
  70. <instcd/>
  71. <emplno/>
  72. <emplnm/>
  73. <goodflag/>
  74. <jobcls/>
  75. <depth/>
  76. <updateyn/>
  77. </RscmggbnEmpData>
  78. </main>
  79. <init>
  80. <reqcombo>
  81. <label>구매재고</label>
  82. <value>1</value>
  83. <label>약국</label>
  84. <value>2</value>
  85. <label>비품</label>
  86. <value>3</value>
  87. <label>장비</label>
  88. <value>4</value>
  89. <label>CSR</label>
  90. <value>5</value>
  91. <label>수리</label>
  92. <value>6</value>
  93. </reqcombo>
  94. <purcpgmgubn>
  95. <label>구매재고</label>
  96. <value>1</value>
  97. <label>약국</label>
  98. <value>2</value>
  99. <label>비품</label>
  100. <value>3</value>
  101. <label>장비</label>
  102. <value>4</value>
  103. <label>CSR</label>
  104. <value>5</value>
  105. <label>수리</label>
  106. <value>6</value>
  107. </purcpgmgubn>
  108. </init>
  109. <send>
  110. <rscmggbn>
  111. <instcd/>
  112. <emplno/>
  113. <emplnm/>
  114. </rscmggbn>
  115. <rscmregb>
  116. <instcd/>
  117. </rscmregb>
  118. <rscmreus>
  119. <instcd/>
  120. <reqflag/>
  121. </rscmreus>
  122. <rscmsude>
  123. <instcd/>
  124. <reqflag/>
  125. </rscmsude>
  126. <rscmregblist/>
  127. <rscmreuslist/>
  128. <rscmsudelist/>
  129. <reqdeptcd/>
  130. </send>
  131. <temp/>
  132. <WorkData>
  133. <HideData>
  134. <viewcls>E</viewcls>
  135. <instcd/>
  136. <deptcd/>
  137. <deptnm/>
  138. </HideData>
  139. <workinst>
  140. <defaultggbn>
  141. <depth>1</depth>
  142. <pcode>0000</pcode>
  143. <codecd>0000</codecd>
  144. <codenm>관리권한물품</codenm>
  145. <basecd/>
  146. <dispnm> 관리권한물품</dispnm>
  147. <checkyn>N</checkyn>
  148. </defaultggbn>
  149. <AppendLists>
  150. <rscmggbnemplist>
  151. <depth/>
  152. <pcode/>
  153. <codecd/>
  154. <codenm/>
  155. <basecd/>
  156. <dispnm/>
  157. <checkyn/>
  158. </rscmggbnemplist>
  159. </AppendLists>
  160. <CopyList>
  161. <rscmggbnemplist>
  162. <depth/>
  163. <pcode/>
  164. <codecd/>
  165. <codenm/>
  166. <basecd/>
  167. <dispnm/>
  168. <checkyn/>
  169. </rscmggbnemplist>
  170. </CopyList>
  171. </workinst>
  172. </WorkData>
  173. </root>
  174. </instance>
  175. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  176. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  177. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  178. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  179. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  180. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  181. <script type="javascript" src="../../../mis/purcbaseweb/js/SMRSC01000.js"/>
  182. <submission id="TRRSC01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rscmggbn" resultref="/root/main/list/rscmggbn/rscmggbnlist"/>
  183. <submission id="TXRSC01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rscmggbnlist" resultref="/root/temp"/>
  184. <submission id="TRRSC01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rscmregb" resultref="/root/main/list/rscmregb/rscmregblist"/>
  185. <submission id="TXRSC01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  186. <submission id="TRRSC01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rscmreus" resultref="/root/main/list/rscmreus/rscmreuslist"/>
  187. <submission id="TRRSC01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rscmsude" resultref="/root/main/list/rscmsude/rscmsudelist"/>
  188. <submission id="TRRSC01005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/RscmggbnLists"/>
  189. <submission id="TRRSC01006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/RscmggbnEmpLists"/>
  190. <submission id="TRRSC05104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/RscmgubnLists"/>
  191. </model>
  192. <script type="javascript" ev:event="xforms-ready">
  193. <![CDATA[
  194. fInit();
  195. ]]>
  196. </script>
  197. </xhtml:head>
  198. <xhtml:body guideline="1,882;2,72;2,110;2,645;">
  199. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:900px; height:12; ">사용자별 관리 물품 권한</caption>
  200. <group id="group2" style="left:0px; top:28px; width:900px; height:638px; ">
  201. <switch id="swh_select" style="left:0px; top:0px; width:900px; height:628px; ">
  202. <case id="cse_ggbn" selected="true">
  203. <group id="group3" style="left:0px; top:9px; width:315px; height:582px; vertical-align:top; ">
  204. <treeview id="trv_setcode" ref="/root/main/RscmgubnLists/TreeList" expanddepth="1" image="../../../com/commonweb/images/icon_folder_close.gif" itemsettype="depth" selectedimage="../../../com/commonweb/images/icon_folder_open.gif" style="left:5px; top:40px; width:306px; height:537px; ">
  205. <itemset nodeset="/root/main/RscmggbnLists/rscmggbnlist">
  206. <label ref="dispnm"/>
  207. <value ref="pcode"/>
  208. <depth ref="depth"/>
  209. </itemset>
  210. <script type="javascript" ev:event="onclick">
  211. <![CDATA[
  212. bbt_emp.selected="true";
  213. bbt_emp.dispatch("DOMActivate");
  214. fTreeClick(trv_setcode.focusIndex);
  215. ]]>
  216. </script>
  217. </treeview>
  218. <group id="group1" style="left:5px; top:0px; width:306px; height:35px; vertical-align:top; ">
  219. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:305px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  220. <select1 id="rdo_viewcls" ref="/root/WorkData/HideData/viewcls" appearance="full" cols="2" overflow="visible" style="left:15px; top:10px; width:135px; height:15px; border-style:none; ">
  221. <choices>
  222. <item>
  223. <label>사원번호</label>
  224. <value>E</value>
  225. </item>
  226. <item>
  227. <label>물품구분</label>
  228. <value>G</value>
  229. </item>
  230. </choices>
  231. <script type="javascript" ev:event="xforms-value-changed">
  232. <![CDATA[
  233. fRscmggbnTree();
  234. ]]>
  235. </script>
  236. </select1>
  237. <button id="button5" style="left:4px; top:5px; width:296px; height:25px; text-align:center; background-image:../../../com/commonweb/images/btn2_letter20.gif; background-repeat:repeat-x; background-stretch:stretch; ">
  238. <caption>트리 재구성</caption>
  239. <script type="javascript" ev:event="DOMActivate">
  240. <![CDATA[
  241. fRscmggbnTree();
  242. ]]>
  243. </script>
  244. </button>
  245. </group>
  246. </group>
  247. <group id="grp_sea" style="left:325px; top:10px; width:565px; height:35px; vertical-align:top; ">
  248. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:565px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  249. <button id="btn_save" class="btn4_letter3" style="left:429px; top:7px; width:68px; height:22px; ">
  250. <caption>저장</caption>
  251. <script type="javascript" ev:event="DOMActivate">
  252. <![CDATA[
  253. fRscmggbnDataSubmit();
  254. ]]>
  255. </script>
  256. </button>
  257. <button id="bbt_append" class="btn4_letter2" style="left:365px; top:7px; width:56px; height:22px; ">
  258. <caption>추가</caption>
  259. <script type="javascript" ev:event="DOMActivate">
  260. <![CDATA[
  261. fAppendData();
  262. ]]>
  263. </script>
  264. </button>
  265. <button id="bbt_delete" class="btn4_letter2" style="left:505px; top:7px; width:56px; height:22px; ">
  266. <caption>삭제</caption>
  267. <script type="javascript" ev:event="DOMActivate">
  268. <![CDATA[
  269. fDataSubmit("D");
  270. ]]>
  271. </script>
  272. </button>
  273. </group>
  274. <group id="grp_disp" style="left:325px; top:50px; width:565px; height:540px; border-color:#c0c0c0; border-style:solid; ">
  275. <input id="cmb_emplno" ref="/root/main/RscmggbnEmpData/emplno" class="input_search" navindex="26" maxlength="10" appearance="input" style="left:99px; top:55px; width:98px; height:19px; ">
  276. <script type="javascript" ev:event="xforms-value-changed">
  277. <![CDATA[
  278. //misfValidationCheck("01-1", "", "emplno,emplnm,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy1,dummy1" );
  279. var recv_list = "emplno,emplnm";
  280. misfValidationCheck("01-1","", recv_list);
  281. model.refresh();
  282. ]]>
  283. </script>
  284. </input>
  285. <!-- <select1 id="cmb_instcd" ref="/root/WorkData/HideData/instcd" navindex="1" class="combo_default" disabled="true" appearance="minimal" style="left:99px; top:9px; width:150px; height:19px; ">-->
  286. <select1 id="cmb_instcd" ref="/root/WorkData/HideData/instcd" class="combo_default" disabled="true" navindex="1" appearance="minimal" style="left:99px; top:9px; width:150px; height:19px; ">
  287. <choices>
  288. <itemset>
  289. <label/>
  290. <value/>
  291. </itemset>
  292. </choices>
  293. <script type="javascript" ev:event="xforms-value-changed">
  294. <![CDATA[
  295. //rszfReqFlagComboComCdList(getUserInfo("userid"),cmb_instcd ,"N",model.getValue(cmb_instcd.attribute("ref")));
  296. //fSetReqAuth();
  297. // btn_search.dispatch("DOMActivate");
  298. fRscmggbnTree();
  299. ]]>
  300. </script>
  301. </select1>
  302. <button id="bbt_emp" class="btn_sw" group="tab" selected="true" style="left:9px; top:79px; width:99px; height:22px; ">
  303. <caption>관리물품권한</caption>
  304. <toggle case="case1" ev:event="DOMActivate"/>
  305. </button>
  306. <button id="btn_winpsn" class="icon_search" style="left:203px; top:55px; width:16px; height:16px; ">
  307. <caption/>
  308. <script type="javascript" ev:event="DOMActivate">
  309. <![CDATA[
  310. var recv_list = "emplno,emplnm";
  311. // misfOpenPopUpList("01", cmb_emplno,"", recv_list) ;
  312. // misfOpenPopUpList("12", cmb_emplno,"", recv_list,model.getValue(cmb_instcd.attribute("ref"))+","+model.getValue(ipt_deptcd.attribute("ref"))+","+model.getValue(ipt_deptnm.attribute("ref")),"instcd,deptcd,deptnm") ; // 인사사용자조회
  313. misfOpenPopUpList("45", cmb_emplno,"",recv_list, model.getValue(cmb_instcd.attribute("ref"))+","+model.getValue(ipt_deptcd.attribute("ref"))+","+model.getValue(ipt_deptnm.attribute("ref")),"instcd,deptcd,deptnm" ); // 사용자 조회
  314. model.refresh();
  315. ]]>
  316. </script>
  317. </button>
  318. <button id="button7" class="btn_sw" group="tab" selected="true" style="left:108px; top:79px; width:99px; height:22px; ">
  319. <caption>관리물품선택</caption>
  320. <toggle case="case2" ev:event="DOMActivate"/>
  321. <script type="javascript" ev:event="onclick">
  322. <![CDATA[
  323. fChoisClick();
  324. ]]>
  325. </script>
  326. </button>
  327. <input id="ipt_emplnm" ref="/root/main/RscmggbnEmpData/emplnm" class="output_fix" style="left:226px; top:55px; width:175px; height:19px; ">
  328. <script type="javascript" ev:event="xforms-value-changed">
  329. <![CDATA[
  330. var recv_list = "emplno,emplnm";
  331. misfValidationCheck("01-2","", recv_list);
  332. model.refresh();
  333. ]]>
  334. </script>
  335. </input>
  336. <switch id="trv_data" style="left:9px; top:99px; width:546px; height:433px; ">
  337. <case id="case1" style="left:0px; top:0px; width:546px; height:433px; ">
  338. <treeview id="trv_empdata" ref="/root/main/RscmggbnEmpLists/rscmggbnemplist" expanddepth="4" image="../../../com/commonweb/images/icon_folder_close.gif" itemsettype="depth" selectedimage="../../../com/commonweb/images/icon_folder_open.gif" style="left:0px; top:0px; width:544px; height:432px; ">
  339. <itemset nodeset="/root/main/RscmggbnEmpLists/rscmggbnemplist">
  340. <label ref="dispnm"/>
  341. <value ref="pcode"/>
  342. <depth ref="depth"/>
  343. </itemset>
  344. </treeview>
  345. </case>
  346. <case id="case2" selected="true">
  347. <treeview id="trv_gubn" expanddepth="1" hascheck="true" image="../../../com/commonweb/images/icon_folder_close.gif" itemsettype="depth" selectedimage="../../../com/commonweb/images/icon_folder_open.gif" style="left:0px; top:25px; width:544px; height:406px; ">
  348. <itemset nodeset="/root/main/RscmgubnLists/TreeList">
  349. <label ref="dispnm"/>
  350. <value ref="pcode"/>
  351. <depth ref="depth"/>
  352. </itemset>
  353. <script type="javascript" ev:event="onclick">
  354. <![CDATA[
  355. //opt_index.value = trv_gubn.focusIndex;
  356. fGubnTreeClick(trv_gubn, trv_gubn.focusIndex);
  357. ]]>
  358. </script>
  359. </treeview>
  360. <button id="button20" class="btn2_letter2" style="left:480px; top:4px; width:42px; height:19px; ">
  361. <caption>선택</caption>
  362. <script type="javascript" ev:event="DOMActivate">
  363. <![CDATA[
  364. fChoisData();
  365. ]]>
  366. </script>
  367. </button>
  368. </case>
  369. </switch>
  370. <caption id="caption15" class="cell_1" style="left:9px; top:9px; width:85px; height:19px; vertical-align:middle; ">기관코드</caption>
  371. <caption id="caption7" class="cell_1" style="left:9px; top:32px; width:85px; height:19px; vertical-align:middle; ">부서코드</caption>
  372. <caption id="caption1" class="cell_1" style="left:9px; top:55px; width:85px; height:19px; vertical-align:middle; ">사원번호</caption>
  373. <input id="ipt_deptcd" ref="/root/WorkData/HideData/deptcd" class="input_search" navindex="26" maxlength="10" appearance="input" style="left:99px; top:32px; width:98px; height:19px; ">
  374. <script type="javascript" ev:event="xforms-value-changed">
  375. <![CDATA[
  376. //misfValidationCheck("01-1", "", "emplno,emplnm,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy,dummy1,dummy1,dummy1" );
  377. misfValidationCheck("02", "", "deptcd,deptnm" );
  378. model.refresh();
  379. ]]>
  380. </script>
  381. </input>
  382. <button id="button1" class="icon_search" style="left:203px; top:32px; width:16px; height:16px; ">
  383. <caption/>
  384. <script type="javascript" ev:event="DOMActivate">
  385. <![CDATA[
  386. misfOpenPopUpList("02", ipt_deptcd, "", "deptcd,deptnm",model.getValue(cmb_instcd.attribute("ref")),"instcd" );
  387. model.refresh();
  388. ]]>
  389. </script>
  390. </button>
  391. <input id="ipt_deptnm" ref="/root/WorkData/HideData/deptnm" class="output_fix" disabled="true" style="left:226px; top:32px; width:175px; height:19px; ">
  392. <script type="javascript" ev:event="xforms-value-changed">
  393. <![CDATA[
  394. misfValidationCheck("02", "", "deptcd,deptnm" );
  395. model.refresh();
  396. ]]>
  397. </script>
  398. </input>
  399. </group>
  400. </case>
  401. </switch>
  402. </group>
  403. </xhtml:body>
  404. </xhtml:html>