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

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