SMAEA07000_영상의학장비일지.xrw 46 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052
  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. <list>
  11. <item>
  12. <systkey1/>
  13. <systkey2/>
  14. <item01/>
  15. <item02/>
  16. <item03/>
  17. <item04/>
  18. <item05/>
  19. <item06/>
  20. <item07/>
  21. <item08/>
  22. <item09/>
  23. <item10/>
  24. <item11/>
  25. <item12/>
  26. <item13/>
  27. <item14/>
  28. <item15/>
  29. <item16/>
  30. <item17/>
  31. <item18/>
  32. <item19/>
  33. <item20/>
  34. <item21/>
  35. <item22/>
  36. <item23/>
  37. <item24/>
  38. <item25/>
  39. <item26/>
  40. <item27/>
  41. <item28/>
  42. <item29/>
  43. <item30/>
  44. <item31/>
  45. </item>
  46. <recridlist>
  47. <item/>
  48. </recridlist>
  49. </list>
  50. </main>
  51. <send>
  52. <globalinstance>
  53. <instance1/>
  54. </globalinstance>
  55. <execfromdd/>
  56. <exectodd/>
  57. <data>
  58. <srchdate/>
  59. <srchexcuroomgrp/>
  60. <srchexecroom/>
  61. <suppdeptcd/>
  62. <excuroomgrpcdid/>
  63. <etcexecroom1/>
  64. <etcexecroom2/>
  65. <fexecroom/>
  66. </data>
  67. <equiremark/>
  68. <txtea_output/>
  69. <recrid_i/>
  70. <recrid_o/>
  71. <data1/>
  72. <req>
  73. <srchrepodd/>
  74. <srchsuppdeptcd/>
  75. <srchgrpxrm/>
  76. <srchexrm/>
  77. <srchrecdate/>
  78. </req>
  79. <srrecrid/>
  80. </send>
  81. <init>
  82. <cmb_info>
  83. <initexcuroomgrp2>
  84. <excuroomgrpcdid/>
  85. <excuroomgrpcdnm/>
  86. </initexcuroomgrp2>
  87. <initexcuroomgrp>
  88. <excuroomgrpcdid/>
  89. <excuroomgrpcdnm/>
  90. </initexcuroomgrp>
  91. <initexecrid1>
  92. <execrid1cdnm/>
  93. <execrid1cdid/>
  94. </initexecrid1>
  95. </cmb_info>
  96. <calenlist>
  97. <calendinfo>
  98. <basedd/>
  99. <dutflag/>
  100. </calendinfo>
  101. </calenlist>
  102. </init>
  103. <hidden>
  104. <comcd/>
  105. <count/>
  106. </hidden>
  107. <rexprnt>
  108. <srchdate/>
  109. <excuroomgrp/>
  110. <execroom/>
  111. <re/>
  112. </rexprnt>
  113. </root>
  114. </instance>
  115. <script type="javascript" ev:event="xforms-ready">
  116. <![CDATA[
  117. var rowidx = 0;
  118. var colidx = 0;
  119. var caption = "";
  120. var recridnm = "";
  121. aezfSetSuppDeptcd();
  122. model.setValue("/root/send/data/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  123. //기준년월
  124. model.setValue("/root/send/data/srchdate", getCurrentDate().substr(0,6));
  125. model.setValue("/root/send/req/srchrecdate", getCurrentDate());
  126. model.setValue("/root/send/srrecrid", getUserId() );
  127. // 구분 정보
  128. submit("TRAEA01301");
  129. // 검사실 Combo박스 전체추가
  130. if(submit("TRAEA01306")){
  131. model.removeNodeset("/root/init/cmb_info/initexecroom");
  132. var cnt = getNodesetCount("/root/init/cmb_info2/initexecroom");
  133. for(var i = 1 ; i<= cnt ; i++ ){
  134. model.makeNode("/root/init/cmb_info/initexecroom["+ i +"]");
  135. model.makeValue("/root/init/cmb_info/initexecroom["+ i +"]/excuroomcdid", model.getValue("/root/init/cmb_info2/initexecroom["+ i +"]/excuroomcdid"));
  136. model.makeValue("/root/init/cmb_info/initexecroom["+ i +"]/excuroomcdnm", model.getValue("/root/init/cmb_info2/initexecroom["+ i +"]/excuroomcdnm"));
  137. }
  138. }
  139. //화면에 마지막으로 저장된 구분값 넘겨주기.
  140. var excuroomgrp = model.property("excuroomgrp");
  141. if (excuroomgrp != "") {
  142. model.setValue("/root/send/data/srchexcuroomgrp" , excuroomgrp );
  143. }else{
  144. cmb_excuroomgrp.select(0);
  145. }
  146. var excuroom = model.property("excuroom");
  147. if (excuroom != "") {
  148. model.setValue("/root/send/data/srchexecroom" , excuroom);
  149. }else{
  150. cmb_exroom.select(0);
  151. }
  152. // cmb_execrid1.select(0);
  153. setTitle();
  154. model.refresh();
  155. ]]>
  156. </script>
  157. <submission id="TRAEA07001" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send/data" replace="instance" resultref="root/main/list"/>
  158. <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info"/>
  159. <submission id="TRAES01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_lrgcd"/>
  160. <submission id="TRAEA01306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info2"/>
  161. <submission id="TXAEA07001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/count"/>
  162. <submission id="TRAEA02012" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/calenlist"/>
  163. </model>
  164. <script type="javascript">
  165. <![CDATA[
  166. /* @group : 장비일지 2011.04.26
  167. * @ver :
  168. * @by :
  169. * @-----------------------------------
  170. * @type : function
  171. * @access : public
  172. * @desc : 장비일지 그리드 header를 정의하는 함수
  173. */
  174. function setTitle() {
  175. model.removenode("/root/main/list");
  176. var baseDate = model.getValue("/root/send/data/srchdate") + "01";
  177. var sDayCnt = baseDate.toDate().getMonthDay();
  178. var stHeader = "";
  179. var stDay = "";
  180. stHeader = "검사실^구분코드^구분^";
  181. // grd_daylist.colHidden(grd_daylist.colRef("systkey1")) = true;
  182. // grd_daylist.colWidth(1) = 100;
  183. // grd_daylist.colWidth(2) = 240;
  184. stDay = "1일^1일^2일^2일^3일^3일^4일^4일^5일^5일^6일^6일^7일^7일^8일^8일^9일^9일^10일^10일^11일^11일^12일^12일^13일^13일^14일^14일^15일^15일^16일^16일^17일^17일^18일^18일^19일^19일^20일^20일^21일^21일^22일^22일^23일^23일^24일^24일^25일^25일^26일^26일^27일^27일^28일^28일^29일^29일^30일^30일^31일^31일";
  185. // 일별
  186. stDay = stHeader + stDay;
  187. grd_daylist.caption = stDay;
  188. if(sDayCnt > 30) {
  189. grd_daylist.colHidden(grd_daylist.colRef("item29")) = false;
  190. grd_daylist.colHidden(grd_daylist.colRef("item30")) = false;
  191. grd_daylist.colHidden(grd_daylist.colRef("item31")) = false;
  192. grd_daylist.colHidden(grd_daylist.colRef("remark29")) = false;
  193. grd_daylist.colHidden(grd_daylist.colRef("remark30")) = false;
  194. grd_daylist.colHidden(grd_daylist.colRef("remark31")) = false;
  195. }else if(sDayCnt == 28) {
  196. grd_daylist.colHidden(grd_daylist.colRef("item29")) = true;
  197. grd_daylist.colHidden(grd_daylist.colRef("item30")) = true;
  198. grd_daylist.colHidden(grd_daylist.colRef("item31")) = true;
  199. grd_daylist.colHidden(grd_daylist.colRef("remark29")) = true;
  200. grd_daylist.colHidden(grd_daylist.colRef("remark30")) = true;
  201. grd_daylist.colHidden(grd_daylist.colRef("remark31")) = true;
  202. }else if(sDayCnt == 29) { //20160323 kya 윤달포함
  203. grd_daylist.colHidden(grd_daylist.colRef("item29")) = false;
  204. grd_daylist.colHidden(grd_daylist.colRef("item30")) = true;
  205. grd_daylist.colHidden(grd_daylist.colRef("item31")) = true;
  206. grd_daylist.colHidden(grd_daylist.colRef("remark29")) = false;
  207. grd_daylist.colHidden(grd_daylist.colRef("remark30")) = true;
  208. grd_daylist.colHidden(grd_daylist.colRef("remark31")) = true;
  209. }else {
  210. grd_daylist.colHidden(grd_daylist.colRef("item29")) = false;
  211. grd_daylist.colHidden(grd_daylist.colRef("item30")) = false;
  212. grd_daylist.colHidden(grd_daylist.colRef("item31")) = true;
  213. grd_daylist.colHidden(grd_daylist.colRef("remark29")) = false;
  214. grd_daylist.colHidden(grd_daylist.colRef("remark30")) = false;
  215. grd_daylist.colHidden(grd_daylist.colRef("remark31")) = true;
  216. }
  217. grd_daylist.rebuild();
  218. }
  219. /* @group : 달력일지
  220. * @ver :
  221. * @by :
  222. * @-----------------------------------
  223. * @type : function
  224. * @access : public
  225. * @desc : 장비일지 조회 하는 함수
  226. */
  227. function fCalendar(){
  228. var lstcnt = getNodesetCount("/root/main/list/item");
  229. if (submit("TRAEA02012")){
  230. rowidx = grd_daylist.row;
  231. colidx = grd_daylist.col;
  232. //alert("rowidx = " + rowidx + " colidx = " + colidx );
  233. for (var j = 1; j < grd_date.rows; j++) {
  234. var colidx = 2 + ( j * 2 ) ;
  235. for (var i = 1; i <= lstcnt; i++ ){
  236. if ( model.getValue("/root/init/calenlist/calendinfo[" + j + "]/dutflag") == "8") {
  237. grd_daylist.cellstyle("background-color", i, colidx, i, colidx + 1 ) = "#fad6fd"; //"#daa7d9"; //보라
  238. } else if (model.getValue("/root/init/calenlist/calendinfo[" + j + "]/dutflag") == "4") {
  239. grd_daylist.cellstyle("background-color", i, colidx, i, colidx + 1 ) = "#e5ffb3"; //"#c4e693"; //그린
  240. } else {
  241. grd_daylist.cellstyle("background-color", i, colidx, i, colidx + 1 ) = "white";
  242. }
  243. }
  244. }
  245. }
  246. grd_daylist.refresh();
  247. }
  248. /* @group : 장비일지
  249. * @ver :
  250. * @by :
  251. * @-----------------------------------
  252. * @type : function
  253. * @access : public
  254. * @desc : 장비일지 조회 하는 함수
  255. */
  256. function getimgSytsStatsCaseList(){
  257. model.removenode("/root/main/list");
  258. /**if( model.getValue("/root/send/data/srchexecroom") == "RA021"){ // 혈관중재실
  259. model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/etcexecroom2"));
  260. }else if( model.getValue("/root/send/data/srchexecroom") == "RA022" ){ // 심혈관촬영실
  261. model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/etcexecroom1"));
  262. }else{
  263. model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/srchexecroom"));
  264. }
  265. **/
  266. model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/srchexecroom"));
  267. if( submit("TRAEA07001") ) {
  268. grd_daylist.clearStatus();
  269. }
  270. //20150424 by kya
  271. //영상의학과 요청
  272. //이상이 없으면 체크, 있으면 체크 표시 없도록 수정요청함
  273. var lstcnt = getNodesetCount("/root/main/list/item");
  274. var baseDate = model.getValue("/root/send/data/srchdate") + "01";
  275. var sDayCnt = baseDate.toDate().getMonthDay();
  276. //특이사항에 remark 정보를 조회하도록 요청함
  277. var reptot ="";
  278. for (var i = 1; i <= lstcnt; i++ ){
  279. for ( var j = 1; j <= sDayCnt; j++ ) {
  280. if ( j <= 9 ) {
  281. var jj = "0" + j.toString();
  282. } else {
  283. var jj = j.toString();
  284. }
  285. if( model.getValue("/root/main/list/item[" + i + "]/remark" + jj) != "" ){
  286. reptot = reptot + "☞ " + ipt_date.label + "-" + jj + " ( " + model.getValue("/root/main/list/item[" + i + "]/systkey2") + " ) : " + model.getValue("/root/main/list/item[" + i + "]/remark" + jj) + "\n";
  287. }
  288. }
  289. }
  290. model.setValue("/root/send/txtea_output", reptot);
  291. }
  292. ]]>
  293. </script>
  294. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  295. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  296. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  297. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  298. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  299. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  300. </xhtml:head>
  301. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1197;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  302. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  303. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">영상의학 장비점검일지</caption>
  304. </group>
  305. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:762px; ">
  306. <datagrid id="grd_date" nodeset="/root/init/calenlist/calendinfo" caption="caption1^caption2^caption3" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1015px; top:450px; width:105px; height:85px; ">
  307. <col ref="basedd"/>
  308. <col ref="dutflag"/>
  309. <col/>
  310. </datagrid>
  311. <group id="group1" style="left:0px; top:5px; width:1195px; height:35px; vertical-align:top; ">
  312. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1192px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  313. <line id="line2" class="line_4" style="x1:1095px; y1:8px; x2:1095px; y2:28px; "/>
  314. <button id="button1" class="btn1_letter2" navindex="4" style="left:1120px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  315. <caption>조회</caption>
  316. <script type="javascript" ev:event="DOMActivate">
  317. <![CDATA[
  318. if( model.getValue("/root/send/data/srchdate" ) == "" || model.getValue("/root/send/data/srchexcuroomgrp") == "" || model.getValue( "/root/send/data/srchexecroom" ) == "" ){
  319. messageBox("조회 조건값은 ","I003", "기준년월, 구분 또는 검사실을 선택하십시오.");
  320. return;
  321. }
  322. /**}else if( model.getValue("/root/send/data/srchexecroom") == "RA021"){ // 혈관중재실
  323. if( model.getValue("/root/send/data/etcexecroom2") == "" ){
  324. messageBox("조회 조건값은 ","I003", "검사실을 선택하십시오.");
  325. return;
  326. }
  327. }else if( model.getValue("/root/send/data/srchexecroom") == "RA022" ){ // 심혈관촬영실
  328. if( model.getValue("/root/send/data/etcexecroom1") == "" ){
  329. messageBox("조회 조건값은 ","I003", "검사실을 선택하십시오.");
  330. return;
  331. }
  332. }
  333. **/
  334. openLoadingBar("장비일지 통계을 조회 중입니다....") ;
  335. getimgSytsStatsCaseList();
  336. closeLoadingBar() ;//처리중 화면을 close한다.
  337. //공휴일 표시
  338. model.makeValue("/root/send/data/rsrvdd", model.getValue("/root/send/data/srchdate") + "01");
  339. fCalendar();
  340. model.refresh();
  341. ]]>
  342. </script>
  343. </button>
  344. <caption id="caption7" class="search_name" style="left:215px; top:9px; width:86px; height:17px; ">구분 :</caption>
  345. <caption id="caption3" class="search_name" style="left:415px; top:9px; width:86px; height:17px; ">검사실 :</caption>
  346. <select1 id="cmb_exroom" ref="/root/send/data/srchexecroom" appearance="minimal" style="left:493px; top:8px; width:172px; height:19px; ">
  347. <choices>
  348. <itemset nodeset="/root/init/cmb_info2/initexecroom">
  349. <label ref="excuroomcdnm"/>
  350. <value ref="excuroomcdid"/>
  351. </itemset>
  352. </choices>
  353. <script type="javascript" ev:event="xforms-value-changed">
  354. <![CDATA[
  355. // 심혈관촬영실 혹은 혈관중재실일 경우
  356. /**if( model.getValue("/root/send/data/srchexecroom") == "RA022"){ //심혈관촬영실
  357. cmb_etcroom1.visible = true;
  358. cmb_etcroom2.visible = false;
  359. // <select1 id="cmb_etcroom" ref="/root/send/data/etcexecroom"
  360. }else if( model.getValue("/root/send/data/srchexecroom") == "RA021" ){
  361. cmb_etcroom2.visible = true;
  362. cmb_etcroom1.visible = false;
  363. }else{
  364. cmb_etcroom1.visible = false;
  365. cmb_etcroom2.visible = false;
  366. }
  367. **/
  368. cmb_etcroom1.visible = false;
  369. cmb_etcroom2.visible = false;
  370. model.refresh()
  371. ]]>
  372. </script>
  373. </select1>
  374. <caption id="caption2" class="search_name" style="left:20px; top:9px; width:86px; height:17px; ">기준년월 :</caption>
  375. <select1 id="cmb_excuroomgrp" ref="/root/send/data/srchexcuroomgrp" class="combo_search" appearance="minimal" style="left:281px; top:8px; width:104px; height:19px; ">
  376. <choices>
  377. <itemset nodeset="/root/init/cmb_info/initexcuroomgrp">
  378. <label ref="excuroomgrpcdnm"/>
  379. <value ref="excuroomgrpcdid"/>
  380. </itemset>
  381. </choices>
  382. <script type="javascript" ev:event="xforms-select">
  383. <![CDATA[
  384. model.removeNodeset("/root/init/cmb_info2/initexecroom");
  385. model.setValue("/root/send/data/excuroomgrpcdid", model.getValue("/root/send/data/srchexcuroomgrp") );
  386. if(submit("TRAEA01306")){
  387. model.removeNodeset("/root/init/cmb_info/initexecroom");
  388. var cnt = getNodesetCount("/root/init/cmb_info2/initexecroom");
  389. for(var i = 1 ; i<= cnt ; i++ ){
  390. model.makeNode("/root/init/cmb_info/initexecroom["+ i +"]");
  391. model.makeValue("/root/init/cmb_info/initexecroom["+ i +"]/excuroomcdid", model.getValue("/root/init/cmb_info2/initexecroom["+ i +"]/excuroomcdid"));
  392. model.makeValue("/root/init/cmb_info/initexecroom["+ i +"]/excuroomcdnm", model.getValue("/root/init/cmb_info2/initexecroom["+ i +"]/excuroomcdnm"));
  393. }
  394. }
  395. model.setValue("/root/send/data/srchexecroom", "");
  396. cmb_etcroom1.visible = false;
  397. cmb_etcroom2.visible = false;
  398. model.refresh();
  399. ]]>
  400. </script>
  401. </select1>
  402. <input id="ipt_date" ref="/root/send/data/srchdate" class="input_default" inputtype="date" format="yyyy-mm" style="left:110px; top:8px; width:75px; height:19px; ">
  403. <script type="javascript" ev:event="xforms-value-changed">
  404. <![CDATA[
  405. setTitle();
  406. ]]>
  407. </script>
  408. </input>
  409. <select1 id="cmb_etcroom1" ref="/root/send/data/etcexecroom1" visibility="hidden" appearance="minimal" style="left:670px; top:8px; width:165px; height:19px; ">
  410. <choices>
  411. <item>
  412. <label>-- 전체 --</label>
  413. <value/>
  414. </item>
  415. <item>
  416. <label>심혈관촬영실1</label>
  417. <value>RA022-1</value>
  418. </item>
  419. <item>
  420. <label>심혈관촬영실2</label>
  421. <value>RA022-2</value>
  422. </item>
  423. </choices>
  424. </select1>
  425. <select1 id="cmb_etcroom2" ref="/root/send/data/etcexecroom2" visibility="hidden" appearance="minimal" style="left:670px; top:8px; width:165px; height:19px; ">
  426. <choices>
  427. <item>
  428. <label>-- 전체 --</label>
  429. <value/>
  430. </item>
  431. <item>
  432. <label>혈관중재실21</label>
  433. <value>RA021-21</value>
  434. </item>
  435. <item>
  436. <label>혈관중재실22</label>
  437. <value>RA021-22</value>
  438. </item>
  439. <item>
  440. <label>혈관중재실23</label>
  441. <value>RA021-23</value>
  442. </item>
  443. </choices>
  444. </select1>
  445. </group>
  446. <button id="button2" class="btn2_letter4" visibility="visible" style="left:1128px; top:44px; width:64px; height:19px; ">
  447. <caption>엑셀저장</caption>
  448. <script type="javascript" ev:event="DOMActivate">
  449. <![CDATA[
  450. var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  451. if (fileName != "") {
  452. // 일별
  453. grd_daylist.saveExcel(fileName);
  454. }
  455. ]]>
  456. </script>
  457. </button>
  458. <datagrid id="grd_daylist" nodeset="/root/main/list/item" backcoloralternate="transparent" caption="검사실^구분코드^구분^1일^1일^2일^2일^3일^3일^4일^4일^5일^5일^6일^6일^7일^7일^8일^8일^9일^9일^10일^10일^11일^11일^12일^12일^13일^13일^14일^14일^15일^15일^16일^16일^17일^17일^18일^18일^19일^19일^20일^20일^21일^21일^22일^22일^23일^23일^24일^24일^25일^25일^26일^26일^27일^27일^28일^28일^29일^29일^30일^30일^31일^31일" colsep="^" colwidth="69, 60, 370, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38, 30, 38,30, 38, 30, 38, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" frozencols="3" mergecellsfixedrows="bycolrec" multitotal="false" rowheader="update" rowsep="|" subtotalposition="below" tooltip="true" style="left:0px; top:70px; width:1193px; height:515px; ">
  459. <col ref="systkey1" visibility="hidden" style="text-align:center; "/>
  460. <col ref="systkey3" visibility="hidden" style="text-align:center; "/>
  461. <col ref="systkey2" style="text-align:left; "/>
  462. <col ref="item01" type="checkbox" style="text-align:center; "/>
  463. <col ref="remark01" type="inputbutton" style="text-align:center; "/>
  464. <col ref="item02" type="checkbox" style="text-align:center; "/>
  465. <col ref="remark02" type="inputbutton" style="text-align:center; "/>
  466. <col ref="item03" type="checkbox" style="text-align:center; "/>
  467. <col ref="remark03" type="inputbutton" style="text-align:center; "/>
  468. <col ref="item04" type="checkbox" style="text-align:center; "/>
  469. <col ref="remark04" type="inputbutton" style="text-align:center; "/>
  470. <col ref="item05" type="checkbox" style="text-align:center; "/>
  471. <col ref="remark05" type="inputbutton" style="text-align:center; "/>
  472. <col ref="item06" type="checkbox" style="text-align:center; "/>
  473. <col ref="remark06" type="inputbutton" style="text-align:center; "/>
  474. <col ref="item07" type="checkbox" style="text-align:center; "/>
  475. <col ref="remark07" type="inputbutton" style="text-align:center; "/>
  476. <col ref="item08" type="checkbox" style="text-align:center; "/>
  477. <col ref="remark08" type="inputbutton" style="text-align:center; "/>
  478. <col ref="item09" type="checkbox" style="text-align:center; "/>
  479. <col ref="remark09" type="inputbutton" style="text-align:center; "/>
  480. <col ref="item10" type="checkbox" style="text-align:center; "/>
  481. <col ref="remark10" type="inputbutton" style="text-align:center; "/>
  482. <col ref="item11" type="checkbox" style="text-align:center; "/>
  483. <col ref="remark11" type="inputbutton" style="text-align:center; "/>
  484. <col ref="item12" type="checkbox" style="text-align:center; "/>
  485. <col ref="remark12" type="inputbutton" style="text-align:center; "/>
  486. <col ref="item13" type="checkbox" style="text-align:center; "/>
  487. <col ref="remark13" type="inputbutton" style="text-align:center; "/>
  488. <col ref="item14" type="checkbox" style="text-align:center; "/>
  489. <col ref="remark14" type="inputbutton" style="text-align:center; "/>
  490. <col ref="item15" type="checkbox" style="text-align:center; "/>
  491. <col ref="remark15" type="inputbutton" style="text-align:center; "/>
  492. <col ref="item16" type="checkbox" style="text-align:center; "/>
  493. <col ref="remark16" type="inputbutton" style="text-align:center; "/>
  494. <col ref="item17" type="checkbox" style="text-align:center; "/>
  495. <col ref="remark17" type="inputbutton" style="text-align:center; "/>
  496. <col ref="item18" type="checkbox" style="text-align:center; "/>
  497. <col ref="remark18" type="inputbutton" style="text-align:center; "/>
  498. <col ref="item19" type="checkbox" style="text-align:center; "/>
  499. <col ref="remark19" type="inputbutton" style="text-align:center; "/>
  500. <col ref="item20" type="checkbox" style="text-align:center; "/>
  501. <col ref="remark20" type="inputbutton" style="text-align:center; "/>
  502. <col ref="item21" type="checkbox" style="text-align:center; "/>
  503. <col ref="remark21" type="inputbutton" style="text-align:center; "/>
  504. <col ref="item22" type="checkbox" style="text-align:center; "/>
  505. <col ref="remark22" type="inputbutton" style="text-align:center; "/>
  506. <col ref="item23" type="checkbox" style="text-align:center; "/>
  507. <col ref="remark23" type="inputbutton" style="text-align:center; "/>
  508. <col ref="item24" type="checkbox" style="text-align:center; "/>
  509. <col ref="remark24" type="inputbutton" style="text-align:center; "/>
  510. <col ref="item25" type="checkbox" style="text-align:center; "/>
  511. <col ref="remark25" type="inputbutton" style="text-align:center; "/>
  512. <col ref="item26" type="checkbox" style="text-align:center; "/>
  513. <col ref="remark26" type="inputbutton" style="text-align:center; "/>
  514. <col ref="item27" type="checkbox" style="text-align:center; "/>
  515. <col ref="remark27" type="inputbutton" style="text-align:center; "/>
  516. <col ref="item28" type="checkbox" style="text-align:center; "/>
  517. <col ref="remark28" type="inputbutton" style="text-align:center; "/>
  518. <col ref="item29" type="checkbox" style="text-align:center; "/>
  519. <col ref="remark29" type="inputbutton" style="text-align:center; "/>
  520. <col ref="item30" type="checkbox" style="text-align:center; "/>
  521. <col ref="remark30" type="inputbutton" style="text-align:center; "/>
  522. <col ref="item31" type="checkbox" style="text-align:center; "/>
  523. <col ref="remark31" type="inputbutton" style="text-align:center; "/>
  524. <col ref="recrid01" type="combo" visibility="hidden" style="text-align:center; ">
  525. <choices>
  526. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  527. <label ref="execrid1cdnm"/>
  528. <value ref="execrid1cdid"/>
  529. </itemset>
  530. </choices>
  531. </col>
  532. <col ref="recrid02" type="combo" visibility="hidden" style="text-align:center; ">
  533. <choices>
  534. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  535. <label ref="execrid1cdnm"/>
  536. <value ref="execrid1cdid"/>
  537. </itemset>
  538. </choices>
  539. </col>
  540. <col ref="recrid03" type="combo" visibility="hidden" style="text-align:center; ">
  541. <choices>
  542. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  543. <label ref="execrid1cdnm"/>
  544. <value ref="execrid1cdid"/>
  545. </itemset>
  546. </choices>
  547. </col>
  548. <col ref="recrid04" type="combo" visibility="hidden" style="text-align:center; ">
  549. <choices>
  550. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  551. <label ref="execrid1cdnm"/>
  552. <value ref="execrid1cdid"/>
  553. </itemset>
  554. </choices>
  555. </col>
  556. <col ref="recrid05" type="combo" visibility="hidden" style="text-align:center; ">
  557. <choices>
  558. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  559. <label ref="execrid1cdnm"/>
  560. <value ref="execrid1cdid"/>
  561. </itemset>
  562. </choices>
  563. </col>
  564. <col ref="recrid06" type="combo" visibility="hidden" style="text-align:center; ">
  565. <choices>
  566. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  567. <label ref="execrid1cdnm"/>
  568. <value ref="execrid1cdid"/>
  569. </itemset>
  570. </choices>
  571. </col>
  572. <col ref="recrid07" type="combo" visibility="hidden" style="text-align:center; ">
  573. <choices>
  574. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  575. <label ref="execrid1cdnm"/>
  576. <value ref="execrid1cdid"/>
  577. </itemset>
  578. </choices>
  579. </col>
  580. <col ref="recrid08" type="combo" visibility="hidden" style="text-align:center; ">
  581. <choices>
  582. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  583. <label ref="execrid1cdnm"/>
  584. <value ref="execrid1cdid"/>
  585. </itemset>
  586. </choices>
  587. </col>
  588. <col ref="recrid09" type="combo" visibility="hidden" style="text-align:center; ">
  589. <choices>
  590. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  591. <label ref="execrid1cdnm"/>
  592. <value ref="execrid1cdid"/>
  593. </itemset>
  594. </choices>
  595. </col>
  596. <col ref="recrid10" type="combo" visibility="hidden" style="text-align:center; ">
  597. <choices>
  598. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  599. <label ref="execrid1cdnm"/>
  600. <value ref="execrid1cdid"/>
  601. </itemset>
  602. </choices>
  603. </col>
  604. <col ref="recrid11" type="combo" visibility="hidden" style="text-align:center; ">
  605. <choices>
  606. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  607. <label ref="execrid1cdnm"/>
  608. <value ref="execrid1cdid"/>
  609. </itemset>
  610. </choices>
  611. </col>
  612. <col ref="recrid12" type="combo" visibility="hidden" style="text-align:center; ">
  613. <choices>
  614. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  615. <label ref="execrid1cdnm"/>
  616. <value ref="execrid1cdid"/>
  617. </itemset>
  618. </choices>
  619. </col>
  620. <col ref="recrid13" type="combo" visibility="hidden" style="text-align:center; ">
  621. <choices>
  622. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  623. <label ref="execrid1cdnm"/>
  624. <value ref="execrid1cdid"/>
  625. </itemset>
  626. </choices>
  627. </col>
  628. <col ref="recrid14" type="combo" visibility="hidden" style="text-align:center; ">
  629. <choices>
  630. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  631. <label ref="execrid1cdnm"/>
  632. <value ref="execrid1cdid"/>
  633. </itemset>
  634. </choices>
  635. </col>
  636. <col ref="recrid15" type="combo" visibility="hidden" style="text-align:center; ">
  637. <choices>
  638. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  639. <label ref="execrid1cdnm"/>
  640. <value ref="execrid1cdid"/>
  641. </itemset>
  642. </choices>
  643. </col>
  644. <col ref="recrid16" type="combo" visibility="hidden" style="text-align:center; ">
  645. <choices>
  646. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  647. <label ref="execrid1cdnm"/>
  648. <value ref="execrid1cdid"/>
  649. </itemset>
  650. </choices>
  651. </col>
  652. <col ref="recrid17" type="combo" visibility="hidden" style="text-align:center; ">
  653. <choices>
  654. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  655. <label ref="execrid1cdnm"/>
  656. <value ref="execrid1cdid"/>
  657. </itemset>
  658. </choices>
  659. </col>
  660. <col ref="recrid18" type="combo" visibility="hidden" style="text-align:center; ">
  661. <choices>
  662. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  663. <label ref="execrid1cdnm"/>
  664. <value ref="execrid1cdid"/>
  665. </itemset>
  666. </choices>
  667. </col>
  668. <col ref="recrid19" type="combo" visibility="hidden" style="text-align:center; ">
  669. <choices>
  670. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  671. <label ref="execrid1cdnm"/>
  672. <value ref="execrid1cdid"/>
  673. </itemset>
  674. </choices>
  675. </col>
  676. <col ref="recrid20" type="combo" visibility="hidden" style="text-align:center; ">
  677. <choices>
  678. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  679. <label ref="execrid1cdnm"/>
  680. <value ref="execrid1cdid"/>
  681. </itemset>
  682. </choices>
  683. </col>
  684. <col ref="recrid21" type="combo" visibility="hidden" style="text-align:center; ">
  685. <choices>
  686. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  687. <label ref="execrid1cdnm"/>
  688. <value ref="execrid1cdid"/>
  689. </itemset>
  690. </choices>
  691. </col>
  692. <col ref="recrid22" type="combo" visibility="hidden" style="text-align:center; ">
  693. <choices>
  694. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  695. <label ref="execrid1cdnm"/>
  696. <value ref="execrid1cdid"/>
  697. </itemset>
  698. </choices>
  699. </col>
  700. <col ref="recrid23" type="combo" visibility="hidden" style="text-align:center; ">
  701. <choices>
  702. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  703. <label ref="execrid1cdnm"/>
  704. <value ref="execrid1cdid"/>
  705. </itemset>
  706. </choices>
  707. </col>
  708. <col ref="recrid24" type="combo" visibility="hidden" style="text-align:center; ">
  709. <choices>
  710. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  711. <label ref="execrid1cdnm"/>
  712. <value ref="execrid1cdid"/>
  713. </itemset>
  714. </choices>
  715. </col>
  716. <col ref="recrid25" type="combo" visibility="hidden" style="text-align:center; ">
  717. <choices>
  718. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  719. <label ref="execrid1cdnm"/>
  720. <value ref="execrid1cdid"/>
  721. </itemset>
  722. </choices>
  723. </col>
  724. <col ref="recrid26" type="combo" visibility="hidden" style="text-align:center; ">
  725. <choices>
  726. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  727. <label ref="execrid1cdnm"/>
  728. <value ref="execrid1cdid"/>
  729. </itemset>
  730. </choices>
  731. </col>
  732. <col ref="recrid27" type="combo" visibility="hidden" style="text-align:center; ">
  733. <choices>
  734. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  735. <label ref="execrid1cdnm"/>
  736. <value ref="execrid1cdid"/>
  737. </itemset>
  738. </choices>
  739. </col>
  740. <col ref="recrid28" type="combo" visibility="hidden" style="text-align:center; ">
  741. <choices>
  742. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  743. <label ref="execrid1cdnm"/>
  744. <value ref="execrid1cdid"/>
  745. </itemset>
  746. </choices>
  747. </col>
  748. <col ref="recrid29" type="combo" visibility="hidden" style="text-align:center; ">
  749. <choices>
  750. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  751. <label ref="execrid1cdnm"/>
  752. <value ref="execrid1cdid"/>
  753. </itemset>
  754. </choices>
  755. </col>
  756. <col ref="recrid30" type="combo" visibility="hidden" style="text-align:center; ">
  757. <choices>
  758. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  759. <label ref="execrid1cdnm"/>
  760. <value ref="execrid1cdid"/>
  761. </itemset>
  762. </choices>
  763. </col>
  764. <col ref="recrid31" type="combo" visibility="hidden" style="text-align:center; ">
  765. <choices>
  766. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  767. <label ref="execrid1cdnm"/>
  768. <value ref="execrid1cdid"/>
  769. </itemset>
  770. </choices>
  771. </col>
  772. <script type="javascript" ev:event="onbuttonclick">
  773. <![CDATA[
  774. colidx = grd_daylist.col;
  775. rowidx = grd_daylist.row;
  776. if( grd_daylist.colAttribute(colidx, "ref") == "remark01" || grd_daylist.colAttribute(colidx, "ref") == "remark02" || grd_daylist.colAttribute(colidx, "ref") == "remark03" ||
  777. grd_daylist.colAttribute(colidx, "ref") == "remark04" || grd_daylist.colAttribute(colidx, "ref") == "remark05" || grd_daylist.colAttribute(colidx, "ref") == "remark06" ||
  778. grd_daylist.colAttribute(colidx, "ref") == "remark07" || grd_daylist.colAttribute(colidx, "ref") == "remark08" || grd_daylist.colAttribute(colidx, "ref") == "remark09" ||
  779. grd_daylist.colAttribute(colidx, "ref") == "remark10" || grd_daylist.colAttribute(colidx, "ref") == "remark11" || grd_daylist.colAttribute(colidx, "ref") == "remark12" ||
  780. grd_daylist.colAttribute(colidx, "ref") == "remark13" || grd_daylist.colAttribute(colidx, "ref") == "remark14" || grd_daylist.colAttribute(colidx, "ref") == "remark15" ||
  781. grd_daylist.colAttribute(colidx, "ref") == "remark16" || grd_daylist.colAttribute(colidx, "ref") == "remark17" || grd_daylist.colAttribute(colidx, "ref") == "remark18" ||
  782. grd_daylist.colAttribute(colidx, "ref") == "remark19" || grd_daylist.colAttribute(colidx, "ref") == "remark20" || grd_daylist.colAttribute(colidx, "ref") == "remark21" ||
  783. grd_daylist.colAttribute(colidx, "ref") == "remark22" || grd_daylist.colAttribute(colidx, "ref") == "remark23" || grd_daylist.colAttribute(colidx, "ref") == "remark24" ||
  784. grd_daylist.colAttribute(colidx, "ref") == "remark25" || grd_daylist.colAttribute(colidx, "ref") == "remark26" || grd_daylist.colAttribute(colidx, "ref") == "remark27" ||
  785. grd_daylist.colAttribute(colidx, "ref") == "remark28" || grd_daylist.colAttribute(colidx, "ref") == "remark29" || grd_daylist.colAttribute(colidx, "ref") == "remark30" ||
  786. grd_daylist.colAttribute(colidx, "ref") == "remark31" ) {
  787. caption = grd_daylist.colAttribute(colidx, "ref");
  788. recridnm = caption.substring(6,8);
  789. model.setValue("/root/send/equiremark", model.getValue("/root/main/list/item[" + rowidx + "]/" + caption ) );
  790. grp_equiremark.visible = true;
  791. cap_day.value = "(" + recridnm + "일)";
  792. }
  793. model.refresh();
  794. ]]>
  795. </script>
  796. <script type="javascript" ev:event="onclick">
  797. <![CDATA[
  798. rowidx = grd_daylist.row;
  799. colidx = grd_daylist.col;
  800. if( grd_daylist.colAttribute(colidx, "ref") == "remark01" || grd_daylist.colAttribute(colidx, "ref") == "remark02" || grd_daylist.colAttribute(colidx, "ref") == "remark03" ||
  801. grd_daylist.colAttribute(colidx, "ref") == "remark04" || grd_daylist.colAttribute(colidx, "ref") == "remark05" || grd_daylist.colAttribute(colidx, "ref") == "remark06" ||
  802. grd_daylist.colAttribute(colidx, "ref") == "remark07" || grd_daylist.colAttribute(colidx, "ref") == "remark08" || grd_daylist.colAttribute(colidx, "ref") == "remark09" ||
  803. grd_daylist.colAttribute(colidx, "ref") == "remark10" || grd_daylist.colAttribute(colidx, "ref") == "remark11" || grd_daylist.colAttribute(colidx, "ref") == "remark12" ||
  804. grd_daylist.colAttribute(colidx, "ref") == "remark13" || grd_daylist.colAttribute(colidx, "ref") == "remark14" || grd_daylist.colAttribute(colidx, "ref") == "remark15" ||
  805. grd_daylist.colAttribute(colidx, "ref") == "remark16" || grd_daylist.colAttribute(colidx, "ref") == "remark17" || grd_daylist.colAttribute(colidx, "ref") == "remark18" ||
  806. grd_daylist.colAttribute(colidx, "ref") == "remark19" || grd_daylist.colAttribute(colidx, "ref") == "remark20" || grd_daylist.colAttribute(colidx, "ref") == "remark21" ||
  807. grd_daylist.colAttribute(colidx, "ref") == "remark22" || grd_daylist.colAttribute(colidx, "ref") == "remark23" || grd_daylist.colAttribute(colidx, "ref") == "remark24" ||
  808. grd_daylist.colAttribute(colidx, "ref") == "remark25" || grd_daylist.colAttribute(colidx, "ref") == "remark26" || grd_daylist.colAttribute(colidx, "ref") == "remark27" ||
  809. grd_daylist.colAttribute(colidx, "ref") == "remark28" || grd_daylist.colAttribute(colidx, "ref") == "remark29" || grd_daylist.colAttribute(colidx, "ref") == "remark30" ||
  810. grd_daylist.colAttribute(colidx, "ref") == "remark31" ) {
  811. caption = grd_daylist.colAttribute(colidx, "ref");
  812. recridnm = caption.substring(6,8);
  813. model.setValue("/root/send/txtea_output", model.getValue("/root/main/list/item[" + rowidx + "]/" + caption ) );
  814. model.setValue("/root/send/srrecrid", model.getValue("/root/main/list/item[" + rowidx + "]/recrid" + recridnm ) );
  815. model.setValue("/root/send/req/srchrecdate", model.getValue("/root/send/data/srchdate").substring(0,6) + recridnm );
  816. }
  817. model.refresh();
  818. ]]>
  819. </script>
  820. </datagrid>
  821. <textarea id="txtea_output" ref="/root/send/txtea_output" disabled="false" style="left:100px; top:599px; width:1092px; height:91px; padding-left:10; padding-top:10; padding-right:10; padding-bottom:10; "/>
  822. <line id="line1" class="line_1" style="x1:0px; y1:66px; x2:1192px; y2:66px; "/>
  823. <button id="btn_save" class="btn4_letter2" style="left:1135px; top:716px; width:56px; height:22px; ">
  824. <caption>저장</caption>
  825. <script type="javascript" ev:event="DOMActivate">
  826. <![CDATA[
  827. model.resetInstanceNode("/root/send/data1");
  828. /**
  829. if( model.getValue("/root/send/data/srchexecroom") == "RA021"){ // 혈관중재실
  830. model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/etcexecroom2"));
  831. }else if( model.getValue("/root/send/data/srchexecroom") == "RA022" ){ // 심혈관촬영실
  832. model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/etcexecroom1"));
  833. }else{
  834. model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/srchexecroom"));
  835. }
  836. **/
  837. model.setValue("/root/send/data/fexecroom", model.getValue("/root/send/data/srchexecroom"));
  838. model.setValue("/root/send/req/srchrepodd", model.getValue("/root/send/data/srchdate"));
  839. model.setValue("/root/send/req/srchgrpxrm", model.getValue("/root/send/data/srchexcuroomgrp"));
  840. model.setValue("/root/send/req/srchexrm", model.getValue("/root/send/data/fexecroom"));
  841. model.setValue("/root/send/req/srchsuppdeptcd", model.getValue("/root/send/data/suppdeptcd"));
  842. var lstcnt = getNodesetCount("/root/main/list/item");
  843. var dt = model.getValue("/root/send/req/srchrecdate").substring(6,8);
  844. for(var i = 1; i <= lstcnt; i++ ){
  845. model.setValue("/root/main/list/item[" + i + "]/recrid" + dt , model.getValue("/root/send/srrecrid") );
  846. grd_daylist.addStatus( i ,"update");
  847. }
  848. model.setValue("/root/send/data1", grd_daylist.getUpdateData());
  849. if( submit("TXAEA07001") ){
  850. messageBox("저장","I002");
  851. button1.dispatch("DOMActivate");
  852. }
  853. model.refresh();
  854. ]]>
  855. </script>
  856. </button>
  857. <caption id="lbl_graftno" class="cell_1" style="left:0px; top:599px; width:100px; height:91px; font-family:돋움체; font-size:10pt; font-weight:bold; text-align:center; vertical-align:middle; ">특이사항</caption>
  858. <line id="line19" class="line_1" style="x1:0px; y1:595px; x2:1192px; y2:595px; "/>
  859. <caption id="caption101" class="tit_2" style="left:0px; top:48px; width:110px; height:13px; ">장비일지 LIST</caption>
  860. <group id="grp_equiremark" visibility="hidden" style="left:435px; top:265px; width:445px; height:245px; ">
  861. <textarea id="txtea_rmrk" ref="/root/send/equiremark" style="left:5px; top:30px; width:435px; height:175px; "/>
  862. <button id="button4" class="btn4_letter2" style="left:380px; top:215px; width:56px; height:22px; ">
  863. <caption>닫기</caption>
  864. <script type="javascript" ev:event="DOMActivate">
  865. <![CDATA[
  866. grp_equiremark.visible = false;
  867. ]]>
  868. </script>
  869. </button>
  870. <button id="button5" class="btn4_letter2" style="left:320px; top:215px; width:56px; height:22px; ">
  871. <caption>적용</caption>
  872. <script type="javascript" ev:event="DOMActivate">
  873. <![CDATA[
  874. var rownum = grd_daylist.row - 1;
  875. var equiremark = model.getValue("/root/send/equiremark");
  876. var refmk = "/root/main/list/item[" + rowidx + "]/" + caption;
  877. model.setValue( refmk , equiremark );
  878. grd_daylist.addStatus(grd_daylist.row,"update");
  879. //grd_daylist.dispatch("xforms-value-changed");
  880. grp_equiremark.visible = false;
  881. model.refresh();
  882. ]]>
  883. </script>
  884. </button>
  885. <caption id="caption8" class="tit_2" style="left:10px; top:13px; width:173px; height:14px; ">장비일지 특이사항</caption>
  886. <shape id="rectangle2" appearance="rectangle" style="left:0px; top:0px; width:445px; height:245px; "/>
  887. <caption id="cap_day" style="left:138px; top:13px; width:85px; height:13px; font-weight:bold; "/>
  888. </group>
  889. <button id="button3" class="btn6_letter2" style="left:0px; top:716px; width:56px; height:22px; ">
  890. <caption>출력</caption>
  891. <script type="javascript" ev:event="DOMActivate">
  892. <![CDATA[
  893. model.removenode("/root/rexprnt/list");
  894. model.setValue("/root/rexprnt/srchdate", ipt_date.label );
  895. model.setValue("/root/rexprnt/excuroomgrp", cmb_excuroomgrp.label );
  896. if( model.getValue("/root/send/data/srchexecroom") == "RA021"){ // 혈관중재실
  897. model.setValue("/root/rexprnt/execroom", cmb_exroom.label + " ( " + cmb_etcroom2.label + " ) ");
  898. }else if( model.getValue("/root/send/data/srchexecroom") == "RA022" ){ // 심혈관촬영실
  899. model.setValue("/root/rexprnt/execroom", cmb_exroom.label + " ( " + cmb_etcroom1.label + " ) ");
  900. }else{
  901. model.setValue("/root/rexprnt/execroom", cmb_exroom.label );
  902. }
  903. //20150424 by kya 출력폼 수정
  904. var baseDate = model.getValue("/root/send/data/srchdate") + "01";
  905. var sDayCnt = baseDate.toDate().getMonthDay();
  906. var lstcnt = getNodesetCount("/root/main/list/item");
  907. var reptot = "";
  908. for( var i = 1 ; i <= lstcnt ; i++ ){
  909. model.makeNode("/root/rexprnt/list/item[" + i + "]");
  910. model.copyNode("/root/rexprnt/list/item[" + i + "]", "/root/main/list/item[" + i + "]");
  911. for ( var j = 1; j <= sDayCnt; j++ ) {
  912. if ( j <= 9 ) {
  913. var jj = "0" + j.toString();
  914. } else {
  915. var jj = j.toString();
  916. }
  917. model.setValue("/root/rexprnt/list/item[" + i + "]/recrid" + jj, grd_daylist.labelMatrix(i, grd_daylist.colRef("recrid"+ jj )));
  918. if( model.getValue("/root/rexprnt/list/item[" + i + "]/remark" + jj ) != "" ){
  919. reptot = reptot + "☞ " + ipt_date.label + "-" + jj + " ( " + model.getValue("/root/rexprnt/list/item[" + i + "]/systkey2") + " ) : " + model.getValue("/root/rexprnt/list/item[" + i + "]/remark" + jj) + "\n";
  920. }
  921. }
  922. }
  923. model.setValue("/root/rexprnt/re", reptot );
  924. model.refresh();
  925. exeReportPreview("RPAEA07000", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
  926. ]]>
  927. </script>
  928. </button>
  929. <caption id="caption4" class="cell_1" style="left:937px; top:694px; width:100px; height:20px; font-family:돋움체; font-size:10pt; font-weight:bold; text-align:center; vertical-align:middle; ">점검자</caption>
  930. <select1 id="combo1" ref="/root/send/srrecrid" class="combo_search" appearance="minimal" style="left:1040px; top:694px; width:151px; height:19px; font-weight:bold; ">
  931. <choices>
  932. <itemset nodeset="/root/init/cmb_info/initexecrid1">
  933. <label ref="execrid1cdnm"/>
  934. <value ref="execrid1cdid"/>
  935. </itemset>
  936. </choices>
  937. </select1>
  938. <caption id="caption5" class="cell_1" style="left:698px; top:694px; width:100px; height:20px; font-family:돋움체; font-size:10pt; font-weight:bold; text-align:center; vertical-align:middle; ">점검일자</caption>
  939. <input id="input1" ref="/root/send/req/srchrecdate" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:802px; top:694px; width:131px; height:19px; "/>
  940. <button id="button6" class="btn1_letter4" navindex="4" style="left:800px; top:715px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  941. <caption>전체선택</caption>
  942. <script type="javascript" ev:event="onclick">
  943. <![CDATA[
  944. var lstcnt = getNodesetCount("/root/main/list/item");
  945. var dt = model.getValue("/root/send/req/srchrecdate").substring(6,8);
  946. for(var i = 1; i <= lstcnt; i++ ){
  947. if (model.getValue("/root/main/list/item[" + i + "]/item" + dt) == "true") {
  948. model.setValue("/root/main/list/item[" + i + "]/item" + dt , "false" );
  949. } else {
  950. model.setValue("/root/main/list/item[" + i + "]/item" + dt , "true" );
  951. }
  952. grd_daylist.addStatus( i ,"update");
  953. }
  954. ]]>
  955. </script>
  956. </button>
  957. <button id="button7" class="btn1_letter3" navindex="4" style="left:880px; top:715px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  958. <caption>초기화</caption>
  959. <script type="javascript" ev:event="onclick">
  960. <![CDATA[
  961. var lstcnt = getNodesetCount("/root/main/list/item");
  962. var dt = model.getValue("/root/send/req/srchrecdate").substring(6,8);
  963. for(var i = 1; i <= lstcnt; i++ ){
  964. model.setValue("/root/main/list/item[" + i + "]/item" + dt , "false" );
  965. model.setValue("/root/main/list/item[" + i + "]/item" + dt , "null" );
  966. grd_daylist.addStatus( i ,"update");
  967. }
  968. ]]>
  969. </script>
  970. </button>
  971. </group>
  972. </xhtml:body>
  973. </xhtml:html>