SMAEB02400_예약시간관리(내시경).xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <![CDATA[//]]>
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <rsrvtmcreate>
  12. <rsrvtmlist>
  13. <rsrvno/>
  14. <rsrvtm/>
  15. <maxoutcnt/>
  16. <maxincnt/>
  17. <maxhealexamcnt/>
  18. <maxtrustcnt/>
  19. <maxallcnt/>
  20. <sum/>
  21. <rsrvdd/>
  22. <suppdept/>
  23. <examroom/>
  24. <rsrvno/>
  25. <openflag/>
  26. <pseudo/>
  27. <sortby/>
  28. <yeyakflag/>
  29. </rsrvtmlist>
  30. </rsrvtmcreate>
  31. <rsrvtmappprescond>
  32. <rsrvtmlist>
  33. <rsrvno/>
  34. <rsrvtm/>
  35. <maxoutcnt/>
  36. <maxincnt/>
  37. <maxhealexamcnt/>
  38. <maxtrustcnt/>
  39. <maxallcnt/>
  40. <sum/>
  41. </rsrvtmlist>
  42. </rsrvtmappprescond>
  43. </main>
  44. <send>
  45. <rsrvdd/>
  46. <data/>
  47. <data2/>
  48. </send>
  49. <init>
  50. <cmb_info>
  51. <initexcuroomgrp>
  52. <excuroomcdid/>
  53. <excuroomcdnm/>
  54. </initexcuroomgrp>
  55. </cmb_info>
  56. </init>
  57. <hidden>
  58. <tminfo>
  59. <frtm/>
  60. <totm/>
  61. <term/>
  62. <cnt/>
  63. <examroom/>
  64. <rsrvdd/>
  65. <suppdept/>
  66. <gweekday/>
  67. <frdt/>
  68. <todt/>
  69. </tminfo>
  70. <data/>
  71. </hidden>
  72. </root>
  73. </instance>
  74. <script type="javascript" ev:event="xforms-ready">
  75. <![CDATA[
  76. ipt_startrsrvdd.value = getDate();
  77. ipt_endrsrvdd.value = getDate();
  78. fInitialize();
  79. ]]>
  80. </script>
  81. <submission id="TRAEB00901" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/rsrvtmcreate"/>
  82. <submission id="TXAEB00901" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/hidden/data"/>
  83. <submission id="TXAEB00902" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/hidden/data"/>
  84. </model>
  85. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  91. <script type="javascript">
  92. <![CDATA[
  93. function fInitialize() {
  94. ipt_starttm.value = "0800";
  95. ipt_endtm.value = "1600";
  96. ipt_term.value = "30";
  97. ipt_cnt.value = "1";
  98. // 공통코드를 조회한다.
  99. //zbcfGetCodeList(new Array("initexcuroomgrp"),new Array("/root/init/cmb_info") );
  100. model.refresh();
  101. }
  102. function fGenTime(gWeekDay)
  103. {
  104. model.refresh();
  105. var frtm = model.getValue("/root/hidden/tminfo/frtm");
  106. var totm = model.getValue("/root/hidden/tminfo/totm");
  107. var term = model.getValue("/root/hidden/tminfo/term");
  108. //if(term == "") {
  109. // alert(model.getValue ("/root/comboItem[value='" + model.getValue ("/root/example") + "']/label"));
  110. //}
  111. if(!isValidDateTime(frtm, "hhmm")) {
  112. model.alert("시작 시간형식이 정확하지 않습니다.");
  113. return;
  114. }
  115. if(!isValidDateTime(totm, "hhmm")) {
  116. model.alert("종료 시간형식이 정확하지 않습니다.");
  117. return;
  118. }
  119. if(frtm > totm) {
  120. model.alert("시작시간이더 큽니다");
  121. return;
  122. }
  123. var iTerm = parseInt(term);
  124. var tm = getTimeInterval(frtm, totm) / 60;
  125. if(iTerm > tm) {
  126. model.alert("시작시간과 종료시간의 차가 분간격보다 작습니다.");
  127. return;
  128. }
  129. var cnt = model.getValue("/root/hidden/tminfo/cnt");
  130. if(cnt == "")
  131. cnt = "1";
  132. //기존것 삭제
  133. model.removeNodeset("/root/main/rsrvtmcreate/rsrvtmlist");
  134. // model.gridRebuild("grd_rsrvtmlist");
  135. grd_rsrvtmcreate.rebuild();
  136. model.refresh();
  137. frtm = "20040101" + frtm; //시간으로 변환하기 위해서 붙인다.
  138. totm = "20040101" + totm;
  139. var dFrtm = frtm.toDate("YYYYMMDDhhmm");
  140. var dTotm = totm.toDate("YYYYMMDDhhmm");
  141. var row = 1;
  142. var d = dFrtm;
  143. var i = 1;
  144. while(d <= dTotm) {
  145. grd_rsrvtmcreate.addItem();
  146. model.setValue("/root/main/rsrvtmcreate/rsrvtmlist[" + row + "]/rsrvno",i);
  147. model.setValue("/root/main/rsrvtmcreate/rsrvtmlist[" + row + "]/rsrvtm", d.getDateFormat("hhmm"));
  148. model.setValue("/root/main/rsrvtmcreate/rsrvtmlist[" + row + "]/maxoutcnt", cnt);
  149. model.setValue("/root/main/rsrvtmcreate/rsrvtmlist[" + row + "]/maxincnt", cnt);
  150. model.setValue("/root/main/rsrvtmcreate/rsrvtmlist[" + row + "]/maxhealexamcnt", cnt);
  151. model.setValue("/root/main/rsrvtmcreate/rsrvtmlist[" + row + "]/rsrvdd",model.getValue("/root/hidden/tminfo/gweekday"));
  152. fGridCellSum("grd_rsrvtmcreate", row);
  153. d = d.getAddDate(iTerm, "m");
  154. row++;
  155. i++;
  156. }
  157. //model.gridRefresh("grid1");
  158. grd_rsrvtmcreate.refresh();
  159. }
  160. //합계 내기
  161. function fGridCellSum(grid, row)
  162. {
  163. var list = "";
  164. if(grid == "grd_rsrvtmcreate")
  165. list = "rsrvtmcreate";
  166. if(grid == "grd_rsrvtmappprescond")
  167. list = "rsrvtmappprescond";
  168. var maxoutcnt = model.getValue("/root/main/" + list + "/rsrvtmlist[" + row + "]/maxoutcnt");
  169. //maxoutcnt.lvStripWhite();
  170. var maxincnt = model.getValue("/root/main/" + list + "/rsrvtmlist[" + row + "]/maxincnt");
  171. //maxincnt.lvStripWhite();
  172. var maxhealexamcnt = model.getValue("/root/main/" + list + "/rsrvtmlist[" + row + "]/maxhealexamcnt");
  173. //maxmedexamcnt.lvStripWhite();
  174. var maxtrustcnt = model.getValue("/root/main/" + list + "/rsrvtmlist[" + row + "]/maxtrustcnt");
  175. //maxtrstcnt.lvStripWhite();
  176. var maxallcnt = model.getValue("/root/main/" + list + "/rsrvtmlist[" + row + "]/maxallcnt");
  177. //maxallcnt.lvStripWhite();
  178. var imaxoutcnt = 0;
  179. var imaxincnt = 0;
  180. var imaxhealexamcnt = 0;
  181. var imaxtrustcnt = 0;
  182. var imaxallcnt = 0;
  183. var sum = 0;
  184. if(maxoutcnt != "") imaxoutcnt = parseInt(maxoutcnt);
  185. if(maxincnt != "") imaxincnt = parseInt(maxincnt);
  186. if(maxhealexamcnt != "") imaxhealexamcnt = parseInt(maxhealexamcnt);
  187. if(maxtrustcnt != "") imaxtrustcnt = parseInt(maxtrustcnt);
  188. if(maxallcnt != "") imaxallcnt = parseInt(maxallcnt);
  189. sum = imaxoutcnt + imaxincnt + imaxhealexamcnt + imaxtrustcnt + imaxallcnt;
  190. model.setValue("/root/main/" + list + "/rsrvtmlist[" + row + "]/sum", sum);
  191. grd_rsrvtmcreate.refresh();
  192. }
  193. function fGetTime()
  194. {
  195. model.removenode("/root/main/rsrvtmcreate");
  196. //var examroom = model.getValue("/root/hidden/tminfo/examroom");
  197. //if(examroom == "") {
  198. // model.alert("검사실을 선택해 주십시요");
  199. // return;
  200. //}
  201. //var rsrvdd = "0000000" + gWeekDay;
  202. //model.setValue("/root/hidden/tminfo/rsrvdd", rsrvdd);
  203. //model.setValue("/root/hidden/tminfo/suppdept", gSuppDept);
  204. //copyNode("/root/hidden/tminfo", "/root/send/data");
  205. //이부분 부터
  206. // fSetFunction(gMode, "getDefaultYeYakSiGan", "OAC_YeYakSiGanGwanRi_View2");
  207. // fRequestAction("reqAction", gAction, "/root/SendData", "/root/MainData/list1/content");
  208. // for(var i = grd_rsrvtmcreate.fixedrows; i < grd_rsrvtmcreate.rows; i++) {
  209. // fGridCellSum("grd_rsrvtmcreate", i);
  210. // }
  211. grd_rsrvtmcreate.refresh();
  212. grd_rsrvtmcreate.clearStatus();
  213. // model.resetInstanceNode("/root/send");
  214. // TFSetMessage("/root/main");
  215. }
  216. function gridOnCellChanged()
  217. {
  218. if(grd_rsrvtmcreate.col==7){
  219. model.setValue("/root/main/rsrvtmcreate/rsrvtmlist["+grd_rsrvtmcreate.row+"]/maxoutcnt","");
  220. model.setValue("/root/main/rsrvtmcreate/rsrvtmlist["+grd_rsrvtmcreate.row+"]/maxincnt","");
  221. model.setValue("/root/main/rsrvtmcreate/rsrvtmlist["+grd_rsrvtmcreate.row+"]/maxhealexamcnt","");
  222. model.setValue("/root/main/rsrvtmcreate/rsrvtmlist["+grd_rsrvtmcreate.row+"]/sum", model.getValue("/root/main/rsrvtmcreate/rsrvtmlist["+grd_rsrvtmcreate.row+"]/maxallcnt"));
  223. }
  224. else
  225. {
  226. var maxoutcnt = model.getValue("/root/main/rsrvtmcreate/rsrvtmlist["+grd_rsrvtmcreate.row+"]/maxoutcnt");
  227. var maxincnt = model.getValue("/root/main/rsrvtmcreate/rsrvtmlist["+grd_rsrvtmcreate.row+"]/maxincnt");
  228. var maxhealexamcnt = model.getValue("/root/main/rsrvtmcreate/rsrvtmlist["+grd_rsrvtmcreate.row+"]/maxhealexamcnt");
  229. var maxtrustcnt = model.getValue("/root/main/rsrvtmcreate/rsrvtmlist["+grd_rsrvtmcreate.row+"]/maxtrustcnt");
  230. var imaxoutcnt = 0;
  231. var imaxincnt = 0;
  232. var imaxhealexamcnt = 0;
  233. var imaxtrustcnt = 0;
  234. var sum = 0;
  235. if(maxoutcnt != "") imaxoutcnt = parseInt(maxoutcnt);
  236. if(maxincnt != "") imaxincnt = parseInt(maxincnt);
  237. if(maxhealexamcnt != "") imaxhealexamcnt = parseInt(maxhealexamcnt);
  238. if(maxtrustcnt != "") imaxtrustcnt = parseInt(maxtrustcnt);
  239. sum = imaxoutcnt + imaxincnt + imaxhealexamcnt + imaxtrustcnt;
  240. model.setValue("/root/main/rsrvtmcreate/rsrvtmlist["+grd_rsrvtmcreate.row+"]/maxallcnt","");
  241. model.setValue("/root/main/rsrvtmcreate/rsrvtmlist["+grd_rsrvtmcreate.row+"]/sum", sum);
  242. grd_rsrvtmcreate.refresh();
  243. }
  244. }
  245. function fTimeGen()
  246. {
  247. var fromdd = model.getValue("/root/hidden/tminfo/frdt");
  248. var todd = model.getValue("/root/hidden/tminfo/todt");
  249. var term = getDateInterval(fromdd, todd);
  250. if(term > 365) {
  251. model.alert("생성구간이 365일 이상입니다.. 1년으로 제한합니다.");
  252. return;
  253. }
  254. //var msg = fromdd.lvToDate("YYYYMMDD").lvFormat("YYYY-MM-DD") + " ~ " + todd.lvToDate("YYYYMMDD").lvFormat("YYYY-MM-DD");
  255. //if(model.messageBox(msg + " 지정된 구간만큼 예약시간을 생성 하시겠습니까?", "확인", 1) != 1) return;
  256. // return;
  257. if(fChkDate() == false) return;
  258. /*
  259. copyNode("/root/HideData", "/root/SendData/Data");
  260. fSetFunction(gMode, "setYeYakSiGan", "OAC_YeYakSiGanGwanRi_View3");
  261. fRequestAction("reqAction", gAction, "/root/SendData", "/root/CalData");
  262. model.resetInstanceNode("/root/SendData");
  263. TFSetMessage("/root/MainData");
  264. fSetColor();
  265. */
  266. }
  267. function fChkDate()
  268. {
  269. var frdt = model.getValue("/root/hidden/tminfo/frdt");
  270. var todt = model.getValue("/root/hidden/tminfo/todt");
  271. if(frdt == "") {
  272. model.alert("적용시작일자를 입력해 주십시요");
  273. return false;
  274. }
  275. if(todt == "") {
  276. model.alert("적용종료일자를 입력해 주십시요");
  277. return false;
  278. }
  279. if(frdt > todt) {
  280. model.alert("적용시작일자가 적용종료일자보다 큽니다.");
  281. return false;
  282. }
  283. }
  284. ]]>
  285. </script>
  286. </xhtml:head>
  287. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  288. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">예약시간관리</caption>
  289. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:20px; width:450px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  290. <caption id="caption1" class="search_name" style="left:10px; top:25px; width:73px; height:17px; ">의사 :</caption>
  291. <button id="button36" class="btn4_letter4" style="left:374px; top:55px; width:80px; height:22px; ">
  292. <caption>시간생성</caption>
  293. <script type="javascript" ev:event="DOMActivate">
  294. <![CDATA[
  295. fGenTime();
  296. ]]>
  297. </script>
  298. </button>
  299. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:459px; top:20px; width:317px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  300. <caption id="caption5" class="search_name" style="left:465px; top:25px; width:86px; height:17px; ">적용일자</caption>
  301. <button id="button39" class="btn4_letter2" style="left:782px; top:25px; width:56px; height:22px; ">
  302. <caption>생성</caption>
  303. <script type="javascript" ev:event="DOMActivate">
  304. <![CDATA[
  305. fTimeGen();
  306. model.setValue("",model.getValue("/root/hidden/tminfo/frdt"));
  307. submit("TXAEB00902");
  308. ]]>
  309. </script>
  310. </button>
  311. <button id="button64" class="btn_sw" group="tab" selected="true" style="left:10px; top:105px; width:37px; height:22px; ">
  312. <caption>월</caption>
  313. <script type="javascript" ev:event="DOMActivate">
  314. <![CDATA[
  315. var r ;
  316. model.setValue("/root/hidden/tminfo/gweekday","00000001");
  317. fGetTime();
  318. model.setValue("/root/send/rsrvdd",model.getValue("/root/hidden/tminfo/gweekday"));
  319. submit("TRAEB00901");
  320. model.refresh();
  321. ]]>
  322. </script>
  323. </button>
  324. <button id="button1" class="btn_sw" group="tab" selected="true" style="left:45px; top:105px; width:36px; height:22px; ">
  325. <caption>화</caption>
  326. <script type="javascript" ev:event="DOMActivate">
  327. <![CDATA[
  328. model.setValue("/root/hidden/tminfo/gweekday","00000002");
  329. fGetTime();
  330. model.setValue("/root/send/rsrvdd",model.getValue("/root/hidden/tminfo/gweekday"));
  331. submit("TRAEB00901");
  332. model.refresh();
  333. ]]>
  334. </script>
  335. </button>
  336. <button id="button2" class="btn_sw" group="tab" selected="true" style="left:80px; top:105px; width:36px; height:22px; ">
  337. <caption>수</caption>
  338. <script type="javascript" ev:event="DOMActivate">
  339. <![CDATA[
  340. model.setValue("/root/hidden/tminfo/gweekday","00000003");
  341. fGetTime();
  342. model.setValue("/root/send/rsrvdd",model.getValue("/root/hidden/tminfo/gweekday"));
  343. submit("TRAEB00901");
  344. model.refresh();
  345. ]]>
  346. </script>
  347. </button>
  348. <button id="button3" class="btn_sw" group="tab" selected="true" style="left:115px; top:105px; width:36px; height:22px; ">
  349. <caption>목</caption>
  350. <script type="javascript" ev:event="DOMActivate">
  351. <![CDATA[
  352. model.setValue("/root/hidden/tminfo/gweekday","00000004");
  353. fGetTime();
  354. model.setValue("/root/send/rsrvdd",model.getValue("/root/hidden/tminfo/gweekday"));
  355. submit("TRAEB00901");
  356. model.refresh();
  357. ]]>
  358. </script>
  359. </button>
  360. <button id="button4" class="btn_sw" group="tab" selected="true" style="left:150px; top:105px; width:36px; height:22px; ">
  361. <caption>금</caption>
  362. <script type="javascript" ev:event="DOMActivate">
  363. <![CDATA[
  364. model.setValue("/root/hidden/tminfo/gweekday","00000005");
  365. fGetTime();
  366. model.setValue("/root/send/rsrvdd",model.getValue("/root/hidden/tminfo/gweekday"));
  367. submit("TRAEB00901");
  368. model.refresh();
  369. ]]>
  370. </script>
  371. </button>
  372. <button id="button5" class="btn_sw" group="tab" selected="true" style="left:185px; top:105px; width:36px; height:22px; ">
  373. <caption>토</caption>
  374. <script type="javascript" ev:event="DOMActivate">
  375. <![CDATA[
  376. model.setValue("/root/hidden/tminfo/gweekday","00000006");
  377. fGetTime();
  378. model.setValue("/root/send/rsrvdd",model.getValue("/root/hidden/tminfo/gweekday"));
  379. submit("TRAEB00901");
  380. model.refresh();
  381. ]]>
  382. </script>
  383. </button>
  384. <button id="button6" class="btn_sw" group="tab" selected="true" style="left:220px; top:105px; width:36px; height:22px; ">
  385. <caption>일</caption>
  386. <script type="javascript" ev:event="DOMActivate">
  387. <![CDATA[
  388. model.setValue("/root/hidden/tminfo/gweekday","00000007");
  389. fGetTime();
  390. model.setValue("/root/send/rsrvdd",model.getValue("/root/hidden/tminfo/gweekday"));
  391. submit("TRAEB00901");
  392. model.refresh();
  393. ]]>
  394. </script>
  395. </button>
  396. <calendar id="calendar1" style="left:900px; top:25px; width:295px; height:260px; "/>
  397. <button id="button22" class="btn1_letter6" style="left:0px; top:762px; width:104px; height:22px; ">
  398. <caption>예약현황조회</caption>
  399. </button>
  400. <line id="line2" class="line_1" style="x1:459px; y1:79px; x2:894px; y2:80px; "/>
  401. <caption id="caption22" class="tit_2" style="left:902px; top:294px; width:100px; height:13px; ">예약변동내역</caption>
  402. <caption id="caption7" class="cell_1" style="left:10px; top:55px; width:59px; height:20px; vertical-align:middle; ">시작시간</caption>
  403. <caption id="caption8" class="cell_1" style="left:10px; top:77px; width:59px; height:20px; vertical-align:middle; ">간격</caption>
  404. <caption id="caption2" class="cell_1" style="left:192px; top:55px; width:59px; height:20px; vertical-align:middle; ">종료시간</caption>
  405. <caption id="caption3" class="cell_1" style="left:192px; top:77px; width:59px; height:20px; vertical-align:middle; ">인원수</caption>
  406. <caption id="caption4" style="left:146px; top:55px; width:44px; height:20px; vertical-align:middle; ">hhmm</caption>
  407. <caption id="caption6" style="left:328px; top:56px; width:42px; height:20px; vertical-align:middle; ">hhmm</caption>
  408. <caption id="caption9" style="left:145px; top:77px; width:38px; height:20px; vertical-align:middle; ">분간격</caption>
  409. <caption id="caption10" style="left:327px; top:77px; width:15px; height:20px; vertical-align:middle; ">명</caption>
  410. <textarea id="textarea1" style="left:900px; top:315px; width:295px; height:442px; "/>
  411. <line id="line3" class="line_1" style="x1:900px; y1:311px; x2:1195px; y2:312px; "/>
  412. <caption id="caption11" class="tit_2" style="left:460px; top:60px; width:100px; height:14px; ">적용현황</caption>
  413. <button id="button7" class="btn2_letter2" style="left:853px; top:56px; width:42px; height:19px; ">
  414. <caption>저장</caption>
  415. </button>
  416. <button id="button8" class="btn2_letter3" style="left:742px; top:56px; width:53px; height:19px; ">
  417. <caption>행추가</caption>
  418. <script type="javascript" ev:event="DOMActivate">
  419. <![CDATA[
  420. grd_rsrvtmappprescond.addItem();
  421. ]]>
  422. </script>
  423. </button>
  424. <button id="button19" class="btn2_letter3" style="left:798px; top:56px; width:53px; height:19px; ">
  425. <caption>행삭제</caption>
  426. <script type="javascript" ev:event="DOMActivate">
  427. <![CDATA[
  428. grd_rsrvtmappprescond.addStatus(grd_rsrvtmappprescond.row,"delete");
  429. ]]>
  430. </script>
  431. </button>
  432. <button id="btn_del" class="btn4_letter2" style="left:839px; top:25px; width:56px; height:22px; ">
  433. <caption>삭제</caption>
  434. <script type="javascript" ev:event="DOMActivate">
  435. <![CDATA[
  436. ]]>
  437. </script>
  438. </button>
  439. <button id="btn_grdadd" class="btn2_letter3" style="left:299px; top:104px; width:53px; height:19px; ">
  440. <caption>행추가</caption>
  441. <script type="javascript" ev:event="DOMActivate">
  442. <![CDATA[
  443. grd_rsrvtmcreate.addItem();
  444. ]]>
  445. </script>
  446. </button>
  447. <button id="btn_grddel" class="btn2_letter3" style="left:355px; top:104px; width:53px; height:19px; ">
  448. <caption>행삭제</caption>
  449. <script type="javascript" ev:event="DOMActivate">
  450. <![CDATA[
  451. grd_rsrvtmcreate.addStatus(grd_rsrvtmcreate.row,"delete");
  452. ]]>
  453. </script>
  454. </button>
  455. <button id="btn_save" class="btn2_letter2" style="left:410px; top:104px; width:42px; height:19px; ">
  456. <caption>저장</caption>
  457. <script type="javascript" ev:event="DOMActivate">
  458. <![CDATA[
  459. //기존의 데이터 삭제
  460. model.setValue("/root/send/rsrvdd",model.getValue("/root/hidden/tminfo/gweekday"));
  461. alert(model.getValue("/root/send/rsrvdd"));
  462. submit("TXAEB00902");
  463. model.setValue("/root/send/data", grd_rsrvtmcreate.getUpdateData());
  464. submit("TXAEB00901");
  465. submit("TRAEB00901");
  466. model.refresh();
  467. ]]>
  468. </script>
  469. </button>
  470. <select1 id="cmd_excuroom" ref="/root/hidden/tminfo/examroom" class="combo_search" appearance="minimal" style="left:85px; top:25px; width:365px; height:19px; ">
  471. <choices>
  472. <item>
  473. <label>내시경실-의사명1</label>
  474. <value>내시경실-의사명1</value>
  475. </item>
  476. <item>
  477. <label>내시경실-의사명2</label>
  478. <value>내시경실-의사명2</value>
  479. </item>
  480. </choices>
  481. </select1>
  482. <datagrid id="grd_rsrvtmappprescond" nodeset="/root/main/rsrvtmappprescond/rsrvtmlist" caption="No^시간^외래^입원^건진^수탁^All^합계" colwidth="36, 71, 50, 50, 50, 50, 50, 55" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" colsep="^" style="left:457px; top:83px; width:440px; height:674px; border-color:#e6e5e5; border-style:solid; ">
  483. <col ref="rsrvno"/>
  484. <col ref="rsrvtm"/>
  485. <col ref="maxoutcnt"/>
  486. <col ref="maxincnt"/>
  487. <col ref="maxhealexamcnt"/>
  488. <col ref="maxtrustcnt"/>
  489. <col ref="maxallcnt"/>
  490. <col ref="sum"/>
  491. </datagrid>
  492. <line id="line10" class="line_1" style="x1:11px; y1:127px; x2:451px; y2:128px; "/>
  493. <datagrid id="grd_rsrvtmcreate" nodeset="/root/main/rsrvtmcreate/rsrvtmlist" caption="No^시간^외래^입원^건진^수탁^All^합계^rsrvdd^suppdept^examroom^openflag^pseudo^sortby^yeyakflag" colwidth="33, 74, 50, 50, 50, 50, 51, 54, 0, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" colsep="^" style="left:12px; top:131px; width:440px; height:624px; border-color:#e6e5e5; border-style:solid; ">
  494. <col ref="rsrvno" type="input"/>
  495. <col ref="rsrvtm" type="input"/>
  496. <col ref="maxoutcnt" type="input"/>
  497. <col ref="maxincnt" type="input"/>
  498. <col ref="maxhealexamcnt" type="input"/>
  499. <col ref="maxtrustcnt" type="input"/>
  500. <col ref="maxallcnt" type="input"/>
  501. <col ref="sum"/>
  502. <col ref="rsrvdd" type="input"/>
  503. <col ref="suppdept" type="input"/>
  504. <col ref="examroom" type="input"/>
  505. <col ref="rsrvno"/>
  506. <col ref="openflag"/>
  507. <col ref="pseudo"/>
  508. <col ref="sortby"/>
  509. <col ref="yeyakflag"/>
  510. <script type="javascript" ev:event="onendedit">
  511. <![CDATA[
  512. gridOnCellChanged();
  513. ]]>
  514. </script>
  515. </datagrid>
  516. <input id="ipt_starttm" ref="/root/hidden/tminfo/frtm" class="input_default" style="left:70px; top:55px; width:75px; height:19px; "/>
  517. <input id="ipt_endtm" ref="/root/hidden/tminfo/totm" class="input_default" style="left:252px; top:55px; width:75px; height:19px; "/>
  518. <input id="ipt_term" ref="/root/hidden/tminfo/term" class="input_default" style="left:70px; top:77px; width:75px; height:19px; "/>
  519. <input id="ipt_cnt" ref="/root/hidden/tminfo/cnt" class="input_default" style="left:252px; top:77px; width:75px; height:19px; "/>
  520. <input id="ipt_startrsrvdd" ref="/root/hidden/tminfo/frdt" class="input_default" inputtype="date" style="left:559px; top:25px; width:100px; height:19px; "/>
  521. <input id="ipt_endrsrvdd" ref="/root/hidden/tminfo/todt" class="input_default" inputtype="date" style="left:664px; top:25px; width:100px; height:19px; "/>
  522. </xhtml:body>
  523. </xhtml:html>