123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLOR00400_CMC위탁검사결과등록.xrw
- * 설 명 : CMC위탁검사결과등록
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2009.12.18
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <chk/>
- <reqdd/>
- <reqinstcd/>
- <reqbcno/>
- <trustbcno/>
- <tclsnm/>
- <spcnm/>
- <reqpid/>
- <trustpid/>
- <hngnm/>
- <sex/>
- <age/>
- <rsltstat/>
- <reptrslt/>
- <descrsltyn/>
- <descrslt/>
- <readrslt/>
- <imagrsltyn/>
- <imgrslt/>
- <imght/>
- <imgwidt/>
- <rrgstno/>
- <usernm/>
- <deptengabbr/>
- <wardroom/>
- <urinextrvol/>
- <tclscd/>
- <spccd/>
- <testcd/>
- <tclskind/>
- <trustinstcd/>
- <level/>
- </outerlist>
- </main>
- <send>
- <codeflag/>
- <fromdd/>
- <fromtm/>
- <todd/>
- <totm/>
- <acptgbn/>
- <extrinstcd/>
- <outerdata/>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <fromdd/>
- <fromtm>0000</fromtm>
- <todd/>
- <totm>2359</totm>
- <acptgbn>1</acptgbn>
- <extrinstcd>00</extrinstcd>
- <rsltallstat>-</rsltallstat>
- </ref>
- <spcltestinfo/>
- <descrslt>
- <descrslt/>
- </descrslt>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 초기화
- fSetReset();
-
- ]]>
- </script>
- <!-- 기초코드 조회-->
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0210"/>
- <submission id="TRLOR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/outerlist"/>
- <submission id="TXLOR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- // 초기화
- function fSetReset(){
-
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/outerlist");
-
- grd_outer.fixedcellcheckbox(0,1) = true;
- //grd_outer.fixedcellischeck(0, 1) = true;
-
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-3);
-
- //model.setValue("/root/hidden/ref/fromdd", mDate.getDateFormat("YYYYMMDD"));
- model.setValue("/root/hidden/ref/fromdd", getCurrentDate());
- model.setValue("/root/hidden/ref/todd", getCurrentDate());
-
- // 초기정보 조회
- model.setValue("/root/send/codeflag", "0110|0000|"); //0110 위탁기관
- submit("TRLZZ00101");
-
- button1.visible = true;
- button3.visible = true;
- model.refresh();
-
- }
-
- // 수탁검사결과조회
- function fGetWitakRslt(){
-
- //if(!fSetRefFromdd()){ // 3일 내로만 조회되게
- // return;
- //}
- model.setValue("/root/send/fromdd", model.getValue("/root/hidden/ref/fromdd"));
- model.setValue("/root/send/fromtm", model.getValue("/root/hidden/ref/fromtm"));
- model.setValue("/root/send/todd", model.getValue("/root/hidden/ref/todd"));
- model.setValue("/root/send/totm", model.getValue("/root/hidden/ref/totm"));
- model.setValue("/root/send/acptgbn", model.getValue("/root/hidden/ref/acptgbn"));
- model.setValue("/root/send/extrinstcd", model.getValue("/root/hidden/ref/extrinstcd"));
- model.makeValue("/root/send/userflagcd", model.getValue("/root/init/LB0000/nm"));
-
- submit("TRLOR00401");
-
- setTree(grd_outer, 3, 2, true); // 그리드 , level, tree, ..
- //model.refresh();
- }
-
- // 결과전송
- function fExeOuterRslt(){
-
- // 이미지 결과 Y인것 업로드 하기
- //fGetImgFile();
- var outerdata = getGridUpdateData(grd_outer);
-
- if(outerdata == ""){
- alert("결과등록할 내용이 없습니다. ");
- return;
- }
-
- model.setValue("/root/send/outerdata", outerdata);
- //fSetImgUpload();
-
- if(submit("TXLOR00401", true)){
- fGetWitakRslt();
- // model.resetInstanceNode("/root/main/outerlist");
- //model.resetInstanceNode("/root/main/view");
- }
- //model.removeNodeset("/root/send/attach");
- //model.resetInstanceNode("/root/send");
-
- model.refresh();
-
- }
-
- // 접수구분 선택시 결과저장, 결과확인버튼 숨기기
- function fSetSavebutton(){
-
- if(model.getValue("/root/hidden/ref/acptgbn")=="1"){ // 의뢰
- button1.visible = true;
- button3.visible = true;
- }else{ // 전송
- button1.visible = true;
- button3.visible = true;
- }
- model.refresh();
- }
-
- // 서술결과버튼 클릭하면 상세보기 팝업
- function fGetDescrslt(){
- model.resetInstanceNode("/root/hidden/descrslt");
-
- var row = grd_outer.row;
-
- if(row> 0){
- if(model.getValue("/root/main/outerlist["+row+"]/descrsltyn")=="Y"){
-
- model.makeValue("/root/hidden/descrslt/readrslt", model.getValue("/root/main/outerlist["+row+"]/readrslt"));
-
- modal("SPLOR90100","", "", "","", "/root/hidden/descrslt", "/root/hidden/descrslt");
- }
- }
- }
-
- // 이미지결과 보여주기
- function fSetImgRsltView(){
- model.resetInstanceNode("/root/hidden/spcltestinfo");
-
- var row = grd_outer.row;
-
- if(model.getValue("/root/hidden/ref/acptgbn")=="1"){
- alert("접수구분이 의뢰상태일때는 이미지결과 조회가 불가능합니다. ");
- return;
- }
-
- if(row> 0){
- if(model.getValue("/root/main/outerlist["+row+"]/imagrsltyn")=="Y"){
-
- model.makeValue("/root/hidden/spcltestinfo/bcno", model.getValue("/root/main/outerlist["+row+"]/reqbcno"));
- model.makeValue("/root/hidden/spcltestinfo/testcd", model.getValue("/root/main/outerlist["+row+"]/testcd"));
- model.makeValue("/root/hidden/spcltestinfo/spccd", model.getValue("/root/main/outerlist["+row+"]/spccd"));
- model.makeValue("/root/hidden/spcltestinfo/tclscd", model.getValue("/root/main/outerlist["+row+"]/tclscd"));
- model.makeValue("/root/hidden/spcltestinfo/pid", model.getValue("/root/main/outerlist["+row+"]/reqpid"));
- model.makeValue("/root/hidden/spcltestinfo/rsltstat", model.getValue("/root/main/outerlist["+row+"]/rsltstat"));
-
- modal("SMLRR01500","", "", "","", "/root/hidden/spcltestinfo", "/root/hidden/spcltestinfo");
- }
- }
- }
-
- // 그리드 전체선택, 전체해제
- function fsetgridstatus(){
- for(i=1; i< grd_outer.rows; i++){
- if(model.getValue("/root/main/outerlist["+i+"]/chk") == "true"){
- grd_outer.rowStatus(i) = 2;
- }else{
- grd_outer.rowStatus(i) = 0;
- }
-
- }
- }
-
- // 검체번호 같은겉 전부선택되게
- function fSetBcnocheck(){
-
- for(i=1; i<grd_outer.rows; i++ ){
- if(model.getValue("/root/main/outerlist["+grd_outer.row+"]/chk")=="true"){
- if(model.getValue("/root/main/outerlist["+grd_outer.row+"]/trustbcno")== model.getValue("/root/main/outerlist["+i+"]/trustbcno")){
- model.setValue("/root/main/outerlist["+i+"]/chk", "true");
-
- }
- //grd_outer.rowStatus(i) = 2; // 수정
- }else{
- //alert("i= " + i);
- if(model.getValue("/root/main/outerlist["+grd_outer.row+"]/trustbcno")== model.getValue("/root/main/outerlist["+i+"]/trustbcno")){
- model.setValue("/root/main/outerlist["+i+"]/chk", "false");
-
- }
- //grd_outer.rowStatus(i) = 0; // 취소
- }
-
- if(model.getValue("/root/main/outerlist["+ i +"]/chk") == "true"){
-
- grd_outer.rowStatus(i) = 2; // 수정
- }else{
- grd_outer.rowStatus(i) = 0; // 취소
- }
- }
-
- grd_outer.refresh();
- }
-
- // 저장상태 변경
- 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/ref/rsltallstat"));
- }
- model.refresh();
- }else{
- alert("변경할 내용이 없습니다. ");
- }
- }
-
-
- // 엑셀 저장
- function fExeExcel(pGridId) {
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- pGridId.saveExcel(fileName);
- }
-
- }
-
-
-
-
-
-
-
-
- // 이미지 업로드
- 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) = "450";
- //grd_attach.valueMatrix(grd_attach.rows - 1, 5) = "317";
- 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]);
- }
-
- 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("조회오류");
- }
-
- }
-
-
-
- // 이미지 있을때 업로드 하기
- 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;
- }
-
- }
-
- }*/
-
-
- }
-
- // 조회기간 3일간만 조회가능
- function fSetRefFromdd() {
-
- var fromdd = model.getValue("/root/hidden/refparam/startdd");
- var todd = model.getValue("/root/hidden/refparam/enddd");
-
- var mDate = todd.toDate("YYYYMMDD").getAddDate(-3);
-
- if(mDate.getDateFormat("YYYYMMDD") > fromdd) {
- messageBox("3일 이내의 기간만 검색","I006");
-
- return false;
- }else if(todd < fromdd) {
- messageBox("기간설정이 잘못", "E005");
-
- return false;
- }else {
- return true;
- }
- }
-
-
-
- ]]>
- </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:744px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:10px; width:1195px; height:34px; "/>
- <line id="line11" class="line_4" style="x1:1108px; y1:17px; x2:1108px; y2:39px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:54px; width:131px; height:13px; ">위탁검사목록</caption>
- <button id="button2" class="btn2_letter4" style="left:1131px; top:48px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExcel(grd_outer);
- ]]>
- </script>
- </button>
- <datagrid id="grd_outer" nodeset="/root/main/outerlist" class="datagrid2" caption="^▣^level^접수일자^의뢰기관^의뢰병원
바코드번호^CMCnU
바코드번호^검사명^검체명^의뢰병원
등록번호^CMCnU
등록번호^환자명^성별^나이^결과
상태^결과^서술결과여부^서술결과^이미지
결과여부^이미지결과^주민등록번호^의뢰의사명^진료과명^병동/병실^소변량^tclscd^spccd^testcd^tclskind^instcd^imght^imgwidt" colsep="^" colwidth="30, 24, 39, 72, 90, 74, 74, 120, 80, 70, 70, 62, 34, 34, 60, 80, 50, 36, 54, 40, 110, 70, 60, 69, 50, 50, 40, 50, 24, 62, 43, 56" dataheight="23" defaultrows="0" explorerbar="sortshow" 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; ">
- <col checkvalue="true,false" ref="chk" type="checkbox" format="yyyy-mm-dd"/>
- <col/>
- <col ref="level" visibility="hidden"/>
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col ref="reqinstcd" type="combo">
- <choices>
- <item>
- <label>성모병원</label>
- <value>011</value>
- </item>
- <item>
- <label>서울성모병원</label>
- <value>012</value>
- </item>
- <item>
- <label>의정부성모병원</label>
- <value>013</value>
- </item>
- <item>
- <label>부천성모병원</label>
- <value>014</value>
- </item>
- <item>
- <label>성빈센트병원</label>
- <value>017</value>
- </item>
- <item>
- <label>성바오로병원</label>
- <value>015</value>
- </item>
- <item>
- <label>성모자애병원</label>
- <value>016</value>
- </item>
- <item>
- <label>대전성모병원</label>
- <value>018</value>
- </item>
- </choices>
- </col>
- <col ref="reqbcno" type="input"/>
- <col ref="trustbcno" type="input"/>
- <col ref="tclsnm"/>
- <col ref="spcnm"/>
- <col ref="reqpid" type="input"/>
- <col ref="trustpid" type="input"/>
- <col ref="hngnm"/>
- <col ref="sex"/>
- <col ref="age" style="left:940px; top:23px; width:100px; height:23px; "/>
- <col ref="rsltstat" type="combo">
- <choices>
- <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>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- </choices>
- </col>
- <col ref="reptrslt"/>
- <col ref="descrsltyn"/>
- <col type="inputbutton"/>
- <col ref="imagrsltyn"/>
- <col type="inputbutton"/>
- <col ref="rrgstno" format="999999-9999999"/>
- <col ref="usernm"/>
- <col ref="deptengabbr"/>
- <col ref="wardroom"/>
- <col ref="urinextrvol"/>
- <col ref="tclscd"/>
- <col ref="spccd"/>
- <col ref="testcd"/>
- <col ref="tclskind"/>
- <col ref="trustinstcd" type="combo">
- <choices>
- <item>
- <label>성모병원</label>
- <value>011</value>
- </item>
- <item>
- <label>서울성모병원</label>
- <value>012</value>
- </item>
- <item>
- <label>의정부성모병원</label>
- <value>013</value>
- </item>
- <item>
- <label>부천성모병원</label>
- <value>014</value>
- </item>
- <item>
- <label>성빈센트병원</label>
- <value>017</value>
- </item>
- <item>
- <label>성바오로병원</label>
- <value>015</value>
- </item>
- <item>
- <label>성모자애병원</label>
- <value>016</value>
- </item>
- <item>
- <label>대전성모병원</label>
- <value>018</value>
- </item>
- </choices>
- </col>
- <col ref="imght"/>
- <col ref="imgwidt"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
-
- if(grd_outer.col == "18"){ // 서술결과버톤
- fGetDescrslt();
- }else if(grd_outer.col== "20"){ // 이미지결과버튼
- fSetImgRsltView();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //alert("select");
-
- if(grd_outer.row == "0"){
- fsetgridstatus();
- }else{
- fSetBcnocheck();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- //alert("deselect");
- if(grd_outer.row == "0"){
- fsetgridstatus();
- }else{
- fSetBcnocheck();
- }
- ]]>
- </script>
- </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>
- <caption id="caption7" class="search_name" style="left:15px; top:17px; width:86px; height:17px; ">의뢰일시 :</caption>
- <input id="input1" ref="/root/hidden/ref/fromdd" class="input_search" inputtype="date" style="left:105px; top:18px; width:90px; height:19px; "/>
- <input id="input2" ref="/root/hidden/ref/todd" class="input_search" inputtype="date" style="left:260px; top:18px; width:90px; height:19px; "/>
- <caption id="caption8" class="search_no_b" style="left:246px; top:18px; width:12px; height:17px; ">~</caption>
- <caption id="caption10" class="search_name" style="left:465px; top:19px; width:94px; height:17px; ">접수구분 :</caption>
- <select1 id="combo2" ref="/root/hidden/ref/acptgbn" class="combo_default" appearance="minimal" style="left:555px; top:18px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>의뢰</label>
- <value>1</value>
- </item>
- <item>
- <label>전송</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetSavebutton();
- ]]>
- </script>
- </select1>
- <button id="button8" class="btn1_letter2" style="left:1124px; top:17px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetWitakRslt();
- ]]>
- </script>
- </button>
- <caption id="caption11" class="search_name" style="left:690px; top:19px; width:92px; height:17px; ">위탁기관 :</caption>
- <select1 id="combo1" ref="/root/hidden/ref/extrinstcd" class="combo_default" appearance="minimal" style="left:780px; top:18px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <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; "/>
- <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; "/>
- <button id="button4" class="btn2_letter7" style="left:658px; top:48px; 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:51px; width:126px; height:13px; ">저장상태일괄변경</caption>
- <select1 id="combo5" ref="/root/hidden/ref/rsltallstat" appearance="minimal" style="left:570px; top:48px; 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>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">CMC 위탁검사결과등록</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" disabled="true" style="left:1043px; top:3px; width:80px; height:22px; ">
- <caption>결과확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fExeOuterRslt();
- //fExeSutakRslt();
- alert("개발중");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter4" style="left:958px; top:3px; width:80px; height:22px; ">
- <caption>결과저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeOuterRslt();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|