SPPEA00101_멀티예약.xrw 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106
  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. <rsrvposstmlist>
  11. <rsrvposstm>
  12. <rsrvtm/>
  13. <count/>
  14. <max/>
  15. </rsrvposstm>
  16. <deptmemo>
  17. <memodt/>
  18. <memorem/>
  19. </deptmemo>
  20. </rsrvposstmlist>
  21. <rsrvposstmlist1>
  22. <rsrvposstm>
  23. <rsrvtm/>
  24. <count/>
  25. <max/>
  26. </rsrvposstm>
  27. <deptmemo>
  28. <memodt/>
  29. <memorem/>
  30. </deptmemo>
  31. </rsrvposstmlist1>
  32. <rsrvposstmlist2>
  33. <rsrvposstm>
  34. <rsrvtm/>
  35. <count/>
  36. <max/>
  37. </rsrvposstm>
  38. <deptmemo>
  39. <memodt/>
  40. <memorem/>
  41. </deptmemo>
  42. </rsrvposstmlist2>
  43. <rsrvposstmlist3>
  44. <rsrvposstm>
  45. <rsrvtm/>
  46. <count/>
  47. <max/>
  48. </rsrvposstm>
  49. <deptmemo>
  50. <memodt/>
  51. <memorem/>
  52. </deptmemo>
  53. </rsrvposstmlist3>
  54. <rsrvposstmlist4>
  55. <rsrvposstm>
  56. <rsrvtm/>
  57. <count/>
  58. <max/>
  59. </rsrvposstm>
  60. <deptmemo>
  61. <memodt/>
  62. <memorem/>
  63. </deptmemo>
  64. </rsrvposstmlist4>
  65. <rsrvposstmlist5>
  66. <rsrvposstm>
  67. <rsrvtm/>
  68. <count/>
  69. <max/>
  70. </rsrvposstm>
  71. <deptmemo>
  72. <memodt/>
  73. <memorem/>
  74. </deptmemo>
  75. </rsrvposstmlist5>
  76. <subordlist>
  77. <subordlist>
  78. <basecdflagdesc/>
  79. <cnt/>
  80. <partcntstats/>
  81. <basecd/>
  82. <basecdcnts/>
  83. <baseroomopenyn/>
  84. </subordlist>
  85. </subordlist>
  86. <subpopordlist>
  87. <subordlist>
  88. <check/>
  89. <pid/>
  90. <patnm/>
  91. <prcpnm/>
  92. <acptdt/>
  93. <excuroomcd/>
  94. <execprcpuniqno/>
  95. <prcpdd/>
  96. <basesuppdeptcd/>
  97. <pacsnocretyn/>
  98. </subordlist>
  99. </subpopordlist>
  100. <popupendflag/>
  101. </main>
  102. <main2>
  103. <ddrvlist>
  104. <ddrvinfo>
  105. <rsrvdd/>
  106. <maxcnt/>
  107. <rsrvcnt/>
  108. </ddrvinfo>
  109. </ddrvlist>
  110. </main2>
  111. <send>
  112. <data>
  113. <rsrvdd/>
  114. <rsrvdate/>
  115. <suppdeptcd/>
  116. <excuroomcd/>
  117. <prcpgenrflag/>
  118. <chkflag/>
  119. <srchdd/>
  120. <genrflag/>
  121. <statflag>C</statflag>
  122. </data>
  123. <pacsnocretyn/>
  124. <suppdeptcd1/>
  125. <excuroomcd1/>
  126. <suppdeptcd2/>
  127. <excuroomcd2/>
  128. <suppdeptcd3/>
  129. <excuroomcd3/>
  130. <suppdeptcd4/>
  131. <excuroomcd4/>
  132. <suppdeptcd5/>
  133. <excuroomcd5/>
  134. <instance1/>
  135. <pid/>
  136. <hngnm/>
  137. <sex/>
  138. <age/>
  139. </send>
  140. <init>
  141. <cmb_info3>
  142. <suppdeptlist>
  143. <suppdept>
  144. <suppdeptcd/>
  145. <depthngnm/>
  146. </suppdept>
  147. </suppdeptlist>
  148. <excuroomcdlist>
  149. <excuroom>
  150. <basecd/>
  151. <basecdflagdesc/>
  152. </excuroom>
  153. </excuroomcdlist>
  154. </cmb_info3>
  155. </init>
  156. <init1>
  157. <cmb_info1>
  158. <excuroomcdlist>
  159. <excuroom>
  160. <basecd/>
  161. <basecdflagdesc/>
  162. </excuroom>
  163. </excuroomcdlist>
  164. </cmb_info1>
  165. <cmb_info2>
  166. <excuroomcdlist>
  167. <excuroom>
  168. <basecd/>
  169. <basecdflagdesc/>
  170. </excuroom>
  171. </excuroomcdlist>
  172. </cmb_info2>
  173. <cmb_info3>
  174. <excuroomcdlist>
  175. <excuroom>
  176. <basecd/>
  177. <basecdflagdesc/>
  178. </excuroom>
  179. </excuroomcdlist>
  180. </cmb_info3>
  181. <cmb_info4>
  182. <excuroomcdlist>
  183. <excuroom>
  184. <basecd/>
  185. <basecdflagdesc/>
  186. </excuroom>
  187. </excuroomcdlist>
  188. </cmb_info4>
  189. <cmb_info5>
  190. <excuroomcdlist>
  191. <excuroom>
  192. <basecd/>
  193. <basecdflagdesc/>
  194. </excuroom>
  195. </excuroomcdlist>
  196. </cmb_info5>
  197. </init1>
  198. <hidden>
  199. <prcpdd/>
  200. <execprcpuniqno/>
  201. <rownum/>
  202. <schrsrvtm/>
  203. <dutlist>
  204. <dutinfo>
  205. <basedd/>
  206. <dutflag/>
  207. </dutinfo>
  208. </dutlist>
  209. <calendar>
  210. <year/>
  211. <month/>
  212. <weeklist>
  213. <list>
  214. <sun/>
  215. <mon/>
  216. <tue/>
  217. <wed/>
  218. <thu/>
  219. <fri/>
  220. <sat/>
  221. <sun_memo/>
  222. <mon_memo/>
  223. <tue_memo/>
  224. <wed_memo/>
  225. <thu_memo/>
  226. <fri_memo/>
  227. <sat_memo/>
  228. </list>
  229. </weeklist>
  230. </calendar>
  231. <grdcellcolor>
  232. <bfrow/>
  233. <bfcol/>
  234. <bfclr/>
  235. </grdcellcolor>
  236. </hidden>
  237. <excu>
  238. <excuinfo>
  239. <prcpnm/>
  240. <examroomnm/>
  241. <excuroomcd/>
  242. <suppdeptcd/>
  243. <genrflag/>
  244. <rowcnt/>
  245. </excuinfo>
  246. </excu>
  247. </root>
  248. </instance>
  249. <submission id="TRPEA00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/hidden/dutlist/dutinfo"/>
  250. <submission id="TRPEA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/main2/ddrvlist/ddrvinfo"/>
  251. <submission id="TRAEA05301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info3/suppdeptlist"/>
  252. <submission id="TRAEA00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmb_info3/excuroomcdlist"/>
  253. <submission id="TRAEA02018" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rsrvposstmlist"/>
  254. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  255. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  256. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  257. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  258. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  259. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  260. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  261. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  262. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  263. <script type="javascript">
  264. <![CDATA[
  265. function fSetCalendar(pDate) {
  266. pDate.setDate(1);
  267. var holFlag = false; // 공휴일 조회 여부
  268. if (model.getValue("/root/send/data/srchdd").substr(0, 6) != pDate.getDateFormat("YYYYMM")) {
  269. holFlag = true;
  270. }
  271. model.setValue("/root/send/data/srchdd", pDate.getDateFormat("YYYYMMDD"));
  272. model.setValue("/root/hidden/calendar/year", pDate.getDateFormat("YYYY"));
  273. model.setValue("/root/hidden/calendar/month", pDate.getDateFormat("MM"));
  274. opt_year.refresh();
  275. opt_month.refresh();
  276. grd_calendar.rebuildStyle();
  277. var path = "/root/hidden/calendar/weeklist/list";
  278. model.resetInstanceNode(path);
  279. var row = grd_calendar.fixedRows;
  280. var col = pDate.getDay();
  281. var days = pDate.getMonthDay();
  282. for (var i = 1; i <= days; i++) {
  283. model.makeValue(path + "[" + row + "]/" + grd_calendar.colAttribute(col, "ref"), i);
  284. model.makeValue(path + "[" + row + "]/" + grd_calendar.colAttribute(col + 7, "ref"), "");
  285. col++;
  286. if (col == 7) {
  287. col = 0;
  288. row++;
  289. }
  290. }
  291. grd_calendar.refresh();
  292. //공휴일 표시
  293. fSetDutFlag(pDate.getDateFormat("YYYYMM") + "01", holFlag);
  294. //가용인원표시
  295. fGetDayRsrvList();
  296. model.setValue("/root/hidden/grdcellcolor/bfrow", "");
  297. model.setValue("/root/hidden/grdcellcolor/bfcol", "");
  298. model.setValue("/root/hidden/grdcellcolor/bfclr", "");
  299. }
  300. function fSetDutFlag(pDate, srchFlag){
  301. if (srchFlag) {
  302. submit("TRPEA00100", false);
  303. }
  304. var startDay = pDate.toDate().getDay();
  305. var cnt = instance1.selectNodes("/root/hidden/dutlist/dutinfo").length;
  306. for (var i = 1; i <= cnt; i++) {
  307. var basedd = model.getValue("/root/hidden/dutlist/dutinfo[" + i + "]/basedd");
  308. var dutflag = model.getValue("/root/hidden/dutlist/dutinfo[" + i + "]/dutflag");
  309. var col = basedd.toDate().getDay();
  310. var row = Math.ceil( ( startDay + Number(basedd.substr(6, 2)) ) / 7 );
  311. if (dutflag == "8") { // 휴일
  312. grd_calendar.cellstyle("color", row, col) = "red";
  313. } else if (dutflag == "4") { // 토요일
  314. grd_calendar.cellstyle("color", row, col) = "blue";
  315. } else { // 평일
  316. grd_calendar.cellstyle("color", row, col) = "black";
  317. }
  318. }
  319. }
  320. // 오늘 날짜 배경색 설정
  321. function fSetTodayColor() {
  322. var curDate = getCurrentDate();
  323. var calDate = model.getValue("/root/hidden/calendar/year") + model.getValue("/root/hidden/calendar/month");
  324. // 설정된 달력에 오늘 날짜가 있는 경우만 실행
  325. if (curDate.substring(0, 6) != calDate) {
  326. return;
  327. }
  328. curDate = curDate.substring(6, 8);
  329. for (i = 0; i < grd_calendar.rows; i++) {
  330. for (j = 0; j < grd_calendar.cols; j++) {
  331. if (Number(curDate) == Number(grd_calendar.valueMatrix(i, j))) {
  332. grd_calendar.cellStyle("background-color", i, j) = "#95d4fb";
  333. grd_calendar.cellStyle("background-color", i, j + 7) = "#95d4fb";
  334. break;
  335. }
  336. }
  337. }
  338. }
  339. // 지정한 날짜 배경색 설정
  340. function fSetSelColor() {
  341. var bfRow = model.getValue("/root/hidden/grdcellcolor/bfrow");
  342. var bfCol = model.getValue("/root/hidden/grdcellcolor/bfcol");
  343. var bfClr = model.getValue("/root/hidden/grdcellcolor/bfclr");
  344. if (bfRow != "") {
  345. grd_calendar.cellStyle("background-color", Number(bfRow), Number(bfCol)) = bfClr;
  346. grd_calendar.cellStyle("background-color", Number(bfRow), Number(bfCol) + 7) = bfClr;
  347. }
  348. var row = grd_calendar.row;
  349. var col = grd_calendar.col;
  350. col = col >= 7 ? col - 7 : col;
  351. var clr = grd_calendar.cellStyle("background-color", row, col);
  352. model.setValue("/root/hidden/grdcellcolor/bfrow", row);
  353. model.setValue("/root/hidden/grdcellcolor/bfcol", col);
  354. model.setValue("/root/hidden/grdcellcolor/bfclr", clr);
  355. grd_calendar.cellStyle("background-color", row, col) = "#daa7d9";
  356. grd_calendar.cellStyle("background-color", row, col + 7) = "#daa7d9";
  357. }
  358. function fGetDayRsrvList() {
  359. var startDay = ( model.getValue("/root/send/data/srchdd").substr(0, 6) + "01" ).toDate().getDay();
  360. var cnt = instance1.selectNodes("/root/hidden/dutlist/dutinfo").length;
  361. for (var i = 1; i <= cnt; i++) {
  362. var basedd = model.getValue("/root/hidden/dutlist/dutinfo[" + i + "]/basedd");
  363. var col = basedd.toDate().getDay();
  364. var row = Math.ceil( ( startDay + Number(basedd.substr(6, 2)) ) / 7 );
  365. grd_calendar.cellStyle("background-color", row, col) = "#ffffff";
  366. grd_calendar.cellStyle("background-color", row, col + 7) = "#ffffff";
  367. grd_calendar.valueMatrix(row, col + 7) = "";
  368. }
  369. model.setValue("/root/send/data/suppdeptcd", model.getValue("/root/excu/excuinfo[" + grd_excu.row + "]/suppdeptcd"));
  370. model.setValue("/root/send/data/excuroomcd", model.getValue("/root/excu/excuinfo[" + grd_excu.row + "]/excuroomcd"));
  371. model.setValue("/root/send/data/genrflag", model.getValue("/root/excu/excuinfo[" + grd_excu.row + "]/genrflag"));
  372. submit("TRPEA00102", false);
  373. var path = "/root/main2/ddrvlist/ddrvinfo";
  374. cnt = instance1.selectNodes(path).length;
  375. for (var i = 1; i <= cnt; i++) {
  376. var rsrvdd = model.getValue(path + "[" + i + "]/rsrvdd");
  377. var capacnt = model.getValue(path + "[" + i + "]/capacnt")
  378. var idlecnt = model.getValue(path + "[" + i + "]/idlecnt");
  379. var col = rsrvdd.toDate().getDay();
  380. var row = Math.ceil( ( startDay + Number(rsrvdd.substr(6, 2)) ) / 7 );
  381. grd_calendar.valueMatrix(row, col + 7) = capacnt + " (" + idlecnt + ")";
  382. // 예약 가능 일자 표시
  383. if (rsrvdd > getCurrentDate() && Number(idlecnt) > 0) {
  384. grd_calendar.cellStyle("background-color", row, col) = "#c4e693";
  385. grd_calendar.cellStyle("background-color", row, col + 7) = "#c4e693";
  386. }
  387. }
  388. // 오늘 날짜 표시
  389. fSetTodayColor();
  390. // 선택 일자 표시
  391. fSetRsrvdd(model.getValue("/root/send/data/rsrvdd"));
  392. }
  393. function fSetMonth(pMonth) {
  394. var sDate = model.getValue("/root/hidden/calendar/year") + model.getValue("/root/hidden/calendar/month") + "01";
  395. var dtDate = sDate.toDate().getAddDate(Number(pMonth) - Number(model.getValue("/root/hidden/calendar/month")), "M");
  396. fSetCalendar(dtDate);
  397. }
  398. function fSetRsrvdd(pRsrvdd) {
  399. var rsrvdd = "";
  400. if (pRsrvdd == null) {
  401. var row = grd_calendar.row;
  402. var col = grd_calendar.col >= 7 ? grd_calendar.col - 7 : grd_calendar.col;
  403. var dd = model.getValue("/root/hidden/calendar/weeklist/list[" + row + "]/" + grd_calendar.colAttribute(col, "ref"));
  404. if (dd.length < 2) {
  405. dd = "0" + dd;
  406. }
  407. rsrvdd = model.getValue("/root/hidden/calendar/year") + model.getValue("/root/hidden/calendar/month") + dd
  408. } else if (pRsrvdd.substr(0, 6) == model.getValue("/root/hidden/calendar/year") + model.getValue("/root/hidden/calendar/month")) {
  409. var dd = pRsrvdd.substr(6, 2);
  410. var flag = false;
  411. for (i = 0; i < grd_calendar.rows; i++) {
  412. for (j = 0; j < grd_calendar.cols; j++) {
  413. if (Number(dd) == Number(grd_calendar.valueMatrix(i, j))) {
  414. grd_calendar.row = i;
  415. grd_calendar.col = j;
  416. flag = true;
  417. break;
  418. }
  419. }
  420. }
  421. if (flag) {
  422. rsrvdd = pRsrvdd;
  423. }
  424. }
  425. if (rsrvdd != "") {
  426. model.setValue("/root/send/data/rsrvdd", rsrvdd);
  427. fSetSelColor();
  428. }
  429. }
  430. function fGetExcuRoomList(idx) {
  431. model.setValue("/root/send/instance1", model.getValue("/root/send/suppdeptcd" + idx));
  432. submit("TRAEA00902");
  433. model.copyNode("/root/init1/cmb_info" + idx + "/excuroomcdlist", "/root/init/cmb_info3/excuroomcdlist");
  434. document.controls("cmb_excuroom" + idx).refresh();
  435. }
  436. function fGetRmrvList(idx) {
  437. var excuroomcd = model.getValue("/root/send/excuroomcd" + idx);
  438. if (excuroomcd != "") {
  439. model.setValue("/root/excu/excuinfo[" + idx + "]/excuroomcd", excuroomcd);
  440. model.setValue("/root/excu/excuinfo[" + idx + "]/examroomnm", document.controls("cmb_excuroom" + idx).label);
  441. model.setValue("/root/send/data/suppdeptcd", model.getValue("/root/send/suppdeptcd" + idx));
  442. model.setValue("/root/send/data/excuroomcd", excuroomcd);
  443. model.setValue("/root/send/data/prcpgenrflag", "O");
  444. submit("TRAEA02018");
  445. model.copyNode("/root/main/rsrvposstmlist" + idx, "/root/main/rsrvposstmlist");
  446. document.controls("grd_rmrv" + idx).refresh();
  447. document.controls("grd_momolist" + idx).autoResize = true;
  448. grd_excu.row = idx;
  449. fGetDayRsrvList();
  450. }
  451. }
  452. function fGetAllRmrvList() {
  453. model.setValue("/root/send/data/rsrvdate", model.getValue("/root/send/data/rsrvdd"));
  454. model.setValue("/root/send/data/prcpgenrflag", "O");
  455. if (model.getValue("/root/send/excuroomcd1") != "") {
  456. model.setValue("/root/send/data/suppdeptcd", model.getValue("/root/send/suppdeptcd1"));
  457. model.setValue("/root/send/data/excuroomcd", model.getValue("/root/send/excuroomcd1"));
  458. submit("TRAEA02018");
  459. model.copyNode("/root/main/rsrvposstmlist1", "/root/main/rsrvposstmlist");
  460. }
  461. if (model.getValue("/root/send/excuroomcd2") != "") {
  462. model.setValue("/root/send/data/suppdeptcd", model.getValue("/root/send/suppdeptcd2"));
  463. model.setValue("/root/send/data/excuroomcd", model.getValue("/root/send/excuroomcd2"));
  464. submit("TRAEA02018");
  465. model.copyNode("/root/main/rsrvposstmlist2", "/root/main/rsrvposstmlist");
  466. }
  467. if (model.getValue("/root/send/excuroomcd3") != "") {
  468. model.setValue("/root/send/data/suppdeptcd", model.getValue("/root/send/suppdeptcd3"));
  469. model.setValue("/root/send/data/excuroomcd", model.getValue("/root/send/excuroomcd3"));
  470. submit("TRAEA02018");
  471. model.copyNode("/root/main/rsrvposstmlist3", "/root/main/rsrvposstmlist");
  472. }
  473. if (model.getValue("/root/send/excuroomcd4") != "") {
  474. model.setValue("/root/send/data/suppdeptcd", model.getValue("/root/send/suppdeptcd4"));
  475. model.setValue("/root/send/data/excuroomcd", model.getValue("/root/send/excuroomcd4"));
  476. submit("TRAEA02018");
  477. model.copyNode("/root/main/rsrvposstmlist4", "/root/main/rsrvposstmlist");
  478. }
  479. if (model.getValue("/root/send/excuroomcd5") != "") {
  480. model.setValue("/root/send/data/suppdeptcd", model.getValue("/root/send/suppdeptcd5"));
  481. model.setValue("/root/send/data/excuroomcd", model.getValue("/root/send/excuroomcd5"));
  482. submit("TRAEA02018");
  483. model.copyNode("/root/main/rsrvposstmlist5", "/root/main/rsrvposstmlist");
  484. }
  485. model.refresh();
  486. grd_momolist1.autoResize = true;
  487. grd_momolist2.autoResize = true;
  488. grd_momolist3.autoResize = true;
  489. grd_momolist4.autoResize = true;
  490. grd_momolist5.autoResize = true;
  491. }
  492. function fSetRsrvInfo(idx) {
  493. if (checkOpener()) {
  494. var rowcnt = model.getValue("/root/excu/excuinfo[" + idx + "]/rowcnt");
  495. var currdd = getCurrentDate().substr(0, 8);
  496. var rsrvdd = model.getValue("/root/send/data/rsrvdd");
  497. if (opener.model.getValue("/root/main/exculist/excuinfo[" + rowcnt + "]/rsrvtmcntlyn") == "Y") {
  498. messageBox("예약시간을 변경할 수 없는 검사/치료실입니다.", "E999", "");
  499. return;
  500. }
  501. if (currdd > rsrvdd) {
  502. messageBox("예약일자가 과거일자", "E008");
  503. return;
  504. }
  505. var row = document.controls("grd_rmrv" + idx).row;
  506. var path = "/root/main/rsrvposstmlist" + idx + "/rsrvposstm[" + row + "]/";
  507. var rsrvtm = model.getValue(path + "rsrvtm");
  508. if (currdd == rsrvdd && rsrvtm < getCurrentTime().substr(0, 4)) {
  509. messageBox("예약시간이 과거시간", "E008");
  510. return;
  511. }
  512. if (model.getValue(path + "count") >= model.getValue(path + "max") && messageBox("가용인원을 초과하였습니다.", "Q003") != 6) {
  513. return;
  514. }
  515. opener.model.setValue("/root/main/exculist/excuinfo[" + rowcnt + "]/rsrvdt", rsrvdd + rsrvtm);
  516. opener.model.setValue("/root/main/exculist/excuinfo[" + rowcnt + "]/srchrsrvtm", rsrvdd + rsrvtm);
  517. var grd = opener.document.controls("grd_excu");
  518. if (opener.model.getValue("/root/main/exculist/excuinfo[" + rowcnt + "]/bf_srchrsrvtm") != rsrvdd + rsrvtm) {
  519. grd.cellStyle("color", rowcnt, grd.colRef("srchrsrvtm")) = "#0000ff";
  520. } else {
  521. grd.cellStyle("color", rowcnt, grd.colRef("srchrsrvtm")) = "#ff0000";
  522. }
  523. opener.model.setValue("/root/main/exculist/excuinfo[" + rowcnt + "]/excuroomcd", model.getValue("/root/send/excuroomcd" + idx));
  524. var excuroomnm = document.controls("cmb_excuroom" + idx).label;
  525. model.setValue("/root/excu/excuinfo[" + idx + "]/examroomnm", excuroomnm);
  526. opener.model.setValue("/root/main/exculist/excuinfo[" + rowcnt + "]/examroomnm", excuroomnm);
  527. if (opener.model.getValue("/root/main/exculist/excuinfo[" + rowcnt + "]/bf_excuroomcd") != model.getValue("/root/send/excuroomcd" + idx)) {
  528. grd.cellStyle("color", rowcnt, grd.colRef("examroomnm")) = "#0000ff";
  529. } else {
  530. grd.cellStyle("color", rowcnt, grd.colRef("examroomnm")) = "#000000";
  531. }
  532. grd.refresh();
  533. opener.javascript.fCheckRstrDay(rsrvdd);
  534. }
  535. }
  536. ]]>
  537. </script>
  538. <script type="javascript" ev:event="xforms-ready">
  539. <![CDATA[
  540. submit("TRAEA05301"); //지원부서
  541. model.setValue("/root/send/pid", opener.model.getValue("/root/send/data/pid"));
  542. model.setValue("/root/send/hngnm", opener.model.getValue("/root/main/ptinfo/hngnm"));
  543. model.setValue("/root/send/sex", opener.model.getValue("/root/main/ptinfo/sex"));
  544. model.setValue("/root/send/age", opener.model.getValue("/root/main/ptinfo/age"));
  545. ipt_pid.refresh();
  546. opt_hngnm.refresh();
  547. opt_sex.refresh();
  548. opt_age.refresh();
  549. var cnt = instance1.selectNodes("/root/excu/excuinfo").length;
  550. for (var i = 1; i <= cnt; i++) {
  551. model.setValue("/root/send/suppdeptcd" + i, model.getValue("/root/excu/excuinfo[" + i + "]/suppdeptcd"));
  552. model.setValue("/root/send/excuroomcd" + i, model.getValue("/root/excu/excuinfo[" + i + "]/excuroomcd"));
  553. fGetExcuRoomList(i);
  554. document.controls("cmb_suppdept" + i).visible = true;
  555. document.controls("cmb_excuroom" + i).visible = true;
  556. document.controls("grd_rmrv" + i).visible = true;
  557. document.controls("grd_momolist" + i).visible = true;
  558. document.controls("cap_momo" + i).visible = true;
  559. document.controls("line_momo" + i).visible = true;
  560. }
  561. fSetCalendar(getCurrentDate().toDate());
  562. model.setValue("/root/send/data/rsrvdd", getCurrentDate());
  563. grd_excu.row = 1;
  564. fGetDayRsrvList();
  565. fGetAllRmrvList();
  566. model.setValue("/root/send/data/chkflag", "T");
  567. ]]>
  568. </script>
  569. </model>
  570. </xhtml:head>
  571. <xhtml:body pagewidth="1150" pageheight="707" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  572. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:1130px; height:13px; ">예약일자내용</caption>
  573. <group id="group2" scroll="auto" style="left:5px; top:203px; width:394px; height:55px; ">
  574. <shape id="rectangle2" class="calendar_header" appearance="rectangle" style="left:0px; top:3px; width:390px; height:52px; "/>
  575. <button id="button7" class="icon_month" style="left:20px; top:25px; width:27px; height:27px; ">
  576. <caption>1</caption>
  577. <script type="javascript" ev:event="DOMActivate">
  578. <![CDATA[
  579. if (model.getValue("/root/hidden/calendar/month") !== "01") {
  580. fSetMonth("01");
  581. }
  582. ]]>
  583. </script>
  584. </button>
  585. <button id="button8" class="icon_month" style="left:50px; top:25px; width:27px; height:27px; ">
  586. <caption>2</caption>
  587. <script type="javascript" ev:event="DOMActivate">
  588. <![CDATA[
  589. if (model.getValue("/root/hidden/calendar/month") !== "02") {
  590. fSetMonth("02");
  591. }
  592. ]]>
  593. </script>
  594. </button>
  595. <button id="button9" class="icon_month" style="left:80px; top:25px; width:27px; height:27px; ">
  596. <caption>3</caption>
  597. <script type="javascript" ev:event="DOMActivate">
  598. <![CDATA[
  599. if (model.getValue("/root/hidden/calendar/month") !== "03") {
  600. fSetMonth("03");
  601. }
  602. ]]>
  603. </script>
  604. </button>
  605. <button id="button10" class="icon_month" style="left:110px; top:25px; width:27px; height:27px; ">
  606. <caption>4</caption>
  607. <script type="javascript" ev:event="DOMActivate">
  608. <![CDATA[
  609. if (model.getValue("/root/hidden/calendar/month") !== "04") {
  610. fSetMonth("04");
  611. }
  612. ]]>
  613. </script>
  614. </button>
  615. <button id="button11" class="icon_month" style="left:140px; top:25px; width:27px; height:27px; ">
  616. <caption>5</caption>
  617. <script type="javascript" ev:event="DOMActivate">
  618. <![CDATA[
  619. if (model.getValue("/root/hidden/calendar/month") !== "05") {
  620. fSetMonth("05");
  621. }
  622. ]]>
  623. </script>
  624. </button>
  625. <button id="button12" class="icon_month" style="left:170px; top:25px; width:27px; height:27px; ">
  626. <caption>6</caption>
  627. <script type="javascript" ev:event="DOMActivate">
  628. <![CDATA[
  629. if (model.getValue("/root/hidden/calendar/month") !== "06") {
  630. fSetMonth("06");
  631. }
  632. ]]>
  633. </script>
  634. </button>
  635. <button id="button13" class="icon_month" style="left:200px; top:25px; width:27px; height:27px; ">
  636. <caption>7</caption>
  637. <script type="javascript" ev:event="DOMActivate">
  638. <![CDATA[
  639. if (model.getValue("/root/hidden/calendar/month") !== "07") {
  640. fSetMonth("07");
  641. }
  642. ]]>
  643. </script>
  644. </button>
  645. <button id="button14" class="icon_month" style="left:230px; top:25px; width:27px; height:27px; ">
  646. <caption>8</caption>
  647. <script type="javascript" ev:event="DOMActivate">
  648. <![CDATA[
  649. if (model.getValue("/root/hidden/calendar/month") !== "08") {
  650. fSetMonth("08");
  651. }
  652. ]]>
  653. </script>
  654. </button>
  655. <button id="button18" class="icon_month" style="left:260px; top:25px; width:27px; height:27px; ">
  656. <caption>9</caption>
  657. <script type="javascript" ev:event="DOMActivate">
  658. <![CDATA[
  659. if (model.getValue("/root/hidden/calendar/month") !== "09") {
  660. fSetMonth("09");
  661. }
  662. ]]>
  663. </script>
  664. </button>
  665. <button id="button19" class="icon_month" style="left:290px; top:25px; width:27px; height:27px; ">
  666. <caption>10</caption>
  667. <script type="javascript" ev:event="DOMActivate">
  668. <![CDATA[
  669. if (model.getValue("/root/hidden/calendar/month") !== "10") {
  670. fSetMonth("10");
  671. }
  672. ]]>
  673. </script>
  674. </button>
  675. <button id="button20" class="icon_month" style="left:320px; top:25px; width:27px; height:27px; ">
  676. <caption>11</caption>
  677. <script type="javascript" ev:event="DOMActivate">
  678. <![CDATA[
  679. if (model.getValue("/root/hidden/calendar/month") !== "11") {
  680. fSetMonth("11");
  681. }
  682. ]]>
  683. </script>
  684. </button>
  685. <button id="button21" class="icon_month" style="left:350px; top:25px; width:27px; height:27px; ">
  686. <caption>12</caption>
  687. <script type="javascript" ev:event="DOMActivate">
  688. <![CDATA[
  689. if (model.getValue("/root/hidden/calendar/month") !== "12") {
  690. fSetMonth("12");
  691. }
  692. ]]>
  693. </script>
  694. </button>
  695. <output id="opt_month" ref="/root/hidden/calendar/month" class="calendar_output" style="left:200px; top:2px; width:20px; height:19px; "/>
  696. <caption id="caption24" class="calendar_output" style="left:178px; top:2px; width:20px; height:19px; ">년</caption>
  697. <caption id="caption25" class="calendar_output" style="left:220px; top:2px; width:20px; height:19px; ">월</caption>
  698. <button id="button31" class="icon_next_year" style="left:255px; top:5px; width:16px; height:16px; background-image:../../../com/commonweb/images/cal_next_y.gif; ">
  699. <caption/>
  700. <script type="javascript" ev:event="DOMActivate">
  701. <![CDATA[
  702. var date = model.getValue("/root/hidden/calendar/year") + model.getValue("/root/hidden/calendar/month") + "01";
  703. var dDate = date.toDate().getAddDate(1, "Y");
  704. fSetCalendar(dDate);
  705. ]]>
  706. </script>
  707. </button>
  708. <output id="opt_year" ref="/root/hidden/calendar/year" class="calendar_output" style="left:148px; top:2px; width:30px; height:19px; "/>
  709. <button id="button36" class="icon_pre_year" style="left:113px; top:5px; width:16px; height:16px; background-image:../../../com/commonweb/images/cal_pre_y.gif; ">
  710. <caption/>
  711. <script type="javascript" ev:event="DOMActivate">
  712. <![CDATA[
  713. var date = model.getValue("/root/hidden/calendar/year") + model.getValue("/root/hidden/calendar/month") + "01";
  714. var dDate = date.toDate().getAddDate(-1, "Y");
  715. fSetCalendar(dDate);
  716. ]]>
  717. </script>
  718. </button>
  719. </group>
  720. <multilinegrid id="grd_calendar" nodeset="/root/hidden/calendar/weeklist/list" class="gridcalendar" autoresize="true" caption="일^월^화^수^목^금^토" colsep="^" colwidth="56, 55, 55, 55, 55, 56, 56" dataheight="20" extendlastcol="noscroll" focuscolor="transparent" rowsep="|" mergecellsfixedrows="bycolrec" style="left:5px; top:260px; width:390px; height:297px; ">
  721. <row>
  722. <col class="color_sun" ref="sun" style="border-bottom-width:0px; "/>
  723. <col ref="mon" style="border-bottom-width:0px; "/>
  724. <col ref="tue" style="border-bottom-width:0px; "/>
  725. <col ref="wed" style="border-bottom-width:0px; "/>
  726. <col ref="thu" style="border-bottom-width:0px; "/>
  727. <col ref="fri" style="border-bottom-width:0px; "/>
  728. <col class="color_sat" ref="sat" style="border-bottom-width:0px; "/>
  729. </row>
  730. <row>
  731. <col ref="sun_memo" style="border-top-width:0px; "/>
  732. <col ref="mon_memo" style="border-top-width:0px; "/>
  733. <col ref="tue_memo" style="border-top-width:0px; "/>
  734. <col ref="wed_memo" style="border-top-width:0px; "/>
  735. <col ref="thu_memo" style="border-top-width:0px; "/>
  736. <col ref="fri_memo" style="border-top-width:0px; "/>
  737. <col ref="sat_memo" style="border-top-width:0px; "/>
  738. </row>
  739. <script type="javascript" ev:event="onclick">
  740. <![CDATA[
  741. if (grd_calendar.row != 0) {
  742. fSetRsrvdd();
  743. fGetAllRmrvList();
  744. }
  745. ]]>
  746. </script>
  747. </multilinegrid>
  748. <select1 id="cmb_suppdept1" ref="/root/send/suppdeptcd1" class="combo_search" disabled="true" visibility="hidden" appearance="minimal" style="left:400px; top:30px; width:144px; height:19px; ">
  749. <choices>
  750. <itemset nodeset="/root/init/cmb_info3/suppdeptlist/suppdept">
  751. <label ref="suppdeptnm"/>
  752. <value ref="suppdeptcd"/>
  753. </itemset>
  754. </choices>
  755. <script type="javascript" ev:event="xforms-value-changed">
  756. <![CDATA[
  757. fGetExcuRoomList("1");
  758. ]]>
  759. </script>
  760. </select1>
  761. <select1 id="cmb_excuroom1" ref="/root/send/excuroomcd1" class="combo_search" visibility="hidden" appearance="minimal" style="left:400px; top:53px; width:144px; height:19px; ">
  762. <choices>
  763. <itemset nodeset="/root/init1/cmb_info1/excuroomcdlist/excuroom">
  764. <label ref="basecdflagdesc"/>
  765. <value ref="basecd"/>
  766. </itemset>
  767. </choices>
  768. <script type="javascript" ev:event="xforms-value-changed">
  769. <![CDATA[
  770. fGetRmrvList("1");
  771. ]]>
  772. </script>
  773. </select1>
  774. <datagrid id="grd_rmrv1" nodeset="/root/main/rsrvposstmlist1/rsrvposstm" visibility="hidden" backcoloralternate="transparent" caption="시간^현황^가용" colsep="^" colwidth="41, 33, 32" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:400px; top:75px; width:144px; height:482px; ">
  775. <col ref="rsrvtm" format="hh:nn" style="text-align:center; "/>
  776. <col ref="count" style="text-align:center; "/>
  777. <col ref="max" style="text-align:center; "/>
  778. <script type="javascript" ev:event="ondblclick">
  779. <![CDATA[
  780. fSetRsrvInfo("1");
  781. ]]>
  782. </script>
  783. </datagrid>
  784. <datagrid id="grd_rmrv2" nodeset="/root/main/rsrvposstmlist2/rsrvposstm" visibility="hidden" backcoloralternate="transparent" caption="시간^현황^가용" colsep="^" colwidth="41, 33, 32" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:547px; top:75px; width:144px; height:482px; ">
  785. <col ref="rsrvtm" format="hh:nn" style="text-align:center; "/>
  786. <col ref="count" style="text-align:center; "/>
  787. <col ref="max" style="text-align:center; "/>
  788. <script type="javascript" ev:event="ondblclick">
  789. <![CDATA[
  790. fSetRsrvInfo("2");
  791. ]]>
  792. </script>
  793. </datagrid>
  794. <select1 id="cmb_suppdept2" ref="/root/send/suppdeptcd2" class="combo_search" disabled="true" visibility="hidden" appearance="minimal" style="left:547px; top:30px; width:144px; height:19px; ">
  795. <choices>
  796. <itemset nodeset="/root/init/cmb_info3/suppdeptlist/suppdept">
  797. <label ref="suppdeptnm"/>
  798. <value ref="suppdeptcd"/>
  799. </itemset>
  800. </choices>
  801. <script type="javascript" ev:event="xforms-value-changed">
  802. <![CDATA[
  803. fGetExcuRoomList("2");
  804. ]]>
  805. </script>
  806. </select1>
  807. <select1 id="cmb_excuroom2" ref="/root/send/excuroomcd2" class="combo_search" visibility="hidden" appearance="minimal" style="left:547px; top:53px; width:144px; height:19px; ">
  808. <choices>
  809. <itemset nodeset="/root/init1/cmb_info2/excuroomcdlist/excuroom">
  810. <label ref="basecdflagdesc"/>
  811. <value ref="basecd"/>
  812. </itemset>
  813. </choices>
  814. <script type="javascript" ev:event="xforms-value-changed">
  815. <![CDATA[
  816. fGetRmrvList("2");
  817. ]]>
  818. </script>
  819. </select1>
  820. <select1 id="cmb_suppdept3" ref="/root/send/suppdeptcd3" class="combo_search" disabled="true" visibility="hidden" appearance="minimal" style="left:694px; top:30px; width:144px; height:19px; ">
  821. <choices>
  822. <itemset nodeset="/root/init/cmb_info3/suppdeptlist/suppdept">
  823. <label ref="suppdeptnm"/>
  824. <value ref="suppdeptcd"/>
  825. </itemset>
  826. </choices>
  827. <script type="javascript" ev:event="xforms-value-changed">
  828. <![CDATA[
  829. fGetExcuRoomList("3");
  830. ]]>
  831. </script>
  832. </select1>
  833. <select1 id="cmb_excuroom3" ref="/root/send/excuroomcd3" class="combo_search" visibility="hidden" appearance="minimal" style="left:694px; top:53px; width:144px; height:19px; ">
  834. <choices>
  835. <itemset nodeset="/root/init1/cmb_info3/excuroomcdlist/excuroom">
  836. <label ref="basecdflagdesc"/>
  837. <value ref="basecd"/>
  838. </itemset>
  839. </choices>
  840. <script type="javascript" ev:event="xforms-value-changed">
  841. <![CDATA[
  842. fGetRmrvList("3");
  843. ]]>
  844. </script>
  845. </select1>
  846. <datagrid id="grd_rmrv3" nodeset="/root/main/rsrvposstmlist3/rsrvposstm" visibility="hidden" backcoloralternate="transparent" caption="시간^현황^가용" colsep="^" colwidth="41, 33, 32" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:694px; top:75px; width:144px; height:482px; ">
  847. <col ref="rsrvtm" format="hh:nn" style="text-align:center; "/>
  848. <col ref="count" style="text-align:center; "/>
  849. <col ref="max" style="text-align:center; "/>
  850. <script type="javascript" ev:event="ondblclick">
  851. <![CDATA[
  852. fSetRsrvInfo("3");
  853. ]]>
  854. </script>
  855. </datagrid>
  856. <datagrid id="grd_rmrv4" nodeset="/root/main/rsrvposstmlist4/rsrvposstm" visibility="hidden" backcoloralternate="transparent" caption="시간^현황^가용" colsep="^" colwidth="41, 33, 32" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:841px; top:75px; width:144px; height:482px; ">
  857. <col ref="rsrvtm" format="hh:nn" style="text-align:center; "/>
  858. <col ref="count" style="text-align:center; "/>
  859. <col ref="max" style="text-align:center; "/>
  860. <script type="javascript" ev:event="ondblclick">
  861. <![CDATA[
  862. fSetRsrvInfo("4");
  863. ]]>
  864. </script>
  865. </datagrid>
  866. <select1 id="cmb_suppdept4" ref="/root/send/suppdeptcd4" class="combo_search" disabled="true" visibility="hidden" appearance="minimal" style="left:841px; top:30px; width:144px; height:19px; ">
  867. <choices>
  868. <itemset nodeset="/root/init/cmb_info3/suppdeptlist/suppdept">
  869. <label ref="suppdeptnm"/>
  870. <value ref="suppdeptcd"/>
  871. </itemset>
  872. </choices>
  873. <script type="javascript" ev:event="xforms-value-changed">
  874. <![CDATA[
  875. fGetExcuRoomList("4");
  876. ]]>
  877. </script>
  878. </select1>
  879. <select1 id="cmb_excuroom4" ref="/root/send/excuroomcd4" class="combo_search" visibility="hidden" appearance="minimal" style="left:841px; top:53px; width:144px; height:19px; ">
  880. <choices>
  881. <itemset nodeset="/root/init1/cmb_info4/excuroomcdlist/excuroom">
  882. <label ref="basecdflagdesc"/>
  883. <value ref="basecd"/>
  884. </itemset>
  885. </choices>
  886. <script type="javascript" ev:event="xforms-value-changed">
  887. <![CDATA[
  888. fGetRmrvList("4");
  889. ]]>
  890. </script>
  891. </select1>
  892. <datagrid id="grd_rmrv5" nodeset="/root/main/rsrvposstmlist5/rsrvposstm" visibility="hidden" backcoloralternate="transparent" caption="시간^현황^가용" colsep="^" colwidth="41, 33, 32" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:988px; top:75px; width:144px; height:482px; ">
  893. <col ref="rsrvtm" format="hh:nn" style="text-align:center; "/>
  894. <col ref="count" style="text-align:center; "/>
  895. <col ref="max" style="text-align:center; "/>
  896. <script type="javascript" ev:event="ondblclick">
  897. <![CDATA[
  898. fSetRsrvInfo("5");
  899. ]]>
  900. </script>
  901. </datagrid>
  902. <select1 id="cmb_suppdept5" ref="/root/send/suppdeptcd5" class="combo_search" disabled="true" visibility="hidden" appearance="minimal" style="left:988px; top:30px; width:144px; height:19px; ">
  903. <choices>
  904. <itemset nodeset="/root/init/cmb_info3/suppdeptlist/suppdept">
  905. <label ref="suppdeptnm"/>
  906. <value ref="suppdeptcd"/>
  907. </itemset>
  908. </choices>
  909. <script type="javascript" ev:event="xforms-value-changed">
  910. <![CDATA[
  911. fGetExcuRoomList("5");
  912. ]]>
  913. </script>
  914. </select1>
  915. <select1 id="cmb_excuroom5" ref="/root/send/excuroomcd5" class="combo_search" visibility="hidden" appearance="minimal" style="left:988px; top:53px; width:144px; height:19px; ">
  916. <choices>
  917. <itemset nodeset="/root/init1/cmb_info5/excuroomcdlist/excuroom">
  918. <label ref="basecdflagdesc"/>
  919. <value ref="basecd"/>
  920. </itemset>
  921. </choices>
  922. <script type="javascript" ev:event="xforms-value-changed">
  923. <![CDATA[
  924. fGetRmrvList("5");
  925. ]]>
  926. </script>
  927. </select1>
  928. <input id="ipt_pid" ref="/root/send/pid" class="input_search" navindex="1" editable="false" style="left:5px; top:23px; width:92px; height:19px; ">
  929. <script type="javascript" ev:event="onkeyup">
  930. <![CDATA[
  931. if (event.keyCode == "13") {
  932. inputEnterKey("btn_sea", "DOMActivate");
  933. }
  934. ]]>
  935. </script>
  936. </input>
  937. <output id="opt_sex" ref="/root/send/age" class="output_fix" disabled="true" style="left:228px; top:23px; width:30px; height:19px; text-align:center; "/>
  938. <output id="opt_hngnm" ref="/root/send/hngnm" class="output_fix" disabled="true" style="left:100px; top:23px; width:88px; height:19px; "/>
  939. <output id="opt_age" ref="/root/send/sex" class="output_fix" disabled="true" style="left:194px; top:23px; width:30px; height:19px; text-align:center; "/>
  940. <output id="opt_rsrvdd" ref="/root/send/data/rsrvdd" format="yyyy-mm-dd" style="left:270px; top:23px; width:110px; height:19px; font-weight:bold; text-align:center; "/>
  941. <caption id="cap_momo1" class="tit_2" visibility="hidden" style="left:400px; top:566px; width:144px; height:13px; ">수행부서 Comment</caption>
  942. <datagrid id="grd_momolist1" nodeset="/root/main/rsrvposstmlist1/deptmemo" class="datagrid0" visibility="hidden" autoresize="true" caption="일자^메모내용" colsep="^" colwidth="0, 142" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:400px; top:585px; width:144px; height:95px; ">
  943. <col ref="memodt"/>
  944. <col disabled="true" ref="memorem" type="input" style="left:0px; top:0px; width:54px; height:23px; "/>
  945. </datagrid>
  946. <line id="line_momo1" class="line_1" visibility="hidden" style="x1:400px; y1:580px; x2:544px; y2:580px; "/>
  947. <caption id="cap_momo2" class="tit_2" visibility="hidden" style="left:547px; top:566px; width:144px; height:13px; ">수행부서 Comment</caption>
  948. <datagrid id="grd_momolist2" nodeset="/root/main/rsrvposstmlist2/deptmemo" class="datagrid0" visibility="hidden" autoresize="true" caption="일자^메모내용" colsep="^" colwidth="0, 142" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:547px; top:585px; width:144px; height:95px; ">
  949. <col ref="memodt"/>
  950. <col disabled="true" ref="memorem" type="input" style="left:0px; top:0px; width:54px; height:23px; "/>
  951. </datagrid>
  952. <line id="line_momo2" class="line_1" visibility="hidden" style="x1:547px; y1:580px; x2:691px; y2:580px; "/>
  953. <datagrid id="grd_momolist3" nodeset="/root/main/rsrvposstmlist3/deptmemo" class="datagrid0" visibility="hidden" autoresize="true" caption="일자^메모내용" colsep="^" colwidth="0, 142" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:694px; top:585px; width:144px; height:95px; ">
  954. <col ref="memodt"/>
  955. <col disabled="true" ref="memorem" type="input" style="left:0px; top:0px; width:54px; height:23px; "/>
  956. </datagrid>
  957. <caption id="cap_momo3" class="tit_2" visibility="hidden" style="left:694px; top:566px; width:144px; height:13px; ">수행부서 Comment</caption>
  958. <line id="line_momo3" class="line_1" visibility="hidden" style="x1:694px; y1:580px; x2:838px; y2:580px; "/>
  959. <datagrid id="grd_momolist4" nodeset="/root/main/rsrvposstmlist4/deptmemo" class="datagrid0" visibility="hidden" autoresize="true" caption="일자^메모내용" colsep="^" colwidth="0, 142" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:841px; top:585px; width:144px; height:95px; ">
  960. <col ref="memodt"/>
  961. <col disabled="true" ref="memorem" type="input" style="left:0px; top:0px; width:54px; height:23px; "/>
  962. </datagrid>
  963. <caption id="cap_momo4" class="tit_2" visibility="hidden" style="left:841px; top:566px; width:144px; height:13px; ">수행부서 Comment</caption>
  964. <line id="line_momo4" class="line_1" visibility="hidden" style="x1:841px; y1:580px; x2:985px; y2:580px; "/>
  965. <datagrid id="grd_momolist5" nodeset="/root/main/rsrvposstmlist5/deptmemo" class="datagrid0" visibility="hidden" autoresize="true" caption="일자^메모내용" colsep="^" colwidth="0, 142" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:988px; top:585px; width:144px; height:95px; ">
  966. <col ref="memodt"/>
  967. <col disabled="true" ref="memorem" type="input" style="left:0px; top:0px; width:54px; height:23px; "/>
  968. </datagrid>
  969. <caption id="cap_momo5" class="tit_2" visibility="hidden" style="left:988px; top:566px; width:144px; height:13px; ">수행부서 Comment</caption>
  970. <line id="line_momo5" class="line_1" visibility="hidden" style="x1:988px; y1:580px; x2:1132px; y2:580px; "/>
  971. <datagrid id="grd_excu" nodeset="/root/excu/excuinfo" backcoloralternate="transparent" caption="검사명^검사실" colsep="^" colwidth="260, 120" ellipsis="true" extendlastcol="noscroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:5px; top:45px; width:393px; height:155px; ">
  972. <col ref="prcpnm"/>
  973. <col ref="examroomnm" style="text-align:center; "/>
  974. <script type="javascript" ev:event="onclick">
  975. <![CDATA[
  976. if (isDataCell()) {
  977. fGetDayRsrvList();
  978. }
  979. ]]>
  980. </script>
  981. </datagrid>
  982. </xhtml:body>
  983. </xhtml:html>