SMMMB21000_환경설정관리.xrw 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832
  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. <envsetinfo>
  11. <envsetlist>
  12. <levl/>
  13. <setno/>
  14. <settypecd/>
  15. <supsetno/>
  16. <envlrgflag/>
  17. <envmidflag/>
  18. <envsmlflag/>
  19. <setnm/>
  20. <envflag/>
  21. <envcd/>
  22. <envdesc/>
  23. <ordtype/>
  24. <envkindcd/>
  25. <envtrgtcd/>
  26. <loginflag/>
  27. <logintrgtcd/>
  28. <setrefseq/>
  29. <image/>
  30. <envsmlnm/>
  31. </envsetlist>
  32. </envsetinfo>
  33. <iptbox>
  34. <settypecd>ENV</settypecd>
  35. <envlrgflag/>
  36. <envmidflag/>
  37. <envsmlflag/>
  38. <setnm/>
  39. <envflag/>
  40. <envcd/>
  41. <envdesc/>
  42. <ordtype/>
  43. <envkindcd/>
  44. <envtrgtcd/>
  45. <loginflag/>
  46. <loginkindcd/>
  47. <logintrgtcd>-</logintrgtcd>
  48. <setdelflag>N</setdelflag>
  49. <setrefseq/>
  50. <dupliflag/>
  51. <indcaseflag/>
  52. </iptbox>
  53. <envdetllist>
  54. <status/>
  55. <envchoiflag/>
  56. <envdetlcd/>
  57. <envdetldesc/>
  58. <envdetlenddd/>
  59. <envetc1cd/>
  60. <envetc1desc/>
  61. <envetc2cd/>
  62. <envetc2desc/>
  63. <envetc3cd/>
  64. <envetc3desc/>
  65. <envetc4cd/>
  66. <envetc4desc/>
  67. <envetc5cd/>
  68. <envetc5desc/>
  69. <envetc6cd/>
  70. <envetc6desc/>
  71. <envetc7cd/>
  72. <envetc7desc/>
  73. <envetc8cd/>
  74. <envetc8desc/>
  75. <envetc9cd/>
  76. <envetc9desc/>
  77. <setno/>
  78. <settypecd/>
  79. <envdetldelflag/>
  80. <setcdno/>
  81. <envdeptnm/>
  82. <envusernm/>
  83. <envdeptcd/>
  84. <envuserid/>
  85. </envdetllist>
  86. <envdetlinfo/>
  87. <cond>
  88. <foldernm/>
  89. </cond>
  90. <usercond>
  91. <chkenvall/>
  92. <chkenvjob/>
  93. <chkenvdept/>
  94. <chkenvuser/>
  95. <cmbenvdeptcd/>
  96. <cmbenvdeptnm/>
  97. <cmbenvuserid/>
  98. <cmbenvusernm/>
  99. <chkallcd>Y</chkallcd>
  100. </usercond>
  101. <oneselect/>
  102. </main>
  103. <send>
  104. <reqdata/>
  105. <savedata/>
  106. <saveenvdetldata/>
  107. </send>
  108. <hidden>
  109. <envsetinfo>
  110. <envsetlist>
  111. <status/>
  112. <setno/>
  113. <settypecd/>
  114. <supsetno/>
  115. <envlrgflag/>
  116. <envmidflag/>
  117. <envsmlflag/>
  118. <setnm/>
  119. <envflag/>
  120. <envcd/>
  121. <envdesc/>
  122. <ordtype/>
  123. <envkindcd/>
  124. <envtrgtcd/>
  125. <loginflag/>
  126. <loginkindcd/>
  127. <logintrgtcd/>
  128. <setdelflag/>
  129. <setrefseq/>
  130. <dupliflag/>
  131. <srchenvlrgflag/>
  132. <srchenvmigflag/>
  133. <srchenvsmlflag/>
  134. <indcaseflag/>
  135. </envsetlist>
  136. </envsetinfo>
  137. </hidden>
  138. <init>
  139. <orddept>
  140. </orddept>
  141. <orduser/>
  142. <envlrgcls/>
  143. <envmidcls/>
  144. <envsmlcls/>
  145. <envlrgflag/>
  146. <envmidflag/>
  147. <envsmlflag/>
  148. <mode/>
  149. </init>
  150. <temp>
  151. <trvpenvsetlist/>
  152. <trvdeptindxcdlist/>
  153. <copy>
  154. <status/>
  155. <setno/>
  156. <settypecd/>
  157. <supsetno/>
  158. <envlrgflag/>
  159. <envmidflag/>
  160. <envsmlflag/>
  161. <setnm/>
  162. <envcd/>
  163. <envdesc/>
  164. <ordtype/>
  165. <envkindcd/>
  166. <envtrgtcd/>
  167. <loginflag/>
  168. <logintrgtcd/>
  169. <setrefseq/>
  170. <image/>
  171. </copy>
  172. <userpopupinfo>
  173. <param/>
  174. <flag/>
  175. <searchitem/>
  176. <dutplceinstcd/>
  177. <history/>
  178. </userpopupinfo>
  179. <indcaseproperty>
  180. <envdeptcd/>
  181. <envuserid/>
  182. </indcaseproperty>
  183. </temp>
  184. <trvprcpmenu>
  185. <menu>
  186. <menu>
  187. <label>새폴더</label>
  188. <func>fAddFolderSet</func>
  189. </menu>
  190. <menu>
  191. <label>새환경설정</label>
  192. <func>fAddEnvCdSet</func>
  193. </menu>
  194. <menu>
  195. <label>수정</label>
  196. <func>fUpdtEnvSet</func>
  197. </menu>
  198. <menu>
  199. <label>삭제</label>
  200. <func>fDelEnvSet</func>
  201. </menu>
  202. </menu>
  203. </trvprcpmenu>
  204. <topvalue>
  205. <envlrgflag/>
  206. <envmidflag/>
  207. <envsmlflag/>
  208. <envdesc/>
  209. <envinfo/>
  210. <logininfo/>
  211. </topvalue>
  212. </root>
  213. </instance>
  214. <script type="javascript" ev:event="xforms-model-construct-done">
  215. <![CDATA[
  216. group1.attribute("height") = 0;
  217. ]]>
  218. </script>
  219. <script type="javascript" ev:event="xforms-ready">
  220. <![CDATA[
  221. fInitializeDone_SMMMB21000();
  222. ]]>
  223. </script>
  224. <submission id="TRMMB21001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/envsetinfo"/>
  225. <submission id="TXMMB21001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/envsetinfo"/>
  226. <submission id="TRMMB21002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/envdetlinfo"/>
  227. <submission id="TXMMB21002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/saveenvdetldata" resultref="/root/main/envdetlinfo"/>
  228. <submission id="TRMMB21003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/envlrgcls"/>
  229. <submission id="TRMMB21004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/envmidcls"/>
  230. <submission id="TRMMB21005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/envsmlcls"/>
  231. <submission id="TRMMB00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/deptlist"/>
  232. <submission id="TRMMO03111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/deptindxcdlist"/>
  233. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  234. <submission id="TXMMB00607" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/prmsprcpsetinfo"/>
  235. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  236. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  237. </model>
  238. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  239. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  240. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  241. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMB21000.js"/>
  242. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  243. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  244. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  245. </xhtml:head>
  246. <xhtml:body visibility="visible" style="background-color:transparent; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  247. <group id="group2" style="left:5px; top:120px; width:1180px; height:630px; ">
  248. <datagrid id="grd_envdetl" nodeset="/root/main/envdetlinfo/envdetllist" caption="^선택^환경설정상세코드^적용부서명^적용 사용자명^환경설정상세설명^종료일^기타1^기타1설명^기타2^기타2설명^기타3^기타3설명^기타4^기타4설명^기타5^기타5설명^기타6^기타6설명^기타7^기타7설명^기타8^기타8설명^기타9^기타9설명" colsep="^" colwidth="34, 31, 124, 100, 100, 529, 97, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:354px; top:29px; width:818px; height:587px; ">
  249. <col disabled="true" ref="status" type="combo" style="text-align:center; ">
  250. <choices>
  251. <item>
  252. <label>신규</label>
  253. <value>I</value>
  254. </item>
  255. <item>
  256. <label>수정</label>
  257. <value>U</value>
  258. </item>
  259. <item>
  260. <label>삭제</label>
  261. <value>D</value>
  262. </item>
  263. <item>
  264. <label>-</label>
  265. <value>-</value>
  266. </item>
  267. </choices>
  268. </col>
  269. <col checkvalue="Y,N" ref="envchoiflag" type="checkbox"/>
  270. <col ref="envdetlcd" type="input"/>
  271. <col ref="envdeptnm" type="output"/>
  272. <col ref="envusernm" type="output"/>
  273. <col ref="envdetldesc" type="input"/>
  274. <col ref="envdetlenddd" type="inputdate"/>
  275. <col ref="envetc1cd" type="input"/>
  276. <col ref="envetc1desc" type="input"/>
  277. <col ref="envetc2cd" type="input"/>
  278. <col ref="envetc2desc" type="input"/>
  279. <col ref="envetc3cd" type="input"/>
  280. <col ref="envetc3desc" type="input"/>
  281. <col ref="envetc4cd" type="input"/>
  282. <col ref="envetc4desc" type="input"/>
  283. <col ref="envetc5cd" type="input"/>
  284. <col ref="envetc5desc" type="input"/>
  285. <col ref="envetc6cd" type="input"/>
  286. <col ref="envetc6desc" type="input"/>
  287. <col ref="envetc7cd" type="input"/>
  288. <col ref="envetc7desc" type="input"/>
  289. <col ref="envetc8cd" type="input"/>
  290. <col ref="envetc8desc" type="input"/>
  291. <col ref="envetc9cd" type="input"/>
  292. <col ref="envetc9desc" type="input"/>
  293. <script type="javascript" ev:event="xforms-value-changed">
  294. <![CDATA[
  295. var currow = grd_envdetl.row;
  296. var status = model.getValue ( "/root/main/envdetlinfo/envdetllist[" + currow+ "]/status" );
  297. if(status == "-"){
  298. model.setValue("/root/main/envdetlinfo/envdetllist[" + currow + "]/status", "U");
  299. model.refresh();
  300. }
  301. ]]>
  302. </script>
  303. </datagrid>
  304. <group id="group1" style="left:354px; top:81px; width:345px; height:455px; gradient:linear(0,0,100%,100%,#cce8ff,white,1); ">
  305. <shape id="roundrect4" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:5px; top:32px; width:335px; height:36px; background-color:transparent; border-color:#99ccff; "/>
  306. <input id="ipt_setnm" ref="/root/main/iptbox/setnm" class="input_s_essential" style="left:45px; top:41px; width:285px; height:19px; border-color:#3366ff; border-style:solid; ">
  307. <script type="javascript" ev:event="onkeypress">
  308. <![CDATA[
  309. inputEnterKey("btn_cnfm", "DOMActivate");
  310. var keycode = event.keyCode;
  311. if(keycode == 27){
  312. group1.attribute("height") = 0;
  313. model.setFocus("trv_envsetlist");
  314. return;
  315. }
  316. ]]>
  317. </script>
  318. </input>
  319. <shape id="roundrect3" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:5px; top:283px; width:335px; height:72px; background-color:transparent; border-color:#99ccff; "/>
  320. <shape id="roundrect2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:5px; top:75px; width:335px; height:200px; background-color:transparent; border-color:#99ccff; "/>
  321. <caption id="caption4" style="left:11px; top:41px; width:41px; height:20px; font-weight:bold; vertical-align:middle; ">이름:</caption>
  322. <button id="btn_cnfm" class="btn2_letter2" style="left:246px; top:6px; width:42px; height:19px; ">
  323. <caption>확인</caption>
  324. <script type="javascript" ev:event="DOMActivate">
  325. <![CDATA[
  326. fClkBtnCnfm();
  327. ]]>
  328. </script>
  329. </button>
  330. <button id="button3" class="btn2_letter2" style="left:290px; top:6px; width:42px; height:19px; ">
  331. <caption>취소</caption>
  332. <script type="javascript" ev:event="DOMActivate">
  333. <![CDATA[
  334. group1.attribute("height") = 0;
  335. ]]>
  336. </script>
  337. </button>
  338. <input id="ipt_envcd" ref="/root/main/iptbox/envcd" class="input_default" style="left:45px; top:110px; width:285px; height:19px; border-color:#3366ff; border-style:solid; ">
  339. <script type="javascript" ev:event="onkeypress">
  340. <![CDATA[
  341. inputEnterKey("btn_cnfm", "DOMActivate");
  342. var keycode = event.keyCode;
  343. if(keycode == 27){
  344. group1.attribute("height") = 0;
  345. model.setFocus("trv_envsetlist");
  346. return;
  347. }
  348. ]]>
  349. </script>
  350. </input>
  351. <caption id="caption2" style="left:11px; top:110px; width:41px; height:20px; font-weight:bold; vertical-align:middle; ">코드:</caption>
  352. <caption id="caption5" style="left:11px; top:135px; width:41px; height:20px; font-weight:bold; vertical-align:middle; ">설명:</caption>
  353. <textarea id="textarea_envdesc" ref="/root/main/iptbox/envdesc" style="left:45px; top:135px; width:285px; height:65px; "/>
  354. <bool id="bool_loginflag" checkvalue="Y,N" ref="/root/main/iptbox/loginflag" style="left:78px; top:292px; width:35px; height:20px; ">
  355. <script type="javascript" ev:event="xforms-value-changed">
  356. <![CDATA[
  357. if ( model.getValue ( "/root/main/iptbox/loginflag" ) == "Y" ) {
  358. rdo_loginkindcd.disabled = false;
  359. } else {
  360. rdo_loginkindcd.disabled = true;
  361. model.setValue ( "/root/main/iptbox/loginkindcd", "A" );
  362. model.setValue ( "/root/main/iptbox/logintrgtcd", "-" );
  363. }
  364. model.refresh();
  365. ]]>
  366. </script>
  367. </bool>
  368. <caption id="caption6" style="left:11px; top:293px; width:74px; height:20px; font-weight:bold; vertical-align:middle; ">로그인적용:</caption>
  369. <select1 id="rdo_ordtype" ref="/root/main/iptbox/ordtype" appearance="full" cellspacing="15" cols="3" rows="1" overflow="visible" style="left:45px; top:210px; width:179px; height:20px; border-style:none; ">
  370. <choices>
  371. <item>
  372. <label>전체</label>
  373. <value>A</value>
  374. </item>
  375. <item>
  376. <label>외래</label>
  377. <value>O</value>
  378. </item>
  379. <item>
  380. <label>입원</label>
  381. <value>I</value>
  382. </item>
  383. </choices>
  384. </select1>
  385. <select1 id="rdo_envkindcd" ref="/root/main/iptbox/envkindcd" appearance="full" cellspacing="15" cols="3" rows="1" overflow="visible" style="left:46px; top:241px; width:94px; height:20px; border-style:none; ">
  386. <choices>
  387. <item>
  388. <label>전체</label>
  389. <value>A</value>
  390. </item>
  391. <item>
  392. <label>과</label>
  393. <value>D</value>
  394. </item>
  395. </choices>
  396. <script type="javascript" ev:event="xforms-value-changed">
  397. <![CDATA[
  398. if ( model.getValue( "/root/main/iptbox/envkindcd" ) == "D" ) {
  399. cmb_deptset.disabled = false;
  400. } else {
  401. cmb_deptset.disabled = true;
  402. model.setValue ( "/root/main/iptbox/envtrgtcd", "-" );
  403. model.refresh();
  404. }
  405. ]]>
  406. </script>
  407. </select1>
  408. <select1 id="rdo_loginkindcd" ref="/root/main/iptbox/loginkindcd" appearance="full" cellspacing="15" cols="3" rows="1" overflow="visible" style="left:46px; top:319px; width:154px; height:25px; border-style:none; ">
  409. <choices>
  410. <item>
  411. <label>전체</label>
  412. <value>A</value>
  413. </item>
  414. <item>
  415. <label>과</label>
  416. <value>D</value>
  417. </item>
  418. <item>
  419. <label>직종</label>
  420. <value>J</value>
  421. </item>
  422. </choices>
  423. <script type="javascript" ev:event="xforms-value-changed">
  424. <![CDATA[
  425. if ( model.getValue( "/root/main/iptbox/loginkindcd" ) == "D" ) {
  426. cmb_logindept.disabled = false;
  427. } else if ( model.getValue( "/root/main/iptbox/loginkindcd" ) == "A" ) {
  428. cmb_logindept.disabled = true;
  429. model.setValue ( "/root/main/iptbox/logintrgtcd", "-" );
  430. model.refresh();
  431. }
  432. ]]>
  433. </script>
  434. </select1>
  435. <bool id="bool_envflag" checkvalue="Y,N" ref="/root/main/iptbox/envflag" style="left:95px; top:84px; width:20px; height:20px; ">
  436. <script type="javascript" ev:event="xforms-value-changed">
  437. <![CDATA[
  438. if ( model.getValue ( "/root/main/iptbox/envflag" ) == "Y" ) {
  439. ipt_envcd.disabled = false;
  440. textarea_envdesc.disabled = false;
  441. rdo_ordtype.disabled = false;
  442. rdo_envkindcd.disabled = false;
  443. model.setValue ( "/root/main/iptbox/envdesc", model.getValue( "/root/main/iptbox/setnm" ));
  444. } else {
  445. ipt_envcd.disabled = true;
  446. textarea_envdesc.disabled = true;
  447. rdo_ordtype.disabled = true;
  448. rdo_envkindcd.disabled = true;
  449. model.setValue ( "/root/main/iptbox/envcd", "-" );
  450. model.setValue ( "/root/main/iptbox/envdesc", "" );
  451. model.setValue ( "/root/main/iptbox/ordtype", "A" );
  452. model.setValue ( "/root/main/iptbox/envkindcd", "A" );
  453. model.setValue ( "/root/main/iptbox/envtrgtcd", "-" );
  454. }
  455. model.refresh();
  456. ]]>
  457. </script>
  458. </bool>
  459. <caption id="caption7" style="left:11px; top:85px; width:85px; height:20px; font-weight:bold; vertical-align:middle; ">환경설정적용:</caption>
  460. <caption id="caption8" style="left:11px; top:209px; width:41px; height:20px; font-weight:bold; vertical-align:middle; ">구분:</caption>
  461. <caption id="caption10" style="left:12px; top:319px; width:41px; height:20px; font-weight:bold; vertical-align:middle; ">구분:</caption>
  462. <bool id="bool_dupliflag" ref="/root/main/iptbox/dupliflag" style="left:303px; top:84px; width:20px; height:20px; "/>
  463. <caption id="caption13" style="left:220px; top:85px; width:85px; height:20px; font-weight:bold; vertical-align:middle; ">코드중복허용:</caption>
  464. <caption id="caption9" style="left:12px; top:241px; width:41px; height:20px; font-weight:bold; vertical-align:middle; ">구분:</caption>
  465. <select1 id="cmb_logindept" ref="/root/main/iptbox/logintrgtcd" disabled="true" appearance="minimal" editmode="search" style="left:204px; top:320px; width:129px; height:19px; ">
  466. <choices>
  467. <itemset nodeset="/root/init/orddept/dept">
  468. <label ref="depthngnm"/>
  469. <value ref="deptcd"/>
  470. </itemset>
  471. </choices>
  472. </select1>
  473. <button id="button2" class="btn2_letter3" style="left:200px; top:295px; width:53px; height:19px; ">
  474. <caption>과검색</caption>
  475. <script type="javascript" ev:event="DOMActivate">
  476. <![CDATA[
  477. fOpenEnvAppInfo() ;
  478. ]]>
  479. </script>
  480. </button>
  481. <select1 id="cmb_deptset" ref="/root/main/iptbox/envtrgtcd" disabled="true" appearance="minimal" editmode="search" style="left:145px; top:240px; width:129px; height:19px; ">
  482. <choices>
  483. <itemset nodeset="/root/init/orddept/dept">
  484. <label ref="depthngnm"/>
  485. <value ref="deptcd"/>
  486. </itemset>
  487. </choices>
  488. </select1>
  489. <bool id="bool1" checkvalue="Y,N" ref="/root/main/iptbox/indcaseflag" style="left:126px; top:359px; width:20px; height:20px; "/>
  490. <caption id="caption14" style="left:10px; top:360px; width:121px; height:20px; font-weight:bold; vertical-align:middle; ">사용자별설정적용 :</caption>
  491. </group>
  492. <line id="line1" class="line_1" style="x1:354px; y1:24px; x2:1172px; y2:24px; "/>
  493. <line id="line5" class="line_1" style="x1:3px; y1:4px; x2:352px; y2:4px; "/>
  494. <treeview id="trv_envsetlist" ref="/root/temp/trvpenvsetlist" dragmode="true" dropmode="true" expanddepth="4" fullrowselect="false" itemsettype="depth" style="left:2px; top:9px; width:350px; height:607px; border-color:#99ccff; border-style:solid; ">
  495. <itemset nodeset="/root/main/envsetinfo/envsetlist">
  496. <label ref="envnm"/>
  497. <value ref="setno"/>
  498. <depth ref="levl"/>
  499. <image ref="image"/>
  500. </itemset>
  501. <script type="javascript" ev:event="onmousedown">
  502. <![CDATA[
  503. fMouseRghtBtnPopup();
  504. ]]>
  505. </script>
  506. <script type="javascript" ev:event="xforms-select">
  507. <![CDATA[
  508. fSetTopSet();
  509. if ( event.button == 1 ) {
  510. fGetEnvDetlList("A");
  511. }
  512. ]]>
  513. </script>
  514. </treeview>
  515. <button id="button4" class="btn2_letter4" style="left:1101px; top:3px; width:64px; height:19px; ">
  516. <caption>상세보기</caption>
  517. <script type="javascript" ev:event="DOMActivate">
  518. <![CDATA[
  519. fEnvDetlInfo();
  520. ]]>
  521. </script>
  522. </button>
  523. <button id="button7" class="btn2_letter2" style="left:966px; top:3px; width:42px; height:19px; ">
  524. <caption>신규</caption>
  525. <script type="javascript" ev:event="DOMActivate">
  526. <![CDATA[
  527. fAddEnvDetlInfo();
  528. ]]>
  529. </script>
  530. </button>
  531. <button id="button8" class="btn2_letter2" style="left:1011px; top:3px; width:42px; height:19px; ">
  532. <caption>삭제</caption>
  533. <script type="javascript" ev:event="DOMActivate">
  534. <![CDATA[
  535. fEnvDetlDeleteRow();
  536. model.refresh();
  537. ]]>
  538. </script>
  539. </button>
  540. <button id="button9" class="btn5_letter2" style="left:1056px; top:3px; width:42px; height:19px; ">
  541. <caption>저장</caption>
  542. <script type="javascript" ev:event="DOMActivate">
  543. <![CDATA[
  544. fEnvDetlSave();
  545. ]]>
  546. </script>
  547. </button>
  548. </group>
  549. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:353px; top:20px; width:605px; height:100px; "/>
  550. <shape id="roundrect5" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:20px; width:350px; height:100px; "/>
  551. <input id="ipt_foldnm" ref="/root/main/cond/foldernm" style="left:67px; top:93px; width:203px; height:19px; ">
  552. <script type="javascript" ev:event="onkeypress">
  553. <![CDATA[
  554. inputEnterKey("btn_srch", "DOMActivate");
  555. ]]>
  556. </script>
  557. </input>
  558. <caption id="caption1" style="left:28px; top:94px; width:41px; height:20px; font-weight:bold; vertical-align:middle; ">폴더:</caption>
  559. <caption id="caption18" class="tit_1" style="left:0px; top:0px; width:195px; height:13px; ">
  560. <![CDATA[환경설정관리]]>
  561. <script type="javascript" ev:event="onclick">
  562. <![CDATA[
  563. if ( model.getValue ( "/root/init/mode" ) != "CLS" ) {
  564. model.setValue ( "/root/init/mode", "CLS" );
  565. model.setValue ( "/root/init/envlrgflag", "-" );
  566. model.setValue ( "/root/init/envmidflag", "-" );
  567. model.setValue ( "/root/init/envsmlflag", "-" );
  568. caption18.value = "환경설정 대.중.소 분류관리"
  569. model.refresh();
  570. fReqSetTreeView("CLS");
  571. } else {
  572. model.setValue ( "/root/init/mode", "ENV" );
  573. caption18.value = "환경설정관리"
  574. fInitializeDone_SMMMB21000();
  575. }
  576. ]]>
  577. </script>
  578. </caption>
  579. <select1 id="cmb_envlrgflag" ref="/root/init/envlrgflag" appearance="minimal" style="left:67px; top:29px; width:203px; height:19px; ">
  580. <choices>
  581. <itemset nodeset="/root/init/envlrgcls/envlrgcls">
  582. <label ref="setnm"/>
  583. <value ref="envcd"/>
  584. </itemset>
  585. </choices>
  586. <script type="javascript" ev:event="xforms-value-changed">
  587. <![CDATA[
  588. fGetEnvlrgFlag ( "3" );
  589. fGetEnvlrgFlag ( "4" );
  590. model.refresh();
  591. fReqSetTreeView("ENV");
  592. ]]>
  593. </script>
  594. </select1>
  595. <select1 id="cmb_envmidflag" ref="/root/init/envmidflag" appearance="minimal" style="left:67px; top:50px; width:203px; height:19px; ">
  596. <choices>
  597. <itemset nodeset="/root/init/envmidcls/envmidcls">
  598. <label ref="setnm"/>
  599. <value ref="envcd"/>
  600. </itemset>
  601. </choices>
  602. <script type="javascript" ev:event="xforms-value-changed">
  603. <![CDATA[
  604. fGetEnvlrgFlag ( "4" );
  605. model.refresh();
  606. fReqSetTreeView("ENV");
  607. ]]>
  608. </script>
  609. </select1>
  610. <select1 id="cmb_envsmlflag" ref="/root/init/envsmlflag" appearance="minimal" style="left:67px; top:71px; width:203px; height:19px; ">
  611. <choices>
  612. <itemset nodeset="/root/init/envsmlcls/envsmlcls">
  613. <label ref="setnm"/>
  614. <value ref="envcd"/>
  615. </itemset>
  616. </choices>
  617. <script type="javascript" ev:event="xforms-value-changed">
  618. <![CDATA[
  619. fReqSetTreeView("ENV");
  620. ]]>
  621. </script>
  622. </select1>
  623. <caption id="caption3" style="left:15px; top:28px; width:46px; height:20px; font-weight:bold; vertical-align:middle; ">대분류:</caption>
  624. <caption id="caption11" style="left:15px; top:49px; width:46px; height:20px; font-weight:bold; vertical-align:middle; ">중분류:</caption>
  625. <caption id="caption12" style="left:15px; top:69px; width:46px; height:20px; font-weight:bold; vertical-align:middle; ">소분류:</caption>
  626. <caption id="caption36" style="left:369px; top:30px; width:46px; height:20px; font-weight:bold; vertical-align:middle; ">대분류:</caption>
  627. <caption id="caption37" style="left:565px; top:30px; width:46px; height:20px; font-weight:bold; vertical-align:middle; ">중분류:</caption>
  628. <caption id="caption38" style="left:755px; top:30px; width:46px; height:20px; font-weight:bold; vertical-align:middle; ">소분류:</caption>
  629. <caption id="caption39" style="left:382px; top:60px; width:36px; height:20px; font-weight:bold; vertical-align:middle; ">설명:</caption>
  630. <caption id="caption40" style="left:357px; top:91px; width:59px; height:20px; font-weight:bold; vertical-align:middle; ">환경설정:</caption>
  631. <caption id="caption42" style="left:757px; top:91px; width:48px; height:20px; font-weight:bold; vertical-align:middle; ">로그인:</caption>
  632. <output id="otp_envlrgflag" ref="/root/topvalue/envlrgflag" style="left:417px; top:30px; width:145px; height:19px; "/>
  633. <output id="otp_envmidflag" ref="/root/topvalue/envmidflag" style="left:614px; top:30px; width:138px; height:19px; "/>
  634. <output id="otp_envsmlflag" ref="/root/topvalue/envsmlflag" style="left:802px; top:30px; width:140px; height:19px; "/>
  635. <output id="otp_envdesc" ref="/root/topvalue/envdesc" style="left:417px; top:60px; width:525px; height:19px; "/>
  636. <line id="line15" class="line_2" style="x1:369px; y1:55px; x2:944px; y2:55px; background-color:#ffcc00; "/>
  637. <line id="line2" class="line_2" style="x1:368px; y1:83px; x2:943px; y2:83px; background-color:#ffcc00; "/>
  638. <output id="output1" ref="/root/topvalue/envinfo" style="left:417px; top:91px; width:333px; height:19px; "/>
  639. <output id="output2" ref="/root/topvalue/logininfo" style="left:805px; top:91px; width:138px; height:19px; "/>
  640. <button id="btn_bfprcpsrch" class="btn1_letter2" style="left:282px; top:29px; width:56px; height:22px; ">
  641. <caption>조회</caption>
  642. <script type="javascript" ev:event="DOMActivate">
  643. <![CDATA[
  644. fReqSetTreeView("ENV");
  645. ]]>
  646. </script>
  647. </button>
  648. <button id="button1" class="btn1_letter2" style="left:282px; top:90px; width:56px; height:22px; ">
  649. <caption>검색</caption>
  650. <script type="javascript" ev:event="DOMActivate">
  651. <![CDATA[
  652. fSrchFolderNM();
  653. ]]>
  654. </script>
  655. </button>
  656. <group id="grp_indcase" visibility="hidden" style="left:960px; top:20px; width:225px; height:101px; ">
  657. <shape id="roundrect6" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:223px; height:101px; "/>
  658. <button id="btn_dept" class="icon_search" disabled="true" navindex="3" style="left:204px; top:26px; width:16px; height:16px; ">
  659. <caption/>
  660. <script type="javascript" ev:event="DOMActivate">
  661. <![CDATA[
  662. var searchcondition = "deptnm";
  663. var searchterm = model.getValue("/root/main/cond/chfdeptnm");
  664. var receivedeptcdpath = "/root/main/usercond/cmbenvdeptcd";
  665. var receivedeptnmpath = "/root/main/usercond/cmbenvdeptnm";
  666. var instcd = getUserInfo("dutplceinstcd");
  667. zbcfGetDeptCodeListFromTree(searchcondition, "", instcd, "", receivedeptcdpath, receivedeptnmpath);
  668. if(model.getValue(receivedeptcdpath) != ""){
  669. chk_user.visible = true;
  670. opt_user.visible = true;
  671. btn_user.visible = true;
  672. }
  673. ]]>
  674. </script>
  675. </button>
  676. <select id="chk_dept" ref="/root/main/usercond/chkenvdept" overflow="visible" appearance="full" style="left:3px; top:26px; width:80px; height:20px; border-style:none; ">
  677. <choices>
  678. <item>
  679. <label>부서적용 :</label>
  680. <value>Y</value>
  681. </item>
  682. </choices>
  683. <script type="javascript" ev:event="xforms-value-changed">
  684. <![CDATA[
  685. if(chk_dept.value == "Y"){
  686. chk_all.value = "";
  687. chk_allcd.value = "";
  688. btn_dept.disabled = false;
  689. }
  690. else{
  691. chk_user.visible = false;
  692. opt_user.visible = false;
  693. btn_user.visible = false;
  694. btn_dept.disabled = true;
  695. model.setValue("/root/main/usercond/cmbenvdeptnm", "");
  696. model.setValue("/root/main/usercond/cmbenvdeptcd", "");
  697. model.setValue("/root/main/usercond/cmbenvuserid", "");
  698. model.setValue("/root/main/usercond/cmbenvusernm", "");
  699. chk_all.value = "Y";
  700. }
  701. chk_all.refresh();
  702. opt_dept.refresh();
  703. ]]>
  704. </script>
  705. </select>
  706. <output id="opt_dept" ref="/root/main/usercond/cmbenvdeptnm" class="output_fix" appearance="output" style="left:78px; top:26px; width:123px; height:19px; "/>
  707. <select id="chk_all" ref="/root/main/usercond/chkenvall" overflow="visible" appearance="full" style="left:3px; top:47px; width:97px; height:20px; border-style:none; ">
  708. <choices>
  709. <item>
  710. <label>전체적용코드</label>
  711. <value>Y</value>
  712. </item>
  713. </choices>
  714. <script type="javascript" ev:event="xforms-value-changed">
  715. <![CDATA[
  716. if(model.getValue("/root/main/usercond/chkenvall") == "Y"){
  717. model.setValue("/root/main/usercond/chkallcd", "");
  718. model.setValue("/root/main/usercond/chkenvjob", "");
  719. model.setValue("/root/main/usercond/chkenvdept", "");
  720. model.setValue("/root/main/usercond/chkenvuser", "");
  721. model.setValue("/root/main/usercond/cmbenvuserid", "");
  722. model.setValue("/root/main/usercond/cmbenvusernm", "");
  723. model.setValue("/root/main/usercond/cmbenvdeptcd", "");
  724. model.setValue("/root/main/usercond/cmbenvdeptnm", "");
  725. chk_user.visible = false;
  726. opt_user.visible = false;
  727. btn_user.visible = false;
  728. btn_dept.disabled = true;
  729. }
  730. model.refresh();
  731. ]]>
  732. </script>
  733. </select>
  734. <button id="btn_user" class="icon_search" disabled="true" navindex="3" visibility="hidden" style="left:204px; top:3px; width:16px; height:16px; ">
  735. <caption/>
  736. <script type="javascript" ev:event="DOMActivate">
  737. <![CDATA[
  738. model.resetInstanceNode("/root/temp/userpopupinfo");
  739. model.setValue("/root/temp/userpopupinfo/param", "_OneS");
  740. model.setValue("/root/temp/userpopupinfo/dutplceinstcd", getUserInfo("dutplceinstcd"));
  741. model.setValue("/root/temp/userpopupinfo/history", "false");
  742. modal("../../userdeptinfoweb/xrw/SPZSU10103_사용자부서선택조회", "", "200", "200", "SPZSU10103","/root/temp/userpopupinfo");
  743. var iParam = getParameter("SPZSU10103_");
  744. setCSVToNode("/root/main/oneselect", iParam);
  745. clearParameter("SPZSU10103_");
  746. var userid = model.getValue("/root/main/oneselect/list/userid");
  747. var usernm = model.getValue("/root/main/oneselect/list/usernm");
  748. model.setValue("/root/main/usercond/cmbenvusernm", usernm);
  749. model.setValue("/root/main/usercond/cmbenvuserid", userid);
  750. model.refresh();
  751. ]]>
  752. </script>
  753. </button>
  754. <select id="chk_user" ref="/root/main/usercond/chkenvuser" visibility="hidden" overflow="visible" appearance="full" style="left:3px; top:3px; width:105px; height:20px; border-style:none; ">
  755. <choices>
  756. <item>
  757. <label>사용자별 적용 :</label>
  758. <value>Y</value>
  759. </item>
  760. </choices>
  761. <script type="javascript" ev:event="xforms-value-changed">
  762. <![CDATA[
  763. if(chk_user.value == "Y"){
  764. chk_all.value = "";
  765. chk_allcd.value = "";
  766. btn_user.disabled = false;
  767. }
  768. else{
  769. model.setValue("/root/main/usercond/cmbenvuserid", "");
  770. model.setValue("/root/main/usercond/cmbenvusernm", "");
  771. btn_user.disabled = true;
  772. }
  773. chk_all.refresh();
  774. opt_user.refresh();
  775. ]]>
  776. </script>
  777. </select>
  778. <output id="opt_user" ref="/root/main/usercond/cmbenvusernm" class="output_fix" visibility="hidden" appearance="output" style="left:106px; top:3px; width:95px; height:19px; "/>
  779. <button id="button5" class="btn1_letter2" style="left:160px; top:75px; width:56px; height:22px; ">
  780. <caption>조회</caption>
  781. <script type="javascript" ev:event="DOMActivate">
  782. <![CDATA[
  783. fGetEnvDetlList("I");
  784. ]]>
  785. </script>
  786. </button>
  787. <select id="chk_allcd" ref="/root/main/usercond/chkallcd" overflow="visible" appearance="full" style="left:3px; top:66px; width:97px; height:20px; border-style:none; ">
  788. <choices>
  789. <item>
  790. <label>모든코드조회</label>
  791. <value>Y</value>
  792. </item>
  793. </choices>
  794. <script type="javascript" ev:event="xforms-value-changed">
  795. <![CDATA[
  796. if(model.getValue("/root/main/usercond/chkallcd") == "Y"){
  797. model.setValue("/root/main/usercond/chkenvall", "");
  798. model.setValue("/root/main/usercond/chkenvjob", "");
  799. model.setValue("/root/main/usercond/chkenvdept", "");
  800. model.setValue("/root/main/usercond/chkenvuser", "");
  801. model.setValue("/root/main/usercond/cmbenvuserid", "");
  802. model.setValue("/root/main/usercond/cmbenvusernm", "");
  803. model.setValue("/root/main/usercond/cmbenvdeptcd", "");
  804. model.setValue("/root/main/usercond/cmbenvdeptnm", "");
  805. chk_user.visible = false;
  806. opt_user.visible = false;
  807. btn_user.visible = false;
  808. btn_dept.disabled = true;
  809. }
  810. model.refresh();
  811. ]]>
  812. </script>
  813. </select>
  814. </group>
  815. </xhtml:body>
  816. </xhtml:html>