SPMMO08800_수술예약시간설정.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505
  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. <cond>
  11. <totcnt/>
  12. <curcnt/>
  13. <extra/>
  14. <exfromtmcd/>
  15. <exendtmcd/>
  16. <oproomcd/>
  17. <roomflag/>
  18. </cond>
  19. <optimeinfo>
  20. <optimelist/>
  21. </optimeinfo>
  22. <grdobj>
  23. <optime1/>
  24. <optime2/>
  25. <optime3/>
  26. </grdobj>
  27. <scheregtimelist>
  28. <scheregtimelist>
  29. <regfromtm/>
  30. <regendtm/>
  31. <irregfromtm/>
  32. <irregendtm/>
  33. </scheregtimelist>
  34. </scheregtimelist>
  35. </main>
  36. <send>
  37. <reqdata/>
  38. <savedata/>
  39. </send>
  40. <hidden/>
  41. <init>
  42. <oproomlist/>
  43. <M0014/>
  44. <orddept/>
  45. <hardcd/>
  46. </init>
  47. <grdopmenu>
  48. <menu>
  49. <menu>
  50. <label>삭제</label>
  51. <func>fCnclOpScheTime</func>
  52. </menu>
  53. </menu>
  54. </grdopmenu>
  55. </root>
  56. </instance>
  57. <script type="javascript" ev:event="xforms-ready">
  58. <![CDATA[
  59. fInitialize_SMMMO08800();
  60. ]]>
  61. </script>
  62. <submission id="TRMMO08801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/optimeinfo"/>
  63. <submission id="TRMMO05704" mediatype="application/x-www-form-urlencoded" method="post"/>
  64. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  65. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  66. <script type="javascript" ev:event="xforms-model-construct-done">
  67. <![CDATA[
  68. fInitOpScheTime();
  69. var regendtm = model.getValue("/root/main/scheregtimelist/scheregtimelist/regendtm");
  70. if(regendtm == 8){
  71. alert(1);
  72. }
  73. /*for(var i = 56; i <=79; i++){
  74. grd_optimelist1.colHidden(i) = true;
  75. grd_optimelist2.colHidden(i) = true;
  76. grd_optimelist3.colHidden(i) = true;
  77. }*/
  78. ]]>
  79. </script>
  80. <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  81. <submission id="TRMMO05705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/scheregtimelist"/>
  82. </model>
  83. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  86. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  87. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  88. <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO08800.js"/>
  89. </xhtml:head>
  90. <xhtml:body pagewidth="963" pageheight="335" guideline="2,326;1,945;" style="color:transparent; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  91. <caption id="caption24" class="tit_2" style="left:1px; top:5px; width:126px; height:13px; ">수술예약시간</caption>
  92. <line id="line3" class="line_1" style="x1:0px; y1:21px; x2:945px; y2:21px; "/>
  93. <datagrid id="grd_optimelist1" nodeset="/root/main/grdobj/optime1" dragmode="true" allowbigselection="false" allowselection="true" allowuserresize="false" backcoloralternate="transparent" caption="^^08^08^08^08^08^08^09^09^09^09^09^09^10^10^10^10^10^10^11^11^11^11^11^11^12^12^12^12^12^12^13^13^13^13^13^13^14^14^14^14^14^14^15^15^15^15^15^15^16^16^16^16^16^16^17^17^17^17^17^17^18^18^18^18^18^18^19^19^19^19^19^19^20^20^20^20^20^20^21^21^21^21^21^21|^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^caption2^" colsep="^" colwidth="42, 0, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25" dataheight="60" fixedcols="1" focuscolor="transparent" mergecellsfixedrows="bycolrec" rowsep="|" selectfontcolorstyle="none" selectionmode="free" style="left:0px; top:26px; width:945px; height:89px; text-align:center; ">
  94. <col/>
  95. <col/>
  96. <col/>
  97. <col/>
  98. <col/>
  99. <col/>
  100. <col/>
  101. <col/>
  102. <col/>
  103. <col/>
  104. <col/>
  105. <col/>
  106. <col/>
  107. <col/>
  108. <col/>
  109. <col/>
  110. <col/>
  111. <col/>
  112. <col/>
  113. <col/>
  114. <col/>
  115. <col/>
  116. <col/>
  117. <col/>
  118. <col/>
  119. <col/>
  120. <col/>
  121. <col/>
  122. <col/>
  123. <col/>
  124. <col/>
  125. <col/>
  126. <col/>
  127. <col/>
  128. <col/>
  129. <col/>
  130. <col/>
  131. <col/>
  132. <col/>
  133. <col/>
  134. <col/>
  135. <col/>
  136. <col/>
  137. <col/>
  138. <col/>
  139. <col/>
  140. <col/>
  141. <col/>
  142. <col/>
  143. <col/>
  144. <col/>
  145. <col/>
  146. <col/>
  147. <col/>
  148. <col/>
  149. <col/>
  150. <col/>
  151. <col/>
  152. <col/>
  153. <col/>
  154. <col/>
  155. <col/>
  156. <col/>
  157. <col/>
  158. <col/>
  159. <col/>
  160. <col/>
  161. <col/>
  162. <col/>
  163. <col/>
  164. <col/>
  165. <col/>
  166. <col/>
  167. <col/>
  168. <col/>
  169. <col/>
  170. <col/>
  171. <col/>
  172. <col/>
  173. <col/>
  174. <col/>
  175. <col/>
  176. <col/>
  177. <col/>
  178. <col/>
  179. <col/>
  180. <script type="javascript" ev:event="onclick">
  181. <![CDATA[
  182. if (isDataCell() == true) {
  183. fSelectOpScheTime(grd_optimelist1);
  184. }
  185. ]]>
  186. </script>
  187. <script type="javascript" ev:event="onmousedown">
  188. <![CDATA[
  189. setPopupMenu("grd_optimelist1", false, "/root/grdopmenu/menu/menu", "label", "func");
  190. ]]>
  191. </script>
  192. <script type="javascript" ev:event="DOMFocusOut">
  193. <![CDATA[
  194. initPopupMenu();
  195. ]]>
  196. </script>
  197. </datagrid>
  198. <caption id="caption1" ref="/root/main/cond/curcnt" style="left:445px; top:299px; width:34px; height:20px; text-align:center; "/>
  199. <caption id="caption2" style="left:478px; top:300px; width:15px; height:20px; text-align:center; ">/</caption>
  200. <caption id="caption3" ref="/root/main/cond/totcnt" style="left:489px; top:299px; width:33px; height:20px; text-align:center; "/>
  201. <button id="btn_af" class="icon_next" style="left:525px; top:302px; width:13px; height:15px; ">
  202. <caption/>
  203. <script type="javascript" ev:event="DOMActivate">
  204. <![CDATA[
  205. fClkBtnAfter();
  206. ]]>
  207. </script>
  208. </button>
  209. <bool id="bool1" visibility="hidden" checkvalue="Y,N" ref="/root/main/cond/extra" style="left:656px; top:298px; width:25px; height:20px; ">
  210. <script type="javascript" ev:event="xforms-value-changed">
  211. <![CDATA[
  212. fSetComboDisable();
  213. ]]>
  214. </script>
  215. </bool>
  216. <caption id="caption4" visibility="hidden" style="left:680px; top:298px; width:80px; height:20px; ">
  217. <![CDATA[정규시간 이외]]>
  218. <script type="javascript" ev:event="onclick">
  219. <![CDATA[
  220. fSetComboDisable();
  221. ]]>
  222. </script>
  223. </caption>
  224. <button id="btn_save" class="btn4_letter2" style="left:830px; top:298px; width:56px; height:22px; ">
  225. <caption>확인</caption>
  226. <script type="javascript" ev:event="DOMActivate">
  227. <![CDATA[
  228. fChkSaveData();
  229. ]]>
  230. </script>
  231. </button>
  232. <button id="button1" class="btn4_letter2" style="left:887px; top:298px; width:56px; height:22px; ">
  233. <caption>취소</caption>
  234. <script type="javascript" ev:event="DOMActivate">
  235. <![CDATA[
  236. opener.javascript.setParameter("SPMMO08800_rtn_useyn", "N");
  237. window.close();
  238. ]]>
  239. </script>
  240. </button>
  241. <button id="btn_bf" class="icon_pre" style="left:428px; top:301px; width:13px; height:15px; ">
  242. <caption/>
  243. <script type="javascript" ev:event="DOMActivate">
  244. <![CDATA[
  245. fClkBtnBefore();
  246. ]]>
  247. </script>
  248. </button>
  249. <caption id="caption5" visibility="hidden" style="left:170px; top:298px; width:15px; height:20px; text-align:center; ">~</caption>
  250. <select1 id="cmb_exfromtmcd" ref="/root/main/cond/exfromtmcd" disabled="true" visibility="hidden" appearance="minimal" editmode="search" itemcount="10" style="left:95px; top:298px; width:75px; height:19px; text-align:center; ">
  251. <choices>
  252. <itemset nodeset="/root/init/M0014/M0014">
  253. <label ref="cdnm"/>
  254. <value ref="cdid"/>
  255. </itemset>
  256. </choices>
  257. </select1>
  258. <select1 id="cmb_exendtmcd" ref="/root/main/cond/exendtmcd" disabled="true" visibility="hidden" appearance="minimal" editmode="search" itemcount="10" style="left:185px; top:298px; width:75px; height:19px; text-align:center; ">
  259. <choices>
  260. <itemset nodeset="/root/init/M0014/M0014">
  261. <label ref="cdnm"/>
  262. <value ref="cdid"/>
  263. </itemset>
  264. </choices>
  265. </select1>
  266. <select1 id="cmb_oproom" ref="/root/main/cond/oproomcd" visibility="visible" appearance="minimal" itemcount="10" style="left:0px; top:298px; width:75px; height:19px; text-align:center; ">
  267. <choices>
  268. <itemset nodeset="/root/init/oproomlist/oproomlist">
  269. <label ref="oproomnm"/>
  270. <value ref="oproomcd"/>
  271. </itemset>
  272. </choices>
  273. <script type="javascript" ev:event="xforms-value-changed">
  274. <![CDATA[
  275. if(cmb_oproom.label != ""){
  276. fClearOpScheGrdInfo();
  277. fSetOpRoomNM(Math.ceil(fFindInstanceCount(cmb_oproom.value)/3)); //수술방명 설정
  278. fSetOpScheTimeGrd(); //스케줄 표시
  279. }
  280. ]]>
  281. </script>
  282. </select1>
  283. <caption id="caption6" visibility="hidden" style="left:785px; top:299px; width:40px; height:20px; ">방없음</caption>
  284. <bool id="bool2" visibility="hidden" checkvalue="Y,N" ref="/root/main/cond/roomflag" style="left:761px; top:298px; width:25px; height:20px; ">
  285. <script type="javascript" ev:event="xforms-value-changed">
  286. <![CDATA[
  287. ]]>
  288. </script>
  289. </bool>
  290. <datagrid id="grd_optimelist2" nodeset="/root/main/grdobj/optime2" dragmode="true" allowbigselection="false" allowselection="true" allowuserresize="false" backcoloralternate="transparent" caption="^^08^08^08^08^08^08^09^09^09^09^09^09^10^10^10^10^10^10^11^11^11^11^11^11^12^12^12^12^12^12^13^13^13^13^13^13^14^14^14^14^14^14^15^15^15^15^15^15^16^16^16^16^16^16^17^17^17^17^17^17^18^18^18^18^18^18^19^19^19^19^19^19^20^20^20^20^20^20^21^21^21^21^21^21|^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^caption2^" colsep="^" colwidth="42, 0, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25" dataheight="60" fixedcols="1" focuscolor="transparent" mergecellsfixedrows="bycolrec" rowsep="|" selectfontcolorstyle="none" selectionmode="free" style="left:0px; top:117px; width:945px; height:89px; text-align:center; ">
  291. <col/>
  292. <col/>
  293. <col/>
  294. <col/>
  295. <col/>
  296. <col/>
  297. <col/>
  298. <col/>
  299. <col/>
  300. <col/>
  301. <col/>
  302. <col/>
  303. <col/>
  304. <col/>
  305. <col/>
  306. <col/>
  307. <col/>
  308. <col/>
  309. <col/>
  310. <col/>
  311. <col/>
  312. <col/>
  313. <col/>
  314. <col/>
  315. <col/>
  316. <col/>
  317. <col/>
  318. <col/>
  319. <col/>
  320. <col/>
  321. <col/>
  322. <col/>
  323. <col/>
  324. <col/>
  325. <col/>
  326. <col/>
  327. <col/>
  328. <col/>
  329. <col/>
  330. <col/>
  331. <col/>
  332. <col/>
  333. <col/>
  334. <col/>
  335. <col/>
  336. <col/>
  337. <col/>
  338. <col/>
  339. <col/>
  340. <col/>
  341. <col/>
  342. <col/>
  343. <col/>
  344. <col/>
  345. <col/>
  346. <col/>
  347. <col/>
  348. <col/>
  349. <col/>
  350. <col/>
  351. <col/>
  352. <col/>
  353. <col/>
  354. <col/>
  355. <col/>
  356. <col/>
  357. <col/>
  358. <col/>
  359. <col/>
  360. <col/>
  361. <col/>
  362. <col/>
  363. <col/>
  364. <col/>
  365. <col/>
  366. <col/>
  367. <col/>
  368. <col/>
  369. <col/>
  370. <col/>
  371. <col/>
  372. <col/>
  373. <col/>
  374. <col/>
  375. <col/>
  376. <col/>
  377. <script type="javascript" ev:event="onclick">
  378. <![CDATA[
  379. if (isDataCell() == true) {
  380. fSelectOpScheTime(grd_optimelist2);
  381. }
  382. ]]>
  383. </script>
  384. <script type="javascript" ev:event="onmousedown">
  385. <![CDATA[
  386. setPopupMenu("grd_optimelist2", false, "/root/grdopmenu/menu/menu", "label", "func");
  387. ]]>
  388. </script>
  389. <script type="javascript" ev:event="DOMFocusOut">
  390. <![CDATA[
  391. initPopupMenu();
  392. ]]>
  393. </script>
  394. </datagrid>
  395. <datagrid id="grd_optimelist3" nodeset="/root/main/grdobj/optime3" dragmode="true" allowbigselection="false" allowselection="true" allowuserresize="false" backcoloralternate="transparent" caption="^^08^08^08^08^08^08^09^09^09^09^09^09^10^10^10^10^10^10^11^11^11^11^11^11^12^12^12^12^12^12^13^13^13^13^13^13^14^14^14^14^14^14^15^15^15^15^15^15^16^16^16^16^16^16^17^17^17^17^17^17^18^18^18^18^18^18^19^19^19^19^19^19^20^20^20^20^20^20^21^21^21^21^21^21|^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^00^^20^^40^^caption2^" colsep="^" colwidth="42, 0, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25" dataheight="60" fixedcols="1" focuscolor="transparent" mergecellsfixedrows="bycolrec" rowsep="|" selectfontcolorstyle="none" selectionmode="free" style="left:0px; top:207px; width:945px; height:89px; text-align:center; ">
  396. <col/>
  397. <col/>
  398. <col/>
  399. <col/>
  400. <col/>
  401. <col/>
  402. <col/>
  403. <col/>
  404. <col/>
  405. <col/>
  406. <col/>
  407. <col/>
  408. <col/>
  409. <col/>
  410. <col/>
  411. <col/>
  412. <col/>
  413. <col/>
  414. <col/>
  415. <col/>
  416. <col/>
  417. <col/>
  418. <col/>
  419. <col/>
  420. <col/>
  421. <col/>
  422. <col/>
  423. <col/>
  424. <col/>
  425. <col/>
  426. <col/>
  427. <col/>
  428. <col/>
  429. <col/>
  430. <col/>
  431. <col/>
  432. <col/>
  433. <col/>
  434. <col/>
  435. <col/>
  436. <col/>
  437. <col/>
  438. <col/>
  439. <col/>
  440. <col/>
  441. <col/>
  442. <col/>
  443. <col/>
  444. <col/>
  445. <col/>
  446. <col/>
  447. <col/>
  448. <col/>
  449. <col/>
  450. <col/>
  451. <col/>
  452. <col/>
  453. <col/>
  454. <col/>
  455. <col/>
  456. <col/>
  457. <col/>
  458. <col/>
  459. <col/>
  460. <col/>
  461. <col/>
  462. <col/>
  463. <col/>
  464. <col/>
  465. <col/>
  466. <col/>
  467. <col/>
  468. <col/>
  469. <col/>
  470. <col/>
  471. <col/>
  472. <col/>
  473. <col/>
  474. <col/>
  475. <col/>
  476. <col/>
  477. <col/>
  478. <col/>
  479. <col/>
  480. <col/>
  481. <col/>
  482. <script type="javascript" ev:event="onclick">
  483. <![CDATA[
  484. if (isDataCell() == true) {
  485. fSelectOpScheTime(grd_optimelist3);
  486. }
  487. ]]>
  488. </script>
  489. <script type="javascript" ev:event="onmousedown">
  490. <![CDATA[
  491. setPopupMenu("grd_optimelist3", false, "/root/grdopmenu/menu/menu", "label", "func");
  492. ]]>
  493. </script>
  494. <script type="javascript" ev:event="DOMFocusOut">
  495. <![CDATA[
  496. initPopupMenu();
  497. ]]>
  498. </script>
  499. </datagrid>
  500. </xhtml:body>
  501. </xhtml:html>