123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLPU00300_위탁검사현황
- * 설 명 : 위탁검사현황
- * 설 계 자 : (주)에이씨케이 - 유동철
- * 작 성 자 : (주)에이씨케이 - 유동철
- * 작 성 일 : 2007.0.19
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <trsttest>
- <trsttestlist>
- <choi/>
- <instcd/>
- <ptno/>
- <dispptno/>
- <pid/>
- <patnm/>
- <sexage/>
- <rrgstno/>
- <patflagnm/>
- <acptdd/>
- <acpttm/>
- <testcd/>
- <testnm/>
- <spccd/>
- <spcnm/>
- <trustdd/>
- <trusttm/>
- <exlabcd/>
- <exlabnm/>
- <repldd/>
- <repltm/>
- <testrslt/>
- <acptno/>
- <acptitemno/>
- <trustno/>
- <trustseqno/>
- <wardcd/>
- <roomcd/>
- <prcpdd/>
- <orddd/>
- <prcpgenrflag/>
- <prcpno/>
- <orddrnm/>
- <orddeptnm/>
- <execprcpuniqno/>
- <reqfrmno/>
- <reqfrmflagcd/>
- <reqcnts/>
- <prcpstatcd/>
- <bcno/>
- <reqcntsnode/>
- <rrgstno1/>
- <rrgstno2/>
- <psptno/>
- </trsttestlist>
- </trsttest>
- </main>
- <send/>
- <init>
- <pid/>
- <acptfromdd/>
- <acpttodd/>
- <seameth/>
- <trstflag/>
- <exlabcd/>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- <resncd>
- <resncdist>
- <instcd/>
- <baseflagcd/>
- <resncd/>
- <resncnts/>
- </resncdist>
- </resncd>
- <ptnocd>
- <ptnocdlist>
- <instcd/>
- <ptnocd/>
- <ptnonm/>
- </ptnocdlist>
- </ptnocd>
- <ptnocode/>
- <fromyear/>
- <fromptno/>
- <toyear/>
- <toptno/>
- <init>
- <LB0110>
- <cd/>
- <nm/>
- </LB0110>
- </init>
- </init>
- <hidden/>
- <message/>
- </root>
- </instance>
- <bind id="bind1" ref="/root/main/trsttest/trsttestlist/exlabcd" readonly="../exlabcd/@readonly = 'true'"/>
- <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"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/LB0110"/>
- <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
- <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
- <submission id="TRLPU00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/trsttest/trsttestlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 위탁검사현황
- * @ver : 2007.09.19 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 초기화 Function
- */
- function fExeInitialize() {
-
- var sCurDate = "";
-
- //---------------
- // 시스템일시 조회
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- submit("TRLPZ00102", false);
- submit("TRLPZ00109", false);
-
- model.makeValue("/root/send/codeflag", "0110|"); // 0110 외부기관
- submit("TRLZZ00101");
-
- //------------------------------------------------------------
- sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
-
- model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.makeValue("/root/init/ptnocode", "");
- model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
- model.makeValue("/root/init/toyear", sCurDate.substr(2,2));
- model.makeValue("/root/init/fromptno", "");
- model.makeValue("/root/init/toptno", "");
- model.makeValue("/root/init/exlabcd", "");
- model.makeValue("/root/init/pid", "");
- model.makeValue("/root/init/trstflag", "1");
-
- //------------------------------------------------------
- model.removeNodeset("/root/main/trsttest/trsttestlist");
-
- //--------------
- model.refresh();
- }
-
- /* @group : 위탁검사현황
- * @ver : 2007.09.19 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 위탁검사목록 조회 Function
- */
- function fGetTrustList() {
-
- var sTemp = "";
- var sFromDD = model.getValue("/root/init/acptfromdd");
- var sToDD = model.getValue("/root/init/acpttodd");
-
- //------------------------------------------------
- if (model.getValue("/root/init/ptnocode") != "") {
-
- //------------------------------------------------
- if (model.getValue("/root/init/fromyear") == "") {
- model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
- } else {
- sTemp = model.getValue("/root/init/fromyear");
- model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
- }
-
- //----------------------------------------------
- if (model.getValue("/root/init/toyear") == "") {
- model.makeValue("/root/init/toyear", sToDD.substr(2,2));
- } else {
- sTemp = model.getValue("/root/init/toyear");
- model.makeValue("/root/init/toyear", sTemp.getLeftPad(2, "0"));
- }
-
- //------------------------------------------------
- if (model.getValue("/root/init/fromptno") == "") {
- model.makeValue("/root/init/fromptno", "000000");
- } else {
- sTemp = model.getValue("/root/init/fromptno");
- model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
- }
-
- //----------------------------------------------
- if (model.getValue("/root/init/toptno") == "") {
- model.makeValue("/root/init/toptno", "999999");
- } else {
- sTemp = model.getValue("/root/init/toptno");
- model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
- }
- }
-
- //--------------------------------------------
- sTemp = model.getValue("/root/init/ptnocode");
- model.removeNodeset("/root/main/trsttest/trsttestlist");
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/fromdd", model.getValue("/root/init/acptfromdd"));
- model.makeValue("/root/send/todd", model.getValue("/root/init/acpttodd"));
- model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
- model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
- model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
- model.makeValue("/root/send/toyear", model.getValue("/root/init/toyear"));
- model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
- model.makeValue("/root/send/trstflagcd", model.getValue("/root/init/trstflag")); // 위탁구분(0:전, 1:후)
- model.makeValue("/root/send/pid", model.getValue("/root/init/pid"));
- model.makeValue("/root/send/exlabcd", model.getValue("/root/init/exlabcd"));
-
- //-------------------
- submit("TRLPU00201");
- }
-
- /* @group : 위탁검사현황
- * @ver : 2007.09.19 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 위탁검사목록 조회 Function
- */
- function fExeSaveToExcel() {
- grd_trstlist.saveExcel("C:\\SMLPU00300_위탁검사현황.xls", "위탁검사현황", false, false);
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:150px; height:14px; ">위탁검사현황</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption5" class="search_no_b" style="left:202px; top:8px; width:12px; height:17px; ">~</caption>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <input id="ipt_acptddfrom" ref="/root/init/acptfromdd" class="input_s_essential" navindex="1" inputtype="date" style="left:105px; top:8px; width:94; height:19px; "/>
- <input id="ipt_acptddto" ref="/root/init/acpttodd" class="input_s_essential" navindex="2" inputtype="date" style="left:217px; top:8px; width:94px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:916px; top:9px; width:86px; height:17px; ">위탁기관 :</caption>
- <button id="btn_sea" class="btn1_letter2" navindex="11" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTrustList();
- ]]>
- </script>
- </button>
- <select1 id="cmb_basepartcd" ref="/root/init/exlabcd" class="combo_search" navindex="10" appearance="minimal" style="left:1008px; top:8px; width:84px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption10" class="search_name" autoresize="true" style="left:709px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
- <caption id="cap_ddflagcd" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">위탁일자 :</caption>
- <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="3" appearance="minimal" editmode="search" style="left:439px; top:8px; width:51px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ptnocd/ptnocdlist">
- <label ref="ptnocd"/>
- <value ref="ptnocd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="5" maxlength="6" style="left:523px; top:8px; width:50px; height:19px; "/>
- <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="4" maxlength="2" style="left:493px; top:8px; width:27px; height:19px; "/>
- <caption id="caption2" class="search_name" style="left:350px; top:9px; width:90px; height:17px; ">병리번호 :</caption>
- <caption id="caption4" class="search_no_b" style="left:576px; top:8px; width:12px; height:17px; ">~</caption>
- <input id="input1" ref="/root/init/toptno" class="text_center" navindex="7" maxlength="6" style="left:621px; top:8px; width:50px; height:19px; "/>
- <input id="input2" ref="/root/init/toyear" class="text_center" navindex="6" maxlength="2" style="left:591px; top:8px; width:27px; height:19px; "/>
- <input id="input3" ref="/root/init/pid" navindex="8" style="left:800px; top:8px; width:80px; height:19px; "/>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:70; x2:1194px; y2:70; "/>
- <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:139px; height:13; ">위탁검사정보</caption>
- <datagrid id="grd_trstlist" nodeset="/root/main/trsttest/trsttestlist" class="datagrid2" caption="instcd^ptno^병리번호^등록번호^환자명^성별
나이^주민번호^병동/외래^접수일자^접수
시간^검사코드^검사명^검체코드^검체명^발송일자^발송
시간^위탁기관^위탁기관^회신일자^회신
시간^검사결과^acptno^acptitemno^trustno^trustseqno^wardcd^roomcd^prcpdd^orddd^prcpgenrflag^prcpno^orddrnm^orddeptnm^execprcpuniqno^reqfrmno^reqfrmflagcd^reqcnts^prcpstatcd^bcno^reqcntsnode^rrgstno1^rrgstno2^psptno" colsep="^" colwidth="0, 0, 80, 70, 70, 46, 90, 0, 70, 56, 0, 120, 0, 70, 70, 56, 90, 0, 70, 56, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" navindex="13" style="left:0px; top:75px; width:1194px; height:607px; ">
- <col ref="instcd"/>
- <col ref="ptno"/>
- <col ref="dispptno"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="sexage"/>
- <col ref="rrgstno"/>
- <col ref="patflagnm"/>
- <col ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col ref="acpttm" format="hh:nn:ss" mask="exclude" showmask="true"/>
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="spccd"/>
- <col ref="spcnm"/>
- <col ref="trustdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col ref="trusttm" format="hh:nn:ss" mask="exclude" showmask="true"/>
- <col ref="exlabcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="exlabnm"/>
- <col ref="repldd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col ref="repltm" format="hh:nn:ss" mask="exclude" showmask="true"/>
- <col ref="testrslt"/>
- <col ref="acptno"/>
- <col ref="acptitemno"/>
- <col ref="trustno"/>
- <col ref="trustseqno"/>
- <col ref="wardcd"/>
- <col ref="roomcd"/>
- <col ref="prcpdd"/>
- <col ref="orddd"/>
- <col ref="prcpgenrflag"/>
- <col ref="prcpno"/>
- <col ref="orddrnm"/>
- <col ref="orddeptnm"/>
- <col ref="execprcpuniqno"/>
- <col ref="reqfrmno"/>
- <col ref="reqfrmflagcd"/>
- <col ref="reqcnts"/>
- <col ref="prcpstatcd"/>
- <col ref="bcno"/>
- <col ref="reqcntsnode"/>
- <col ref="rrgstno1"/>
- <col ref="rrgstno2"/>
- <col ref="psptno"/>
- </datagrid>
- </group>
- <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
- <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="button13" class="btn6_letter5" navindex="9" style="left:5px; top:3px; width:92px; height:22px; ">
- <caption>EXCEL저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- lpzfExeSaveToExcel(grd_trstlist, "위탁검사현황");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|