123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLOR00200_위탁검사결과관리.xrw
- * 설 명 : 위탁검사결과관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2007.07.03
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title/>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <outerlist>
- <workdd/>
- <instcd/>
- <pid/>
- <bcno/>
- <patnm/>
- <testcd/>
- <inptrslt/>
- <rsltstat/>
- <srvstat/>
- <imgyn/>
- <imgnm/>
- <rkey/>
- <imgfull/>
- <imgwidt/>
- <imght/>
- <imgrslt/>
- <testnm/>
- <imgtrue/>
- </outerlist>
- <msglist>
- <msg/>
- </msglist>
- <view>
- <imgnm/>
- <imgrslt/>
- <imgwidt/>
- <imght/>
- <rsltseqno/>
- <savdelflag>1</savdelflag>
- </view>
- </main>
- <send>
- <attach>
- <file/>
- <bcno/>
- <testcd/>
- <rsltstat/>
- <imght/>
- <imgwidt/>
- <imgrslt/>
- </attach>
- <codeflag/>
- <outerrslt>
- </outerrslt>
- <data3/>
- <bcnolist/>
- <testcdlist/>
- <cnfmdata/>
- <savegbn/>
- <testlist/>
- </send>
- <init>
- </init>
- <hidden>
- <filename/>
- <imgname/>
- <cnfmlist>
- <bcno/>
- <testcd/>
- <rsltstat/>
- <rkey/>
- </cnfmlist>
- <ResultFlag>
- <error/>
- </ResultFlag>
- <cmt>
- <cd>00</cd>
- <cnts/>
- </cmt>
- <tclslist>
- <tclscd/>
- <tclsnm/>
- <tclsabbrnm/>
- </tclslist>
- <rsltstat2/>
- <spcltestinfo>
- <bcno/>
- <testcd/>
- <spccd/>
- <tclscd/>
- <pid/>
- <rsltstat/>
- </spcltestinfo>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //grd_outer.deleteRow(1, false);
- grd_outer.removeRow();
- model.removeNodeset("/root/main/outerlist");
- model.removeNodeset("/root/hidden/cnfmlist");
- grd_attach.removeRow();
- model.resetInstanceNode("/root/send");
- // 초기정보 조회
- model.setValue("/root/send/codeflag", "0210|0110|0000|"); //0210 소견코드
- submit("TRLZZ00101");
-
- ]]>
- </script>
- <!-- 기초코드 조회-->
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0210"/>
- <submission id="TXLOR00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/ResultFlag"/>
- <submission id="TRLOR00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/cnfmlist"/>
- <submission id="TXTSS00201" mediatype="multipart/form-data" method="form-data-post" ref="/root/send"/>
- <submission id="TXLOR00202" mediatype="multipart/form-data" method="form-data-post" ref="/root/send/attach"/>
- <submission id="TRLOR00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/tclslist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- // 파일 가져오기
- function fGetFileName(){
- var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls|CSV Files(*.csv)|*.csv");
-
- if (fileName == "" || fileName == null) {
- alert("파일을 선택하세요");
- return;
- }
-
- model.setValue("/root/hidden/filename", fileName);
- opt_file.refresh();
-
- //grd_outer.loadExcel(fileName, 1, true);
- grd_outer.loadExcel(fileName);
- grd_outer.deleteRow(1);
-
- grd_outer.refresh();
-
-
- // 검사명 조회하기
- if(grd_outer.rows > 1){
- var bcnolist = "";
- var tclscdlist = "";
-
- for(j=1; j<grd_outer.rows; j++){
- bcnolist += "'" + model.getValue("/root/main/outerlist["+j+"]/bcno") + "'" + ",";
- tclscdlist += "'" + model.getValue("/root/main/outerlist["+j+"]/testcd") + "'" + ",";
- }
- model.setValue("/root/send/bcnolist", bcnolist.substr(0, (bcnolist.length-1)) );
- model.setValue("/root/send/testcdlist", tclscdlist.substr(0, (tclscdlist.length-1)) );
-
- submit("TRLOR00202");
-
- var tclsrow = getNodesetCount("/root/hidden/tclslist");
-
- for(j= 1; j<=tclsrow; j++){
- for(k=1; k<grd_outer.rows; k++){
- if(model.getValue("/root/hidden/tclslist["+j+"]/tclscd")==model.getValue("/root/main/outerlist["+k+"]/testcd")){
- model.setValue("/root/main/outerlist["+k+"]/testnm", model.getValue("/root/hidden/tclslist["+j+"]/tclsnm"));
- }
- }
- }
- }
-
- for(i=1; i<grd_outer.rows; i++){
- grd_outer.rowStatus(i) = 1;
- var bcbc = model.getValue("/root/main/outerlist["+i+"]/bcno");
- var tctc = model.getValue("/root/main/outerlist["+i+"]/testcd");
- model.setValue("/root/main/outerlist["+i+"]/rkey", bcbc + tctc);
- }
- model.setValue("/root/send/savegbn", "F"); // File로 저장시
- }
-
- // 이미지경로 가져오기
- function fGetImgPath(){
-
- var folderName = window.folderDialog("");
-
- if (folderName == "" || folderName == null) {
- alert("폴더를 선택하세요");
- return;
- }
-
- //model.setValue("/root/hidden/imgname", folderName + "\\");
- model.setValue("/root/hidden/imgname", folderName);
- opt_img.refresh();
- }
-
- // 이미지 업로드
- function fSetImgUpload(){
-
- var vCnt = 0;
- var imgPath = new Array();
-
- var maxsize = upload1.attribute("filesize");
-
- for(i=1; i<grd_outer.rows; i++){
- if(model.getValue("/root/main/outerlist["+i+"]/imgyn")=="Y"){
- if(model.getValue("/root/main/outerlist["+i+"]/imgnm")!= ""){
-
- fChangeImage(model.getValue("/root/hidden/imgname") + "\\" + model.getValue("/root/main/outerlist["+i+"]/imgnm"));
-
- grd_attach.addRow(); // grd_attach 업로드용 그리드
- grd_attach.valueMatrix(grd_attach.rows - 1, 0) = model.getValue("/root/hidden/imgname") + "\\" + model.getValue("/root/main/outerlist["+i+"]/imgnm");
- grd_attach.valueMatrix(grd_attach.rows - 1, 1) = model.getValue("/root/main/outerlist["+i+"]/bcno");
- grd_attach.valueMatrix(grd_attach.rows - 1, 2) = model.getValue("/root/main/outerlist["+i+"]/testcd");
- grd_attach.valueMatrix(grd_attach.rows - 1, 3) = model.getValue("/root/main/outerlist["+i+"]/rsltstat");
- //grd_attach.valueMatrix(grd_attach.rows - 1, 4) = "0";
- //grd_attach.valueMatrix(grd_attach.rows - 1, 5) = "0";
- grd_attach.valueMatrix(grd_attach.rows - 1, 4) = model.getValue("/root/main/view/imght");
- grd_attach.valueMatrix(grd_attach.rows - 1, 5) = model.getValue("/root/main/view/imgwidt");
- grd_attach.valueMatrix(grd_attach.rows - 1, 6) = model.getValue("/root/main/view/imgrslt");
-
- if (!checkFileSize(upload1)){
- grd_attach.removeItem();
- messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- }
-
- }
- }
- }
-
- }
-
- function fChangeImage(imgsrc){ // 이미지 전환
- img2.src = imgsrc;
- var data = img2.getbase64data();
- var imgSize = getImageSize(imgsrc);
-
- model.setValue("/root/main/view/imgrslt",data,true);
- //model.setValue("/root/main/view/imgrslt", data);
-
- //setImageRefInstance("/root/main/view/imgrslt");
-
- if( imgSize.split("^")[0] >= 2500){
- model.setValue("/root/main/view/imgwidt", parseInt(imgSize.split("^")[0] * 0.3) );
- model.setValue("/root/main/view/imght", parseInt(imgSize.split("^")[1] * 0.3) );
- }else if( imgSize.split("^")[0] > 2000 && imgSize.split("^")[0] < 2500){
- model.setValue("/root/main/view/imgwidt", parseInt(imgSize.split("^")[0] * 0.4) );
- model.setValue("/root/main/view/imght", parseInt(imgSize.split("^")[1] * 0.4) );
- }else{
- model.setValue("/root/main/view/imgwidt", imgSize.split("^")[0]);
- model.setValue("/root/main/view/imght", imgSize.split("^")[1]);
- }
-
- //img1.attribute("width")= imgSize.split("^")[0];
- //img1.attribute("height")= imgSize.split("^")[1];
- model.refresh();
- }
-
- // 결과전송
- function fExeOuterRslt(){
-
- // 이미지 결과 Y인것 업로드 하기
- //fGetImgFile();
-
-
-
- var grdouter = grd_outer.getUpdateData();
- model.setValue("/root/send/outerrslt", grdouter);
- //model.copyNode("/root/send/data3", "/root/hidden/cmt");
- fSetImgUpload();
-
- if(submit("TXLOR00201", false)){
- model.resetInstanceNode("/root/main/outerlist");
- model.resetInstanceNode("/root/main/view");
- }
-
-
-
- //submit("TXLOR00202",false);
- model.removeNodeset("/root/send/attach");
- model.resetInstanceNode("/root/send");
-
-
-
- model.refresh();
-
- }
-
-
- // 전송확인
- function fGetOuterRsltConfirm(){
- model.removeNodeset("/root/hidden/cnfmlist");
-
- if(grd_outer.rows < 2){
- //alert("전송확인할 항목이 없습니다.");
- messageBox("전송확인할 항목이 ", "I004", "");
- return;
- }
-
- var keylist = model.getValue("/root/main/outerlist[1]/rkey");
- var bcnolist = model.getValue("/root/main/outerlist[1]/bcno");
- var testlist = model.getValue("/root/main/outerlist[1]/testcd");
-
- for(i=2; i<grd_outer.rows; i++ ){
- keylist = keylist + "','" + model.getValue("/root/main/outerlist["+i+"]/rkey");
- bcnolist = bcnolist + "','" + model.getValue("/root/main/outerlist["+i+"]/bcno");
- testlist = testlist + "','" + model.getValue("/root/main/outerlist["+i+"]/testcd");
- }
-
- model.setValue("/root/send/cnfmdata", "'" + keylist + "'");
- model.setValue("/root/send/bcnolist", "'" + bcnolist + "'");
- model.setValue("/root/send/testlist", "'" + testlist + "'");
- //alert("aaa= " + model.getValue("/root/send/cnfmdata"));
- if(submit("TRLOR00201")){
-
- var refRow = getNodesetCount("/root/hidden/cnfmlist");
-
- for(j=1; j<=refRow; j++){
- for(i=1; i<grd_outer.rows; i++ ){
-
- if(model.getValue("/root/main/outerlist["+j+"]/rkey")==model.getValue("/root/hidden/cnfmlist["+i+"]/rkey")){
- model.setValue("/root/main/outerlist["+i+"]/srvstat", model.getValue("/root/hidden/cnfmlist["+j+"]/rsltstat"));
- }
- }
- }
-
- }else{
- alert("조회오류");
- }
-
- }
-
- // 소견콤보 선택시 textarea 로 보여주기
- function fSetCmt(){
- //var cmtcnt = model.getValue("/root/init/LB0210[cd="+cmb_cmt.value+"]/nm");
- var cmtcnt = model.getValue("/root/init/LB0210[etc01='X' and cd=" + "'"+cmb_cmt.value+"'" + "]/etc03");
- model.setValue("/root/hidden/cmt/cnts", cmtcnt);
- tar_cmt.refresh();
- }
-
- // 초기화
- function fSetReset(){
- model.reset();
- }
-
- // 엑셀 저장
- function fExeExcel(pGridId) {
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- pGridId.saveExcel(fileName);
- }
-
- }
-
- // 이미지 있을때 업로드 하기
- function fGetImgFile(){
-
- var maxsize = upload1.attribute("filesize");
- //alert("maxsize= " + maxsize);
- //files = window.fileDialog("open", "|", true);
- //filelist = files.split("|");
-
- var imgpath = model.getValue("/root/hidden/imgname");
-
- var filefullName = imgpath + "\\" + model.getValue("/root/main/outerlist/imgnm");
- model.setValue("/root/main/outerlist/imgfull", filefullName);
-
- img2.src = filefullName;
- var data = img2.getbase64data();
- //alert("data= " + data);
- var imgsize = getImageSize(filefullName);
- //alert("imgsize= " + imgsize);
- model.setValue("/root/main/view/imgrslt", data, true);
- setImageRefInstance("/root/main/view/imgrslt");
- model.setValue("/root/main/view/imgwidt", imgsize.split("^")[0]);
- model.setValue("/root/main/view/imght", imgsize.split("^")[1]);
-
- img2.attribute("width")= imgsize.split("^")[0];
- img2.attribute("height")= imgsize.split("^")[1];
-
- model.copyNode("/root/send/data2" , "/root/main/view" )
- model.refresh();
-
- /*for(i=1; i<grd_outer.rows; i++ ){
- //alert("i= " + i + " rows= " + grd_outer.rows);
- if(("Y" == model.getValue("/root/main/outerlist["+i+"]/imgyn")) || ("" != model.getValue("/root/main/outerlist["+i+"]/imgnm"))){
-
- if(imgpath == ""){
- alert("이미지 경로가 없습니다.");
- return;
- }
-
- var filefullName = imgpath + "\\" + model.getValue("/root/main/outerlist["+i+"]/imgnm");
- model.setValue("/root/main/outerlist["+i+"]/imgfull", filefullName);
-
- img2.src = filefullName;
- var data = img2.getbase64data();
- //alert("data= " + data);
- var imgsize = getImageSize(filefullName);
- //alert("imgsize= " + imgsize);
- model.setValue("/root/main/outerlist["+i+"]/imgrslt", data, true);
- model.setValue("/root/main/outerlist["+i+"]/imgwidt", imgsize.split("^")[0]);
- model.setValue("/root/main/outerlist["+i+"]/imght", imgsize.split("^")[1]);
-
- if (!checkFileSize(upload1)){
- //grd_attach.removeItem();
- messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- return;
- }
-
- }
-
- }*/
-
-
- }
-
- // 저장상태 변경
- function fSetRsltStat(){
-
- if(grd_outer.rows> 1){
- for(i=1; i<grd_outer.rows; i++){
- model.setValue("/root/main/outerlist["+i+"]/rsltstat", model.getValue("/root/hidden/rsltstat2"));
- }
- model.refresh();
- }else{
- alert("변경할 내용이 없습니다. ");
- }
- }
-
- // 이미지결과 보여주기
- function fSetImgRsltView(){
- //model.resetInstanceNode("/root/hidden/spcltestinfo");
-
- var row = "";
- if(model.getValue("/root/send/savegbn")=="F"){ // 파일로딩했을때
- row = grd_outer.row;
- }else{ // 조회했을때
- //row = grd_outer.row + 2;
- row = grd_outer.row ;
- }
- //alert("row=" + row);
- if(row> 0){
- if(model.getValue("/root/main/outerlist["+row+"]/imgyn")=="Y"){
- model.setValue("/root/hidden/spcltestinfo/bcno", model.getValue("/root/main/outerlist["+row+"]/bcno"));
- model.setValue("/root/hidden/spcltestinfo/testcd", model.getValue("/root/main/outerlist["+row+"]/testcd"));
- model.setValue("/root/hidden/spcltestinfo/spccd", model.getValue("/root/main/outerlist["+row+"]/spccd"));
- model.setValue("/root/hidden/spcltestinfo/tclscd", model.getValue("/root/main/outerlist["+row+"]/tclscd"));
- model.setValue("/root/hidden/spcltestinfo/pid", model.getValue("/root/main/outerlist["+row+"]/pid"));
- model.setValue("/root/hidden/spcltestinfo/rsltstat", model.getValue("/root/main/outerlist["+row+"]/rsltstat"));
-
- modal("SMLRR01500","", "", "","", "/root/hidden/spcltestinfo", "/root/hidden/spcltestinfo");
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
- <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1195; y2:71px; "/>
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:10; width:1195px; height:35; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:19px; width:75px; height:17px; ">화일명 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:17px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <line id="line11" class="line_4" style="x1:1108px; y1:16px; x2:1108px; y2:38px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:56px; width:131px; height:14px; ">검체코드상세내역</caption>
- <button id="button2" class="btn2_letter4" style="left:1131px; top:50px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExcel(grd_outer);
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:570px; top:19px; width:99px; height:17px; ">이미지경로 :</caption>
- <caption id="caption3" class="tit_2" style="left:710px; top:592px; width:131px; height:14px; ">소견입력</caption>
- <line id="line2" class="line_1" style="x1:705px; y1:607px; x2:1195px; y2:607px; "/>
- <caption id="caption5" class="tit_2" style="left:0px; top:592px; width:131px; height:13px; ">결과전송상태</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:607px; x2:700px; y2:607px; "/>
- <line id="line4" class="line_2" style="x1:705px; y1:634px; x2:1195px; y2:634px; "/>
- <line id="line5" class="line_3" style="x1:705px; y1:727px; x2:1195px; y2:727px; "/>
- <input id="opt_file" ref="/root/hidden/filename" class="output_search" appearance="input" style="left:93px; top:18px; width:442px; height:19px; "/>
- <output id="opt_img" ref="/root/hidden/imgname" class="output_search" style="left:670px; top:18px; width:395px; height:19px; "/>
- <datagrid id="grd_outer" nodeset="/root/main/outerlist" class="datagrid" caption="의뢰일자^기관코드^등록번호^검체번호^성명^검사코드^결과^상태구분^서버상태^이미지결과^이미지명^rkey^imgfull^imgwidt^imght^imgrslt^검사명^이미지결과" colsep="^" colwidth="80, 80, 70, 86, 70, 70, 160, 82, 70, 80, 100, 0, 0, 0, 0, 0, 140, 60" dataheight="23" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:76px; width:1195px; height:506; ">
- <col ref="workdd" format="yyyy-mm-dd"/>
- <col ref="instcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid"/>
- <col ref="bcno"/>
- <col ref="patnm"/>
- <col ref="testcd"/>
- <col ref="inptrslt"/>
- <col ref="rsltstat" type="combo">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>저장</label>
- <value>1</value>
- </item>
- <item>
- <label>중간보고</label>
- <value>2</value>
- </item>
- <item>
- <label>최종보고중</label>
- <value>3</value>
- </item>
- <item>
- <label>최종보고</label>
- <value>4</value>
- </item>
- <item>
- <label>수정보고</label>
- <value>5</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="srvstat" type="combo">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>저장</label>
- <value>1</value>
- </item>
- <item>
- <label>중간보고</label>
- <value>2</value>
- </item>
- <item>
- <label>최종보고중</label>
- <value>3</value>
- </item>
- <item>
- <label>최종보고</label>
- <value>4</value>
- </item>
- <item>
- <label>수정보고</label>
- <value>5</value>
- </item>
- </choices>
- </col>
- <col ref="imgyn" type="combo">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="imgnm" style="left:940px; top:23px; width:100px; height:23px; "/>
- <col ref="rkey"/>
- <col ref="imgfull"/>
- <col ref="imgwidt"/>
- <col ref="imght"/>
- <col ref="imgrslt"/>
- <col ref="testnm"/>
- <col ref="imgtrue" type="inputbutton"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fSetImgRsltView();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_rsltstat" nodeset="/root/hidden/ResultFlag" caption="Message" colsep="^" colwidth="677" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:612px; width:700px; height:115; ">
- <col ref="error"/>
- </datagrid>
- <col ref="rsltstat" type="combo">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>저장</label>
- <value>1</value>
- </item>
- <item>
- <label>중간보고</label>
- <value>2</value>
- </item>
- <item>
- <label>최종보고중</label>
- <value>3</value>
- </item>
- <item>
- <label>????</label>
- <value>4</value>
- </item>
- <item>
- <label>최종보고</label>
- <value>5</value>
- </item>
- </choices>
- </col>
- <select1 id="cmb_cmt" ref="/root/hidden/cmt/cd" class="combo_default" appearance="minimal" style="left:705px; top:612px; width:490px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0210[etc01='X']">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetCmt();
- ]]>
- </script>
- </select1>
- <textarea id="tar_cmt" ref="/root/hidden/cmt/cnts" style="left:705px; top:637px; width:490px; height:87px; "/>
- <button id="button6" class="icon_search" appearance="button" style="left:1073px; top:20px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //이미지 경로 가져오기
- fGetImgPath();
-
- ]]>
- </script>
- <caption/>
- </button>
- <button id="button7" visibility="hidden" style="left:290px; top:380px; width:115px; height:20px; ">
- <caption>이미지업로드 임시용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetImgUpload();
- ]]>
- </script>
- </button>
- <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="5242880" validate="true" style="left:425px; top:380px; width:25px; height:20px; "/>
- <datagrid id="grd_attach" nodeset="/root/send/attach" visibility="hidden" caption="파일경로^bcno^testcd^rsltstat^imght^imgwidt^imgrslt^" colwidth="415, 100, 100, 100, 100, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" style="left:0px; top:415px; width:1095px; height:150px; ">
- <col ref="file"/>
- <col ref="bcno"/>
- <col ref="testcd"/>
- <col ref="rsltstat"/>
- <col ref="imght"/>
- <col ref="imgwidt"/>
- <col ref="imgrslt"/>
- </datagrid>
- <button id="btn_upload" class="btn5_letter4" visibility="hidden" style="left:600px; top:390px; width:64px; height:19px; ">
- <caption>upload</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (submit("TXTSS00201")) {
- //model.removeNodeset("/root/send/attach");
- //model.resetInstanceNode("/root/send/title");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_addfile" class="btn2_letter4" visibility="hidden" style="left:530px; top:390px; width:64px; height:19px; ">
- <caption>addfile</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var maxsize = upload1.attribute("filesize");
-
- files = window.fileDialog("open", "|", true);
- filelist = files.split("|");
- for(var i = 0 ; i < filelist.length ; i++ ) {
- grd_attach.addRow(false);
- grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
-
- }
- ]]>
- </script>
- </button>
- <button id="button8" class="btn2_letter7" style="left:658px; top:49px; width:97px; height:19px; ">
- <caption>↓저장상태변경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetRsltStat();
- ]]>
- </script>
- </button>
- <caption id="caption12" class="tit_2" style="left:445px; top:52px; width:126px; height:13px; ">저장상태일괄변경</caption>
- <select1 id="combo5" ref="/root/hidden/rsltstat2" appearance="minimal" style="left:570px; top:49px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>저장</label>
- <value>1</value>
- </item>
- <item>
- <label>중간보고</label>
- <value>2</value>
- </item>
- <item>
- <label>최종보고</label>
- <value>4</value>
- </item>
- <item>
- <label>수정보고</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <img id="img2" visibility="hidden" style="left:795px; top:210px; width:140px; height:120px; background-color:#ff6600; background-stretch:stretch; "/>
- <button id="bt" class="icon_search" appearance="button" style="left:541px; top:20px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //결과 파일명 가져오기
- fGetFileName();
-
- ]]>
- </script>
- <caption/>
- </button>
- <img id="img1" ref="/root/main/view/imgrslt" visibility="hidden" style="left:620px; top:210px; width:155px; height:130px; background-color:#800000; background-stretch:stretch; "/>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">위탁검사결과관리</caption>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetReset();
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="button3" class="btn4_letter4" style="left:961px; top:3px; width:80px; height:22px; ">
- <caption>결과전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeOuterRslt();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter4" style="left:1044px; top:3px; width:80px; height:22px; ">
- <caption>전송확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetOuterRsltConfirm();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|