SMLLF90100_검사정보관리.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLLF90100_검사정보관리.xrw
  4. * 설 명 : 검사정보관리
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2007.5.23
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>검사정보관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <testinfo>
  20. <testbaseinfo>
  21. <!-- spccd에 따른 화면에 뿌려질 검사기본정보 인스턴스 -->
  22. <tclscd/>
  23. <tclsscrnnm/>
  24. <tclskind/>
  25. <spcscrnnm/>
  26. <tubescrnnm/>
  27. <tclscdfromdd/>
  28. <extrtestyn/>
  29. <testexecdt/>
  30. <testclosdt/>
  31. <usedd/>
  32. <userdeptcd/>
  33. <telno/>
  34. <ref/>
  35. <testmthd/>
  36. <warncnts/>
  37. <bcollcau/>
  38. <testinfo/>
  39. <tcls/>
  40. <tubeorgimg/>
  41. <sun/>
  42. <mon/>
  43. <tue/>
  44. <wed/>
  45. <thr/>
  46. <fri/>
  47. <sat/>
  48. <closcomment/>
  49. </testbaseinfo>
  50. <tmptestbaseinfo>
  51. <!-- 임시로 검사기본정보 넣을 인스턴스 -->
  52. <tclscd/>
  53. <tclsscrnnm/>
  54. <tclskind/>
  55. <spcscrnnm/>
  56. <tubescrnnm/>
  57. <tclscdfromdd/>
  58. <extrtestyn/>
  59. <testexecdt/>
  60. <testclosdt/>
  61. <usedd/>
  62. <userdeptcd/>
  63. <telno/>
  64. <ref/>
  65. <testmthd/>
  66. <warncnts/>
  67. <bcollcau/>
  68. <testinfo/>
  69. <tcls/>
  70. <tubeorgimg/>
  71. <closcomment/>
  72. </tmptestbaseinfo>
  73. <testdetlinfo>
  74. <!-- 세부검사목록 -->
  75. <grupsnglflag/>
  76. <calcscorcdgrup/>
  77. <calcscorcd/>
  78. <insuedicd/>
  79. <ordnm/>
  80. <ediunitcost/>
  81. <gnrlcost/>
  82. <gnrlpynpy1/>
  83. <tclscd/>
  84. </testdetlinfo>
  85. </testinfo>
  86. <searchtest>
  87. <mdlnm/>
  88. <tclscd/>
  89. <tclsnm/>
  90. </searchtest>
  91. </main>
  92. <send>
  93. <tclscd/>
  94. <testexecdt/>
  95. <testclosdt/>
  96. <usedd/>
  97. <userdeptcd/>
  98. <telno/>
  99. <testmthd/>
  100. <warncnts/>
  101. <testinfo/>
  102. <tcls/>
  103. <tclsnm/>
  104. <codeflag/>
  105. <userdeptflagcd/>
  106. <closcomment/>
  107. </send>
  108. <init>
  109. <cd/>
  110. <nm/>
  111. </init>
  112. <hidden>
  113. <tclscd/>
  114. <tclsnm/>
  115. <spccd/>
  116. </hidden>
  117. </root>
  118. </instance>
  119. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  120. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  121. <submission id="TRLLF90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testinfo"/>
  122. <submission id="TXLLF90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  123. <script type="javascript" ev:event="xforms-ready">
  124. <![CDATA[
  125. model.setFocus("ipt_tclscd");
  126. model.setValue("/root/send/codeflag", "0000|0009|"); //0000 : 사용자부서구분코드, 0009 : 담당부서(시행부서)
  127. submit("TRLZZ00101");
  128. //메뉴에서 열지 않았을때 저장버튼 비활성화
  129. btn_save.disabled = true;
  130. if(model.getValue("/root/properties/menu/menuparam")=="S"){ // 핵의학 진검메뉴에 메뉴파라미터 S 지정
  131. btn_save.disabled = false;
  132. cmb_sect.disabled = false;
  133. }
  134. //alert(model.getValue("root/init/LB0000/cd"));
  135. //alert(model.getValue("root/init/LB0000/nm"));
  136. if(( model.getValue("root/init/LB0000/nm")=="L" )||(model.getValue("root/init/LB0000/nm")=="N" ) ){
  137. btn_save.disabled = false;
  138. }else{ // 검사코드 있을때 자동조회
  139. btn_save.disabled = true;
  140. }
  141. // 검사코드 없을때
  142. if(model.getValue("/root/hidden/tclscd")==""){
  143. return;
  144. }else{ // 검사코드 있을때 자동조회
  145. fGetTestCd("popup");
  146. }
  147. ]]>
  148. </script>
  149. <submission id="TRLLF90102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/searchtest"/>
  150. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB"/>
  151. </model>
  152. <script type="javascript">
  153. <![CDATA[
  154. // *사용* 키이벤트 엔터키 입력시 접수flow
  155. function fKeyEvent(){
  156. if(event.keyCode == "13"){
  157. if(event.target == "ipt_tclscd"){
  158. model.setvalue("/root/hidden/tclscd", ipt_tclscd.currentText);
  159. fGetTestCd("tclscd");
  160. ipt_tclscd.selBegin = 0;
  161. ipt_tclscd.selEnd = ipt_tclscd.currentText.length;
  162. model.setFocus("ipt_tclsnm");
  163. } else if(event.target == "ipt_tclsnm"){
  164. model.setvalue("/root/hidden/tclsnm", ipt_tclsnm.currentText);
  165. fGetTestCd("tclsnm");
  166. ipt_tclsnm.selBegin = 0;
  167. ipt_tclsnm.selEnd = ipt_tclsnm.currentText.length;
  168. }
  169. }
  170. }
  171. function fExeCancel() {
  172. window.close();
  173. }
  174. //검사코드(or 다른화면에서 팝업으로 띄울때) 또는 검사명에서 검색했을때..
  175. function fGetTestCd(Flag) {
  176. if(Flag != "popup") { //다른화면에서 팝업으로 띄울때가 아니라면 검체코드를 삭제 시켜준다. 그래야 다른 검사 조회시 검체코드가 셋팅된다.
  177. model.resetInstanceNode("/root/hidden/spccd");
  178. }
  179. if((Flag == "tclscd") || (Flag == "popup")) { //검사코드(or 다른화면에서 팝업으로 띄울때) 검색
  180. model.setValue("/root/send/tclscd", model.getValue("/root/hidden/tclscd").toUpperCase());
  181. model.setValue("/root/send/tclsnm", "");
  182. } else if(Flag == "tclsnm") { //검색명 검색
  183. model.setValue("/root/send/tclscd", "");
  184. model.setValue("/root/send/tclsnm", model.getValue("/root/hidden/tclsnm"));
  185. }
  186. //진검,핵의학 메뉴에서 들어왔을때만 부서구분 보낸다.
  187. if(btn_save.disabled == false){
  188. model.setValue("/root/send/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
  189. }
  190. submit("TRLLF90102");
  191. var count = getNodesetCount("/root/main/searchtest");
  192. if(count < 2) {
  193. fGetTcls("1");
  194. }else {
  195. if(Flag == "popup") { //팝업으로 띄웠을 경우 동일한 검사를 조회한다.
  196. var row = grd_searchtest.findRow(model.getValue("/root/hidden/tclscd").toUpperCase(), 1, 2, true, true);
  197. fGetTcls(row);
  198. } else { //검색된 검사가 많을 경우
  199. grd_searchtest.attribute("visibility") = "visible";
  200. }
  201. }
  202. }
  203. //검사된 검사코드 클릭시
  204. function fGetTcls(flag) {
  205. //if(flag != "") { //로우가 정해진 경우
  206. model.setValue("/root/hidden/tclscd", model.getValue("/root/main/searchtest["+ flag +"]/tclscd"));
  207. model.setValue("/root/hidden/tclsnm", model.getValue("/root/main/searchtest["+ flag +"]/tclsnm"));
  208. //} else { //로우가 정해지지 않은 경우(그리드에서 선택시)
  209. // model.setValue("/root/hidden/tclscd", model.getValue("/root/main/searchtest["+ grd_searchtest.row +"]/tclscd"));
  210. // model.setValue("/root/hidden/tclsnm", model.getValue("/root/main/searchtest["+ grd_searchtest.row +"]/tclsnm"));
  211. //}
  212. grd_searchtest.attribute("visibility") = "hidden";
  213. fGetTestInfo();
  214. }
  215. // 검사 정보 조회
  216. function fGetTestInfo(){
  217. model.setValue("/root/send/tclscd", model.getValue("/root/hidden/tclscd"));//.toUpperCase());
  218. // 검사 기본정보 조회
  219. submit("TRLLF90101");
  220. if(getNodesetCount("/root/main/testinfo/tmptestbaseinfo") > 0) { //임시 검사기본 정보가 있을 경우
  221. var spccd = model.getValue("/root/main/testinfo/tmptestbaseinfo[1]/spccd"); //첫번째 로우 spccd(검체 콤보 기본으로 선택)
  222. if(model.getValue("/root/hidden/spccd") != "") { //팝업에서 spccd를 넘겨준 경우
  223. spccd = model.getValue("/root/hidden/spccd") ; //팝업에서 보낸 spccd셋팅
  224. }
  225. model.makeNode("/root/main/testinfo/testbaseinfo"); //화면에 보여지는 검사기본정보 노드 생성
  226. //선택된 spccd의 임시검사기본정보 노드를 화면에 보여지는 검사기본정보 노드에 카피한다.
  227. copyNodesetType("/root/main/testinfo/testbaseinfo", "/root/main/testinfo/tmptestbaseinfo[spccd='" + spccd + "']");
  228. model.setValue("/root/hidden/spccd", spccd);
  229. if(model.getValue("/root/main/testinfo/testbaseinfo/tubeorgimg") != ""){ //튜브 이미지가 있을 경우
  230. setImageRefInstance("/root/main/testinfo/testbaseinfo/tubeorgimg");
  231. img1.refresh();
  232. }
  233. }
  234. model.refresh();
  235. }
  236. // 검사정보 저장
  237. function fExeTestInfo(){
  238. var tclscd = model.getValue("/root/hidden/tclscd");
  239. model.setValue("/root/send/tclscd", model.getValue("/root/hidden/tclscd"));
  240. model.setValue("/root/send/testexecdt", model.getValue("/root/main/testinfo/testbaseinfo/testexecdt").substr(0,8) + "000000");
  241. model.setValue("/root/send/testclosdt", model.getValue("/root/main/testinfo/testbaseinfo/testclosdt").substr(0,8) + "235959");
  242. model.setValue("/root/send/usedd", model.getValue("/root/main/testinfo/testbaseinfo/usedd"));
  243. model.setValue("/root/send/userdeptcd", model.getValue("/root/main/testinfo/testbaseinfo/userdeptcd"));
  244. model.setValue("/root/send/telno", model.getValue("/root/main/testinfo/testbaseinfo/telno"));
  245. model.setValue("/root/send/testmthd", model.getValue("/root/main/testinfo/testbaseinfo/testmthd"));
  246. model.setValue("/root/send/warncnts", model.getValue("/root/main/testinfo/testbaseinfo/warncnts"));
  247. model.setValue("/root/send/testinfo", model.getValue("/root/main/testinfo/testbaseinfo/testinfo"));
  248. model.setValue("/root/send/tcls", model.getValue("/root/main/testinfo/testbaseinfo/tcls"));
  249. model.setValue("/root/send/closcomment", model.getValue("/root/main/testinfo/testbaseinfo/closcomment"));
  250. if(submit("TXLLF90101")){
  251. model.setValue("/root/hidden/tclscd", tclscd);
  252. fGetTestInfo();
  253. }
  254. //model.reset();
  255. }
  256. function fPrint(){
  257. if(model.getValue("/root/main/testinfo/testbaseinfo/tcls") == ""){
  258. alert("출력할 내용이 없습니다");
  259. return;
  260. }
  261. var desc = model.getValue("/root/main/testinfo/testbaseinfo/testinfo");
  262. if(desc.length > 1450){
  263. var count = Math.ceil(desc.length / 1450);
  264. for(var co = 1 ; co <= count ; co++){
  265. var words = desc.substring((co-1) * 1450, co * 1450);
  266. model.makeValue("/root/main/testinfo/testbaseinfo["+ co +"]/testinfo", words);
  267. model.makeValue("/root/main/testinfo/testbaseinfo["+ co+"]/tcls", model.getValue("/root/main/testinfo/testbaseinfo["+ 1 +"]/tcls"));
  268. model.makeValue("/root/main/testinfo/testbaseinfo["+ co +"]/tclsscrnnm", model.getValue("/root/main/testinfo/testbaseinfo["+ 1 +"]/tclsscrnnm"));
  269. model.makeValue("/root/main/testinfo/testbaseinfo["+ co +"]/spcscrnnm", model.getValue("/root/main/testinfo/testbaseinfo["+ 1 +"]/spcscrnnm"));
  270. model.makeValue("/root/main/testinfo/testbaseinfo["+ co +"]/tubescrnnm", model.getValue("/root/main/testinfo/testbaseinfo["+ 1 +"]/tubescrnnm"));
  271. model.makeValue("/root/main/testinfo/testbaseinfo["+ co +"]/ref", model.getValue("/root/main/testinfo/testbaseinfo["+ 1 +"]/ref"));
  272. model.makeValue("/root/main/testinfo/testbaseinfo["+ co +"]/testmthd", model.getValue("/root/main/testinfo/testbaseinfo["+ 1 +"]/testmthd"));
  273. model.makeValue("/root/main/testinfo/testbaseinfo["+ co +"]/warncnts", model.getValue("/root/main/testinfo/testbaseinfo["+ 1 +"]/warncnts"));
  274. model.makeValue("/root/main/testinfo/testbaseinfo["+ co +"]/bcollcau", model.getValue("/root/main/testinfo/testbaseinfo["+ 1 +"]/bcollcau"));
  275. }
  276. }
  277. //model.removeNodeset("/root/hidden/report");
  278. //model.makeNode("/root/hidden/report/testinfo");
  279. //copyNodeListType("/root/hidden/report" , "/root/main/testinfo/testbaseinfo", "replace");
  280. exeReportPreview("RPLLF90100", "XMLSTR", "/root/main/testinfo/testbaseinfo");
  281. }
  282. ]]>
  283. </script>
  284. </xhtml:head>
  285. <xhtml:body pagewidth="1200" pageheight="730" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  286. <group id="group1" style="left:0px; top:0px; width:1160px; height:670px; ">
  287. <output id="output7" ref="/root/main/search/execdd" class="output_fix" visibility="hidden" style="left:128px; top:104px; width:80px; height:19px; "/>
  288. <output id="output4" ref="/root/main/testinfo/testbaseinfo/tubescrnnm" class="output_fix" style="left:430px; top:56px; width:170px; height:19px; "/>
  289. <output id="output5" ref="/root/main/testinfo/testbaseinfo/extrtestyn" class="output_fix" style="left:430px; top:80px; width:170px; height:19px; "/>
  290. <output id="output6" ref="/root/main/testinfo/testbaseinfo/tclskind" class="output_fix" style="left:571px; top:32px; width:29px; height:19px; "/>
  291. <caption id="caption10" class="cell_1" style="left:432px; top:103px; width:60px; height:23px; ">전화번호</caption>
  292. <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:1150px; y2:26px; "/>
  293. <caption id="caption6" class="cell_1" style="left:302px; top:31px; width:125px; height:23px; ">검사명</caption>
  294. <line id="line3" class="line_2" style="x1:0px; y1:77px; x2:600px; y2:77px; "/>
  295. <caption id="caption7" class="cell_1" style="left:302px; top:55px; width:125px; height:23px; ">용기명</caption>
  296. <caption id="caption17" visibility="hidden" style="left:208px; top:106px; width:10px; height:20px; text-align:center; vertical-align:middle; ">/</caption>
  297. <line id="line4" class="line_2" style="x1:0px; y1:101px; x2:600px; y2:101px; "/>
  298. <caption id="caption8" class="cell_1" style="left:302px; top:79px; width:125px; height:23px; ">외부여부</caption>
  299. <line id="line5" class="line_2" style="x1:0px; y1:125px; x2:600px; y2:125px; "/>
  300. <output id="output1" ref="/root/main/testinfo/testbaseinfo/spcscrnnm" class="output_fix" style="left:128px; top:56px; width:170px; height:19px; "/>
  301. <caption id="caption9" class="cell_1" style="left:302px; top:103px; width:50px; height:23px; ">소요일</caption>
  302. <output id="output2" ref="/root/main/testinfo/testbaseinfo/tclscdfromdd" class="output_fix" format="yyyy-mm-dd" style="left:128px; top:80px; width:170px; height:19px; "/>
  303. <input id="ipt_tclsnm" ref="/root/hidden/tclsnm" inputtype="button" style="left:430px; top:32px; width:138px; height:19px; ">
  304. <script type="javascript" ev:event="onbuttonclick">
  305. <![CDATA[
  306. fGetTestCd("tclsnm");
  307. ]]>
  308. </script>
  309. </input>
  310. <datagrid id="datagrid1" nodeset="/root/main/testinfo/testdetlinfo" caption="구분^그룹코드^수가코드^보험코드^검사명^보험가^일반가" colsep="^" colwidth="45, 70, 70, 70, 140, 80, 80" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:204px; width:600px; height:181px; text-align:center; ">
  311. <col ref="grupsnglflag" style="text-align:center; "/>
  312. <col ref="calcscorcdgrup" style="text-align:left; "/>
  313. <col ref="calcscorcd" style="text-align:left; "/>
  314. <col ref="insuedicd" style="text-align:left; "/>
  315. <col ref="ordnm" style="text-align:left; "/>
  316. <col ref="ediunitcost" format="#,###" style="text-align:right; "/>
  317. <col ref="gnrlpynpy1" format="#,###"/>
  318. </datagrid>
  319. <caption id="caption18" class="tit_2" style="left:5px; top:11px; width:123px; height:13px; ">검사 기본정보</caption>
  320. <line id="line7" class="line_1" style="x1:0px; y1:199px; x2:600px; y2:199px; "/>
  321. <caption id="caption19" class="tit_2" style="left:5px; top:184px; width:113px; height:13px; ">세부검사 목록</caption>
  322. <line id="line6" class="line_3" style="x1:0px; y1:175px; x2:600px; y2:175px; "/>
  323. <caption id="caption20" class="tit_2" style="left:5px; top:398px; width:113px; height:13px; ">검사 상세정보</caption>
  324. <line id="line8" class="line_1" style="x1:0px; y1:413px; x2:385px; y2:413px; "/>
  325. <line id="line10" class="line_2" style="x1:0px; y1:479px; x2:385px; y2:479px; "/>
  326. <line id="line12" class="line_2" style="x1:0px; y1:542px; x2:385px; y2:542px; "/>
  327. <line id="line11" class="line_2" style="x1:0px; y1:600px; x2:385px; y2:600px; "/>
  328. <line id="line9" class="line_2" style="x1:0px; y1:658px; x2:385px; y2:658px; "/>
  329. <textarea id="textarea1" ref="/root/main/testinfo/testbaseinfo/ref" style="left:128px; top:420px; width:247px; height:56px; background-color:#f2f2f2; "/>
  330. <textarea id="textarea2" ref="/root/main/testinfo/testbaseinfo/testmthd" navindex="6" style="left:128px; top:483px; width:247px; height:56px; "/>
  331. <textarea id="textarea3" ref="/root/main/testinfo/testbaseinfo/warncnts" navindex="7" style="left:128px; top:546px; width:247px; height:51px; "/>
  332. <textarea id="textarea4" ref="/root/main/testinfo/testbaseinfo/bcollcau" style="left:128px; top:604px; width:247px; height:51px; background-color:#f2f2f2; "/>
  333. <textarea id="textarea5" ref="/root/main/testinfo/testbaseinfo/testinfo" navindex="8" style="left:610px; top:68px; width:540px; height:592px; "/>
  334. <input id="output8" ref="/root/main/testinfo/testbaseinfo/testclosdt" class="input_default" navindex="2" visibility="hidden" format="yyyy-mm-dd" appearance="input" style="left:218px; top:104px; width:80px; height:19px; "/>
  335. <input id="output9" ref="/root/main/testinfo/testbaseinfo/usedd" class="input_default" navindex="3" appearance="input" style="left:355px; top:104px; width:75px; height:19px; "/>
  336. <output id="output10" ref="/root/main/search/chrgdept" class="output_fix" visibility="hidden" style="left:128px; top:105px; width:170px; height:19px; "/>
  337. <input id="output12" ref="/root/main/testinfo/testbaseinfo/testexecdt" class="input_default" navindex="1" visibility="hidden" format="yyyy-mm-dd" appearance="input" style="left:128px; top:104px; width:80px; height:19px; "/>
  338. <input id="output11" ref="/root/main/testinfo/testbaseinfo/userdeptcd" class="input_default" navindex="4" visibility="hidden" appearance="input" style="left:128px; top:104px; width:170px; height:19px; "/>
  339. <select1 id="cmb_sect" ref="/root/main/testinfo/testbaseinfo/userdeptcd" appearance="minimal" style="left:128px; top:104px; width:170px; height:19px; ">
  340. <choices>
  341. <itemset nodeset="/root/init/LB0009">
  342. <label ref="nm"/>
  343. <value ref="cd"/>
  344. </itemset>
  345. </choices>
  346. </select1>
  347. <input id="output211" ref="/root/main/testinfo/testbaseinfo/closcomment" class="input_default" navindex="4" appearance="input" style="left:128px; top:129px; width:472px; height:19px; "/>
  348. <input id="output13" ref="/root/main/testinfo/testbaseinfo/telno" class="input_default" navindex="5" appearance="input" style="left:494px; top:103px; width:106px; height:19px; "/>
  349. <group id="grp_week" disabled="true" style="left:126px; top:154px; width:400px; height:18px; ">
  350. <select id="chk_a" ref="/root/main/testinfo/testbaseinfo/mon" overflow="visible" appearance="full" style="left:5px; top:0px; width:35px; height:15px; border-style:none; ">
  351. <choices>
  352. <item>
  353. <label>월</label>
  354. <value>Y</value>
  355. </item>
  356. </choices>
  357. </select>
  358. <select id="chk_b" ref="/root/main/testinfo/testbaseinfo/tue" overflow="visible" appearance="full" style="left:61px; top:0px; width:35px; height:15px; border-style:none; ">
  359. <choices>
  360. <item>
  361. <label>화</label>
  362. <value>Y</value>
  363. </item>
  364. </choices>
  365. </select>
  366. <select id="chk_c" ref="/root/main/testinfo/testbaseinfo/wed" overflow="visible" appearance="full" style="left:117px; top:0px; width:35px; height:15px; border-style:none; ">
  367. <choices>
  368. <item>
  369. <label>수</label>
  370. <value>Y</value>
  371. </item>
  372. </choices>
  373. </select>
  374. <select id="chk_d" ref="/root/main/testinfo/testbaseinfo/thr" overflow="visible" appearance="full" style="left:173px; top:0px; width:35px; height:15px; border-style:none; ">
  375. <choices>
  376. <item>
  377. <label>목</label>
  378. <value>Y</value>
  379. </item>
  380. </choices>
  381. </select>
  382. <select id="chk_e" ref="/root/main/testinfo/testbaseinfo/fri" overflow="visible" appearance="full" style="left:229px; top:0px; width:35px; height:15px; border-style:none; ">
  383. <choices>
  384. <item>
  385. <label>금</label>
  386. <value>Y</value>
  387. </item>
  388. </choices>
  389. </select>
  390. <select id="chk_f" ref="/root/main/testinfo/testbaseinfo/sat" overflow="visible" appearance="full" style="left:285px; top:0px; width:35px; height:15px; border-style:none; ">
  391. <choices>
  392. <item>
  393. <label>토</label>
  394. <value>Y</value>
  395. </item>
  396. </choices>
  397. </select>
  398. <select id="chk_g" ref="/root/main/testinfo/testbaseinfo/sun" overflow="visible" appearance="full" style="left:341px; top:0px; width:35px; height:15px; border-style:none; ">
  399. <choices>
  400. <item>
  401. <label>일</label>
  402. <value>Y</value>
  403. </item>
  404. </choices>
  405. </select>
  406. </group>
  407. <caption id="caption11" class="cell_1" style="left:0px; top:418px; width:125px; height:62px; ">참고치</caption>
  408. <caption id="caption12" class="cell_1" style="left:0px; top:481px; width:125px; height:62px; ">검사법</caption>
  409. <caption id="caption13" class="cell_1" style="left:0px; top:544px; width:125px; height:57px; ">주의내용</caption>
  410. <caption id="caption14" class="cell_1" style="left:0px; top:602px; width:125px; height:57px; ">
  411. <![CDATA[검체 채취시
  412. 주의사항]]>
  413. </caption>
  414. <caption id="caption15" class="cell_1" style="left:610px; top:31px; width:540px; height:34px; text-align:center; ">임 상 적 의 의</caption>
  415. <caption id="caption1" class="cell_1" style="left:0px; top:31px; width:125px; height:23px; ">검사코드</caption>
  416. <caption id="caption2" class="cell_1" style="left:0px; top:55px; width:125px; height:23px; ">검체명</caption>
  417. <caption id="caption3" class="cell_1" style="left:0px; top:79px; width:125px; height:23px; ">적용일자</caption>
  418. <caption id="caption4" class="cell_1" visibility="hidden" style="left:0px; top:103px; width:125px; height:23px; ">검사실시일/마감일자</caption>
  419. <caption id="caption5" class="cell_1" style="left:0px; top:103px; width:125px; height:23px; ">담당부서</caption>
  420. <caption id="caption225" class="cell_1" style="left:0px; top:127px; width:125px; height:23px; ">검사마감정보</caption>
  421. <line id="line2" class="line_2" style="x1:0px; y1:53px; x2:600px; y2:53px; "/>
  422. <caption id="caption16" class="tit_2" style="left:390px; top:398px; width:113px; height:13px; ">용기이미지</caption>
  423. <line id="line15" class="line_1" style="x1:390px; y1:413px; x2:599px; y2:413px; "/>
  424. <caption id="caption21" class="no_image" visibility="hidden" style="left:390px; top:418px; width:210px; height:240px; vertical-align:middle; "/>
  425. <img id="img1" ref="/root/main/testinfo/testbaseinfo/tubeorgimg" visibility="visible" style="left:390px; top:418px; width:210px; height:240px; background-image:../../../com\commonweb\images\no_image.gif; background-stretch:stretch; border-color:#999999; border-width:1px; border-style:solid; "/>
  426. <line id="line13" class="line_3" style="x1:0px; y1:663px; x2:1150px; y2:663px; "/>
  427. <input id="ipt_tclscd" ref="/root/hidden/tclscd" class="input_essential" inputtype="button" style="left:128px; top:32px; width:148px; height:19px; ">
  428. <script type="javascript" ev:event="onbuttonclick">
  429. <![CDATA[
  430. fGetTestCd("tclscd");
  431. ]]>
  432. </script>
  433. </input>
  434. <select1 id="combo1" ref="/root/hidden/spccd" appearance="minimal" style="left:128px; top:56px; width:170px; height:20px; ">
  435. <choices>
  436. <itemset nodeset="/root/main/testinfo/tmptestbaseinfo">
  437. <label ref="spcscrnnm"/>
  438. <value ref="spccd"/>
  439. </itemset>
  440. </choices>
  441. <script type="javascript" ev:event="xforms-value-changed">
  442. <![CDATA[
  443. var spccd = model.getValue("/root/hidden/spccd"); //선택한 spccd
  444. //선택된 spccd의 임시검사기본정보 노드를 화면에 보여지는 검사기본정보 노드에 카피한다.
  445. copyNodesetType("/root/main/testinfo/testbaseinfo", "/root/main/testinfo/tmptestbaseinfo[spccd='"+ spccd +"']");
  446. if(model.getValue("/root/main/testinfo/testbaseinfo/tubeorgimg") != ""){ //튜브이미지가 잇을 경우
  447. setImageRefInstance("/root/main/testinfo/testbaseinfo/tubeorgimg");
  448. img1.refresh();
  449. }
  450. model.refresh();
  451. ]]>
  452. </script>
  453. </select1>
  454. <datagrid id="grd_searchtest" nodeset="/root/main/searchtest" visibility="hidden" caption="구분^중분류^검사코드^검사명" colsep="^" colwidth="70, 100, 85, 290" mergecellsfixedrows="bycolrec" rowsep="|" style="left:510px; top:70px; width:575px; height:300px; ">
  455. <col ref="userdeptflagnm"/>
  456. <col ref="testmdlscrnnm"/>
  457. <col ref="tclscd"/>
  458. <col ref="tclsnm"/>
  459. <script type="javascript" ev:event="ondblclick">
  460. <![CDATA[
  461. fGetTcls(grd_searchtest.row);
  462. ]]>
  463. </script>
  464. </datagrid>
  465. <line id="line16" class="line_2" style="x1:610px; y1:66px; x2:1150px; y2:66px; "/>
  466. <caption id="caption22" class="cell_1" style="left:0px; top:151px; width:125px; height:23px; ">실시요일</caption>
  467. </group>
  468. <group id="group3" style="left:0px; top:670px; width:1160px; height:27px; ">
  469. <button id="btn_cle" class="btn4_letter2" style="left:1104px; top:3px; width:56px; height:22px; ">
  470. <caption>취소</caption>
  471. <script type="javascript" ev:event="DOMActivate">
  472. <![CDATA[
  473. fExeCancel();
  474. ]]>
  475. </script>
  476. </button>
  477. <button id="btn_save" class="btn4_letter2" navindex="9" style="left:1045px; top:3px; width:56px; height:22px; ">
  478. <caption>저장</caption>
  479. <script type="javascript" ev:event="DOMActivate">
  480. <![CDATA[
  481. fExeTestInfo();
  482. ]]>
  483. </script>
  484. </button>
  485. <button id="btn_print" class="btn6_letter2" visibility="visible" style="left:986px; top:3px; width:56px; height:22px; ">
  486. <caption>출력</caption>
  487. <script type="javascript" ev:event="DOMActivate">
  488. <![CDATA[
  489. fPrint();
  490. ]]>
  491. </script>
  492. </button>
  493. <line id="line14" class="line_6" style="x1:0px; y1:25px; x2:1160px; y2:25px; "/>
  494. </group>
  495. <script type="javascript" ev:event="onkeypress">
  496. <![CDATA[
  497. fKeyEvent();
  498. ]]>
  499. </script>
  500. </xhtml:body>
  501. </xhtml:html>