123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLJ00700_CMC위수탁접수관리.xrw
- * 설 명 : 세포유전대장
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 송요셉
- * 작 성 일 : 2009.10.07
- * 수정이력 :
- * 기 타 :
- -->
- <?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>CMC위수탁접수관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <trustlist>
- <acptdd/>
- <reqinstcd/>
- <reqbcno/>
- <tclsnm/>
- <spcnm/>
- <reqtclscd/>
- <reqspccd/>
- <trustinstcd/>
- <trustbcno/>
- <reqpid/>
- <trustpid/>
- <patnm/>
- <rrgstno1/>
- <rrgstno2/>
- <psptno/>
- <age/>
- <sex/>
- <bixflagcd/>
- <reqdd/>
- <reqtm/>
- <reqnm/>
- <cnfmdd/>
- <cnfttm/>
- <cnfmnm/>
- <conttestintvlflagcd/>
- <conttestorgtims/>
- <conttestbasetm/>
- <prcpdelivefact/>
- <suppkind/>
- <acptstatcd/>
- <etc1/>
- <etc2/>
- <etc3/>
- <urinextrvol/>
- <reqorddrnm/>
- <reqorddeptnm/>
- <reqwardroom/>
- <reqno/>
- <userflagcd/>
- </trustlist>
- </main>
- <send>
- <data1/>
- <data2/>
- <codeflag/>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <trustgbn>1</trustgbn>
- <fromdd/>
- <todd/>
- <trustinstcd>00</trustinstcd>
- </ref>
- <data1/>
- </hidden>
- <temp>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //초기화
- fSetInit();
- ]]>
- </script>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/codeflag" replace="instance" resultref="/root/LB"/>
- <submission id="TRLLJ00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/trustlist"/>
- <submission id="TXLLJ00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TXLLJ00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- </model>
- <script type="javascript">
- <![CDATA[
- //초기화
- function fSetInit(){
-
- model.setValue("/root/send/codeflag", "0110|0000|"); //0110 외부기관코드 0000 유저플래그
- submit("TRLZZ00101");
-
- var today = getCurrentDate();
-
- grd_trustlist.fixedcellcheckbox(0,1)=true;
-
- model.setValue("/root/hidden/ref/fromdd", today);
- model.setValue("/root/hidden/ref/todd", today);
- fExeTrustRadio();
- model.removeNodeset("/root/main/trustlist");
-
- model.refresh();
-
- }
-
- // 위수탁리스트 조회
- function fGetTrustOperList(){
- model.makeValue("/root/hidden/ref/userflagcd", model.getValue("/root/init/LB0000/nm"));
- model.copyNode("/root/send/data1" , "/root/hidden/ref");
-
- submit("TRLLJ00701");
-
- }
-
- // 접수
- function fSetTrustAcpt(){
-
- for(var tRow = 1; tRow < grd_trustlist.rows ; tRow++){
-
- if(model.getValue("/root/main/trustlist["+ tRow +"]/chk") == "true"){
- grd_trustlist.rowStatus(tRow) = 2;
- }else{
- grd_trustlist.rowStatus(tRow) = 0;
- }
- }
- model.setValue("/root/send/data2", getGridUpdateData(grd_trustlist));
-
- submit("TXLLJ00701");
-
- fGetTrustOperList();
- }
-
- // 조회구분따라 접수버튼 숨기기
- function fExeTrustRadio(){
-
- var Tradio = model.getValue("/root/hidden/ref/trustgbn");
-
- if(Tradio == "1"){ // 접수
- button1.visible = true; // 접수버튼 보임
- button2.visible = false; //취소버튼 안 보임
- }else if(Tradio == "2"){ //위탁전송
- button1.visible = false; // 접수버튼 안 보임
- button2.visible = true; //취소버튼 보임
- }else if(Tradio == "3"){ //확인
- button1.visible = false; // 접수버튼 안 보임
- button2.visible = false; //취소버튼 안 보임
- }
- model.refresh();
-
- }
-
- // 엑셀 저장
- function fExeExcel(pGridId) {
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- pGridId.saveExcel(fileName);
- }
-
- }
-
- // 의뢰한거 취소
- function fExeTrustCancel(){
- for(var tRow = 1; tRow < grd_trustlist.rows ; tRow++){
-
- if(model.getValue("/root/main/trustlist["+ tRow +"]/chk") == "true"){
- grd_trustlist.rowStatus(tRow) = 2;
- }else{
- grd_trustlist.rowStatus(tRow) = 0;
- }
- }
- model.setValue("/root/send/data2", getGridUpdateData(grd_trustlist));
-
- submit("TXLLJ00702");
-
- fGetTrustOperList();
-
- }
-
- ]]>
- </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:70px; x2:1194px; y2:70px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:95px; height:13px; ">위수탁리스트</caption>
- <group id="group1" style="left:0px; top:10px; width:1195px; height:35px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <button id="btn_ref" class="btn1_letter2" style="left:1124px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTrustOperList();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; "/>
- <caption id="caption3" class="search_name" style="left:19px; top:9px; width:86px; height:17px; ">조회구분 :</caption>
- <select1 id="radio1" ref="/root/hidden/ref/trustgbn" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:115px; top:8px; width:195px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>접수</label>
- <value>1</value>
- </item>
- <item>
- <label>위탁전송</label>
- <value>2</value>
- </item>
- <item>
- <label>확인</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fExeTrustRadio();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_no_b" style="left:520px; top:10px; width:15px; height:17px; vertical-align:middle; ">~</caption>
- <input id="ipt_from" ref="/root/hidden/ref/fromdd" class="input_search" inputtype="date" style="left:430px; top:8px; width:85px; height:19px; "/>
- <input id="ipt_to" ref="/root/hidden/ref/todd" class="input_search" inputtype="date" style="left:535px; top:8px; width:85px; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:339px; top:9px; width:87px; height:17px; ">조회일자 :</caption>
- <caption id="caption5" class="search_name" style="left:659px; top:9px; width:87px; height:17px; ">위탁기관 :</caption>
- <select1 id="combo1" ref="/root/hidden/ref/trustinstcd" class="combo_search" appearance="minimal" style="left:755px; top:8px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <button id="btn_excel" class="btn2_letter2" visibility="visible" style="left:1152px; top:49px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExcel(grd_trustlist);
- ]]>
- </script>
- </button>
- <datagrid id="grd_trustlist" nodeset="/root/main/trustlist" caption="^의뢰상태^접수일자^수탁기관^의뢰기관바코드^의뢰검사명^의뢰검체명^등록번호^환자명^성별^나이^주민번호^주민번호^의뢰의사명^진료과명^병동/병실^여권번호^구분코드^요청일자^요청시간^요청자명^확인일자^확인시간^확인자명^연속검사여부^연속검사^연속검사^전달사항^미수코드^접수구분^소변량^tclscd^spccd^수탁기관 바코드^수탁기관등록번호^의뢰기관^reqno^userflagcd" colsep="^" colwidth="25, 60, 80, 100, 90, 140, 100, 85, 80, 40, 40, 55, 60, 70, 50, 80, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 58, 66, 100, 59, 59, 100, 100, 100, 44, 100, 100, 100, 100" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1194px; height:665px; text-align:center; ">
- <col checkvalue="true,false" ref="chk" type="checkbox"/>
- <col disabled="true" ref="acptstatcd" type="combo">
- <choices>
- <item>
- <label>의뢰</label>
- <value>0</value>
- </item>
- <item>
- <label>접수</label>
- <value>1</value>
- </item>
- <item>
- <label>결과</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="acptdd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="trustinstcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="reqbcno" type="input"/>
- <col ref="tclsnm" style="text-align:left; "/>
- <col ref="spcnm" style="text-align:left; "/>
- <col ref="reqpid" type="input"/>
- <col ref="patnm"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="rrgstno1"/>
- <col ref="rrgstno2"/>
- <col ref="reqorddrnm"/>
- <col ref="reqorddeptnm"/>
- <col ref="reqwardroom" style="text-align:left; "/>
- <col ref="psptno" visibility="hidden"/>
- <col ref="bixflagcd"/>
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col ref="reqtm" format="hh:nn:ss"/>
- <col ref="reqnm"/>
- <col ref="cnfmdd" format="yyyy-mm-dd"/>
- <col ref="cnfmtm" format="hh:nn:ss"/>
- <col ref="cnfmnm"/>
- <col ref="conttestintvlflagcd"/>
- <col ref="conttestorgtims"/>
- <col ref="conttestbasetm"/>
- <col ref="prcpdelivefact"/>
- <col ref="suppkind"/>
- <col ref="acptstatcd"/>
- <col ref="urinextrvol"/>
- <col ref="reqtclscd"/>
- <col ref="reqspccd"/>
- <col ref="trustbcno" type="input"/>
- <col ref="trustpid" type="input"/>
- <col disabled="true" ref="reqinstcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="reqno" visibility="hidden"/>
- <col ref="userflagcd" visibility="hidden"/>
- <col ref="etc1" visibility="hidden"/>
- <col ref="etc2" visibility="hidden"/>
- <col ref="etc3" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_slidelist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="button1" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
- <caption>의뢰</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetTrustAcpt();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter4" style="left:1044px; top:3px; width:80px; height:22px; ">
- <caption>의뢰취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //fSetTrustAcpt();
- fExeTrustCancel();
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:138px; height:14px; ">CMC위수탁접수관리</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|