123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLPT00500_조직은행보관등록조회.xrw
- * 설 명 : 조직은행보관등록 병리번호 조회
- * 설 계 자 : (주)평화IS - 한음미
- * 작 성 자 : (주)평화IS - 한음미
- * 작 성 일 : 2008.05.21
- * 수정이력 :
- * 기 타 :
- -->
- <?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>조직은행보관등록 병리번호 조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <acptspc>
- <acptspclist>
- <choi/>
- <instcd/>
- <ptno/>
- <dispptno/>
- <pid/>
- <patnm/>
- <spccd/>
- <spcnm/>
- <keepflagcd/>
- <acptdd/>
- </acptspclist>
- </acptspc>
- </main>
- <send/>
- <init>
- <ptnocode/>
- <fromyear/>
- <fromptno/>
- <toyear/>
- <toptno/>
- <keepflagcd/>
- <pid/>
- <ptnocd>
- <ptnocdlist>
- <instcd/>
- <ptnocd/>
- <ptnonm/>
- </ptnocdlist>
- </ptnocd>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- <hospenv>
- <hospenvinfo>
- <instcd/>
- <lendrtnterm/>
- <recvqualmthdcd/>
- <plgydeptcd/>
- <plgyteamcd/>
- <doctjobgradcd/>
- <teamjobgradcd/>
- </hospenvinfo>
- </hospenv>
- </init>
- <hidden>
- <acptfromdd/>
- <acpttodd/>
- </hidden>
- </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="../../../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="TRLPR01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tissptno/tissptnolist"/>
- <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
- <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
- <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
- <submission id="TRLPT00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptspc/acptspclist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- /* @group : 병리번호 목록 화면
- * @ver : 2008.06.17 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize() {
-
- model.removeNodeset("/root/main/tissptno/tissptnolist");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- submit("TRLPZ00102",false); // 현재 시스템 날짜 조회
- submit("TRLPZ00109",false); // 병리번호 조회
- submit("TRLPZ00101",false); // 병원 정보 조회
-
- //------------------------------------------------------------
- sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
-
- //------------
- // 초기값 설정
- model.makeValue("/root/hidden/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수일자(fromdd)
- model.makeValue("/root/hidden/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수일자(todd)
-
- model.makeValue("/root/init/ptnocode", "");
- model.makeValue("/root/init/fromyear", sCurDate.substr(2,2)); // 병리번호 년도(fromyear)
- model.makeValue("/root/init/toyear", sCurDate.substr(2,2)); // 병리번호 년도(toyear)
- model.makeValue("/root/init/fromptno", ""); // 병리번호(시작)
- model.makeValue("/root/init/toptno", ""); // 병리번호(끝)
-
- model.refresh();
-
- }
-
- /* @group : 병리번호 목록 화면
- * @ver : 2008.06.17 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 병리번호 목록 조회 function
- */
- function fGetPtNoList(){
-
- //----------------------------------------------------------------
-
- var sTemp = "";
- var sFromDD = model.getValue("/root/hidden/acptfromdd");
- var sToDD = model.getValue("/root/hidden/acpttodd");
-
- //------------------------------------------------
- if (model.getValue("/root/init/ptnocode") != "") {
-
- //------------------------------------------------
- if (model.getValue("/root/init/fromyear") == "") {
- model.makeValue("/root/init/fromyear", sFromDD.substr(2,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)); // 병리번호 종료 년도의 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/send");
-
- //-----------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
- model.makeValue("/root/send/acptfromdd", model.getValue("/root/hidden/acptfromdd")); // 접수시작일자
- model.makeValue("/root/send/acpttodd", model.getValue("/root/hidden/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/ptnocase", model.getValue("/root/init/ptnocase"));
- model.makeValue("/root/send/keepflagcd", model.getValue("/root/init/keepflagcd")); // 보관/미보관
- model.makeValue("/root/send/pid", model.getValue("/root/init/pid")); // 등록번호
-
- submit("TRLPT00103"); // 병리번호 목록 조회
-
- }
-
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="875" pageheight="455" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:855; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:155px; height:14px; ">병리번호 목록</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:85px; width:855; height:335px; ">
- <datagrid id="grd_grosskeeplist" nodeset="/root/main/acptspc/acptspclist" autoresize="true" caption="선택^기관코드^검체코드^검체명^관련병리번호^접수일자^환자번호^환자명^병리번호^보관 여부" colsep="^" colwidth="0, 0, 0, 0, 0, 200, 150, 150, 150, 100" dataheight="23" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" navindex="11" style="left:5; top:25px; width:850; height:305px; ">
- <col ref="choi" type="checkbox"/>
- <col ref="instcd"/>
- <col ref="spccd"/>
- <col ref="spcnm"/>
- <col ref="dispptno"/>
- <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="ptno" style="text-align:center; "/>
- <col disabled="true" ref="keepflagcd" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>미보관</label>
- <value>0</value>
- </item>
- <item>
- <label>보관</label>
- <value>1</value>
- </item>
- </choices>
- </col>
- </datagrid>
- <line id="line12" class="line_1" style="x1:5; y1:20px; x2:855; y2:20px; "/>
- <caption id="caption9" class="tit_2" style="left:13; top:5px; width:139px; height:13px; ">병리번호 목록</caption>
- </group>
- <group id="grp_sea" style="left:0px; top:20px; width:855px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:5; top:0px; width:850; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">접수일자 :</caption>
- <input id="ipt_acptfromdd" ref="/root/hidden/acptfromdd" class="input_s_essential" navindex="1" inputtype="date" style="left:108px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- lpzfExeDateChange(ipt_fromyear, "/root/hidden/acptfromdd", "/root/init/fromyear");
- ]]>
- </script>
- </input>
- <caption id="caption3" class="search_name" style="left:15px; top:35px; width:90px; height:17px; ">병리번호 :</caption>
- <button id="button1" class="btn1_letter2" navindex="10" style="left:785px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPtNoList();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:770px; y1:10px; x2:770px; y2:53px; "/>
- <input id="ipt_acpttodd" ref="/root/hidden/acpttodd" class="input_s_essential" navindex="2" inputtype="date" style="left:229px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- lpzfExeDateChange(ipt_toyear, "/root/hidden/acpttodd", "/root/init/toyear");
- ]]>
- </script>
- </input>
- <caption id="caption34" class="search_no_b" style="left:213px; top:10px; width:12px; height:17px; ">~</caption>
- <caption id="caption4" class="search_name" style="left:489px; top:34px; width:91px; height:17px; ">등록번호 :</caption>
- <caption id="caption5" class="search_name" style="left:489px; top:9px; width:116px; height:17px; ">보관/미보관 :</caption>
- <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="4" appearance="minimal" editmode="search" style="left:108px; top:33px; width:173px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ptnocd/ptnocdlist">
- <label ref="ptnonm"/>
- <value ref="ptnocd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="6" maxlength="6" style="left:314px; top:33px; width:50px; height:19px; "/>
- <caption id="caption1" class="search_no_b" style="left:367px; top:33px; width:12px; height:17px; ">~</caption>
- <input id="input2" ref="/root/init/toptno" class="text_center" navindex="8" maxlength="6" style="left:412px; top:33px; width:50px; height:19px; "/>
- <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="5" maxlength="2" style="left:284px; top:33px; width:27px; height:19px; "/>
- <select1 id="cmb_grosdrid" ref="/root/init/keepflagcd" class="combo_search" navindex="3" appearance="minimal" style="left:607px; top:8px; width:148px; height:19px; ">
- <choices>
- <item>
- <label>미보관</label>
- <value>0</value>
- </item>
- <item>
- <label>보관</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_toyear" ref="/root/init/toyear" class="text_center" navindex="7" maxlength="2" style="left:382px; top:33px; width:27px; height:19px; "/>
- <input id="input3" ref="/root/init/pid" class="input_search" style="left:585px; top:35px; width:170px; height:20px; "/>
- </group>
- <group id="group1" style="left:5; top:420px; width:850; height:27px; ">
- <button id="btn_close" class="btn4_letter2" style="left:790px; top:2px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|