SMLOR00300_CMC수탁검사결과조회(전송).xrw 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLOR00300_CMC수탁검사결과조회(전송).xrw
  4. * 설 명 : CMC수탁검사결과조회(전송)
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2009.12.14
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <outerlist>
  20. <chk/>
  21. <reqdd/>
  22. <reqinstcd/>
  23. <reqbcno/>
  24. <trustbcno/>
  25. <tclsnm/>
  26. <spcnm/>
  27. <reqpid/>
  28. <trustpid/>
  29. <hngnm/>
  30. <sex/>
  31. <age/>
  32. <rsltstat/>
  33. <reptrslt/>
  34. <descrsltyn/>
  35. <readrslt/>
  36. <descrslt/>
  37. <imagrsltyn/>
  38. <imgrslt/>
  39. <imghht/>
  40. <imgwidt/>
  41. <rrgstno/>
  42. <usernm/>
  43. <deptengabbr/>
  44. <wardroom/>
  45. <urinextrvol/>
  46. <tclscd/>
  47. <spccd/>
  48. <testcd/>
  49. <tclskind/>
  50. <trustinstcd/>
  51. <userflagcd/>
  52. <level/>
  53. </outerlist>
  54. </main>
  55. <send>
  56. <codeflag/>
  57. <fromdd/>
  58. <fromtm/>
  59. <todd/>
  60. <totm/>
  61. <acptgbn/>
  62. <extrinstcd/>
  63. <outerdata/>
  64. </send>
  65. <init>
  66. </init>
  67. <hidden>
  68. <ref>
  69. <fromdd/>
  70. <fromtm>0000</fromtm>
  71. <todd/>
  72. <totm>2359</totm>
  73. <acptgbn>1</acptgbn>
  74. <extrinstcd>00</extrinstcd>
  75. </ref>
  76. <descrslt>
  77. <descrslt/>
  78. </descrslt>
  79. <spcltestinfo/>
  80. </hidden>
  81. </root>
  82. </instance>
  83. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  86. <script type="javascript" ev:event="xforms-ready">
  87. <![CDATA[
  88. // 초기화
  89. fSetReset();
  90. /*
  91. //grd_outer.deleteRow(1, false);
  92. grd_outer.removeRow();
  93. model.removeNodeset("/root/main/outerlist");
  94. model.removeNodeset("/root/hidden/cnfmlist");
  95. grd_attach.removeRow();
  96. model.resetInstanceNode("/root/send");
  97. // 초기정보 조회
  98. model.setValue("/root/send/codeflag", "0210|0111|0106|0110|0000|"); //0210 소견코드 0111 시행부서 0106 상세시행부서 0110 위탁기관
  99. submit("TRLZZ00101");
  100. model.setValue("/root/hidden/refparam/startdd", getCurrentDate());
  101. model.setValue("/root/hidden/refparam/enddd", getCurrentDate());
  102. model.setValue("/root/hidden/refparam/sectcd", "X");
  103. combo4.choices.itemset.attribute("nodeset") = "/root/init/LB0106[cd= '00' or etc01='"+ "X" +"']";
  104. model.setvalue("/root/hidden/refparam/tsectcd" , "00");
  105. combo4.disabled = false;
  106. model.refresh();
  107. */
  108. ]]>
  109. </script>
  110. <!-- 기초코드 조회-->
  111. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0210"/>
  112. <submission id="TRLOR00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/outerlist"/>
  113. <submission id="TXLOR00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  114. </model>
  115. <script type="javascript">
  116. <![CDATA[
  117. // 초기화
  118. function fSetReset(){
  119. model.resetInstanceNode("/root/send");
  120. model.resetInstanceNode("/root/main/outerlist");
  121. grd_outer.fixedcellcheckbox(0,1)=true;
  122. model.setValue("/root/hidden/ref/fromdd", getCurrentDate());
  123. model.setValue("/root/hidden/ref/todd", getCurrentDate());
  124. button3.visible = true; //결과전송
  125. // 초기정보 조회
  126. model.setValue("/root/send/codeflag", "0110|0000|"); //0110 외부기관코드 0000 유저플래그
  127. submit("TRLZZ00101");
  128. model.refresh();
  129. }
  130. // 수탁검사결과조회
  131. function fGetSutakRslt(){
  132. //if(!fSetRefFromdd()){ // 3일 내로만 조회되게
  133. // return;
  134. //}
  135. model.setValue("/root/send/fromdd", model.getValue("/root/hidden/ref/fromdd"));
  136. model.setValue("/root/send/fromtm", model.getValue("/root/hidden/ref/fromtm"));
  137. model.setValue("/root/send/todd", model.getValue("/root/hidden/ref/todd"));
  138. model.setValue("/root/send/totm", model.getValue("/root/hidden/ref/totm"));
  139. model.setValue("/root/send/acptgbn", model.getValue("/root/hidden/ref/acptgbn"));
  140. model.setValue("/root/send/extrinstcd", model.getValue("/root/hidden/ref/extrinstcd"));
  141. model.makeValue("/root/send/userflagcd", model.getValue("/root/init/LB0000/nm"));
  142. submit("TRLOR00301");
  143. setTree(grd_outer, 3, 2, true); // 그리드 , level, tree, ..
  144. //model.refresh();
  145. }
  146. // 결과전송
  147. function fExeSutakRslt(){
  148. for(var tRow = 1; tRow < grd_outer.rows ; tRow++){
  149. if(model.getValue("/root/main/outerlist["+ tRow +"]/chk") == "true"){
  150. grd_outer.rowStatus(tRow) = 2; // 수정
  151. }else{
  152. grd_outer.rowStatus(tRow) = 0; // 취소
  153. }
  154. }
  155. model.setValue("/root/send/outerdata", getGridUpdateData(grd_outer));
  156. // 위수탁 결과 CMCDB로 전송
  157. //alert(model.getValue("/root/send/outerdata"));
  158. submit("TXLOR00301");
  159. fGetSutakRslt();
  160. }
  161. function fSetallcheck(){
  162. for(var tRow = 1; tRow < grd_outer.rows ; tRow++){
  163. if(model.getValue("/root/main/outerlist["+ tRow +"]/chk") == "true"){
  164. grd_outer.rowStatus(tRow) = 2; // 수정
  165. }else{
  166. grd_outer.rowStatus(tRow) = 0; // 취소
  167. }
  168. }
  169. }
  170. // 검체번호 같은겉 전부선택되게
  171. function fSetBcnocheck(){
  172. for(i=1; i<grd_outer.rows; i++ ){
  173. if(model.getValue("/root/main/outerlist["+grd_outer.row+"]/chk")=="true"){
  174. if(model.getValue("/root/main/outerlist["+grd_outer.row+"]/trustbcno")== model.getValue("/root/main/outerlist["+i+"]/trustbcno")){
  175. model.setValue("/root/main/outerlist["+i+"]/chk", "true");
  176. }
  177. //grd_outer.rowStatus(i) = 2; // 수정
  178. }else{
  179. //alert("i= " + i);
  180. if(model.getValue("/root/main/outerlist["+grd_outer.row+"]/trustbcno")== model.getValue("/root/main/outerlist["+i+"]/trustbcno")){
  181. model.setValue("/root/main/outerlist["+i+"]/chk", "false");
  182. }
  183. //grd_outer.rowStatus(i) = 0; // 취소
  184. }
  185. if(model.getValue("/root/main/outerlist["+ i +"]/chk") == "true"){
  186. grd_outer.rowStatus(i) = 2; // 수정
  187. }else{
  188. grd_outer.rowStatus(i) = 0; // 취소
  189. }
  190. }
  191. grd_outer.refresh();
  192. }
  193. function fSetSendbutton(){
  194. if(model.getValue("/root/hidden/ref/acptgbn")=="1"){ //의뢰일때만 결과전송버튼 보이게
  195. button3.visible = true;
  196. }else{
  197. button3.visible = false;
  198. }
  199. //button3.refresh();
  200. model.refresh();
  201. }
  202. /////////////////옛날소스
  203. // 파일 가져오기
  204. function fGetFileName(){
  205. var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls|CSV Files(*.csv)|*.csv");
  206. if (fileName == "" || fileName == null) {
  207. alert("파일을 선택하세요");
  208. return;
  209. }
  210. model.setValue("/root/hidden/filename", fileName);
  211. opt_file.refresh();
  212. //grd_outer.loadExcel(fileName, 1, true);
  213. grd_outer.loadExcel(fileName);
  214. grd_outer.deleteRow(1);
  215. grd_outer.refresh();
  216. // 검사명 조회하기
  217. if(grd_outer.rows > 1){
  218. var bcnolist = "";
  219. var tclscdlist = "";
  220. for(j=1; j<grd_outer.rows; j++){
  221. bcnolist += "'" + model.getValue("/root/main/outerlist["+j+"]/bcno") + "'" + ",";
  222. tclscdlist += "'" + model.getValue("/root/main/outerlist["+j+"]/testcd") + "'" + ",";
  223. }
  224. model.setValue("/root/send/bcnolist", bcnolist.substr(0, (bcnolist.length-1)) );
  225. model.setValue("/root/send/testcdlist", tclscdlist.substr(0, (tclscdlist.length-1)) );
  226. submit("TRLOR00202");
  227. var tclsrow = getNodesetCount("/root/hidden/tclslist");
  228. for(j= 1; j<=tclsrow; j++){
  229. for(k=1; k<grd_outer.rows; k++){
  230. if(model.getValue("/root/hidden/tclslist["+j+"]/testcd")==model.getValue("/root/main/outerlist["+k+"]/testcd")){
  231. model.setValue("/root/main/outerlist["+k+"]/testnm", model.getValue("/root/hidden/tclslist["+j+"]/tclsnm"));
  232. model.setValue("/root/main/outerlist["+k+"]/tclscd", model.getValue("/root/hidden/tclslist["+j+"]/tclscd"));
  233. model.setValue("/root/main/outerlist["+k+"]/spccd", model.getValue("/root/hidden/tclslist["+j+"]/spccd"));
  234. }
  235. }
  236. }
  237. }
  238. for(i=1; i<grd_outer.rows; i++){
  239. grd_outer.rowStatus(i) = 1;
  240. var bcbc = model.getValue("/root/main/outerlist["+i+"]/bcno");
  241. var tctc = model.getValue("/root/main/outerlist["+i+"]/testcd");
  242. model.setValue("/root/main/outerlist["+i+"]/rkey", bcbc + tctc);
  243. }
  244. model.setValue("/root/send/savegbn", "F"); // File로 저장시
  245. }
  246. // 이미지경로 가져오기
  247. function fGetImgPath(){
  248. var folderName = window.folderDialog("");
  249. if (folderName == "" || folderName == null) {
  250. alert("폴더를 선택하세요");
  251. return;
  252. }
  253. //model.setValue("/root/hidden/imgname", folderName + "\\");
  254. model.setValue("/root/hidden/imgname", folderName);
  255. opt_img.refresh();
  256. }
  257. // 이미지 업로드
  258. function fSetImgUpload(){
  259. var vCnt = 0;
  260. var imgPath = new Array();
  261. var maxsize = upload1.attribute("filesize");
  262. for(i=1; i<grd_outer.rows; i++){
  263. if(model.getValue("/root/main/outerlist["+i+"]/imgyn")=="Y"){
  264. if(model.getValue("/root/main/outerlist["+i+"]/imgnm")!= ""){
  265. fChangeImage(model.getValue("/root/hidden/imgname") + "\\" + model.getValue("/root/main/outerlist["+i+"]/imgnm"));
  266. grd_attach.addRow(); // grd_attach 업로드용 그리드
  267. grd_attach.valueMatrix(grd_attach.rows - 1, 0) = model.getValue("/root/hidden/imgname") + "\\" + model.getValue("/root/main/outerlist["+i+"]/imgnm");
  268. grd_attach.valueMatrix(grd_attach.rows - 1, 1) = model.getValue("/root/main/outerlist["+i+"]/bcno");
  269. grd_attach.valueMatrix(grd_attach.rows - 1, 2) = model.getValue("/root/main/outerlist["+i+"]/testcd");
  270. grd_attach.valueMatrix(grd_attach.rows - 1, 3) = model.getValue("/root/main/outerlist["+i+"]/rsltstat");
  271. //grd_attach.valueMatrix(grd_attach.rows - 1, 4) = "450";
  272. //grd_attach.valueMatrix(grd_attach.rows - 1, 5) = "317";
  273. grd_attach.valueMatrix(grd_attach.rows - 1, 4) = model.getValue("/root/main/view/imght");
  274. grd_attach.valueMatrix(grd_attach.rows - 1, 5) = model.getValue("/root/main/view/imgwidt");
  275. grd_attach.valueMatrix(grd_attach.rows - 1, 6) = model.getValue("/root/main/view/imgrslt");
  276. if (!checkFileSize(upload1)){
  277. grd_attach.removeItem();
  278. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  279. }
  280. }
  281. }
  282. }
  283. }
  284. function fChangeImage(imgsrc){ // 이미지 전환
  285. img2.src = imgsrc;
  286. var data = img2.getbase64data();
  287. var imgSize = getImageSize(imgsrc);
  288. model.setValue("/root/main/view/imgrslt",data,true);
  289. //model.setValue("/root/main/view/imgrslt", data);
  290. // setImageRefInstance("/root/main/view/imgrslt");
  291. if( imgSize.split("^")[0] >= 2500){
  292. model.setValue("/root/main/view/imgwidt", parseInt(imgSize.split("^")[0] * 0.3) );
  293. model.setValue("/root/main/view/imght", parseInt(imgSize.split("^")[1] * 0.3) );
  294. }else if( imgSize.split("^")[0] > 2000 && imgSize.split("^")[0] < 2500){
  295. model.setValue("/root/main/view/imgwidt", parseInt(imgSize.split("^")[0] * 0.4) );
  296. model.setValue("/root/main/view/imght", parseInt(imgSize.split("^")[1] * 0.4) );
  297. }else{
  298. model.setValue("/root/main/view/imgwidt", imgSize.split("^")[0]);
  299. model.setValue("/root/main/view/imght", imgSize.split("^")[1]);
  300. }
  301. model.refresh();
  302. }
  303. // 결과전송
  304. function fExeOuterRslt(){
  305. // 이미지 결과 Y인것 업로드 하기
  306. //fGetImgFile();
  307. var grdouter = grd_outer.getUpdateData();
  308. model.setValue("/root/send/outerrslt", grdouter);
  309. //model.copyNode("/root/send/data3", "/root/hidden/cmt");
  310. fSetImgUpload();
  311. if(submit("TXLOR00201", false)){
  312. //model.removeNodeset("/root/main/outerlist");
  313. model.resetInstanceNode("/root/main/outerlist");
  314. model.resetInstanceNode("/root/main/view");
  315. }
  316. //submit("TXLOR00202",false);
  317. model.removeNodeset("/root/send/attach");
  318. model.resetInstanceNode("/root/send");
  319. model.refresh();
  320. }
  321. // 전송확인
  322. function fGetOuterRsltConfirm(){
  323. model.removeNodeset("/root/hidden/cnfmlist");
  324. if(grd_outer.rows < 2){
  325. //alert("전송확인할 항목이 없습니다.");
  326. messageBox("전송확인할 항목이 ", "I004", "");
  327. return;
  328. }
  329. var keylist = model.getValue("/root/main/outerlist[1]/rkey");
  330. var bcnolist = model.getValue("/root/main/outerlist[1]/bcno");
  331. var testlist = model.getValue("/root/main/outerlist[1]/testcd");
  332. for(i=2; i<grd_outer.rows; i++ ){
  333. keylist = keylist + "','" + model.getValue("/root/main/outerlist["+i+"]/rkey");
  334. bcnolist = bcnolist + "','" + model.getValue("/root/main/outerlist["+i+"]/bcno");
  335. testlist = testlist + "','" + model.getValue("/root/main/outerlist["+i+"]/testcd");
  336. }
  337. model.setValue("/root/send/cnfmdata", "'" + keylist + "'");
  338. model.setValue("/root/send/bcnolist", "'" + bcnolist + "'");
  339. model.setValue("/root/send/testlist", "'" + testlist + "'");
  340. //alert("aaa= " + model.getValue("/root/send/cnfmdata"));
  341. if(submit("TRLOR00201")){
  342. var refRow = getNodesetCount("/root/hidden/cnfmlist");
  343. for(j=1; j<=refRow; j++){
  344. for(i=1; i<grd_outer.rows; i++ ){
  345. if(model.getValue("/root/main/outerlist["+j+"]/rkey")==model.getValue("/root/hidden/cnfmlist["+i+"]/rkey")){
  346. model.setValue("/root/main/outerlist["+i+"]/srvstat", model.getValue("/root/hidden/cnfmlist["+j+"]/rsltstat"));
  347. }
  348. }
  349. }
  350. }else{
  351. alert("조회오류");
  352. }
  353. }
  354. // 소견콤보 선택시 textarea 로 보여주기
  355. function fSetCmt(){
  356. var cmtcnt = model.getValue("/root/init/LB0210[etc01='X' and cd=" + "'"+cmb_cmt.value+"'" + "]/etc03");
  357. model.setValue("/root/hidden/cmt/cnts", cmtcnt);
  358. tar_cmt.refresh();
  359. }
  360. // 엑셀 저장
  361. function fExeExcel(pGridId) {
  362. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  363. if (fileName != "")
  364. {
  365. pGridId.saveExcel(fileName);
  366. }
  367. }
  368. // 이미지 있을때 업로드 하기
  369. function fGetImgFile(){
  370. var maxsize = upload1.attribute("filesize");
  371. //alert("maxsize= " + maxsize);
  372. //files = window.fileDialog("open", "|", true);
  373. //filelist = files.split("|");
  374. var imgpath = model.getValue("/root/hidden/imgname");
  375. var filefullName = imgpath + "\\" + model.getValue("/root/main/outerlist/imgnm");
  376. model.setValue("/root/main/outerlist/imgfull", filefullName);
  377. img2.src = filefullName;
  378. var data = img2.getbase64data();
  379. //alert("data= " + data);
  380. var imgsize = getImageSize(filefullName);
  381. //alert("imgsize= " + imgsize);
  382. model.setValue("/root/main/view/imgrslt", data, true);
  383. setImageRefInstance("/root/main/view/imgrslt");
  384. model.setValue("/root/main/view/imgwidt", imgsize.split("^")[0]);
  385. model.setValue("/root/main/view/imght", imgsize.split("^")[1]);
  386. img2.attribute("width")= imgsize.split("^")[0];
  387. img2.attribute("height")= imgsize.split("^")[1];
  388. model.copyNode("/root/send/data2" , "/root/main/view" )
  389. model.refresh();
  390. /*for(i=1; i<grd_outer.rows; i++ ){
  391. //alert("i= " + i + " rows= " + grd_outer.rows);
  392. if(("Y" == model.getValue("/root/main/outerlist["+i+"]/imgyn")) || ("" != model.getValue("/root/main/outerlist["+i+"]/imgnm"))){
  393. if(imgpath == ""){
  394. alert("이미지 경로가 없습니다.");
  395. return;
  396. }
  397. var filefullName = imgpath + "\\" + model.getValue("/root/main/outerlist["+i+"]/imgnm");
  398. model.setValue("/root/main/outerlist["+i+"]/imgfull", filefullName);
  399. img2.src = filefullName;
  400. var data = img2.getbase64data();
  401. //alert("data= " + data);
  402. var imgsize = getImageSize(filefullName);
  403. //alert("imgsize= " + imgsize);
  404. model.setValue("/root/main/outerlist["+i+"]/imgrslt", data, true);
  405. model.setValue("/root/main/outerlist["+i+"]/imgwidt", imgsize.split("^")[0]);
  406. model.setValue("/root/main/outerlist["+i+"]/imght", imgsize.split("^")[1]);
  407. if (!checkFileSize(upload1)){
  408. //grd_attach.removeItem();
  409. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  410. return;
  411. }
  412. }
  413. }*/
  414. }
  415. // 조회기간 3일간만 조회가능
  416. function fSetRefFromdd() {
  417. var fromdd = model.getValue("/root/hidden/refparam/startdd");
  418. var todd = model.getValue("/root/hidden/refparam/enddd");
  419. var mDate = todd.toDate("YYYYMMDD").getAddDate(-3);
  420. if(mDate.getDateFormat("YYYYMMDD") > fromdd) {
  421. messageBox("3일 이내의 기간만 검색","I006");
  422. return false;
  423. }else if(todd < fromdd) {
  424. messageBox("기간설정이 잘못", "E005");
  425. return false;
  426. }else {
  427. return true;
  428. }
  429. }
  430. // 저장상태 변경
  431. function fSetRsltStat(){
  432. if(grd_outer.rows> 1){
  433. for(i=1; i<grd_outer.rows; i++){
  434. model.setValue("/root/main/outerlist["+i+"]/rsltstat", model.getValue("/root/hidden/rsltstat2"));
  435. }
  436. model.refresh();
  437. }else{
  438. alert("변경할 내용이 없습니다. ");
  439. }
  440. }
  441. // 이미지결과 보여주기
  442. function fSetImgRsltView(){
  443. model.resetInstanceNode("/root/hidden/spcltestinfo");
  444. var row = "";
  445. if(model.getValue("/root/send/savegbn")=="F"){ // 파일로딩했을때
  446. row = grd_outer.row;
  447. }else{ // 조회했을때
  448. //row = grd_outer.row + 2;
  449. row = grd_outer.row ;
  450. }
  451. //alert("row=" + row);
  452. if(row> 0){
  453. if(model.getValue("/root/main/outerlist["+row+"]/imagrsltyn")=="Y"){
  454. model.makeValue("/root/hidden/spcltestinfo/bcno", model.getValue("/root/main/outerlist["+row+"]/trustbcno"));
  455. model.makeValue("/root/hidden/spcltestinfo/testcd", model.getValue("/root/main/outerlist["+row+"]/testcd"));
  456. model.makeValue("/root/hidden/spcltestinfo/spccd", model.getValue("/root/main/outerlist["+row+"]/spccd"));
  457. model.makeValue("/root/hidden/spcltestinfo/tclscd", model.getValue("/root/main/outerlist["+row+"]/tclscd"));
  458. model.makeValue("/root/hidden/spcltestinfo/pid", model.getValue("/root/main/outerlist["+row+"]/trustpid"));
  459. model.makeValue("/root/hidden/spcltestinfo/rsltstat", model.getValue("/root/main/outerlist["+row+"]/rsltstat"));
  460. modal("SMLRR01500","", "", "","", "/root/hidden/spcltestinfo", "/root/hidden/spcltestinfo");
  461. }
  462. }
  463. }
  464. // 서술결과버튼 클릭하면 상세보기 팝업
  465. function fGetDescrslt(){
  466. model.resetInstanceNode("/root/hidden/descrslt");
  467. var row = grd_outer.row;
  468. if(row> 0){
  469. if(model.getValue("/root/main/outerlist["+row+"]/descrsltyn")=="Y"){
  470. model.makeValue("/root/hidden/descrslt/readrslt", model.getValue("/root/main/outerlist["+row+"]/readrslt"));
  471. modal("SPLOR90100","", "", "","", "/root/hidden/descrslt", "/root/hidden/descrslt");
  472. }
  473. }
  474. }
  475. ]]>
  476. </script>
  477. </xhtml:head>
  478. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  479. <group id="group1" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
  480. <datagrid id="datagrid1" nodeset="/root/main/outerlist" class="datagrid" caption="의뢰일자^기관코드^등록번호^검체번호^성명^검사코드^결과^상태구분^서버상태^이미지결과^이미지명^rkey^imgfull^imgwidt^imght^imgrslt^검사명^이미지결과^tclscd^spccd" colsep="^" colwidth="80, 80, 71, 86, 70, 70, 110, 92, 70, 80, 100, 10, 10, 10, 10, 10, 140, 64, 22, 19" dataheight="23" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:109px; width:1195px; height:471px; ">
  481. <col ref="workdd" format="yyyy-mm-dd"/>
  482. <col ref="instcd" type="combo">
  483. <choices>
  484. <itemset nodeset="/root/init/LB0110">
  485. <label ref="nm"/>
  486. <value ref="cd"/>
  487. </itemset>
  488. </choices>
  489. </col>
  490. <col ref="pid"/>
  491. <col ref="bcno"/>
  492. <col ref="patnm"/>
  493. <col ref="testcd"/>
  494. <col ref="inptrslt"/>
  495. <col ref="rsltstat" type="combo">
  496. <choices>
  497. <item>
  498. <label>-</label>
  499. <value>-</value>
  500. </item>
  501. <item>
  502. <label>저장</label>
  503. <value>1</value>
  504. </item>
  505. <item>
  506. <label>중간보고</label>
  507. <value>2</value>
  508. </item>
  509. <item>
  510. <label>최종보고중</label>
  511. <value>3</value>
  512. </item>
  513. <item>
  514. <label>최종보고</label>
  515. <value>4</value>
  516. </item>
  517. <item>
  518. <label>수정보고</label>
  519. <value>5</value>
  520. </item>
  521. </choices>
  522. </col>
  523. <col disabled="true" ref="srvstat" type="combo">
  524. <choices>
  525. <item>
  526. <label>-</label>
  527. <value>-</value>
  528. </item>
  529. <item>
  530. <label>저장</label>
  531. <value>1</value>
  532. </item>
  533. <item>
  534. <label>중간보고</label>
  535. <value>2</value>
  536. </item>
  537. <item>
  538. <label>최종보고중</label>
  539. <value>3</value>
  540. </item>
  541. <item>
  542. <label>최종보고</label>
  543. <value>4</value>
  544. </item>
  545. <item>
  546. <label>수정보고</label>
  547. <value>5</value>
  548. </item>
  549. </choices>
  550. </col>
  551. <col ref="imgyn"/>
  552. <col ref="imgnm" style="left:940px; top:23px; width:100px; height:23px; "/>
  553. <col ref="rkey"/>
  554. <col ref="imgfull"/>
  555. <col ref="imgwidt"/>
  556. <col ref="imght"/>
  557. <col ref="imgrslt"/>
  558. <col ref="testnm"/>
  559. <col ref="imgtrue" type="inputbutton"/>
  560. <col ref="tclscd"/>
  561. <col ref="spccd"/>
  562. <script type="javascript" ev:event="onbuttonclick">
  563. <![CDATA[
  564. fSetImgRsltView();
  565. ]]>
  566. </script>
  567. </datagrid>
  568. <line id="line7" class="line_1" style="x1:0px; y1:104px; x2:1195px; y2:104px; "/>
  569. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:10px; width:1195px; height:69px; "/>
  570. <caption id="caption13" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">파일경로 :</caption>
  571. <line id="line8" class="line_4" style="x1:1108px; y1:51px; x2:1108px; y2:73px; "/>
  572. <caption id="caption14" class="tit_2" style="left:5px; top:89px; width:131px; height:13px; ">검체코드상세내역</caption>
  573. <button id="button9" class="btn2_letter4" style="left:1131px; top:83px; width:64px; height:19px; ">
  574. <caption>엑셀저장</caption>
  575. <script type="javascript" ev:event="DOMActivate">
  576. <![CDATA[
  577. fExeExcel(grd_outer);
  578. ]]>
  579. </script>
  580. </button>
  581. <caption id="caption15" class="search_name" style="left:605px; top:19px; width:99px; height:17px; ">이미지경로 :</caption>
  582. <caption id="caption16" class="tit_2" style="left:710px; top:592px; width:131px; height:14px; ">소견입력</caption>
  583. <line id="line9" class="line_1" style="x1:705px; y1:607px; x2:1195px; y2:607px; "/>
  584. <caption id="caption17" class="tit_2" style="left:0px; top:592px; width:131px; height:13px; ">결과전송상태</caption>
  585. <line id="line10" class="line_1" style="x1:0px; y1:607px; x2:700px; y2:607px; "/>
  586. <line id="line12" class="line_2" style="x1:705px; y1:634px; x2:1195px; y2:634px; "/>
  587. <line id="line13" class="line_3" style="x1:705px; y1:727px; x2:1195px; y2:727px; "/>
  588. <input id="input3" ref="/root/hidden/filename" class="output_search" appearance="input" style="left:108px; top:18px; width:442px; height:19px; "/>
  589. <output id="output1" ref="/root/hidden/imgname" class="output_search" style="left:715px; top:18px; width:435px; height:19px; "/>
  590. <datagrid id="datagrid2" nodeset="/root/hidden/ResultFlag" caption="Message" colsep="^" colwidth="677" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:612px; width:700px; height:115; ">
  591. <col ref="error"/>
  592. </datagrid>
  593. <col ref="rsltstat" type="combo">
  594. <choices>
  595. <item>
  596. <label>-</label>
  597. <value>-</value>
  598. </item>
  599. <item>
  600. <label>저장</label>
  601. <value>1</value>
  602. </item>
  603. <item>
  604. <label>중간보고</label>
  605. <value>2</value>
  606. </item>
  607. <item>
  608. <label>최종보고중</label>
  609. <value>3</value>
  610. </item>
  611. <item>
  612. <label>????</label>
  613. <value>4</value>
  614. </item>
  615. <item>
  616. <label>최종보고</label>
  617. <value>5</value>
  618. </item>
  619. </choices>
  620. </col>
  621. <select1 id="combo6" ref="/root/hidden/cmt/cd" class="combo_default" appearance="minimal" style="left:705px; top:612px; width:490px; height:19px; ">
  622. <choices>
  623. <itemset nodeset="/root/init/LB0210">
  624. <label ref="nm"/>
  625. <value ref="cd"/>
  626. </itemset>
  627. </choices>
  628. <script type="javascript" ev:event="xforms-select">
  629. <![CDATA[
  630. fSetCmt();
  631. ]]>
  632. </script>
  633. </select1>
  634. <textarea id="textarea1" ref="/root/hidden/cmt/cnts" style="left:705px; top:637px; width:490px; height:87px; "/>
  635. <button id="button10" class="icon_search" appearance="button" style="left:1158px; top:20px; width:16px; height:16px; ">
  636. <script type="javascript" ev:event="DOMActivate">
  637. <![CDATA[
  638. //이미지 경로 가져오기
  639. fGetImgPath();
  640. ]]>
  641. </script>
  642. <caption/>
  643. </button>
  644. <button id="button11" visibility="visible" style="left:185px; top:380px; width:115px; height:20px; ">
  645. <caption>이미지업로드 임시용</caption>
  646. <script type="javascript" ev:event="DOMActivate">
  647. <![CDATA[
  648. fSetImgUpload();
  649. ]]>
  650. </script>
  651. </button>
  652. <upload id="upload2" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="5242880" validate="true" style="left:305px; top:380px; width:25px; height:20px; "/>
  653. <datagrid id="datagrid3" nodeset="/root/send/attach" visibility="visible" caption="파일경로^bcno^testcd^rsltstat^imght^imgwidt^" colwidth="415, 100, 100, 100, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" style="left:0px; top:415px; width:930px; height:150px; ">
  654. <col ref="file"/>
  655. <col ref="bcno"/>
  656. <col ref="testcd"/>
  657. <col ref="rsltstat"/>
  658. <col ref="imght"/>
  659. <col ref="imgwidt"/>
  660. </datagrid>
  661. <button id="button12" class="btn5_letter4" visibility="hidden" style="left:600px; top:390px; width:64px; height:19px; ">
  662. <caption>upload</caption>
  663. <script type="javascript" ev:event="DOMActivate">
  664. <![CDATA[
  665. if (submit("TXTSS00201")) {
  666. //model.removeNodeset("/root/send/attach");
  667. //model.resetInstanceNode("/root/send/title");
  668. model.refresh();
  669. }
  670. ]]>
  671. </script>
  672. </button>
  673. <button id="button13" class="btn2_letter4" visibility="hidden" style="left:530px; top:390px; width:64px; height:19px; ">
  674. <caption>addfile</caption>
  675. <script type="javascript" ev:event="DOMActivate">
  676. <![CDATA[
  677. var maxsize = upload1.attribute("filesize");
  678. files = window.fileDialog("open", "|", true);
  679. filelist = files.split("|");
  680. for(var i = 0 ; i < filelist.length ; i++ ) {
  681. grd_attach.addRow(false);
  682. grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
  683. }
  684. ]]>
  685. </script>
  686. </button>
  687. <caption id="caption18" class="search_name" style="left:15px; top:50px; width:86px; height:17px; ">작업일자 :</caption>
  688. <input id="input4" ref="/root/hidden/refparam/startdd" class="input_search" inputtype="date" style="left:105px; top:51px; width:90px; height:19px; "/>
  689. <input id="input5" ref="/root/hidden/refparam/enddd" class="input_search" inputtype="date" style="left:210px; top:51px; width:90px; height:19px; "/>
  690. <caption id="caption19" class="search_no_b" style="left:196px; top:51px; width:12px; height:17px; ">~</caption>
  691. <line id="line14" class="line_7" style="x1:14px; y1:44px; x2:1180px; y2:44px; "/>
  692. <select1 id="combo7" ref="/root/hidden/refparam/sectcd" class="combo_default" appearance="minimal" style="left:410px; top:51px; width:100px; height:19px; ">
  693. <choices>
  694. <itemset nodeset="/root/init/LB0111">
  695. <label ref="nm"/>
  696. <value ref="cd"/>
  697. </itemset>
  698. </choices>
  699. <script type="javascript" ev:event="xforms-value-changed">
  700. <![CDATA[
  701. var etc = model.getvalue("/root/hidden/refparam/sectcd");
  702. if(etc == "00"){
  703. combo4.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
  704. model.setvalue("/root/hidden/refparam/tsectcd" , "00");
  705. combo4.disabled = true;
  706. }
  707. else{
  708. combo4.choices.itemset.attribute("nodeset") = "/root/init/LB0106[cd= '00' or etc01='"+ etc +"']";
  709. model.setvalue("/root/hidden/refparam/tsectcd" , "00");
  710. combo4.disabled = false;
  711. }
  712. combo4.refresh();
  713. ]]>
  714. </script>
  715. </select1>
  716. <select1 id="combo8" ref="/root/hidden/refparam/tsectcd" class="combo_default" appearance="minimal" style="left:515px; top:51px; width:105px; height:19px; ">
  717. <choices>
  718. <itemset nodeset="/root/init/LB0106">
  719. <label ref="nm"/>
  720. <value ref="cd"/>
  721. </itemset>
  722. </choices>
  723. </select1>
  724. <caption id="caption20" class="search_name" style="left:320px; top:52px; width:94px; height:17px; ">시행부서 :</caption>
  725. <caption id="caption21" class="search_name" style="left:640px; top:52px; width:94px; height:17px; ">결과구분 :</caption>
  726. <select1 id="combo9" ref="/root/hidden/refparam/rstflag" class="combo_default" appearance="minimal" style="left:730px; top:51px; width:95px; height:19px; ">
  727. <choices>
  728. <item>
  729. <label>전체</label>
  730. <value>0</value>
  731. </item>
  732. <item>
  733. <label>미검사</label>
  734. <value>1</value>
  735. </item>
  736. <item>
  737. <label>미완료</label>
  738. <value>2</value>
  739. </item>
  740. <item>
  741. <label>최종보고</label>
  742. <value>3</value>
  743. </item>
  744. </choices>
  745. </select1>
  746. <button id="button14" class="btn1_letter2" style="left:1124px; top:51px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  747. <caption>조회</caption>
  748. <script type="javascript" ev:event="DOMActivate">
  749. <![CDATA[
  750. fGetWiTakRslt();
  751. ]]>
  752. </script>
  753. </button>
  754. <caption id="caption22" class="search_name" style="left:850px; top:52px; width:92px; height:17px; ">위탁기관 :</caption>
  755. <select1 id="combo10" ref="/root/hidden/refparam/extrcd" class="combo_default" appearance="minimal" style="left:940px; top:51px; width:120px; height:19px; ">
  756. <choices>
  757. <itemset nodeset="/root/init/LB0110">
  758. <label ref="nm"/>
  759. <value ref="cd"/>
  760. </itemset>
  761. </choices>
  762. </select1>
  763. <button id="button15" class="btn2_letter7" style="left:658px; top:83px; width:97px; height:19px; ">
  764. <caption>↓저장상태변경</caption>
  765. <script type="javascript" ev:event="DOMActivate">
  766. <![CDATA[
  767. fSetRsltStat();
  768. ]]>
  769. </script>
  770. </button>
  771. <select1 id="combo11" ref="/root/hidden/rsltstat2" appearance="minimal" style="left:570px; top:83px; width:85px; height:19px; ">
  772. <choices>
  773. <item>
  774. <label>-</label>
  775. <value>-</value>
  776. </item>
  777. <item>
  778. <label>저장</label>
  779. <value>1</value>
  780. </item>
  781. <item>
  782. <label>중간보고</label>
  783. <value>2</value>
  784. </item>
  785. <item>
  786. <label>최종보고</label>
  787. <value>4</value>
  788. </item>
  789. <item>
  790. <label>수정보고</label>
  791. <value>5</value>
  792. </item>
  793. </choices>
  794. </select1>
  795. <caption id="caption23" class="tit_2" style="left:445px; top:86px; width:126px; height:13px; ">저장상태일괄변경</caption>
  796. <button id="button16" class="icon_search" appearance="button" style="left:557px; top:20px; width:16px; height:16px; ">
  797. <script type="javascript" ev:event="DOMActivate">
  798. <![CDATA[
  799. //결과 파일명 가져오기
  800. fGetFileName();
  801. ]]>
  802. </script>
  803. <caption/>
  804. </button>
  805. </group>
  806. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
  807. <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
  808. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:10px; width:1195px; height:34px; "/>
  809. <line id="line11" class="line_4" style="x1:1108px; y1:17px; x2:1108px; y2:39px; "/>
  810. <caption id="caption1" class="tit_2" style="left:5px; top:54px; width:131px; height:13px; ">위탁검사목록</caption>
  811. <button id="button2" class="btn2_letter4" style="left:1131px; top:48px; width:64px; height:19px; ">
  812. <caption>엑셀저장</caption>
  813. <script type="javascript" ev:event="DOMActivate">
  814. <![CDATA[
  815. fExeExcel(grd_outer);
  816. ]]>
  817. </script>
  818. </button>
  819. <datagrid id="grd_outer" nodeset="/root/main/outerlist" class="datagrid2" caption="^▣^level^접수일자^의뢰기관^의뢰병원&#xA;바코드번호^CMCnU&#xA;바코드번호^검사명^검체명^의뢰병원&#xA;등록번호^CMCnU&#xA;등록번호^환자명^성별^나이^결과&#xA;상태^결과^서술결과여부^서술결과^이미지&#xA;결과여부^이미지결과^주민등록번호^의뢰의사명^진료과명^병동/병실^소변량^tclscd^spccd^testcd^tclskind^instcd^imgth^imgwidt^descrslt^userflagcd" colsep="^" colwidth="30, 25, 33, 72, 90, 74, 74, 120, 80, 70, 70, 62, 34, 34, 60, 80, 40, 33, 46, 50, 110, 70, 60, 69, 50, 50, 40, 50, 24, 62, 47, 37, 100, 100" dataheight="23" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:74px; width:1195px; height:661px; ">
  820. <col checkvalue="true,false" ref="chk" type="checkbox" format="yyyy-mm-dd"/>
  821. <col/>
  822. <col ref="level" visibility="hidden"/>
  823. <col ref="reqdd" format="yyyy-mm-dd"/>
  824. <col ref="reqinstcd" type="combo">
  825. <choices>
  826. <item>
  827. <label>성모병원</label>
  828. <value>011</value>
  829. </item>
  830. <item>
  831. <label>서울성모병원</label>
  832. <value>012</value>
  833. </item>
  834. <item>
  835. <label>의정부성모병원</label>
  836. <value>013</value>
  837. </item>
  838. <item>
  839. <label>부천성모병원</label>
  840. <value>014</value>
  841. </item>
  842. <item>
  843. <label>성빈센트병원</label>
  844. <value>017</value>
  845. </item>
  846. <item>
  847. <label>성바오로병원</label>
  848. <value>015</value>
  849. </item>
  850. <item>
  851. <label>성모자애병원</label>
  852. <value>016</value>
  853. </item>
  854. <item>
  855. <label>대전성모병원</label>
  856. <value>018</value>
  857. </item>
  858. </choices>
  859. </col>
  860. <col ref="reqbcno" type="input"/>
  861. <col ref="trustbcno" type="input"/>
  862. <col ref="tclsnm"/>
  863. <col ref="spcnm"/>
  864. <col ref="reqpid" type="input"/>
  865. <col ref="trustpid" type="input"/>
  866. <col ref="hngnm"/>
  867. <col ref="sex"/>
  868. <col ref="age" style="left:940px; top:23px; width:100px; height:23px; "/>
  869. <col ref="rsltstat" type="combo">
  870. <choices>
  871. <item>
  872. <label>결과저장</label>
  873. <value>1</value>
  874. </item>
  875. <item>
  876. <label>중간보고</label>
  877. <value>2</value>
  878. </item>
  879. <item>
  880. <label>최종보고중</label>
  881. <value>3</value>
  882. </item>
  883. <item>
  884. <label>최종보고</label>
  885. <value>4</value>
  886. </item>
  887. <item>
  888. <label>수정보고</label>
  889. <value>5</value>
  890. </item>
  891. </choices>
  892. </col>
  893. <col ref="reptrslt"/>
  894. <col ref="descrsltyn"/>
  895. <col type="inputbutton"/>
  896. <col ref="imagrsltyn"/>
  897. <col ref="imgrslt" type="inputbutton"/>
  898. <col ref="rrgstno" format="999999-9999999"/>
  899. <col ref="usernm"/>
  900. <col ref="deptengabbr"/>
  901. <col ref="wardroom"/>
  902. <col ref="urinextrvol"/>
  903. <col ref="tclscd"/>
  904. <col ref="spccd"/>
  905. <col ref="testcd"/>
  906. <col ref="tclskind" visibility="hidden"/>
  907. <col ref="trustinstcd"/>
  908. <col ref="imght" visibility="hidden"/>
  909. <col ref="imgwidt" visibility="hidden"/>
  910. <col ref="descrslt" visibility="hidden"/>
  911. <col ref="userflagcd"/>
  912. <script type="javascript" ev:event="onbuttonclick">
  913. <![CDATA[
  914. //fSetImgRsltView();
  915. if(grd_outer.col == "18"){ // 서술결과버톤
  916. fGetDescrslt();
  917. }else if(grd_outer.col== "20"){ // 이미지결과버튼
  918. fSetImgRsltView();
  919. }
  920. ]]>
  921. </script>
  922. <script type="javascript" ev:event="xforms-select">
  923. <![CDATA[
  924. //alert("col= " + grd_outer.col+ " row = " + grd_outer.row);
  925. if(grd_outer.row == "0"){
  926. fSetallcheck();
  927. }else{
  928. fSetBcnocheck();
  929. }
  930. ]]>
  931. </script>
  932. <script type="javascript" ev:event="xforms-deselect">
  933. <![CDATA[
  934. //alert("col= " + grd_outer.col+ " row = " + grd_outer.row);
  935. if(grd_outer.row == "0"){
  936. fSetallcheck();
  937. }else{
  938. fSetBcnocheck();
  939. }
  940. ]]>
  941. </script>
  942. </datagrid>
  943. <col ref="rsltstat" type="combo">
  944. <choices>
  945. <item>
  946. <label>-</label>
  947. <value>-</value>
  948. </item>
  949. <item>
  950. <label>저장</label>
  951. <value>1</value>
  952. </item>
  953. <item>
  954. <label>중간보고</label>
  955. <value>2</value>
  956. </item>
  957. <item>
  958. <label>최종보고중</label>
  959. <value>3</value>
  960. </item>
  961. <item>
  962. <label>????</label>
  963. <value>4</value>
  964. </item>
  965. <item>
  966. <label>최종보고</label>
  967. <value>5</value>
  968. </item>
  969. </choices>
  970. </col>
  971. <caption id="caption7" class="search_name" style="left:15px; top:17px; width:86px; height:17px; ">접수일시 :</caption>
  972. <input id="input1" ref="/root/hidden/ref/fromdd" class="input_search" inputtype="date" style="left:105px; top:18px; width:90px; height:19px; "/>
  973. <input id="input2" ref="/root/hidden/ref/todd" class="input_search" inputtype="date" style="left:260px; top:18px; width:90px; height:19px; "/>
  974. <caption id="caption8" class="search_no_b" style="left:246px; top:18px; width:12px; height:17px; ">~</caption>
  975. <caption id="caption10" class="search_name" style="left:450px; top:19px; width:94px; height:17px; ">접수구분 :</caption>
  976. <select1 id="combo2" ref="/root/hidden/ref/acptgbn" class="combo_default" appearance="minimal" style="left:540px; top:18px; width:95px; height:19px; ">
  977. <choices>
  978. <item>
  979. <label>의뢰</label>
  980. <value>1</value>
  981. </item>
  982. <item>
  983. <label>전송</label>
  984. <value>2</value>
  985. </item>
  986. </choices>
  987. <script type="javascript" ev:event="xforms-value-changed">
  988. <![CDATA[
  989. fSetSendbutton();
  990. ]]>
  991. </script>
  992. </select1>
  993. <button id="button8" class="btn1_letter2" style="left:1124px; top:17px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  994. <caption>조회</caption>
  995. <script type="javascript" ev:event="DOMActivate">
  996. <![CDATA[
  997. fGetSutakRslt();
  998. ]]>
  999. </script>
  1000. </button>
  1001. <caption id="caption11" class="search_name" style="left:690px; top:19px; width:92px; height:17px; ">위탁기관 :</caption>
  1002. <select1 id="combo1" ref="/root/hidden/ref/extrinstcd" class="combo_default" appearance="minimal" style="left:780px; top:18px; width:120px; height:19px; ">
  1003. <choices>
  1004. <itemset nodeset="/root/init/LB0110">
  1005. <label ref="nm"/>
  1006. <value ref="cd"/>
  1007. </itemset>
  1008. </choices>
  1009. </select1>
  1010. <input id="input6" ref="/root/hidden/ref/fromtm" class="input_search" format="hh:nn" style="left:198px; top:18px; width:45px; height:19px; text-align:center; "/>
  1011. <input id="input7" ref="/root/hidden/ref/totm" class="input_search" format="hh:nn" style="left:353px; top:18px; width:45px; height:19px; text-align:center; "/>
  1012. </group>
  1013. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">CMC 수탁검사결과조회(전송)</caption>
  1014. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  1015. <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  1016. <caption>초기화</caption>
  1017. <script type="javascript" ev:event="DOMActivate">
  1018. <![CDATA[
  1019. fSetReset();
  1020. ]]>
  1021. </script>
  1022. </button>
  1023. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  1024. <button id="button3" class="btn4_letter4" style="left:1043px; top:3px; width:80px; height:22px; ">
  1025. <caption>결과전송</caption>
  1026. <script type="javascript" ev:event="DOMActivate">
  1027. <![CDATA[
  1028. //fExeOuterRslt();
  1029. fExeSutakRslt();
  1030. ]]>
  1031. </script>
  1032. </button>
  1033. </group>
  1034. </xhtml:body>
  1035. </xhtml:html>