123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLLR90600_수정대장기록.xrw
- * 설 명 : 수정대장기록
- * 설 계 자 : (주)에이씨케이 - 조철형
- * 작 성 자 : (주)에이씨케이 - 조철형
- * 작 성 일 : 2007.07.03
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>수정대장기록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <TestResultList>
- <tclsscrnnm/>
- <chk/>
- <selchk01 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result01/>
- <selchk02 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result02/>
- <selchk03 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result03/>
- <selchk04 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result04/>
- <selchk05 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result05/>
- <selchk06 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result06/>
- <selchk07 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result07/>
- <selchk08 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result08/>
- <selchk09 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result09/>
- <selchk10 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result10/>
- <selchk11 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result11/>
- <selchk12 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result12/>
- <selchk13 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result13/>
- <selchk14 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result14/>
- <selchk15 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result15/>
- <selchk16 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result16/>
- <selchk17 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result17/>
- <selchk18 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result18/>
- <selchk19 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result19/>
- <selchk20 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result20/>
- <selchk21 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result21/>
- <selchk22 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result22/>
- <selchk23 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result23/>
- <selchk24 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result24/>
- <selchk25 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result25/>
- <selchk26 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result26/>
- <selchk27 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result27/>
- <selchk28 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result28/>
- <selchk29 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result29/>
- <selchk30 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
- <result30/>
- <testcd/>
- <spccd/>
- <bcno/>
- </TestResultList>
- <TestResultInfo>
- <patnm/>
- <pid/>
- <orddeptnm/>
- <roomcd/>
- <usernm/>
- <userid/>
- <updtresn/>
- <usernm/>
- <rec/>
- </TestResultInfo>
- </main>
- <send>
- <data1/>
- <data2/>
- <codeflag/>
- <acceptid/>
- </send>
- <init>
- </init>
- <hidden>
- <DJGGParm>
- <bcno/>
- <testlrgkind/>
- <microtestkind/>
- <bufDJGG/>
- <userid/>
- </DJGGParm>
- <getUsernm>
- <usernm/>
- </getUsernm>
- <editresn/>
- <resncd/>
- <notiinfo>
- <notipsn/>
- </notiinfo>
- <getuserAnm>
- <acceptnm/>
- </getuserAnm>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- grd_resultlist.fixedcellcheckbox(0,1)=true;
- fInit();
-
- if(getPatientInfoDetail("orddrnm") != "") {
- model.makeValue("/root/main/TestResultInfo/rec", getPatientInfoDetail("orddrnm"));
- }
- //onPopUpCheck();
- //fUserNMRef(); 6/12일 수정자ID 직접입력을 원하셔서 막음..
-
- // 수정사유콤보
- fGetEditResn();
-
- model.setFocus("input2");
- ]]>
- </script>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <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/stringHelper.js"/>
- <submission id="TRLLR90601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main"/>
- <submission id="TXLLR90601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TRLZZ00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/getUsernm"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0101"/>
- <submission id="TRLBT10404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/getuserAnm"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- // 수정사유콤보 조회
- function fGetEditResn(){
- model.setValue("/root/send/codeflag", "0101|"); // 0101 사유코드관리
- submit("TRLZZ00101");
-
- var resncnt = getNodesetCount("/root/init/LB0101");
- NodeCnt = 1;
- for(i=1; i<resncnt; i++ ){
- if(model.getValue("/root/init/LB0101["+i+"]/etc01")=="10"){ // 수정사유
- model.makeValue("/root/hidden/editresn["+NodeCnt+"]/cd", model.getValue("/root/init/LB0101["+i+"]/cd"));
- model.makeValue("/root/hidden/editresn["+NodeCnt+"]/nm", model.getValue("/root/init/LB0101["+i+"]/nm"));
- NodeCnt++;
- }
-
- }
- model.refresh();
- }
-
-
- function fInit() {
-
- model.copyNode("/root/send/data1" , "/root/hidden/DJGGParm");
-
- submit("TRLLR90601" );
-
- var vMaxrstno = model.getValue("/root/main/TestResultList/maxrstno");
-
- if (parseInt(vMaxrstno) > 30) {
- model.setValue("/root/main/TestResultList/maxrstno", "30");
- vMaxrstno = 30;
- }
-
-
-
- for (var r = 1; r <= getNodesetCount("/root/main/TestResultList"); r++) {
-
- for (var n = 1; n <= eval(vMaxrstno); n++) {
- var vRstno = n.toString().getLeftPad(2 , 0);
- var c = parseInt(n) +5;
-
-
- //var vTooltipText = model.getValue("/root/main/TestResultList["+r+"]/selchk" + vRstno + "/@tooltip");
- //if (vTooltipText.getTrim() != "") {
-
- //grd_resultlist.tooltipText(r,c) = vTooltipText.toString().replace("/", "\n");
- //}
-
- // 최종보고, 중간(예비)보고는 FontColor 변경
- if (model.getValue("/root/main/TestResultList["+r+"]/selchk" + vRstno + "/@rsltstat") == "4" ||
- model.getValue("/root/main/TestResultList["+r+"]/selchk" + vRstno + "/@rsltstat") == "5") {
- grd_resultlist.cellstyle("background-color", r, c,r,c) = "#f3e1bf";
- grd_resultlist.cellstyle("color", r, c,r,c) = "#ff3300";
-
- } else if (model.getValue("/root/main/TestResultList["+r+"]/selchk" + vRstno + "/@rsltstat") == "2") {
- //grd_resultlist.cellstyle("background-color" , r, c,r,c) = "#f3e1bf";
- grd_resultlist.cellstyle("color", r, c,r,c) = "#184d8b";
-
- } else if (model.getValue("/root/main/TestResultList["+r+"]/selchk" + vRstno + "/@rsltstat") == "1") {
- //grd_resultlist.cellstyle("background-color" , r, c,r,c) = "#f3e1bf";
- grd_resultlist.cellstyle("color", r, c,r,c) = "#423a46";
-
- }
-
- }
- }
- model.removeNodeset("/root/send/data1/userid");
-
- model.refresh();
- fColHidden(parseInt(vMaxrstno) + 1);
-
- fUpRslt();
-
-
- }
-
-
- function fUpRslt(){
-
- var vRSLTLIST = model.getvalue("/root/hidden/DJGGParm/bufDJGG");
-
- if (vRSLTLIST.getTrim() != "") {
- var vRowA = vRSLTLIST.split("▩");
-
-
- }
-
- for(i=1;i<=getNodesetCount("/root/main/TestResultList");i++){
- var lastRst = model.getvalue("/root/main/TestResultList["+i+"]/lastRst");
- var testcd = model.getvalue("/root/main/TestResultList["+i+"]/testcd");
-
- var col = parseInt(lastRst) + 6;
- var pLast = parseInt(lastRst) + 1;
- for (n = 0; n < vRowA.length - 1; n++) {
-
- vColA = vRowA[n].split("▦");
- if(vColA[0] == testcd){
-
- model.setvalue("/root/main/TestResultList["+i+"]/result" + pLast.toString().getLeftPad(2 , 0), vColA[1]);
-
- grd_resultlist.cellstyle("background-color", i, col,i,col) = "#FFCCCC";
- grd_resultlist.cellstyle("color", i, col,i,col) = "#0606FF";
- grd_resultlist.cellstyle("font-weight", i, col) = "bold";
-
- break;
- }
-
- }
-
-
- }
-
- grd_resultlist.rebuild();
- }
- /**
- * Column Hidden
- *
- */
- function fColHidden(pMaxrst) {
-
- for (var i = 1; i <= 30; i++) {
- var vCol = (eval(i) +5);
- var vState = (i > eval(pMaxrst)) ? true : false;
-
- grd_resultlist.ColHidden(vCol) = vState;
- }
- }
-
- // 선택버튼 클릭
- function fSelect_Click() {
-
-
- var rs = grd_resultlist.rows;
- var cnt = 0;
- grd_resultlist.clearStatus();
- model.setvalue("/root/main/TestResultInfo/userid" , "/root/hidden/DJGGParm/userid");
- for(i=1;i<rs;i++){
-
- grd_resultlist.addStatus(i,"insert");
- }
-
-
- if(model.getValue("/root/main/TestResultInfo/updtresn") == ""){
- messageBox("수정사유를 ", "C002", "");
- return;
- }
-
- if(model.getValue("/root/main/TestResultInfo/rec") == ""){
- messageBox("수신인을 ", "C001", "");
- return;
- }
-
-
- if(messageBox( "", "Q002","" ) == 6){
-
- saveSendNodeSet();
- //gyeolGwaHistoryInit();
- //onPopUpCheck();
- }
- return;
-
- //window.close(); // 폼 종료
- }
-
- function saveSendNodeSet(){
-
-
-
- var rowMax = grd_resultlist.rows- 1;
- var col = grd_resultlist.col;
- var row = grd_resultlist.row;
-
- var sMakeStr = "m▦rownum▦bcno▦testcd▦spccd▦tclscd▦updtresn▦perchgrid▦rec▦notitrgtid▦notitrgtnm▦inptrslt▦bfinptrslt▦bfrsltseq▩";
- var drIF = false;
-
- var perchgrid = "";
- var notitrgtid = "";
- var notitrgtnm = "";
-
- if(model.getValue("/root/hidden/DJGGParm/userid") == ""){
- perchgrid = "-" ; //담당자아이디
- }else if(model.getValue("/root/hidden/DJGGParm/userid") != ""){
- perchgrid = model.getValue("/root/hidden/DJGGParm/userid"); //담당자아이디
- }
- if(model.getValue("/root/hidden/notiinfo/notipsn") == ""){
- notitrgtid = "-" ;//피통보자아이디
- }else{
- notitrgtid = model.getValue("/root/hidden/notiinfo/notipsn") ;//피통보자아이디
- }
- if(model.getValue("/root/hidden/getuserAnm/acceptnm") == ""){
- notitrgtnm = "-" ;//피통보자이름
- }else{
- notitrgtnm = model.getValue("/root/hidden/getuserAnm/acceptnm");//피통보자이름
- }
-
- for(var i = 1; i <= rowMax; i++){
-
- //if(model.getValue("/root/main/TestResultList[" + i + "]/chk") == "true"){
-
- var strArray = new Array();
- var wardroom = model.getValue("/root/main/TestResultInfo/roomcd");
- var lastRst = model.getValue("/root/main/TestResultList[" + i + "]/lastRst"); // 해당열의 마지막 컬럼명 seqno
- var bfSeq = 0;
- var pList = parseInt(lastRst) + 1;
- if(!isNull(lastRst)){ // lastRst - 1
- bfSeq = lastRst ;
- //bfSeq = bfSeq.getLeftPad(2,0);
-
- pList = pList.toString().getLeftPad(2,0);
- }
- //* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
-
-
- if(bfSeq > 0){
-
- bfSeq = bfSeq.toString().getLeftPad(2,0);
- }else{
- bfSeq = "01";
- }
-
- sMakeStr = sMakeStr + "u" + "▦" + i + "▦" +
- model.getValue("/root/main/TestResultInfo/bcno") + "▦" + //바코드번호
- model.getValue("/root/main/TestResultList[" + i + "]/testcd") + "▦" + //검사코드
- model.getValue("/root/main/TestResultList[" + i + "]/spccd") + "▦" + //검체코드
- model.getValue("/root/main/TestResultList[" + i + "]/tclscd") + "▦" + //검사코드
- model.getValue("/root/main/TestResultInfo/updtresn") + "▦" +//수정사유
- perchgrid + "▦" + //담당자아이디
- model.getValue("/root/main/TestResultInfo/rec") + "▦" +//수신인
- notitrgtid + "▦" +//피통보자아이디
- notitrgtnm + "▦" +//피통보자이름
- model.getValue("/root/main/TestResultList[" + i + "]/result" + pList) + "▦" + //바뀔결과
- model.getValue("/root/main/TestResultList[" + i + "]/result" +bfSeq) + "▦" + //바뀌기 전 결과
- model.getValue("/root/main/TestResultList[" + i + "]/selchk" +bfSeq+"/@rsltseq") + "▩" ; //바뀌기 전 결과순번
- }
-
-
- model.setValue("/root/send/data2", sMakeStr);
- submit("TXLLR90601");
-
- opener.model.setvalue("/root/hidden/DJGGParm/rsltsaveYN" , "Y");
-
- window.close();
- }
-
- /**
- * 최종보고된것들중 마지막으로 수정된 검사만 선택할수 있도록
- *
- */
- function onClickSelChk(){
-
- var rowMax = grd_resultlist.rows- 1;
- var col = grd_resultlist.col;
- var row = grd_resultlist.row;
-
- for(var i = 1; i <= rowMax; i++){
- if(model.getValue("/root/main/TestResultList[" + i + "]/chk") == "true"){
- var lastRst = model.getValue("/root/main/TestResultList[" + i + "]/lastRst");
-
- if((model.getValue("/root/main/TestResultList[" + i + "]/selchk01/@readonly")) == "true"){
- messageBox("선택할수 " , "E001" , "36" );
- model.setValue("/root/main/TestResultList[" + i+ "]/chk", "false");
- }
- else if(model.getValue("/root/main/TestResultList[" + i + "]/maxlastreptdt")
- != model.getValue("/root/main/TestResultInfo/bcnomaxlastreptdt")){
- messageBox("최종으로 수정된 항목이 아닙니다. " , "E" , "" );
- model.setValue("/root/main/TestResultList[" + i+ "]/chk", "false");
-
- }
- }
- }
-
- }
-
- /**
- * 최종보고된것들중 마지막으로 수정된거 화면 보여줄때 체크되게!!
- *
- */
- function onPopUpCheck(){
-
- var rowMax = grd_resultlist.rows- 1;
- var col = grd_resultlist.col;
- var row =grd_resultlist.row;
-
- for(var i = 1; i <= rowMax; i++){
- if(model.getValue("/root/main/TestResultList[" + i + "]/maxlastreptdt")
- == model.getValue("/root/main/TestResultInfo/bcnomaxlastreptdt")){
-
- if(model.getValue("/root/main/TestResultList[" + i + "]/selchk01/@readonly")== "false"
- || model.getValue("/root/main/TestResultList[" + i + "]/selchk01/@readonly")== ""){
- model.setValue("/root/main/TestResultList[" + i+ "]/chk", "true");
- }
- }
- }
-
-
- }
-
- function fGRDOnclick(){
- var col = grd_resultlist.col;
-
- if(col == 1){
- onClickSelChk();
- }
- }
-
- function fUserNMRef(param){
- //수정자조회
- if(param == "1"){
- if(model.getvalue("/root/hidden/DJGGParm/userid") != ""){
-
- model.makeValue("/root/send/userid" , model.getvalue("/root/hidden/DJGGParm/userid"));
- submit("TRLZZ00104");
- }
- //피통보자조회
- }else if(param == "2"){
- if(model.getvalue("/root/hidden/notiinfo/notipsn") != ""){
-
- model.makeValue("/root/send/acceptid", model.getvalue("/root/hidden/notiinfo/notipsn"));
- submit("TRLBT10404");
- }
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="670" pageheight="470" guideline="1,1194;" style="border-color:#000000; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:650px; height:440px; ">
- <line id="line1" class="line_1" style="x1:211px; y1:25px; x2:641px; y2:26px; "/>
- <caption id="caption3" class="tit_2" style="left:210px; top:9px; width:123px; height:14px; ">수정결과</caption>
- <datagrid id="grd_resultlist" nodeset="/root/main/TestResultList" backcoloralternate="transparent" caption="^검사항목명^bcno^testcd^spccd^1차^2차^3차^4차^5차^6차^7차^8차^9차^10차^11차^12차^13차^14차^15차^16차^17차^18차^19차^20차^21차^22차^23차^24차^25차^26차^27차^28차^29차^30차" colsep="^" colwidth="-2, 163, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50" dataheight="23" defaultrows="1" ellipsis="true" fixedcols="0" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="free" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:210px; top:31px; width:435px; height:404px; ">
- <col checkvalue="true,false" ref="chk" type="checkbox"/>
- <col ref="tclsscrnnm"/>
- <col ref="bcno"/>
- <col ref="testcd"/>
- <col ref="spccd"/>
- <col ref="result01"/>
- <col ref="result02"/>
- <col ref="result03"/>
- <col ref="result04"/>
- <col ref="result05"/>
- <col ref="result06"/>
- <col ref="result07"/>
- <col ref="result08"/>
- <col ref="result09"/>
- <col ref="result10"/>
- <col ref="result11"/>
- <col ref="result12"/>
- <col ref="result13"/>
- <col ref="result14"/>
- <col ref="result15"/>
- <col ref="result16"/>
- <col ref="result17"/>
- <col ref="result18"/>
- <col ref="result19"/>
- <col ref="result20"/>
- <col ref="result21"/>
- <col ref="result22"/>
- <col ref="result23"/>
- <col ref="result24"/>
- <col ref="result25"/>
- <col ref="result26"/>
- <col ref="result27"/>
- <col ref="result28"/>
- <col ref="result29"/>
- <col ref="result30"/>
- </datagrid>
- <output id="output4" ref="/root/main/TestResultInfo/roomcd" class="output_fix" style="left:75px; top:103px; width:125px; height:19px; "/>
- <output id="output5" ref="/root/hidden/getUsernm/usernm" class="output_fix" style="left:135px; top:128px; width:65px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:210px; width:72px; height:23px; vertical-align:middle; ">수정사유</caption>
- <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:115px; height:13px; ">환자정보</caption>
- <caption id="caption1" class="cell_1" style="left:0px; top:30px; width:72px; height:23px; vertical-align:middle; ">환자명</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:54px; width:72px; height:23px; vertical-align:middle; ">등록번호</caption>
- <input id="input1" ref="/root/main/TestResultInfo/rec" class="input_default" disabled="true" style="left:75px; top:152px; width:125px; height:19px; "/>
- <caption id="caption6" class="cell_1" style="left:0px; top:78px; width:72px; height:23px; vertical-align:middle; ">진료과</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:200px; y2:25px; "/>
- <textarea id="textarea1" ref="/root/main/TestResultInfo/updtresn" style="left:0px; top:235px; width:200px; height:199px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:102px; width:72px; height:23px; vertical-align:middle; ">병실</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:126px; width:72px; height:23px; vertical-align:middle; ">담당자</caption>
- <output id="output1" ref="/root/main/TestResultInfo/patnm" class="output_fix" style="left:75px; top:31px; width:125px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:0px; top:150px; width:72px; height:23px; vertical-align:middle; ">수신인</caption>
- <output id="output2" ref="/root/main/TestResultInfo/pid" class="output_fix" style="left:75px; top:55px; width:125px; height:19px; "/>
- <output id="output3" ref="/root/main/TestResultInfo/orddeptnm" class="output_fix" style="left:75px; top:79px; width:125px; height:19px; "/>
- <select1 id="combo1" ref="/root/hidden/resncd" appearance="minimal" style="left:75px; top:212px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/editresn">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/main/TestResultInfo/updtresn", combo1.label);
- textarea1.refresh();
- ]]>
- </script>
- </select1>
- <input id="input2" ref="/root/hidden/DJGGParm/userid" class="input_default" style="left:75px; top:128px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13"){
-
- model.setvalue("/root/hidden/DJGGParm/userid", input2.currentText);
- model.refresh();
- fUserNMRef("1");
- input2.selBegin = 0;
- input2.selEnd = input2.currentText.length;
-
- if(model.getValue("/root/hidden/getUsernm/usernm") != "") {
- model.setFocus("input1");
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption5" class="cell_1" style="left:0px; top:174px; width:72px; height:23px; vertical-align:middle; ">피통보자</caption>
- <input id="opt_notipsn" ref="/root/hidden/getuserAnm/acceptnm" appearance="input" style="left:135px; top:176px; width:65px; height:19px; "/>
- <input id="ipt_notipsn" ref="/root/hidden/notiinfo/notipsn" class="input_default" style="left:75px; top:176px; width:60px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13"){
- model.setvalue("/root/hidden/notiinfo/notipsn", ipt_notipsn.currentText.toUpperCase());
- model.refresh();
-
- fUserNMRef("2");
-
- ipt_notipsn.selBegin = 0;
- ipt_notipsn.selEnd = ipt_notipsn.currentText.length;
- model.setFocus("ipt_notipsn");
- }
- ]]>
- </script>
- </input>
- </group>
- <button id="button3" class="btn4_letter2" visibility="visible" style="left:531px; top:445px; width:56px; height:22px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSelect_Click();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter2" style="left:590px; top:445px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //opener.model.setvalue("/root/hidden/DJGGParm/rsltsaveYN" , "Y");
- if(opener.model.getvalue("/root/hidden/DJGGParm/rsltsaveYN") != "Y"){
- messageBox("수정결과를 ", "C001", "");
- }
- else{
- window.close();
- }
-
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|