SMZSA30000_VDI사용자관리.xrw 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>VDI사용자관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <offictourinfo>
  11. <offictourlist>
  12. <orddrnm/>
  13. <orddrid/>
  14. <fromdd/>
  15. <todd/>
  16. <vdiappyn/>
  17. <instcd/>
  18. <holiflag/>
  19. <seqno/>
  20. <instnm/>
  21. <ordendresn/>
  22. </offictourlist>
  23. </offictourinfo>
  24. <vdireqinfo>
  25. <vdireqlist>
  26. <chk/>
  27. <instnm/>
  28. <appdd/>
  29. <prfnm/>
  30. <prfid/>
  31. <dgdtserl/>
  32. <cnclyn/>
  33. <orddeptcd/>
  34. <orddeptnm/>
  35. <fromdd/>
  36. <todd/>
  37. <reqpsn/>
  38. <aprvyn/>
  39. <p_instcd/>
  40. <p_orddrid/>
  41. <p_orddeptcd/>
  42. <p_holiflag/>
  43. <p_seqno/>
  44. </vdireqlist>
  45. </vdireqinfo>
  46. <requserinfo>
  47. <requserlist>
  48. <instcd/>
  49. <reqdeptcd/>
  50. <reqdeptnm/>
  51. <reqmanid/>
  52. <reqmannm/>
  53. <startdd/>
  54. <enddd/>
  55. </requserlist>
  56. </requserinfo>
  57. </main>
  58. <send>
  59. <searchoffictour>
  60. <inst031/>
  61. <inst032/>
  62. <instcd/>
  63. <orddrid/>
  64. <orddrnm/>
  65. </searchoffictour>
  66. <searchvdi>
  67. <inst031/>
  68. <inst032/>
  69. <instcd/>
  70. <orddrnm/>
  71. <orddrid/>
  72. <reqpsn/>
  73. <aprvyn/>
  74. <fromdd/>
  75. <todd/>
  76. <fromappdd/>
  77. <toappdd/>
  78. </searchvdi>
  79. <save>
  80. <vdireqlist/>
  81. <requserlist>
  82. <p_instcd/>
  83. <prfid/>
  84. <orddeptcd/>
  85. <fromdd/>
  86. <todd/>
  87. </requserlist>
  88. </save>
  89. </send>
  90. <init>
  91. </init>
  92. <hidden>
  93. <onerowselect/>
  94. </hidden>
  95. </root>
  96. </instance>
  97. <script type="javascript" ev:event="xforms-ready">
  98. <![CDATA[
  99. fInitialize();
  100. //btn_search.dispatch("DOMActivate");
  101. ]]>
  102. </script>
  103. <submission id="TRZSA30000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchoffictour" resultref="/root/main/offictourinfo"/>
  104. <submission id="TRZSA30001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchvdi" resultref="/root/main/vdireqinfo"/>
  105. <submission id="TXZSA30000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp/temp"/>
  106. <submission id="TXZSA30001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp/temp"/>
  107. <submission id="TXZSA30002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp/temp"/>
  108. </model>
  109. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  110. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  111. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  112. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  113. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  114. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  115. <script type="javascript">
  116. <![CDATA[
  117. function fInitialize(){
  118. //출장자 리스트 Clear
  119. model.removeNodeset(grd_offictourlist.nodeset);
  120. grd_offictourlist.refresh();
  121. //VDI신청자 리스트 Clear
  122. model.removeNodeset(grd_vdireqlist.nodeset);
  123. grd_vdireqlist.refresh();
  124. // 승인버튼 visible여부 세팅
  125. var dutplcecd = getUserInfo("dutplcecd");
  126. if( dutplcecd == "4130116000" ){ //의료정보센터이면
  127. btn_confirm.visible = true;
  128. } else {
  129. model.setValue("/root/send/searchvdi/orddrid",getUserId());
  130. model.setValue("/root/send/searchvdi/orddrnm",getUserName());
  131. }
  132. // 사용자 이름, ID 세팅
  133. model.setValue("/root/send/searchoffictour/orddrid",getUserId());
  134. model.setValue("/root/send/searchoffictour/orddrnm",getUserName());
  135. // 승인여부 세팅(전체)
  136. model.setValue("/root/send/searchvdi/aprvyn", "A");
  137. // 출장자리스트 조회(본인)
  138. fSearchOffictour();
  139. // 직원 정보 세팅
  140. model.makevalue("/root/main/requserinfo/requserlist/reqdd",getCurrentDate());
  141. model.makevalue("/root/main/requserinfo/requserlist/gubun",model.getValue("/root/hidden/gubun"));
  142. model.makeValue("/root/main/requserinfo/requserlist/instcd", getUserInfo("dutplceinstcd"));
  143. //model.setvalue("/root/send/auth/reqdd",getCurrentDate());
  144. //model.setvalue("/root/send/prgmrlist/reqdd",getCurrentDate());
  145. //model.setvalue("/root/send/userinfo/reqdd",getCurrentDate());
  146. model.setvalue("/root/main/requserinfo/requserlist/reqmanid",getUserId());
  147. model.setvalue("/root/main/requserinfo/requserlist/reqmannm",getUserName());
  148. model.setvalue("/root/main/requserinfo/requserlist/reqdeptcd",getUserInfo("dutplcecd"));
  149. model.setvalue("/root/main/requserinfo/requserlist/reqdeptnm",getUserInfo("dutplcenm"));
  150. model.setvalue("/root/main/requserinfo/requserlist/startdd",getCurrentDate());
  151. model.setvalue("/root/main/requserinfo/requserlist/enddd",getCurrentDate());
  152. model.refresh();
  153. }
  154. function fSearchOffictour(){
  155. submit("TRZSA30000",false);
  156. grd_offictourlist.refresh();
  157. }
  158. function fSearchVdi(){
  159. grd_vdireqlist.clearStatus();
  160. model.resetInstanceNode("/root/main/vdireqinfo");
  161. submit("TRZSA30001",false);
  162. grd_vdireqlist.refresh();
  163. }
  164. function fAprvVdi(){
  165. if(!checkGridUpdate(grd_vdireqlist))
  166. {
  167. messageBox("저장할 자료가 ","E014");
  168. return;
  169. }
  170. model.setValue("/root/send/save/vdireqlist", grd_vdireqlist.getUpdateData());
  171. if ( submit("TXZSA30001") ) {
  172. fSearchVdi();
  173. //grd_vdireqlist.refresh();
  174. }
  175. }
  176. function fSave() {
  177. if(!checkGridUpdate(grd_vdireqlist))
  178. {
  179. messageBox("저장할 자료가 ","E014");
  180. return;
  181. }
  182. if(messageBox("", "Q002") == 7) {
  183. return;
  184. }
  185. model.setValue("/root/send/save/vdireqlist", grd_vdireqlist.getUpdateData());
  186. if ( submit("TXZSA30000") ) {
  187. fSearchOffictour();
  188. fSearchVdi();
  189. //grd_vdireqlist.refresh();
  190. }
  191. }
  192. function fSaveUser() {
  193. if(model.getValue("/root/main/requserinfo/requserlist/instcd").getTrim()=="")
  194. {
  195. messageBox("기관은 ", "I003");
  196. return false;
  197. }
  198. if(model.getValue("/root/main/requserinfo/requserlist/reqdeptnm").getTrim()=="")
  199. {
  200. messageBox("사용부서는 ", "I003");
  201. return false;
  202. }
  203. if(model.getValue("/root/main/requserinfo/requserlist/reqmannm").getTrim()=="")
  204. {
  205. messageBox("사용자는 ", "I003");
  206. return false;
  207. }
  208. if(model.getValue("/root/main/requserinfo/requserlist/startdd").getTrim()=="")
  209. {
  210. messageBox("사용시작일은 ", "I003");
  211. return false;
  212. }
  213. if(model.getValue("/root/main/requserinfo/requserlist/enddd").getTrim()=="")
  214. {
  215. messageBox("사용종료일은 ", "I003");
  216. return false;
  217. }
  218. if(messageBox("", "Q014") == 7) {
  219. return;
  220. }
  221. model.resetInstanceNode("/root/send/save/requserlist");
  222. //model.makeNode("/root/send/save/requserlist");
  223. //model.copyNode("/root/send/save/requserlist", "/root/main/requserinfo/requserlist");
  224. var prfid = model.getValue("/root/main/requserinfo/requserlist/reqmanid");
  225. var orddeptcd = model.getValue("/root/main/requserinfo/requserlist/reqdeptcd");
  226. var fromdd = model.getValue("/root/main/requserinfo/requserlist/startdd");
  227. var todd = model.getValue("/root/main/requserinfo/requserlist/enddd");
  228. var instcd = model.getValue("/root/main/requserinfo/requserlist/instcd");
  229. model.setValue("/root/send/save/requserlist/prfid", prfid);
  230. model.setValue("/root/send/save/requserlist/orddeptcd", orddeptcd);
  231. model.setValue("/root/send/save/requserlist/fromdd", fromdd);
  232. model.setValue("/root/send/save/requserlist/todd", todd);
  233. model.setValue("/root/send/save/requserlist/p_instcd", instcd);
  234. if ( submit("TXZSA30002") ) {
  235. fSearchVdi();
  236. }
  237. }
  238. function fCheckInstcd() {
  239. if (chk_inst031.value == "true" && chk_inst032.value != "true") {
  240. model.setValue("/root/send/searchoffictour/instcd", "031");
  241. } else if (chk_inst031.value != "true" && chk_inst032.value == "true") {
  242. model.setValue("/root/send/searchoffictour/instcd", "032");
  243. } else {
  244. model.setValue("/root/send/searchoffictour/instcd", "");
  245. }
  246. }
  247. function fCheckInstcd2() {
  248. if (chk_inst031_2.value == "true" && chk_inst032_2.value != "true") {
  249. model.setValue("/root/send/searchvdi/instcd", "031");
  250. } else if (chk_inst031_2.value != "true" && chk_inst032_2.value == "true") {
  251. model.setValue("/root/send/searchvdi/instcd", "032");
  252. } else {
  253. model.setValue("/root/send/searchvdi/instcd", "");
  254. }
  255. }
  256. ]]>
  257. </script>
  258. </xhtml:head>
  259. <xhtml:body pagewidth="1195" pageheight="780">
  260. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  261. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:189px; height:15px; ">VDI 사용자 관리</caption>
  262. </group>
  263. <group id="group4" style="left:397px; top:12px; width:796px; height:768px; ">
  264. <line id="line1" class="line_1" style="x1:10px; y1:116px; x2:795px; y2:116px; "/>
  265. <caption id="caption6" class="tit_2" style="left:10px; top:100px; width:145px; height:13px; ">VDI 신청자 리스트</caption>
  266. <datagrid id="grd_vdireqlist" nodeset="/root/main/vdireqinfo/vdireqlist" caption="^기관^사용자명^사용자ID^부서^시작일자^종료일자^신청자^신청일자^승인여부^p_instcd^p_orddrid^p_orddeptcd^p_holiflag^p_seqno^orddeptcd^dgdtserl" colsep="^" colwidth="22, 45, 90, 80, 110, 85, 85, 90, 80, 60, 0, 0, 0, 0, 0, 0, 0" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:10px; top:120px; width:785px; height:620px; ">
  267. <col ref="chk" type="checkbox"/>
  268. <col ref="instnm" style="text-align:center; "/>
  269. <col ref="prfnm" style="text-align:center; "/>
  270. <col ref="prfid" style="text-align:center; "/>
  271. <col ref="orddeptnm" style="text-align:center; "/>
  272. <col editable="true" ref="fromdd" type="input" format="yyyy/mm/dd" style="text-align:center; "/>
  273. <col editable="true" ref="todd" type="input" format="yyyy/mm/dd" style="text-align:center; "/>
  274. <col ref="reqpsn" style="text-align:center; "/>
  275. <col ref="appdd" format="yyyy/mm/dd" style="text-align:center; "/>
  276. <col ref="aprvyn" style="text-align:center; "/>
  277. <col ref="p_instcd" visibility="hidden" style="text-align:center; "/>
  278. <col ref="p_orddrid" visibility="hidden" style="text-align:center; "/>
  279. <col ref="p_orddeptcd" visibility="hidden" style="text-align:center; "/>
  280. <col ref="p_holiflag" visibility="hidden" style="text-align:center; "/>
  281. <col ref="p_seqno" visibility="hidden" style="text-align:center; "/>
  282. <col ref="orddeptcd" visibility="hidden" style="text-align:center; "/>
  283. <col ref="dgdtserl" visibility="hidden" style="text-align:center; "/>
  284. <script type="javascript" ev:event="onclick">
  285. <![CDATA[
  286. if (isDataCell() == true) {
  287. if ( grd_vdireqlist.col == 1 && grd_vdireqlist.row != 0 ) {
  288. var tmpChk = model.getValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/chk");
  289. if( grd_vdireqlist.rowStatus(grd_vdireqlist.row) == 2 && tmpChk == "false" ) {
  290. grd_vdireqlist.rowStatus(grd_vdireqlist.row) = 0;
  291. grd_vdireqlist.refresh();
  292. }
  293. }
  294. }
  295. ]]>
  296. </script>
  297. </datagrid>
  298. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:8px; top:7px; width:787px; height:83px; background-color:#fffbf2; border-color:#ffd799; "/>
  299. <caption id="caption7" class="search_name" style="left:13px; top:14px; width:94px; height:17px; ">사용자명</caption>
  300. <input id="input2" ref="/root/send/searchvdi/orddrnm" navindex="4" style="left:120px; top:14px; width:72px; height:19px; "/>
  301. <input id="input4" ref="/root/send/searchvdi/orddrid" navindex="5" style="left:329px; top:15px; width:72px; height:19px; "/>
  302. <caption id="caption9" class="search_name" style="left:237px; top:15px; width:102px; height:17px; ">사용자ID</caption>
  303. <input id="input7" ref="/root/send/searchvdi/reqpsn" navindex="6" style="left:491px; top:15px; width:87px; height:19px; "/>
  304. <caption id="caption11" class="search_name" style="left:407px; top:15px; width:82px; height:17px; ">신청자</caption>
  305. <caption id="caption12" class="search_name" style="left:13px; top:38px; width:102px; height:17px; ">시작종료일자</caption>
  306. <caption id="caption13" style="left:225px; top:38px; width:15px; height:20px; ">~</caption>
  307. <input id="input8" ref="/root/send/searchvdi/todd" navindex="9" inputtype="date" style="left:240px; top:39px; width:100px; height:19px; "/>
  308. <input id="input9" ref="/root/send/searchvdi/fromdd" navindex="8" inputtype="date" style="left:120px; top:39px; width:100px; height:19px; "/>
  309. <input id="input10" ref="/root/send/searchvdi/toappdd" navindex="11" inputtype="date" style="left:240px; top:64px; width:100px; height:19px; "/>
  310. <input id="input11" ref="/root/send/searchvdi/fromappdd" navindex="10" inputtype="date" style="left:120px; top:64px; width:100px; height:19px; "/>
  311. <caption id="caption14" class="search_name" style="left:13px; top:63px; width:80px; height:17px; ">신청일자</caption>
  312. <caption id="caption15" style="left:225px; top:63px; width:15px; height:20px; ">~</caption>
  313. <caption id="caption16" class="search_name" style="left:407px; top:39px; width:94px; height:17px; ">승인여부</caption>
  314. <select1 id="rdo_gubundetl" ref="/root/send/searchvdi/aprvyn" disabled="false" navindex="7" appearance="full" cols="5" overflow="visible" style="left:492px; top:39px; width:150px; height:20px; vertical-align:middle; border-style:none; ">
  315. <choices>
  316. <item>
  317. <label>전체</label>
  318. <value>A</value>
  319. </item>
  320. <item>
  321. <label>승인</label>
  322. <value>Y</value>
  323. </item>
  324. <item>
  325. <label>미승인</label>
  326. <value>N</value>
  327. </item>
  328. </choices>
  329. </select1>
  330. <line id="line4" style="x1:710px; y1:15px; x2:710px; y2:80px; border-color:#ffe4bb; border-left-style:solid; "/>
  331. <button id="btn_searchVdi" class="btn1_letter2" navindex="12" style="left:725px; top:35px; width:56px; height:22px; ">
  332. <caption>조회</caption>
  333. <script type="javascript" ev:event="DOMActivate">
  334. <![CDATA[
  335. fSearchVdi();
  336. ]]>
  337. </script>
  338. </button>
  339. <button id="btn_addrow" class="btn2_letter3" visibility="hidden" style="left:682px; top:745px; width:53px; height:19px; ">
  340. <caption>행추가</caption>
  341. <script type="javascript" ev:event="DOMActivate">
  342. <![CDATA[
  343. if(grd_vdireqlist.rows <= 1) {
  344. grd_vdireqlist.addRow(true);
  345. } else {
  346. grd_vdireqlist.insertRow(grd_vdireqlist.row, "below", true);
  347. grd_vdireqlist.select(grd_vdireqlist.row, grd_vdireqlist.col) = true;
  348. }
  349. ]]>
  350. </script>
  351. </button>
  352. <button id="btn_delrow" class="btn2_letter3" visibility="hidden" style="left:741px; top:745px; width:53px; height:19px; ">
  353. <caption>행삭제</caption>
  354. <script type="javascript" ev:event="DOMActivate">
  355. <![CDATA[
  356. grd_vdireqlist.deleteRow(grd_vdireqlist.row, true);
  357. ]]>
  358. </script>
  359. </button>
  360. <button id="btn_save" class="btn4_letter2" navindex="13" style="left:738px; top:93px; width:56px; height:22px; ">
  361. <caption>저장</caption>
  362. <script type="javascript" ev:event="DOMActivate">
  363. <![CDATA[
  364. setAlertOn();
  365. fSave();
  366. ]]>
  367. </script>
  368. </button>
  369. <button id="btn_confirm" class="btn4_letter2" navindex="14" visibility="hidden" style="left:678px; top:93px; width:56px; height:22px; ">
  370. <caption>승인</caption>
  371. <script type="javascript" ev:event="DOMActivate">
  372. <![CDATA[
  373. if(messageBox("", "Q004") == 7) {
  374. return;
  375. }
  376. setAlertOn();
  377. fAprvVdi();
  378. ]]>
  379. </script>
  380. </button>
  381. <select id="chk_inst031_2" ref="/root/send/searchvdi/inst031" navindex="6" overflow="visible" appearance="full" style="left:492px; top:63px; width:45px; height:20px; border-style:none; ">
  382. <choices>
  383. <item>
  384. <label>본원</label>
  385. <value>true</value>
  386. </item>
  387. </choices>
  388. <script type="javascript" ev:event="xforms-value-changed">
  389. <![CDATA[
  390. fCheckInstcd2();
  391. ]]>
  392. </script>
  393. </select>
  394. <select id="chk_inst032_2" ref="/root/send/searchvdi/inst032" navindex="7" overflow="visible" appearance="full" style="left:542px; top:63px; width:45px; height:20px; border-style:none; ">
  395. <choices>
  396. <item>
  397. <label>칠곡</label>
  398. <value>true</value>
  399. </item>
  400. </choices>
  401. <script type="javascript" ev:event="xforms-value-changed">
  402. <![CDATA[
  403. fCheckInstcd2();
  404. ]]>
  405. </script>
  406. </select>
  407. <caption id="caption8" class="search_name" style="left:407px; top:63px; width:94px; height:17px; ">기관</caption>
  408. </group>
  409. <switch id="switch1" style="left:0px; top:40px; width:398px; height:715px; ">
  410. <case id="case1" selected="true" style="left:0px; top:0px; width:397px; height:715px; ">
  411. <select1 id="cmb_instcd" ref="/root/main/requserinfo/requserlist/instcd" class="input_essential" navindex="3" appearance="minimal" style="left:97px; top:36px; width:131px; height:19px; ">
  412. <choices>
  413. <item>
  414. <label>경북대학교병원</label>
  415. <value>031</value>
  416. </item>
  417. <item>
  418. <label>칠곡경북대학교병원</label>
  419. <value>032</value>
  420. </item>
  421. </choices>
  422. </select1>
  423. <caption id="caption44" class="cell_1" style="left:5px; top:35px; width:90px; height:23px; ">기관</caption>
  424. <caption id="caption10" class="cell_1" style="left:5px; top:60px; width:90px; height:23px; ">사용부서</caption>
  425. <button id="btn_reqdeptcd" class="icon_search" navindex="4" style="left:240px; top:62px; width:16px; height:16px; ">
  426. <caption/>
  427. <script type="javascript" ev:event="DOMActivate">
  428. <![CDATA[
  429. var recv_list = "reqdeptcd,reqdeptnm";
  430. misfOpenPopUpList("02", ipt_reqdeptnm,"", recv_list, model.getValue("/root/main/requserinfo/requserlist/instcd"),"instcd") ;
  431. model.refresh();
  432. ]]>
  433. </script>
  434. </button>
  435. <input id="ipt_reqdeptnm" ref="/root/main/requserinfo/requserlist/reqdeptnm" class="input_essential" editable="false" style="left:97px; top:61px; width:139px; height:19px; text-align:left; vertical-align:middle; ">
  436. <script type="javascript" ev:event="xforms-value-changed">
  437. <![CDATA[
  438. model.setValue("/root/send/auth/instcd",model.getValue("/root/main/requserinfo/requserlist/instcd"));
  439. model.setValue("/root/send/auth/reqdeptcd",model.getValue("/root/main/requserinfo/requserlist/reqdeptcd"));
  440. submit("TRZHA20011");
  441. ]]>
  442. </script>
  443. <script type="javascript" ev:event="onclick">
  444. <![CDATA[
  445. //btn_reqdeptcd.dispatch("DOMActivate");
  446. btn_emplno.dispatch("DOMActivate");
  447. ]]>
  448. </script>
  449. </input>
  450. <input id="ipt_reqmannm" ref="/root/main/requserinfo/requserlist/reqmannm" class="input_essential" editable="false" style="left:97px; top:86px; width:104px; height:19px; ">
  451. <script type="javascript" ev:event="onclick">
  452. <![CDATA[
  453. btn_emplno.dispatch("DOMActivate");
  454. ]]>
  455. </script>
  456. </input>
  457. <caption id="caption17" class="cell_1" style="left:5px; top:85px; width:90px; height:23px; ">사용자</caption>
  458. <button id="btn_emplno" class="icon_search" navindex="5" style="left:205px; top:87px; width:16px; height:16px; ">
  459. <caption/>
  460. <script type="javascript" ev:event="DOMActivate">
  461. <![CDATA[
  462. //misfOpenPopUpList("01", ipt_reqmannm, "", "reqmanid,reqmannm","","instcd");
  463. modal("SPZSU10103_사용자부서조회", "1", "200", "200", "SPZSU10103","","/root/tmp/popup");
  464. var iParam = getParameter("SPZSU10103_");
  465. if(iParam != ""){
  466. model.removeNodeset("/root/hidden/onerowselect");
  467. model.makeNode("/root/hidden/onerowselect");
  468. setCSVToNode("/root/hidden/onerowselect", iParam);
  469. model.setValue("/root/main/requserinfo/requserlist/reqmanid", model.getValue("/root/hidden/onerowselect/list/userid") );
  470. model.setValue("/root/main/requserinfo/requserlist/reqmannm", model.getValue("/root/hidden/onerowselect/list/usernm") );
  471. var rtn = messageBox("기관과 부서까지 ", "Q009");
  472. if(rtn == 6){
  473. model.setValue("/root/main/requserinfo/requserlist/instcd", model.getValue("/root/hidden/onerowselect/list/dutplceinstcd") );
  474. model.setValue("/root/main/requserinfo/requserlist/reqdeptcd", model.getValue("/root/hidden/onerowselect/list/dutplcecd") );
  475. model.setValue("/root/main/requserinfo/requserlist/reqdeptnm", model.getValue("/root/hidden/onerowselect/list/dutplcenm") );
  476. }
  477. //model.setValue("/root/send/auth/instcd",model.getValue("/root/main/requserinfo/requserlist/instcd"));
  478. //model.setValue("/root/send/auth/reqdeptcd",model.getValue("/root/main/requserinfo/requserlist/reqdeptcd"));
  479. //submit("TRZHA20011");
  480. clearParameter("SPZSU10103_");
  481. }
  482. model.refresh();
  483. ]]>
  484. </script>
  485. </button>
  486. <caption id="cpt_startdd" class="cell_1" style="left:5px; top:110px; width:90px; height:23px; ">사용시작일</caption>
  487. <caption id="cpt_enddd" class="cell_1" style="left:5px; top:135px; width:90px; height:23px; ">사용종료일</caption>
  488. <input id="ipt_startdd" ref="/root/main/requserinfo/requserlist/startdd" class="input_essential" inputtype="date" format="yyyy-mm-dd" style="left:97px; top:112px; width:130px; height:19px; text-align:center; vertical-align:middle; "/>
  489. <input id="ipt_enddd" ref="/root/main/requserinfo/requserlist/enddd" class="input_essential" inputtype="date" format="yyyy-mm-dd" style="left:97px; top:137px; width:130px; height:19px; text-align:center; vertical-align:middle; "/>
  490. <button id="button1" class="btn4_letter2" navindex="13" style="left:333px; top:6px; width:56px; height:22px; ">
  491. <caption>신청</caption>
  492. <script type="javascript" ev:event="DOMActivate">
  493. <![CDATA[
  494. setAlertOn();
  495. fSaveUser();
  496. ]]>
  497. </script>
  498. </button>
  499. <caption id="caption18" class="tit_2" style="left:5px; top:10px; width:180px; height:15px; ">VDI 사용신청</caption>
  500. <line id="line10" class="line_1" style="x1:5px; y1:30px; x2:388px; y2:30px; "/>
  501. <line id="line2" class="line_2" style="x1:5px; y1:160px; x2:390px; y2:160px; "/>
  502. <caption id="caption19" style="left:230px; top:115px; width:15px; height:20px; ">~</caption>
  503. </case>
  504. <case id="case2" style="left:0px; top:0px; width:394px; height:715px; ">
  505. <group id="group3" style="left:1px; top:1px; width:393px; height:712px; ">
  506. <datagrid id="grd_offictourlist" nodeset="/root/main/offictourinfo/offictourlist" class="datagrid2" caption="기관^의사&#xA;성명^의사&#xA;사번^휴진&#xA;사유^시작일자^종료일자^VDI&#xA;신쳥여부" colsep="^" colwidth="40, 55, 45, 45, 66, 66, 55" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:119px; width:393px; height:592px; ">
  507. <col ref="instnm" style="text-align:center; "/>
  508. <col ref="orddrnm" style="text-align:center; "/>
  509. <col ref="orddrid" style="text-align:center; "/>
  510. <col ref="ordendresn" style="text-align:center; "/>
  511. <col ref="fromdd" format="yyyy/mm/dd" style="text-align:center; "/>
  512. <col ref="todd" format="yyyy/mm/dd" style="text-align:center; "/>
  513. <col ref="vdiappyn" style="text-align:center; "/>
  514. <script type="javascript" ev:event="ondblclick">
  515. <![CDATA[
  516. if (isDataCell() == true) {
  517. // if(grd_vdireqlist.rows <= 1) {
  518. //
  519. // grd_vdireqlist.addRow(true);
  520. //
  521. // } else {
  522. // grd_vdireqlist.insertRow(grd_vdireqlist.row, "below", true);
  523. // grd_vdireqlist.select(grd_vdireqlist.row, grd_vdireqlist.col) = true;
  524. // }
  525. var vdiappyn = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/vdiappyn");
  526. if( vdiappyn == 'Y') {
  527. } else {
  528. grd_vdireqlist.addRow(true);
  529. var orddrnm = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/orddrnm");
  530. var orddrid = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/orddrid");
  531. var orddeptcd = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/orddeptcd");
  532. var orddeptnm = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/orddeptnm");
  533. var fromdd = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/fromdd");
  534. var todd = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/todd");
  535. var vdiappyn = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/vdiappyn");
  536. var instcd = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/instcd");
  537. var instnm = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/instnm");
  538. var holiflag = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/holiflag");
  539. var seqno = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/seqno");
  540. model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/instnm", instnm);
  541. model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/prfnm", orddrnm);
  542. model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/prfid", orddrid);
  543. model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/fromdd", fromdd);
  544. model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/todd", todd);
  545. model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/aprvyn", vdiappyn);
  546. model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/p_instcd", instcd);
  547. model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/p_orddrid", orddrid);
  548. model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/p_orddeptcd", orddeptcd);
  549. model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/orddeptcd", orddeptcd);
  550. model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/orddeptnm", orddeptnm);
  551. model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/p_holiflag", holiflag);
  552. model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/p_seqno", seqno);
  553. grd_vdireqlist.refresh();
  554. }
  555. }
  556. ]]>
  557. </script>
  558. </datagrid>
  559. <caption id="caption5" class="tit_2" style="left:3px; top:100px; width:145px; height:13px; ">출장자 리스트</caption>
  560. <line id="line8" class="line_1" style="x1:0px; y1:115px; x2:393px; y2:115px; "/>
  561. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:7px; width:385px; height:80px; background-color:#fffbf2; border-color:#ffd799; "/>
  562. <button id="btn_search" class="btn1_letter2" navindex="3" style="left:320px; top:35px; width:56px; height:22px; ">
  563. <caption>조회</caption>
  564. <script type="javascript" ev:event="DOMActivate">
  565. <![CDATA[
  566. fSearchOffictour();
  567. ]]>
  568. </script>
  569. </button>
  570. <input id="input1" ref="/root/send/searchoffictour/orddrid" navindex="2" style="left:121px; top:63px; width:72px; height:19px; "/>
  571. <caption id="caption2" class="search_name" style="left:7px; top:38px; width:109px; height:17px; ">휴진의사 이름</caption>
  572. <caption id="caption4" class="search_name" style="left:7px; top:62px; width:109px; height:17px; ">휴진의사 사번</caption>
  573. <input id="input3" ref="/root/send/searchoffictour/orddrnm" navindex="1" style="left:121px; top:39px; width:72px; height:19px; "/>
  574. <line id="line13" style="x1:310px; y1:15px; x2:310px; y2:76px; border-color:#ffe4bb; border-left-style:solid; "/>
  575. <caption id="caption3" class="search_name" style="left:7px; top:14px; width:94px; height:17px; ">기관</caption>
  576. <select id="chk_inst031" ref="/root/send/searchoffictour/inst031" navindex="6" overflow="visible" appearance="full" style="left:120px; top:15px; width:45px; height:20px; border-style:none; ">
  577. <choices>
  578. <item>
  579. <label>본원</label>
  580. <value>true</value>
  581. </item>
  582. </choices>
  583. <script type="javascript" ev:event="xforms-value-changed">
  584. <![CDATA[
  585. fCheckInstcd();
  586. ]]>
  587. </script>
  588. </select>
  589. <select id="chk_inst032" ref="/root/send/searchoffictour/inst032" navindex="7" overflow="visible" appearance="full" style="left:170px; top:15px; width:45px; height:20px; border-style:none; ">
  590. <choices>
  591. <item>
  592. <label>칠곡</label>
  593. <value>true</value>
  594. </item>
  595. </choices>
  596. <script type="javascript" ev:event="xforms-value-changed">
  597. <![CDATA[
  598. fCheckInstcd();
  599. ]]>
  600. </script>
  601. </select>
  602. </group>
  603. </case>
  604. </switch>
  605. <button id="btn_devtab" class="btn_sw" group="tab" selected="true" style="left:10px; top:20px; width:120px; height:22px; ">
  606. <caption>전체 직원</caption>
  607. <toggle case="case1" ev:event="onclick"/>
  608. </button>
  609. <button id="btn_deptab" class="btn_sw" group="tab" style="left:130px; top:20px; width:120px; height:22px; ">
  610. <caption>휴진 의사</caption>
  611. <toggle case="case2" ev:event="onclick"/>
  612. </button>
  613. </xhtml:body>
  614. </xhtml:html>