SMMNW14520_IV팀 정맥주입 일별 간호기록지.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469
  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. <cond>
  11. <deptcd/>
  12. <pid/>
  13. <ivdd/>
  14. <multicheck/>
  15. <orddeptcd/>
  16. <ivcd/>
  17. <ivuserid/>
  18. </cond>
  19. <ivrecinfo>
  20. </ivrecinfo>
  21. <ivrecinfo2>
  22. </ivrecinfo2>
  23. <patinfo>
  24. <patinfolist/>
  25. </patinfo>
  26. </main>
  27. <send>
  28. <reqdata/>
  29. <savedata/>
  30. </send>
  31. <init/>
  32. <init2/>
  33. <tmp/>
  34. </root>
  35. </instance>
  36. <script type="javascript" ev:event="xforms-ready">
  37. <![CDATA[
  38. model.makeValue("/root/send/cdgrupid", "'I05', 'I06', 'I07'");
  39. model.makeValue("/root/send/srchdd" , getCurrentDate()); // 조회기준일자
  40. submit("TRMNW00001", false);
  41. addComboItem("cmb_ivcd", "-", "", "above");
  42. addComboItem("cmb_ivuserid", "-", "", "above");
  43. model.makeValue("/root/send/instcd" , getUserInfo("dutplceinstcd"));
  44. model.makeValue("/root/send/srchdd" , getCurrentDate()); // 조회기준일자
  45. submit("TRMNW14522");
  46. var userid = getUserInfo("userid") ;
  47. //IV팀이면. 활성화
  48. if(userid == model.getValue("/root/init/codeinfo/codelist[cdgrupid='I07' and supcdid ='"+userid+"']/supcdid") || userid == 'ENR'){
  49. btn_getcall.disabled = false;
  50. btn_add.disabled = false;
  51. btn_del.disabled = false;
  52. btn_save.disabled = false;
  53. } else { // IV팀이 아니면 비활성화
  54. btn_getcall.disabled = true;
  55. btn_add.disabled = true;
  56. btn_del.disabled = true;
  57. btn_save.disabled = true;
  58. }
  59. var instcd = getUserInfo("dutplceinstcd");
  60. var standard_yn = "orduseyn";
  61. var ord_deptflag = 'W';
  62. var rslt_ref = "/root/init/dept";
  63. var sort_field = "depthngnm";
  64. var sort_method = "asc";
  65. var dt = getCurrentDate();
  66. submit("TRMNW11001", false);
  67. addComboItem("cmb_deptcd", "-", "", "above");
  68. model.setValue(ipt_ivdd.attribute("ref"), getCurrentDate());
  69. ipt_ivdd.refresh();
  70. if(model.getValue("/root/init/codeinfo/codelist[cdgrupid='I07' and supcdid ='"+userid+"']/supcdid") == userid) {
  71. } else {
  72. if(getUserInfo("userid") == "ENR") {
  73. model.setValue(cmb_deptcd.attribute("ref"), "");
  74. cmb_deptcd.refresh();
  75. } else {
  76. model.setValue(cmb_deptcd.attribute("ref"), getUserInfo("dutplcecd"));
  77. cmb_deptcd.refresh();
  78. }
  79. }
  80. fSearch() ;
  81. ]]>
  82. </script>
  83. <submission id="TRMNW14522" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init2/cmblist"/>
  84. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/cmblist"/>
  85. <submission id="TRMNW14521" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/ivrecinfo"/>
  86. <submission id="TXMNW14521" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/temp"/>
  87. <submission id="TRMNW11001" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/deptinfo"/>
  88. </model>
  89. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  90. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  92. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  93. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  94. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  95. <script type="javascript">
  96. <![CDATA[
  97. function fSearch() {
  98. model.removeNodeset("/root/main/ivrecinfo/ivreclist");
  99. model.copyNode("/root/send/reqdata", "/root/main/cond");
  100. submit("TRMNW14521");
  101. }
  102. ]]>
  103. </script>
  104. </xhtml:head>
  105. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  106. <group id="group3" scroll="auto" style="left:0px; top:0px; width:1195px; height:784px; ">
  107. <caption id="cpt_title" class="tit_1" style="left:0px; top:0px; width:168px; height:14px; font-family:굴림; ">정맥주입 일별 간호기록지</caption>
  108. <group id="grp_sea" style="left:0px; top:20px; width:1194px; height:40px; vertical-align:top; ">
  109. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:40px; "/>
  110. <button id="btn_ref" class="btn1_letter2" navindex="5" style="left:1070px; top:11px; width:56px; height:22px; ">
  111. <caption>조회</caption>
  112. <script type="javascript" ev:event="DOMActivate">
  113. <![CDATA[
  114. fSearch() ;
  115. ]]>
  116. </script>
  117. </button>
  118. <line id="line2" class="line_4" style="x1:1060px; y1:10px; x2:1060px; y2:31px; border-color:#ffe4bb; border-left-style:solid; "/>
  119. <button id="button2" class="btn1_letter2" navindex="6" style="left:1128px; top:11px; width:56px; height:22px; ">
  120. <caption>엑셀</caption>
  121. <script type="javascript" ev:event="DOMActivate">
  122. <![CDATA[
  123. var fileName = window.fileDialog("save", ",", false, "정맥주입 일별 간호기록지 리스트", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  124. grd_ivrecinfo.saveExcel(fileName, "sheetname;colhiddenextend:false;col_5:label;col_6:label;col_7:label;col_11:label;");
  125. ]]>
  126. </script>
  127. </button>
  128. <select1 id="cmb_orddeptcd" ref="/root/main/cond/orddeptcd" class="combo_s_essential" navindex="2" appearance="minimal" style="left:297px; top:10px; width:125px; height:19px; font-family:굴림; ">
  129. <choices>
  130. <itemset nodeset="/root/init2/cmblist/orddeptlist">
  131. <label ref="depthngnm"/>
  132. <value ref="deptcd"/>
  133. </itemset>
  134. </choices>
  135. <script type="javascript" ev:event="xforms-value-changed">
  136. <![CDATA[
  137. fSearch();
  138. ]]>
  139. </script>
  140. </select1>
  141. <select1 id="cmb_deptcd" ref="/root/main/cond/deptcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:80px; top:11px; width:125px; height:19px; font-family:굴림; ">
  142. <choices>
  143. <itemset nodeset="/root/init/deptinfo/deptlist">
  144. <label ref="depthngnm"/>
  145. <value ref="deptcd"/>
  146. </itemset>
  147. </choices>
  148. <script type="javascript" ev:event="xforms-value-changed">
  149. <![CDATA[
  150. fSearch();
  151. ]]>
  152. </script>
  153. </select1>
  154. <caption id="caption3" class="search_name" style="left:435px; top:10px; width:91px; height:17px; font-family:굴림; ">실시일자 :</caption>
  155. <input id="ipt_ivdd" ref="/root/main/cond/ivdd" class="input_s_essential" navindex="3" inputtype="date" style="left:526px; top:10px; width:95px; height:19px; font-family:굴림; ">
  156. <script type="javascript" ev:event="xforms-value-changed">
  157. <![CDATA[
  158. fSearch() ;
  159. ]]>
  160. </script>
  161. </input>
  162. <caption id="caption29" class="search_name" style="left:10px; top:11px; width:67px; height:17px; font-family:굴림; ">부 서 :</caption>
  163. <caption id="caption1" class="search_name" style="left:220px; top:10px; width:75px; height:17px; font-family:굴림; ">진료과 :</caption>
  164. </group>
  165. <caption id="caption5" class="tit_2" style="left:5px; top:75px; width:214px; height:13px; font-family:굴림; ">정맥주입 일별 간호기록지 리스트</caption>
  166. <line id="line1" class="line_1" style="x1:0px; y1:90px; x2:1194px; y2:90px; "/>
  167. <button id="button1" class="btn2_letter7" visibility="hidden" style="left:822px; top:70px; width:97px; height:19px; ">
  168. <caption>소아IV팀 호출</caption>
  169. <script type="javascript" ev:event="DOMActivate">
  170. <![CDATA[
  171. open("SMMNW14500");
  172. ]]>
  173. </script>
  174. </button>
  175. <caption id="caption6" style="left:1166px; top:767px; width:27px; height:15px; ">[표]</caption>
  176. <button id="btn_del" class="btn2_letter3" style="left:1097px; top:70px; width:53px; height:19px; font-family:굴림; ">
  177. <caption>행삭제</caption>
  178. <script type="javascript" ev:event="DOMActivate">
  179. <![CDATA[
  180. var xPathIvRecList = "/root/main/ivrecinfo/ivreclist";
  181. if ( model.getValue(xPathIvRecList+"[" + grd_ivrecinfo.row + "]/recno") != "") {
  182. grd_ivrecinfo.addStatus(grd_ivrecinfo.row, "delete");
  183. } else {
  184. grd_ivrecinfo.deleteItem(grd_ivrecinfo.row);
  185. }
  186. ]]>
  187. </script>
  188. </button>
  189. <button id="btn_add" class="btn2_letter3" style="left:1042px; top:70px; width:53px; height:19px; font-family:굴림; ">
  190. <caption>행추가</caption>
  191. <script type="javascript" ev:event="DOMActivate">
  192. <![CDATA[
  193. model.removeNodeset("/root/main/patinfo/patinfolist");
  194. model.makeNode("/root/main/patinfo/patinfolist");
  195. modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/cond");
  196. var popupendflag = model.getValue("/root/main/popupendflag");
  197. if (popupendflag == "ok"){
  198. grd_ivrecinfo.addRow();
  199. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("hngnm")) = model.getValue("/root/main/patinfo/patinfolist/hngnm");
  200. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("sexage")) = model.getValue("/root/main/patinfo/patinfolist/sex") + "/" + model.getValue("/root/main/patinfo/patinfolist/age");
  201. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("pid")) = model.getValue("/root/main/patinfo/patinfolist/pid");
  202. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("ivdd")) = getCurrentDate();
  203. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("ivtm")) = getCurrentDateTime().substring(9,13);
  204. }
  205. ]]>
  206. </script>
  207. </button>
  208. <button id="btn_getcall" class="btn2_letter9" style="left:921px; top:70px; width:119px; height:19px; font-family:굴림; ">
  209. <caption>호출내역 가져 오기</caption>
  210. <script type="javascript" ev:event="DOMActivate">
  211. <![CDATA[
  212. var ivdd = model.getValue("/root/main/cond/ivdd");
  213. if(ivdd == "") {
  214. messageBox("일자를 선택해주십시오.", "I");
  215. return;
  216. }
  217. setParameter("SMMNW14520_PARAM1", ivdd);
  218. modal("SPMNW14520","1", "400", "400");
  219. model.copyNode("/root/main/ivrecinfo2","/root/tmp");
  220. var cnt = getNodesetCount("/root/main/ivrecinfo2/ivreclist");
  221. var row1 = 1;
  222. if (cnt ==1){
  223. grd_ivrecinfo.addRow();
  224. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("hngnm")) = model.getValue("/root/main/ivrecinfo2/ivreclist/hngnm");
  225. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("sexage")) = model.getValue("/root/main/ivrecinfo2/ivreclist/sexage");
  226. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("pid")) = model.getValue("/root/main/ivrecinfo2/ivreclist/pid");
  227. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("orddeptcd")) = model.getValue("/root/main/ivrecinfo2/ivreclist/orddeptcd");
  228. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("deptcd")) = model.getValue("/root/main/ivrecinfo2/ivreclist/deptcd");
  229. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("ivcd")) = model.getValue("/root/main/ivrecinfo2/ivreclist/ivcd");
  230. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("ivuserid")) = model.getValue("/root/main/ivrecinfo2/ivreclist/ivuserid");
  231. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("ivdd")) = getCurrentDate();
  232. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("ivtm")) = getCurrentDateTime().substring(9,13);
  233. }else if(cnt > 1){
  234. for(var i = 1; i <= cnt ; i++ ){
  235. grd_ivrecinfo.addRow();
  236. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("hngnm")) = grd_ivrecinfo2.valuematrix(i, grd_ivrecinfo2.colRef("hngnm"));
  237. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("sexage")) = grd_ivrecinfo2.valuematrix(i, grd_ivrecinfo2.colRef("sexage"));
  238. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("pid")) = grd_ivrecinfo2.valuematrix(i, grd_ivrecinfo2.colRef("pid"));
  239. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("orddeptcd")) = grd_ivrecinfo2.valuematrix(i, grd_ivrecinfo2.colRef("orddeptcd"));
  240. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("deptcd")) = grd_ivrecinfo2.valuematrix(i, grd_ivrecinfo2.colRef("deptcd"));
  241. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("ivcd")) = grd_ivrecinfo2.valuematrix(i, grd_ivrecinfo2.colRef("ivcd"));
  242. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("ivuserid")) = grd_ivrecinfo2.valuematrix(i, grd_ivrecinfo2.colRef("ivuserid"));
  243. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("ivdd")) = getCurrentDate();
  244. grd_ivrecinfo.valuematrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("ivtm")) = getCurrentDateTime().substring(9,13);
  245. }
  246. }
  247. model.removeNodeset("/root/tmp");
  248. model.makeNode("/root/tmp");
  249. model.refresh();
  250. ]]>
  251. </script>
  252. </button>
  253. <button id="btn_save" class="btn5_letter2" style="left:1152px; top:70px; width:42px; height:19px; font-family:굴림; ">
  254. <caption>저장</caption>
  255. <script type="javascript" ev:event="DOMActivate">
  256. <![CDATA[
  257. var ivtmcnt = 0 ;
  258. for(var i=grd_ivrecinfo.fixedRows; i <grd_ivrecinfo.rows; i++) {
  259. if(model.getValue("/root/main/ivrecinfo/ivreclist[" + i + "]/ivtm") != ""){
  260. if(model.getValue("/root/main/ivrecinfo/ivreclist[" + i + "]/ivtm").length != 4){
  261. ivtmcnt++;
  262. }
  263. }
  264. }
  265. if(ivtmcnt > 0){
  266. messageBox("실시 시간을 정확히 입력하세요.(네자리)", "E");
  267. return;
  268. }
  269. var data = getGridUpdateData(grd_ivrecinfo) ;
  270. if(data == "") {
  271. messageBox("저장 할 내역이", "I004");
  272. return;
  273. }
  274. model.makeValue("/root/send/savedata/ivreclist", data);
  275. submit("TXMNW14521");
  276. fSearch() ;
  277. ]]>
  278. </script>
  279. </button>
  280. <datagrid id="grd_ivrecinfo2" nodeset="/root/main/ivrecinfo2/ivreclist" class="datagrid2" caption="no^성명^S/A^등록번호^진료과^부서^IV목적^주입부위^시행자&#xA;(호출 IV팀)^비고" colsep="^" colwidth="0, 65, 45, 60, 120, 120, 65, 190, 70, 190" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:490px; width:1194px; height:275px; ">
  281. <col ref="recno"/>
  282. <col ref="hngnm" style="text-align:left; "/>
  283. <col ref="sexage"/>
  284. <col ref="pid" style="text-align:center; "/>
  285. <col disabled="true" ref="orddeptcd" type="combo" style="text-align:left; ">
  286. <choices>
  287. <itemset nodeset="/root/init2/cmblist/orddeptlist">
  288. <label ref="depthngnm"/>
  289. <value ref="deptcd"/>
  290. </itemset>
  291. </choices>
  292. </col>
  293. <col disabled="true" ref="deptcd" type="combo" style="text-align:left; ">
  294. <choices>
  295. <itemset nodeset="/root/init/deptinfo/deptlist">
  296. <label ref="depthngnm"/>
  297. <value ref="deptcd"/>
  298. </itemset>
  299. </choices>
  300. </col>
  301. <col disabled="true" ref="ivcd" type="combo" style="text-align:center; ">
  302. <choices>
  303. <itemset nodeset="/root/init/codeinfo/codelist[cdgrupid='I06']">
  304. <label ref="cdnm"/>
  305. <value ref="cdid"/>
  306. </itemset>
  307. </choices>
  308. </col>
  309. <col ref="ivremfact" type="input" maxlength="60"/>
  310. <col disabled="true" ref="ivuserid" type="combo" style="text-align:center; ">
  311. <choices>
  312. <itemset nodeset="/root/init/codeinfo/codelist[cdgrupid='I07']">
  313. <label ref="cdnm"/>
  314. <value ref="supcdid"/>
  315. </itemset>
  316. </choices>
  317. </col>
  318. <col ref="rmk" type="input" maxlength="60"/>
  319. </datagrid>
  320. <datagrid id="grd_ivrecinfo" nodeset="/root/main/ivrecinfo/ivreclist" class="datagrid2" caption="no^성명^S/A^등록번호^부서^진료과^IV목적^주입부위^실시일자^실시&#xA;시간^실시자&#xA;(호출 IV팀)^비고^기록번호^기록일자^기록시간" colsep="^" colwidth="0, 65, 45, 60, 135, 135, 70, 190, 95, 55, 70, 190, 60, 60, 60" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:95px; width:1194px; height:670px; ">
  321. <col ref="recno"/>
  322. <col ref="hngnm" style="text-align:left; "/>
  323. <col ref="sexage" style="text-align:center; "/>
  324. <col ref="pid" style="text-align:center; "/>
  325. <col ref="deptcd" type="combo" style="text-align:left; ">
  326. <choices>
  327. <itemset nodeset="/root/init/deptinfo/deptlist">
  328. <label ref="depthngnm"/>
  329. <value ref="deptcd"/>
  330. </itemset>
  331. </choices>
  332. </col>
  333. <col ref="orddeptcd" type="combo" style="text-align:left; ">
  334. <choices>
  335. <itemset nodeset="/root/init2/cmblist/orddeptlist">
  336. <label ref="depthngnm"/>
  337. <value ref="deptcd"/>
  338. </itemset>
  339. </choices>
  340. </col>
  341. <col ref="ivcd" type="combo" style="text-align:left; ">
  342. <choices>
  343. <itemset nodeset="/root/init/codeinfo/codelist[cdgrupid='I06' or cdid = '']">
  344. <label ref="cdnm"/>
  345. <value ref="cdid"/>
  346. </itemset>
  347. </choices>
  348. </col>
  349. <col ref="ivremfact" type="input" maxlength="60"/>
  350. <col editable="false" ref="ivdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  351. <col ref="ivtm" type="input" format="hh:nn" style="text-align:center; "/>
  352. <col ref="ivuserid" type="combo" style="text-align:left; ">
  353. <choices>
  354. <itemset nodeset="/root/init/codeinfo/codelist[cdgrupid='I07' or supcdid = '']">
  355. <label ref="cdnm"/>
  356. <value ref="supcdid"/>
  357. </itemset>
  358. </choices>
  359. </col>
  360. <col ref="rmk" type="input" maxlength="60"/>
  361. <col ref="recno" visibility="hidden"/>
  362. <col ref="recdd" visibility="hidden"/>
  363. <col ref="rectm" visibility="hidden"/>
  364. <script type="javascript" ev:event="xforms-value-changed">
  365. <![CDATA[
  366. if(grd_ivrecinfo.col == grd_ivrecinfo.colRef("ivtm")){
  367. if(model.getValue("/root/main/ivrecinfo/ivreclist[" + grd_ivrecinfo.row + "]/ivtm").length != 4){
  368. messageBox("실시 시간을 정확히 입력하세요.(네자리)", "I");
  369. return;
  370. }
  371. }
  372. // if(grd_ivrecinfo.col == grd_ivrecinfo.colRef("ivremfact")) {
  373. // grd_ivrecinfo.valueMatrix(grd_ivrecinfo.row, grd_ivrecinfo.colRef("chkyn")) = "Y";
  374. // }
  375. ]]>
  376. </script>
  377. <script type="javascript" ev:event="onaftersort">
  378. <![CDATA[
  379. grd_ivrecinfo.gridToInstance();
  380. ]]>
  381. </script>
  382. </datagrid>
  383. <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" navindex="4" appearance="minimal" style="left:725px; top:30px; width:80px; height:19px; font-family:굴림; ">
  384. <choices>
  385. <itemset nodeset="/root/init/ward">
  386. <label ref="depthngnm"/>
  387. <value ref="deptcd"/>
  388. </itemset>
  389. </choices>
  390. <script type="javascript" ev:event="onkeyup">
  391. <![CDATA[
  392. inputEnterKey("btn_ref", "DOMActivate");
  393. ]]>
  394. </script>
  395. </input>
  396. <caption id="caption2" class="search_name" style="left:635px; top:30px; width:91px; height:17px; font-family:굴림; ">등록번호 :</caption>
  397. <select1 id="cmb_ivcd" ref="/root/main/cond/ivcd" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:820px; top:30px; width:40px; height:19px; font-family:굴림; ">
  398. <choices>
  399. <itemset nodeset="/root/init/codeinfo/codelist[cdgrupid='I06' or cdid = '']">
  400. <label ref="cdnm"/>
  401. <value ref="cdid"/>
  402. </itemset>
  403. </choices>
  404. <script type="javascript" ev:event="xforms-value-changed">
  405. <![CDATA[
  406. fSearch();
  407. ]]>
  408. </script>
  409. </select1>
  410. <select1 id="cmb_ivuserid" ref="/root/main/cond/ivuserid" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:865px; top:30px; width:40px; height:19px; font-family:굴림; ">
  411. <choices>
  412. <itemset nodeset="/root/init/codeinfo/codelist[cdgrupid='I07' or supcdid = '']">
  413. <label ref="cdnm"/>
  414. <value ref="supcdid"/>
  415. </itemset>
  416. </choices>
  417. <script type="javascript" ev:event="xforms-value-changed">
  418. <![CDATA[
  419. fSearch();
  420. ]]>
  421. </script>
  422. </select1>
  423. </group>
  424. </xhtml:body>
  425. </xhtml:html>