SMLRR01500_이미지결과등록.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : .xrw
  4. * 설 명 : 이미지결과등록
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 조철형
  7. * 작 성 일 : 2007.05.14
  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/>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <imginfo>
  20. <bcno/>
  21. <testcd/>
  22. <spccd/>
  23. <rsltstat/>
  24. <fliename/>
  25. <history/>
  26. <size>0</size>
  27. <fileinfo readonly="true"/>
  28. <tclscd/>
  29. <rsltstatnm/>
  30. <pid/>
  31. </imginfo>
  32. <view>
  33. <imgnm/>
  34. <imgrslt/>
  35. <imgwidt/>
  36. <imght/>
  37. <rsltseqno/>
  38. <savdelflag/>
  39. </view>
  40. </main>
  41. <send>
  42. <data1/>
  43. <data2/>
  44. </send>
  45. <init>
  46. <imglist>
  47. <rsltseqno/>
  48. <lastupdtrdt/>
  49. <imgrslt/>
  50. <imght/>
  51. <imgwidt/>
  52. </imglist>
  53. </init>
  54. <hidden>
  55. <default/>
  56. <spcltestinfo>
  57. <extrtestinstcd/>
  58. <pid/>
  59. <patnm/>
  60. <orddeptnm/>
  61. <orddrnm/>
  62. <bcno/>
  63. <bcolldt/>
  64. <spcacptdt/>
  65. <lastreptdt/>
  66. <medispcdt/>
  67. <testcd/>
  68. <tclsscrnm/>
  69. <descrslt/>
  70. <testlrgkind/>
  71. <tclscd/>
  72. </spcltestinfo>
  73. <rsltseqno/>
  74. <report/>
  75. </hidden>
  76. </root>
  77. </instance>
  78. <script type="javascript" src="../js/LLZ001.js"/>
  79. <script type="javascript" ev:event="xforms-model-construct-done">
  80. <![CDATA[
  81. if(model.getvalue("/root/hidden/spcltestinfo/flag") == "rsltref"){
  82. model.toggle("case2");
  83. button1.attribute("visibility") = "hidden";
  84. button41.attribute("visibility") = "hidden";
  85. var testcd = model.getValue("/root/hidden/spcltestinfo/testcd");
  86. //alert(testcd);
  87. if(testcd == "LSI104" || testcd == "LSI105"){
  88. group1.attribute("visibility") = "hidden"
  89. group5.attribute("visibility") = "visible"
  90. combo2.attribute("visibility") = "hidden"
  91. fImgRef1("img_immno1"); //immno이미지
  92. fImgRef2("img_immno2"); //immno이미지
  93. fImgRef3("img_immno3"); //immno이미지
  94. fImgRef4("img_immno4"); //immno이미지
  95. fImgRef5("img_immno5"); //immno이미지
  96. fImgRef6("img_immno6"); //immno이미지
  97. }
  98. else{
  99. fImgRef();
  100. group1.attribute("visibility") = "visible"
  101. group5.attribute("visibility") = "hidden"
  102. }
  103. }
  104. else{
  105. model.toggle("case1");
  106. }
  107. initialize();
  108. if(model.getvalue("/root/main/view/imgrslt") == "")
  109. fChangeImage("../../../com/commonweb/images/no_image.gif");
  110. ]]>
  111. </script>
  112. <submission id="TRLRR01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/imglist"/>
  113. <submission id="TXLRR01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  114. <submission id="TRLRR01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/view"/>
  115. <submission id="TRLRR01506" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnoa"/>
  116. <submission id="TRLRR01507" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnob"/>
  117. <submission id="TRLRR01508" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnoc"/>
  118. <submission id="TRLRR01509" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnod"/>
  119. <submission id="TRLRR01510" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnoe"/>
  120. <submission id="TRLRR01511" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/immnof"/>
  121. <script type="javascript" ev:event="xforms-ready">
  122. <![CDATA[
  123. makeReportPreview("0","50","1194","600", "grp_report");
  124. ]]>
  125. </script>
  126. </model>
  127. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  128. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  129. <script type="javascript">
  130. <![CDATA[
  131. function initialize(){
  132. model.setvalue("/root/main/imginfo/bcno" , model.getvalue("/root/hidden/spcltestinfo/bcno"));
  133. model.setvalue("/root/main/imginfo/testcd" , model.getvalue("/root/hidden/spcltestinfo/testcd"));
  134. model.setvalue("/root/main/imginfo/spccd" , model.getvalue("/root/hidden/spcltestinfo/spccd"));
  135. model.setvalue("/root/main/imginfo/tclscd" , model.getvalue("/root/hidden/spcltestinfo/tclscd"));
  136. model.setvalue("/root/main/imginfo/pid" , model.getvalue("/root/hidden/spcltestinfo/pid"));
  137. model.setvalue("/root/main/imginfo/rsltstat" , model.getvalue("/root/hidden/spcltestinfo/rsltstat"));
  138. if(model.getvalue("/root/hidden/spcltestinfo/rsltstat") == "-"){
  139. model.setvalue("/root/main/imginfo/rsltstatnm" , "미검사");
  140. }
  141. else if(model.getvalue("/root/hidden/spcltestinfo/rsltstat") == "1"){
  142. model.setvalue("/root/main/imginfo/rsltstatnm" , "결과저장");
  143. }else if(model.getvalue("/root/hidden/spcltestinfo/rsltstat") == "4"){
  144. model.setvalue("/root/main/imginfo/rsltstatnm" , "결과보고");
  145. }else if(model.getvalue("/root/hidden/spcltestinfo/rsltstat") == "5"){
  146. model.setvalue("/root/main/imginfo/rsltstatnm" , "결과보고");
  147. }else if(model.getvalue("/root/hidden/spcltestinfo/rsltstat") == "6"){
  148. model.setvalue("/root/main/imginfo/rsltstatnm" , "전문의확인");
  149. }
  150. model.copyNode("/root/send/data1" , "/root/hidden/spcltestinfo");
  151. submit("TRLRR01501");
  152. if(getNodesetCount("/root/init/imglist/rsltseqno") > 0){
  153. combo3.value = model.getvalue("/root/init/imglist/rsltseqno");
  154. fImgRef();
  155. } else if(model.getValue("/root/main/imginfo/fileinfo") == "") {
  156. fChangeImage("../../../com/commonweb/images/no_image.gif");
  157. }
  158. model.refresh();
  159. }
  160. function fImgRef1(img){
  161. var img = document.controls.item(img);
  162. model.copyNode("/root/send/data1" , "/root/hidden/spcltestinfo");
  163. model.removeNodeset("/root/send/data2");
  164. model.makeValue("/root/send/data1/rsltseqno" ,"1");
  165. submit("TRLRR01506", false);
  166. setImageRefInstance("/root/main/immnoa/immno1/imgrslt");//이미지 셋팅
  167. img.attribute("width")= model.getValue("/root/main/immnoa/immno1/imgwidt");
  168. img.attribute("height")= model.getValue("/root/main/immnoa/immno1/imght");
  169. img_immno2.attribute("left") = model.getValue("/root/main/immnoa/immno1/imgwidt");
  170. //img_immno3.attribute("left") = model.getValue("/root/main/immnoa/immno1/imgwidt");
  171. img_immno4.attribute("top") = model.getValue("/root/main/immnoa/immno1/imght");
  172. img_immno5.attribute("left") = model.getValue("/root/main/immnoa/immno1/imgwidt");
  173. img_immno5.attribute("top") = model.getValue("/root/main/immnoa/immno1/imght");
  174. //img_immno6.attribute("left") = model.getValue("/root/main/immnoa/immno1/imgwidt");
  175. img_immno6.attribute("top") = model.getValue("/root/main/immnoa/immno1/imght");
  176. // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
  177. // submit("TRLRR01502", false);
  178. // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
  179. model.removeNodeset("/root/send/data1");
  180. model.makeNode("/root/send/data1");
  181. model.makeNode("/root/send/data2");
  182. model.refresh();
  183. }
  184. //이미지 결과 조회, 이미지 표현
  185. function fImgRef2(img){
  186. var img = document.controls.item(img);
  187. model.copyNode("/root/send/data1" , "/root/hidden/spcltestinfo");
  188. model.removeNodeset("/root/send/data2");
  189. model.makeValue("/root/send/data1/rsltseqno" ,"2");
  190. submit("TRLRR01507", false);
  191. setImageRefInstance("/root/main/immnob/immno2/imgrslt");//이미지 셋팅
  192. img.attribute("width")= model.getValue("/root/main/immnob/immno2/imgwidt");
  193. img.attribute("height")= model.getValue("/root/main/immnob/immno2/imght");
  194. var immno2left = img_immno2.attribute("left");
  195. //alert(immno2left);
  196. var immno2width = model.getValue("/root/main/immnob/immno2/imgwidt");
  197. //alert(immno2width);
  198. img_immno3.attribute("left") = parseInt(immno2left) + parseInt(immno2width);
  199. img_immno6.attribute("left") = parseInt(immno2left) + parseInt(immno2width);
  200. // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
  201. // submit("TRLRR01502", false);
  202. // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
  203. model.removeNodeset("/root/send/data1");
  204. model.makeNode("/root/send/data1");
  205. model.makeNode("/root/send/data2");
  206. model.refresh();
  207. }
  208. //이미지 결과 조회, 이미지 표현
  209. function fImgRef3(img){
  210. var img = document.controls.item(img);
  211. model.copyNode("/root/send/data1" , "/root/hidden/spcltestinfo");
  212. model.removeNodeset("/root/send/data2");
  213. model.makeValue("/root/send/data1/rsltseqno" ,"3");
  214. submit("TRLRR01508", false);
  215. setImageRefInstance("/root/main/immnoc/immno3/imgrslt");//이미지 셋팅
  216. img.attribute("width")= model.getValue("/root/main/immnoc/immno3/imgwidt");
  217. img.attribute("height")= model.getValue("/root/main/immnoc/immno3/imght");
  218. // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
  219. // submit("TRLRR01502", false);
  220. // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
  221. model.removeNodeset("/root/send/data1");
  222. model.makeNode("/root/send/data1");
  223. model.makeNode("/root/send/data2");
  224. model.refresh();
  225. }
  226. //이미지 결과 조회, 이미지 표현
  227. function fImgRef4(img){
  228. var img = document.controls.item(img);
  229. model.copyNode("/root/send/data1" , "/root/hidden/spcltestinfo");
  230. model.removeNodeset("/root/send/data2");
  231. model.makeValue("/root/send/data1/rsltseqno" ,"4");
  232. submit("TRLRR01509", false);
  233. setImageRefInstance("/root/main/immnod/immno4/imgrslt");//이미지 셋팅
  234. img.attribute("width")= model.getValue("/root/main/immnod/immno4/imgwidt");
  235. img.attribute("height")= model.getValue("/root/main/immnod/immno4/imght");
  236. // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
  237. // submit("TRLRR01502", false);
  238. // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
  239. model.removeNodeset("/root/send/data1");
  240. model.makeNode("/root/send/data1");
  241. model.makeNode("/root/send/data2");
  242. model.refresh();
  243. }
  244. //이미지 결과 조회, 이미지 표현
  245. function fImgRef5(img){
  246. var img = document.controls.item(img);
  247. model.copyNode("/root/send/data1" , "/root/hidden/spcltestinfo");
  248. model.removeNodeset("/root/send/data2");
  249. model.makeValue("/root/send/data1/rsltseqno" ,"5");
  250. submit("TRLRR01510", false);
  251. setImageRefInstance("/root/main/immnoe/immno5/imgrslt");//이미지 셋팅
  252. img.attribute("width")= model.getValue("/root/main/immnoe/immno5/imgwidt");
  253. img.attribute("height")= model.getValue("/root/main/immnoe/immno5/imght");
  254. // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
  255. // submit("TRLRR01502", false);
  256. // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
  257. model.removeNodeset("/root/send/data1");
  258. model.makeNode("/root/send/data1");
  259. model.makeNode("/root/send/data2");
  260. model.refresh();
  261. }
  262. //이미지 결과 조회, 이미지 표현
  263. function fImgRef6(img){
  264. var img = document.controls.item(img);
  265. model.copyNode("/root/send/data1" , "/root/hidden/spcltestinfo");
  266. model.removeNodeset("/root/send/data2");
  267. model.makeValue("/root/send/data1/rsltseqno" ,"6");
  268. submit("TRLRR01511", false);
  269. setImageRefInstance("/root/main/immnof/immno6/imgrslt");//이미지 셋팅
  270. img.attribute("width")= model.getValue("/root/main/immnof/immno6/imgwidt");
  271. img.attribute("height")= model.getValue("/root/main/immnof/immno6/imght");
  272. // model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/main/imglist/rsltseqno["+i+"]"));
  273. // submit("TRLRR01502", false);
  274. // setImageRefInstance("/root/main/view/imgrslt");//이미지 셋팅
  275. model.removeNodeset("/root/send/data1");
  276. model.makeNode("/root/send/data1");
  277. model.makeNode("/root/send/data2");
  278. model.refresh();
  279. }
  280. // 저장
  281. function fInsSaveDelete(flag){
  282. var imgsrc = img1.src;
  283. var size = getImageSize(imgsrc);
  284. if(size == ""){
  285. return;
  286. }
  287. model.setvalue("/root/main/view/savdelflag" , flag);
  288. model.copyNode("/root/send/data1" , "/root/main/imginfo");
  289. model.copyNode("/root/send/data2" , "/root/main/view" );
  290. submit("TXLRR01501");
  291. model.copyNode("/root/send/data1" , "/root/hidden/default");
  292. model.copyNode("/root/send/data2" , "/root/hidden/default");
  293. initialize();
  294. }
  295. // 출력
  296. function fExePrint(){
  297. model.resetInstanceNode("/root/hidden/report");
  298. copyNodeListType("/root/hidden/report", "/root/main/view", "after");
  299. exeReportPreview("RPLRR01500", "XMLSTR", "/root/hidden/report","" ,"true", "", "", "", "", "", "", "grp_report"); // 미리보기없이 바로출력
  300. //exeReportPreview("RPLRR01500", "XMLSTR", "/root/hidden/report"); // 미리보기 띄우기
  301. }
  302. function fOnclickFileSearch(){
  303. var file = openImageFileDialog(); // image 파일이 너무 크면 submit 시간이 매우 오래(5분이상) 걸리므로 가급적 사이즈를 작게 제한한다.
  304. if (file == "") {
  305. return;
  306. }
  307. model.setvalue("/root/main/imginfo/fileinfo",file)
  308. fChangeImage(file);
  309. }
  310. function fChangeImage(imgsrc){
  311. img2.src = imgsrc;
  312. var data = img2.getbase64data();
  313. var imgSize = getImageSize(imgsrc);
  314. model.setValue("/root/main/view/imgrslt",data,true);
  315. setImageRefInstance("/root/main/view/imgrslt");
  316. if(imgSize.split("^")[0] > 845)
  317. {
  318. //alert("!!!!!!!!");
  319. model.setValue("/root/main/view/imgwidt", Math.floor(imgSize.split("^")[0]* 0.4));
  320. model.setValue("/root/main/view/imght", Math.floor(imgSize.split("^")[1]* 0.4));
  321. img1.attribute("width")= Math.floor(imgSize.split("^")[0]* 0.4);
  322. img1.attribute("height")= Math.floor(imgSize.split("^")[1]* 0.4);
  323. }
  324. else
  325. {
  326. model.setValue("/root/main/view/imgwidt", imgSize.split("^")[0]);
  327. model.setValue("/root/main/view/imght", imgSize.split("^")[1]);
  328. img1.attribute("width")= imgSize.split("^")[0];
  329. img1.attribute("height")= imgSize.split("^")[1];
  330. }
  331. model.refresh();
  332. }
  333. function fViewTypeSeolJeong(mode){
  334. var imgsrc = img1.src;
  335. var size = getImageSize(imgsrc);
  336. if(size == ""){
  337. return;
  338. }
  339. //img1.setViewMode(mode);
  340. }
  341. function fImgRef(){
  342. copyNodesetType("/root/send/data1" , "/root/main/imginfo");
  343. model.makeValue("/root/send/data1/rsltseqno" , model.getValue("/root/hidden/rsltseqno"));
  344. model.removeNodeset("/root/send/data2");
  345. submit("TRLRR01502",false);
  346. setImageRefInstance("/root/main/view/imgrslt");
  347. // img1.attribute("width")= model.getValue("/root/main/view/imgwidt");
  348. // img1.attribute("height")= model.getValue("/root/main/view/imght");
  349. var imgwidth = model.getValue("/root/main/view/imgwidt");
  350. var imgheight = model.getValue("/root/main/view/imght");
  351. if( imgwidth > "845")
  352. {
  353. imgwidth = imgwidth * 0.8;
  354. }
  355. if( imgheight > "845")
  356. {
  357. imgheight = imgheight * 0.8;
  358. }
  359. img1.attribute("width") = imgwidth;
  360. img1.attribute("height") = imgheight;
  361. model.removeNodeset("/root/send/data1");
  362. model.makeNode("/root/send/data1");
  363. model.makeNode("/root/send/data2");
  364. model.refresh();
  365. }
  366. ]]>
  367. </script>
  368. </xhtml:head>
  369. <xhtml:body pagewidth="880" pageheight="800" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  370. <group id="grp_report" visibility="hidden" style="left:235px; top:110px; width:200px; height:150px; "/>
  371. <group id="group2" scroll="auto" style="left:0px; top:0px; width:850px; height:724px; ">
  372. <caption id="caption31" class="tit_2" style="left:5px; top:10px; width:115px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">이미지 정보</caption>
  373. <button id="button61" class="icon_search" style="left:430px; top:55px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  374. <caption/>
  375. <script type="javascript" ev:event="DOMActivate">
  376. <![CDATA[
  377. fOnclickFileSearch();
  378. ]]>
  379. </script>
  380. </button>
  381. <group id="group1" visibility="visible" style="left:0px; top:80px; width:850px; height:640px; ">
  382. <img id="img1" ref="/root/main/view/imgrslt" style="left:0px; top:5px; width:845px; height:630px; background-color:#800000; background-stretch:stretch; "/>
  383. <img id="img2" visibility="hidden" style="left:175px; top:256px; width:365px; height:200px; background-color:#ff6600; background-stretch:stretch; "/>
  384. </group>
  385. <group id="group5" visibility="hidden" scroll="auto" style="left:0px; top:80px; width:850px; height:640px; ">
  386. <img id="img_immno1" ref="/root/main/immnoa/immno1/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:585px; height:255px; background-stretch:stretch; "/>
  387. <img id="img_immno2" ref="/root/main/immnob/immno2/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:585px; height:255px; background-stretch:stretch; "/>
  388. <img id="img_immno3" ref="/root/main/immnoc/immno3/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:585px; height:255px; background-stretch:stretch; "/>
  389. <img id="img_immno4" ref="/root/main/immnod/immno4/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:585px; height:255px; background-stretch:stretch; "/>
  390. <img id="img_immno5" ref="/root/main/immnoe/immno5/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:585px; height:255px; background-stretch:stretch; "/>
  391. <img id="img_immno6" ref="/root/main/immnof/immno6/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:585px; height:255px; background-stretch:stretch; "/>
  392. </group>
  393. <switch id="switch1" style="left:0px; top:25px; width:850px; height:55px; ">
  394. <case id="case1">
  395. <output id="output4" ref="/root/main/imginfo/testcd" class="output_fix" style="left:315px; top:6px; width:135px; height:19px; "/>
  396. <output id="output5" ref="/root/main/imginfo/spccd" class="output_fix" style="left:535px; top:6px; width:110px; height:19px; "/>
  397. <line id="line12" class="line_1" style="x1:0px; y1:0px; x2:848px; y2:0px; "/>
  398. <caption id="caption1" class="cell_1" style="left:647px; top:5px; width:80px; height:23px; ">보고형태</caption>
  399. <caption id="caption32" class="cell_1" style="left:0px; top:5px; width:80px; height:23px; ">검체번호</caption>
  400. <caption id="caption33" class="cell_1" style="left:232px; top:5px; width:80px; height:23px; ">검사코드</caption>
  401. <caption id="caption2" class="cell_1" style="left:0px; top:29px; width:80px; height:23px; ">파일경로</caption>
  402. <line id="line15" class="line_3" style="x1:0px; y1:52px; x2:848px; y2:52px; "/>
  403. <select1 id="combo3" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:535px; top:30px; width:310px; height:19px; ">
  404. <choices>
  405. <itemset nodeset="/root/init/imglist">
  406. <label ref="lastupdtrdt"/>
  407. <value ref="rsltseqno"/>
  408. </itemset>
  409. </choices>
  410. <script type="javascript" ev:event="xforms-value-changed">
  411. <![CDATA[
  412. fImgRef();
  413. ]]>
  414. </script>
  415. </select1>
  416. <caption id="caption4" class="cell_1" style="left:452px; top:29px; width:80px; height:23px; ">History</caption>
  417. <caption id="caption36" class="cell_1" style="left:452px; top:5px; width:80px; height:23px; ">검체코드</caption>
  418. <input id="input1" ref="/root/main/imginfo/fileinfo" style="left:83px; top:30px; width:342px; height:19px; "/>
  419. <output id="output1" ref="/root/main/imginfo/rsltstatnm" class="output_fix" style="left:730px; top:6px; width:115px; height:19px; "/>
  420. <output id="output3" ref="/root/main/imginfo/bcno" class="output_fix" style="left:83px; top:6px; width:147px; height:19px; "/>
  421. <line id="line13" class="line_2" style="x1:0px; y1:27px; x2:848px; y2:27px; "/>
  422. <button id="button3" class="icon_search" style="left:430px; top:31px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  423. <caption/>
  424. <script type="javascript" ev:event="DOMActivate">
  425. <![CDATA[
  426. fOnclickFileSearch();
  427. ]]>
  428. </script>
  429. </button>
  430. </case>
  431. <case id="case2" selected="true">
  432. <output id="output9" ref="/root/main/imginfo/spccd" class="output_fix" style="left:533px; top:6px; width:110px; height:19px; "/>
  433. <output id="output10" ref="/root/main/imginfo/rsltstatnm" class="output_fix" style="left:728px; top:6px; width:117px; height:19px; "/>
  434. <output id="output11" ref="/root/main/imginfo/bcno" class="output_fix" style="left:81px; top:6px; width:147px; height:19px; "/>
  435. <select1 id="combo2" ref="/root/hidden/rsltseqno" class="combo_default" appearance="minimal" style="left:533px; top:32px; width:312px; height:19px; ">
  436. <choices>
  437. <itemset nodeset="/root/init/imglist">
  438. <label ref="lastupdtrdt"/>
  439. <value ref="rsltseqno"/>
  440. </itemset>
  441. </choices>
  442. <script type="javascript" ev:event="xforms-value-changed">
  443. <![CDATA[
  444. var testcd = model.getValue("/root/main/imginfo/testcd");
  445. //alert(testcd);
  446. if(testcd == "LSI104" || testcd == "LSI105"){
  447. group1.attribute("visibility") = "hidden"
  448. group5.attribute("visibility") = "visible"
  449. fImgRef1("img_immno1"); //immno이미지
  450. fImgRef2("img_immno2"); //immno이미지
  451. fImgRef3("img_immno3"); //immno이미지
  452. fImgRef4("img_immno4"); //immno이미지
  453. fImgRef5("img_immno5"); //immno이미지
  454. fImgRef6("img_immno6"); //immno이미지
  455. }
  456. else{
  457. fImgRef();
  458. group1.attribute("visibility") = "visible"
  459. group5.attribute("visibility") = "hidden"
  460. }
  461. ]]>
  462. </script>
  463. </select1>
  464. <caption id="caption9" class="cell_1" style="left:645px; top:5px; width:80px; height:23px; ">보고형태</caption>
  465. <caption id="caption10" class="cell_1" style="left:0px; top:3px; width:80px; height:23px; ">검체번호</caption>
  466. <caption id="caption11" class="cell_1" style="left:230px; top:5px; width:80px; height:23px; ">검사코드</caption>
  467. <line id="line5" class="line_1" style="x1:0px; y1:0px; x2:848px; y2:0px; "/>
  468. <caption id="caption12" class="cell_1" style="left:450px; top:29px; width:80px; height:23px; ">History</caption>
  469. <line id="line6" class="line_2" style="x1:0px; y1:29px; x2:848px; y2:29px; "/>
  470. <caption id="caption13" class="cell_1" style="left:450px; top:5px; width:80px; height:23px; ">검체코드</caption>
  471. <line id="line7" class="line_3" style="x1:0px; y1:52px; x2:848px; y2:52px; "/>
  472. <output id="output12" ref="/root/main/imginfo/testcd" class="output_fix" style="left:313px; top:6px; width:135px; height:19px; "/>
  473. </case>
  474. </switch>
  475. </group>
  476. <group id="group3" style="left:0px; top:725px; width:850px; height:27px; ">
  477. <button id="button46" class="btn6_letter2" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:0px; top:5px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
  478. <caption>출력</caption>
  479. <script type="javascript" ev:event="onclick">
  480. <![CDATA[
  481. fExePrint();
  482. ]]>
  483. </script>
  484. </button>
  485. <button id="button41" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:736px; top:4px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  486. <caption>삭제</caption>
  487. <script type="javascript" ev:event="onclick">
  488. <![CDATA[
  489. fInsSaveDelete("2");
  490. ]]>
  491. </script>
  492. </button>
  493. <button id="button1" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:678px; top:4px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  494. <caption>저장</caption>
  495. <script type="javascript" ev:event="onclick">
  496. <![CDATA[
  497. fInsSaveDelete("1");
  498. ]]>
  499. </script>
  500. </button>
  501. <line id="line1" class="line_6" style="x1:0px; y1:0px; x2:850px; y2:0px; "/>
  502. <button id="button2" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:794px; top:4px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  503. <caption>닫기</caption>
  504. <script type="javascript" ev:event="onclick">
  505. <![CDATA[
  506. window.close();
  507. ]]>
  508. </script>
  509. </button>
  510. </group>
  511. </xhtml:body>
  512. </xhtml:html>