123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLPP03400.xrw
- * 설 명 : 처방 슬라이드 자동발행
- * 설 계 자 : (주)에이씨케이 - 유동철
- * 작 성 자 : (주)에이씨케이 - 유동철
- * 작 성 일 : 2010.11.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>
- <prcpinfo>
- <prcpinfolist>
- <instcd/>
- <ptno/>
- <dispptno/>
- <blocno/>
- <cstecnts/>
- <testcd/>
- <testengnm/>
- <prcpcmts/>
- <redchk/>
- <protocolno/>s
- <pid/>
- <patnm/>
- <sexage/>
- <orddeptnm/>
- <orddrnm/>
- <wardroom/>
- <grosdrnm/>
- <appeorddrid/>
- <appeorddrnm/>
- <dispacptdd/>
- <dispacpttm/>
- <orgacptdd/>
- <orgacpttm/>
- <acptdd/>
- <acptno/>
- <acptitemno/>
- <workflagcd/>
- <spcacptdd/>
- <spcacptno/>
- <spcacptseqno/>
- <spchistno/>
- <spccd/>
- </prcpinfolist>
- </prcpinfo>
- </main>
- <send/>
- <init>
- <ptnocode/>
- <fromyear/>
- <fromptno/>
- <toyear/>
- <toptno/>
- <acptfromdd/>
- <acpttodd/>
- <acptfromtm/>
- <acpttotm/>
- <readdr/>
- <prntstatus/>
- <choiblocno/>
- <slidetype/>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- <resncd>
- <resncdist>
- <instcd/>
- <baseflagcd/>
- <resncd/>
- <resncnts/>
- </resncdist>
- </resncd>
- <ptnocd>
- <ptnocdlist>
- <instcd/>
- <ptnocd/>
- <ptnonm/>
- </ptnocdlist>
- </ptnocd>
- <jobkindcd>0</jobkindcd>
- <userinfo>
- <userinfolist>
- <userid/>
- <usernm/>
- <jobkindcd/>
- </userinfolist>
- </userinfo>
- <hospenv>
- <hospenvinfo>
- <instcd/>
- <lendrtnterm/>
- <recvqualmthdcd/>
- <plgydeptcd/>
- <plgyteamcd/>
- <doctjobgradcd/>
- <teamjobgradcd/>
- </hospenvinfo>
- </hospenv>
- <ptnocase/>
- <pidno/>
- <prtntestnm>0</prtntestnm>
- <makedd/>
- <maketm/>
- <protocol>
- <protocollist>
- <protcd/>
- <protnm/>
- </protocollist>
- </protocol>
- <eqinfo>
- <slideqlist/>
- </eqinfo>
- <eqno/>
- <csteinfo>
- <csteinfolist>
- <instcd/>
- </csteinfolist>
- </csteinfo>
- <reprntchk/>
- <refcmts/>
- <blocyn/>
- <giganyn/>
- </init>
- <hidden>
- </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[
- makeReportPreview(0, 0, 0, 0, "grp_prnt");
- fExeInitialize();
- ]]>
- </script>
- <!-- public Script end -->
- <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
- <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
- <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/resncd/resncdlist"/>
- <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
- <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
- <submission id="TRLPC01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/eqinfo"/>
- <submission id="TRLPC03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/protocol/protocollist"/>
- <submission id="TRLPP03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/prcpinfo/prcpinfolist"/>
- <submission id="TRLPP03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/csteinfo/csteinfolist"/>
- <submission id="TXLPP03401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/message"/>
- <submission id="TXLPP03402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/message"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 처방 슬라이드 발행 화면
- * @ver : 2010.11.03 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize() {
- var sCurDate = "";
-
- //----------------
- // 시스템일시 조회
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- submit("TRLPZ00101", false); // 병원환경설정 조회
- submit("TRLPZ00102", false); // 시스템 일시 조회
- submit("TRLPZ00109", false); // 병리번호코드 목록조회
- submit("TRLPC03001", false); // 프로토콜 목록조회
-
- //-----------------------------------------------
- model.makeValue("/root/send/baseflagcd", "'83'"); // 작업구분 목록 조회
- submit("TRLPZ00103", false);
- //--------------------------------------------------------------
- model.removenode("/root/init/resncd/resncdlist[resncd='1000']"); // 해당없음
- model.removenode("/root/init/resncd/resncdlist[resncd='1002']");
- model.removenode("/root/init/resncd/resncdlist[resncd='1003']"); // 세포
- //model.removenode("/root/init/resncd/resncdlist[resncd='1006']"); // 면역형광
- //model.removenode("/root/init/resncd/resncdlist[resncd='1007']"); // 분자
- model.removenode("/root/init/resncd/resncdlist[resncd='1008']"); // 전자현미경
- model.removenode("/root/init/resncd/resncdlist[resncd='1009']"); // 부검
- model.removenode("/root/init/resncd/resncdlist[resncd='1011']"); // 기록실
- model.removenode("/root/init/resncd/resncdlist[resncd='1012']"); // 골수조직
- model.removenode("/root/init/resncd/resncdlist[resncd='ZZZZ']"); // 전체
- //-------------------------------------------
- model.makeValue("/root/send/seaflagcd", "2"); // 슬라이드 장비 조회(0:전체, 1:카세트, 2:슬라이드)
- submit("TRLPC01802", false);
-
-
- //---------------------------------------------------------
- // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
- lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/hidden");
- //-------------------------------------------------------------------------------------
- model.makeValue("/root/send/userdeptcd", model.getValue("/root/hidden/userdeptcd"));
- model.makeValue("/root/send/doctjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd"));
- model.makeValue("/root/send/teamjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/teamjobgradcd"));
- submit("TRLPZ00105"); // 병리과 사용자 목록 조회
- var iMaxRow = Number(getNodesetCount("/root/init/userinfo/userinfolist"))+1;
- //---------
- // 노드생성
- model.makeValue("/root/init/userinfo/userinfolist[" + Number(iMaxRow) + "]/userid", "");
- model.makeValue("/root/init/userinfo/userinfolist[" + Number(iMaxRow) + "]/usernm", "전체");
- model.makeValue("/root/init/userinfo/userinfolist[" + Number(iMaxRow) + "]/jobkindcd", "1");
-
-
- //------------------------------------------------------------
- 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/acptfromtm", getCurrentTime());
- //model.makeValue("/root/init/acpttotm", getCurrentTime());
- model.makeValue("/root/init/acptfromtm", "010101");
- model.makeValue("/root/init/acpttotm", "235959");
- model.makeValue("/root/init/jobkindcd", "");
- 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/readdr", ""); // 판독의사
- model.makeValue("/root/init/reprntchk", "0"); // 재발행
- model.makeValue("/root/init/blocyn", "0"); // 0:미지정, 1:지정, 9:전체
-
- model.makeValue("/root/init/giganyn", "1"); // 1:접수, 2:블록지정, 3:슬라이드
- //---------------------------------------------
- cmb_slideqlist.select(0);
- grd_workrsltlist.fixedcellcheckbox(0,1) = true; // 그리드 전체 선택버튼 활성화
- model.makeValue("/root/init/prntstatus", "0"); // 출력여부(0:미출력, 1:출력, 2:전체)
- model.makeValue("/root/init/slidetype", "0"); // 일반슬라이드(0), 면역슬라이드(1)
-
- //------------------------------------------------------
- model.removeNodeset("/root/main/workrslt/workrsltlist");
-
- //-------------
- model.refresh();
- }
- /* @group : 처방 슬라이드 발행화면
- * @ver : 2007.05.02 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : WorkList/정보 조회 함수
- */
- function fGetPrcpSlideList() {
-
- var re = / /g; // i:1회실행, g:모두실행, gi:전역실행(대소문자 안가림)
- var sPtNoFrom = model.getValue("/root/init/ptnofrom");
- var sPtNoTo = model.getValue("/root/init/ptnoto");
- var sJobKindCd = model.getValue("/root/init/jobkindcd");
-
- var sPid = model.getValue("/root/init/pid");
- var sAddPrcp = "0";
- var sTemp = "";
- var sFromDD = model.getValue("/root/init/acptfromdd");
- var sToDD = model.getValue("/root/init/acpttodd");
-
- var sNode = "/root/main/workrslt/workrsltlist";
- //-------------------------------------------------------------------------------------
- // 조직(특수처방만 해당:LIS.LPCMTEST테이블의 CFNM컬럼값이 '1'인 검사들만) 조회여부 검색
- if (sJobKindCd.indexOf("1001") > -1) {
- sAddPrcp = "1";
- sJobKindCd = sJobKindCd.setReplaceWord("1001", "0000");
- }
-
- //----------------------------------------------------
- // Regular표현식을 사용하여 공백(" ")문자를 ','로 변환
- sJobKindCd = "'" + sJobKindCd.replace(re, "','") + "'";
- if(sJobKindCd.length < 3) // 작업구분 항목 필수 선택 해야함.
- {
- messageBox("작업구분 항목을", "C002");
- return false;
- }
-
- //------------------------------------------------
- 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");
-
- //--------------------------------
- grd_workrsltlist.rebuildStyle();
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/prcpinfo/prcpinfolist");
-
-
- //-----------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
- model.makeValue("/root/send/ptnofrom", sPtNoFrom.toUpperCase()); // 시작병리번호
- model.makeValue("/root/send/ptnoto", sPtNoTo.toUpperCase()); // 종료병리번호
- model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/acptfromdd")); // 접수시작일자
- model.makeValue("/root/send/acpttodd", model.getValue("/root/init/acpttodd")); // 접수종료일자
- model.makeValue("/root/send/acptfromtm", model.getValue("/root/init/acptfromtm")); // 접수시작시간
- model.makeValue("/root/send/acpttotm", model.getValue("/root/init/acpttotm")); // 접수종료시간
- model.makeValue("/root/send/readdr", model.getValue("/root/init/readdr")); // 판독의사
- model.makeValue("/root/send/jobkindcd", sJobKindCd); // 작업구분코드
- 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/pidno", model.getValue("/root/init/pidno")); // 등록번호
- model.makeValue("/root/send/addprcp", sAddPrcp); // 조직의 추가처방만 조회("1")
- model.makeValue("/root/send/prntstatus", model.getValue("/root/init/prntstatus")); // 출력여부(0:미출력, 1:출력, 2:전체)
- model.makeValue("/root/send/blocyn", model.getValue("/root/init/blocyn")); // 0:미지정, 1:지정, 9:전체)
- //dlwodh
- model.makeValue("/root/send/giganyn", model.getValue("/root/init/giganyn")); // 1:접수시각, 2:블록시각, 3:슬라이드발행시각)
- submit("TRLPP03401");
-
-
- //-------------
- model.refresh();
- }
-
- /* @group : 처방 슬라이드 발행화면
- * @ver : 2007.08.31 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드 Header의 선택을 클릭할 경우 처리 function
- */
- function fExeHeaderChoi(pBizFlagCd) {
-
- var sSrcNode = "/root/main/workrslt/workrsltlist";
- var sDate = getCurrentDate();
- var sTime = getCurrentTime();
-
-
- //-------------------------
- grd_workrsltlist.refresh();
- }
-
-
-
-
- function fExeGridClick() {
-
- var iRowNo = grd_workrsltlist.row;
- var iColNo = grd_workrsltlist.col;
-
- //------------------------------------------------------------------------------------------------
- if (iRowNo > 0 && grd_workrsltlist.isCell(event.target) && iRowNo >= grd_workrsltlist.fixedRows) {
-
- //----------------------------------------------------------------
- if ( grd_workrsltlist.colRef("dummy") == grd_workrsltlist.col ) {
- fGetMouseDown("R");
- }
- }
- }
-
-
- //-----------------------------------------
- // 등록번호 조회조건 입력 후 Enter Key 처리
- function fExePidKeyPress() {
-
- if (event.keyCode == 13) {
- model.makeValue("/root/init/pidno", pidno.currentText);
- pidno.refresh();
-
- //-------------
- fGetPrcpSlideList();
- }
- }
-
-
- /* @group : 처방 슬라이드 발행화면
- * @ver : 2010.11.04 (CMCDEV-0001)
- * @by : 유동철
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 슬라이드 발행
- */
- function fExeSlidePrint() {
-
- var sNode = "/root/main/prcpinfo/prcpinfolist";
- var sInfoNode = "/root/init/hospenv/hospenvinfo";
- var sEqNode = "/root/init/eqinfo/caeqlist";
- var sSlidBcIP = "";
- var sSlidBcPort = "";
- //-----------------------
- // 블럭번호 지정여부 확인
- for (var iRowNo=1; iRowNo <= getNodesetCount(sNode); iRowNo++) {
-
- if ( model.getValue(sNode+"["+iRowNo+"]/choi") == "true") {
- if ( model.getValue(sNode+"["+iRowNo+"]/blocno") == "-" || model.getValue(sNode+"["+iRowNo+"]/blocno") == "") {
- messageBox("블럭이 지정되지 않았습니다. 병리번호["+model.getValue(sNode+"["+iRowNo+"]/dispptno")+"] 슬라이드를 발행", "E001");
- return false;
- }
- }
- }
-
- //-----------
- // 장비IP set
- for (var iRowNo = 1 ; iRowNo <= getNodesetCount(sEqNode) ; iRowNo++){
- if (model.getValue("/root/init/eqno") == model.getValue(sEqNode + "["+ iRowNo +"]/eqseqno")) {
- sSlidBcIP = model.getValue(sEqNode + "["+ iRowNo +"]/eqip");
- sSlidBcPort = model.getValue(sEqNode + "["+ iRowNo +"]/eqport");
- break;
- }
- }
-
- //----------------------------------------
- if (sSlidBcIP == "" || sSlidBcIP == "-") {
- messageBox("장비의 IP주소가 없습니다. 병원별 환경설정에서 ", "C001");
- return false;
- }
- //--------------------------------------------
- if (sSlidBcPort == "" || sSlidBcPort == "-") {
- messageBox("장비의 Port번호가 없습니다. 병원별 환경설정에서 ", "C001");
- return false;
- }
- //-------------------------------------
- socket.connect(sSlidBcIP, sSlidBcPort);
- }
-
- /* @group : 처방 슬라이드 발행화면
- * @ver : 2010.11.04 (CMCDEV-0001)
- * @by : 유동철
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 슬라이드 발행
- */
- function fExeSlidSend() {
-
- var sSendMsg = "";
- var iMaxRowCnt = 0;
- var iIssRowCnt = 0;
- var sSlidNode = "/root/main/prcpinfo/prcpinfolist";
-
- //--------------------------------------
- iMaxRowCnt = getNodesetCount(sSlidNode);
-
- //-------------------
- // 발행대상 건수 검사
- for (var iRowNo=1; iRowNo <= iMaxRowCnt; iRowNo++) {
-
- //-------------------------------------------------------------------
- if (model.getValue(sSlidNode + "[" + iRowNo + "]/choi") == "true") {
- iIssRowCnt++;
- }
- }
-
- //---------------------------------------------------
- for (var iRowNo=1; iRowNo <= iMaxRowCnt; iRowNo++) {
-
- if (model.getValue(sSlidNode + "[" + iRowNo + "]/choi") == "true") {
-
- //----------------------------------------------------
- if ( model.getValue("/root/init/slidetype") == "1") { // 면역슬라이드
- sSendMsg = "";
- sSendMsg += model.getValue(sSlidNode+"["+iRowNo+"]/dispptno") + "▦"; // 표시병리번호
- sSendMsg += model.getValue(sSlidNode+"["+iRowNo+"]/protocolno") + "▦"; // 프로토콜번호
- sSendMsg += model.getValue(sSlidNode+"["+iRowNo+"]/cstecnts") + "▦"; // 블럭내용
- //---------------------------------
- // 0:검사명 출력, 1:프로토콜명 출력
- if (model.getValue(sSlidNode + "[" + iRowNo + "]/prntflagcd") == "1") {
- sSendMsg += model.getValue("/root/init/protocol/protocollist[protcd='" + model.getValue(sSlidNode + "[" + iRowNo + "]/protocolno") + "']/protnm") + "▦"; // 프로토콜명
- } else {
- sSendMsg += model.getValue(sSlidNode+"["+iRowNo+"]/testengnm") + "▦"; // 검사명
- }
-
- if ( model.getValue(sSlidNode+"["+iRowNo+"]/appeorddrnm") == "-" || model.getValue(sSlidNode+"["+iRowNo+"]/appeorddrnm") == "") {
- sSendMsg += model.getValue(sSlidNode+"["+iRowNo+"]/grosdrnm") + "▦"; // 육안검사의사
- } else {
- sSendMsg += model.getValue(sSlidNode+"["+iRowNo+"]/appeorddrnm") + "▦"; // 추가처방의사
- }
- sSendMsg += getCurrentDate() + "▦"; // 출력일자
- sSendMsg += model.getValue(sSlidNode+"["+iRowNo+"]/disprelaptno") + "▩"; // 관련병리번호
- }
- else {
- sSendMsg = "";
- sSendMsg += model.getValue(sSlidNode+"["+iRowNo+"]/ptno") + "▦"; // 병리번호
- sSendMsg += model.getValue(sSlidNode+"["+iRowNo+"]/dispptno") + "▦"; // 표시병리번호
- sSendMsg += model.getValue(sSlidNode+"["+iRowNo+"]/spcacptseqno") + "▦"; // 검체일련번호
- sSendMsg += model.getValue(sSlidNode+"["+iRowNo+"]/blocno") + "▦"; // 블럭번호
- sSendMsg += "000▦"; // 슬라이드번호
- sSendMsg += model.getValue(sSlidNode+"["+iRowNo+"]/cstecnts") + "▦"; // 블럭내용
- sSendMsg += model.getValue(sSlidNode+"["+iRowNo+"]/testengnm") + "▦"; // 슬라이드내용
-
- //------------------
- // 전송종료여부 설정
- if (iRowNo == iIssRowCnt) {
- sSendMsg += "Y" + "▦";
- } else {
- sSendMsg += "N" + "▦";
- }
-
- //--------------------------------------------------------------
- sSendMsg += model.getValue(sSlidNode+"["+iRowNo+"]/pid") + "▦"; // 환자번호
- sSendMsg += model.getValue(sSlidNode+"["+iRowNo+"]/patnm") + "▦"; // 환자명
-
- //--------------------
- //sSendMsg += "-"+ "▦"; // 관련병리번호
- sSendMsg += "B" + "▩";
- }
-
- //--------------------------
- socket.sendString(sSendMsg); // 전송한다.
- }
- }
-
- //----------
- // 소켓 닫기
- socket.close();
-
-
- //------------------------------------------------
- // 발행된 슬라이드에 대한 슬라이드정보를 생성한다.
- var sNode = "/root/main/prcpinfo/prcpinfolist";
-
-
- //--------------------
- // 그리드 상태 초기화
- grd_workrsltlist.clearStatus();
-
- //---------------------------------------
- // 선택여부에 따라 그리드 변경상태를 설정
- for (var iRowNo=1; iRowNo <= getNodesetCount(sNode); iRowNo++)
- {
- //------------------------------------------------------
- if (model.getValue(sNode+"["+iRowNo+"]/choi") == "true")
- {
- grd_workrsltlist.addStatus(iRowNo, "update");
- }
- }
-
- //---------------------------------
- model.removeNodeset("/root/send");
-
- //------------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
- model.makeValue("/root/send/prcplist", grd_workrsltlist.getUpdateData()); // 처방목록
-
- //----------------------------------------------------
- if ( model.getValue("/root/init/reprntchk") == "0") {
-
- //------------------------
- if (submit("TXLPP03402"))
- {
- fGetPrcpSlideList();
- } else
- {
- messageBox("슬라이드 발행을 ", "E009");
- }
- }
- }
-
- /* @group : 처방 슬라이드 발행화면
- * @ver : 2010.11.04 (CMCDEV-0001)
- * @by : 유동철
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 병리번호에 속하는 블럭번호 목록 표시(팝업)
- */
- function fGetMouseDown(pFlagCd)
- {
- var sNode = "/root/init/popupmenu";
- var listNo = grd_workrsltlist.mouseRow;
-
-
- //-------------------------
- model.removeNodeset(sNode);
- initPopupMenu(); // 팝업 메뉴 선택시 초기화
-
- //----------------------------------
- if (event.button == 3 && listNo > 0) // 마우스 우클릭 메뉴 & 부가처방일 경우 조회 안됨.
- {
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/init/csteinfo/csteinfolist");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
-
- //----------------------------------------------------------------------------
- if ( grd_workrsltlist.mouseCol == grd_workrsltlist.colRef("disprelaptno") ) {
- model.makeValue("/root/send/ptno", model.getValue("/root/main/prcpinfo/prcpinfolist[" + listNo + "]/relaptno"));
- } else {
- model.makeValue("/root/send/ptno", model.getValue("/root/main/prcpinfo/prcpinfolist[" + listNo + "]/ptno"));
- }
- submit("TRLPP03402");
-
- //-----------------------------------------------------------------------------------
- for (var iNo=1; iNo <= getNodesetCount("/root/init/csteinfo/csteinfolist"); iNo++) {
- model.makeValue(sNode+"/grid/item[" + iNo + "]/name", model.getValue("/root/init/csteinfo/csteinfolist["+iNo+"]/cstecnts"));
- model.makeValue(sNode+"/grid/item[" + iNo + "]/func", iNo);
- }
-
- //---------------------------------------------------
- model.makeValue("/root/init/gridinfo/rowno", listNo);
- setPopupMenu("grd_workrsltlist", true, sNode+"/grid/item", "name", "func");
- }
- }
-
- /* @group : 처방 슬라이드 발행화면
- * @ver : 2010.11.04 (CMCDEV-0001)
- * @by : 유동철
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 병리번호의 블럭번호 선택
- */
- function fExePopupClick(pRowNo) {
-
- var sNode = "/root/main/prcpinfo/prcpinfolist";
- var sCsteNode = "/root/init/csteinfo/csteinfolist";
- var iRowNo = Number(model.getValue("/root/init/gridinfo/rowno"));
-
- //-----------------------------------------------------------------
- for (var iRowNo = 1; iRowNo <= getNodesetCount(sNode); iRowNo++) {
-
- if ( model.getValue(sNode+"["+iRowNo+"]/choi") == "true") {
- model.makeValue(sNode + "[" + iRowNo + "]/blocno", model.getValue(sCsteNode + "[" + pRowNo + "]/csteno"));
- model.makeValue(sNode + "[" + iRowNo + "]/cstecnts", model.getValue(sCsteNode + "[" + pRowNo + "]/cstecnts"));
- model.makeValue(sNode + "[" + iRowNo + "]/spcacptdd", model.getValue(sCsteNode + "[" + pRowNo + "]/spcacptdd"));
- model.makeValue(sNode + "[" + iRowNo + "]/spcacptno", model.getValue(sCsteNode + "[" + pRowNo + "]/spcacptno"));
- model.makeValue(sNode + "[" + iRowNo + "]/spcacptseqno", model.getValue(sCsteNode + "[" + pRowNo + "]/spcacptseqno"));
- model.makeValue(sNode + "[" + iRowNo + "]/spchistno", model.getValue(sCsteNode + "[" + pRowNo + "]/spchistno"));
- model.makeValue(sNode + "[" + iRowNo + "]/spccd", model.getValue(sCsteNode + "[" + pRowNo + "]/spccd"));
- }
- }
- //--------------
- model.refresh();
- }
-
-
- /* @group : 처방 슬라이드 발행화면
- * @ver : 2010.11.04 (CMCDEV-0001)
- * @by : 유동철
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 처방에 블럭번호 지정
- */
- function fExeCsteSave() {
-
- var sNode = "/root/main/prcpinfo/prcpinfolist";
-
-
- //--------------------
- // 그리드 상태 초기화
- grd_workrsltlist.clearStatus();
-
- //-------------------------------------
- // 선택여부에 따라 그리드 변경상태를 설정
- for (var iRowNo=1; iRowNo <= getNodesetCount(sNode); iRowNo++)
- {
- //------------------------------------------------------
- if (model.getValue(sNode+"["+iRowNo+"]/choi") == "true")
- {
- grd_workrsltlist.addStatus(iRowNo, "update");
- }
- }
-
- //---------------------------------
- model.removeNodeset("/root/send");
-
- //------------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
- model.makeValue("/root/send/prcplist", grd_workrsltlist.getUpdateData()); // 처방목록
-
- //------------------------
- if (submit("TXLPP03401"))
- {
- fGetPrcpSlideList();
- } else
- {
- messageBox("블럭지정을 ", "E009");
- }
-
- }
-
- /* @group : 처방 슬라이드 발행화면
- * @ver : 2010.11.08 (CMCDEV-0001)
- * @by : 유동철
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 처방에 블럭번호 지정(일괄)
- */
- function fExeBlockChoi() {
-
- var sNode = "/root/main/prcpinfo/prcpinfolist";
-
- //------------------------------------------------------
- for (var iNo=1; iNo <= getNodesetCount(sNode); iNo++) {
-
- //-----------------------------------------------------------
- if ( model.getValue(sNode+"[" + iNo + "]/choi") == "true") {
-
- model.makeValue(sNode + "[" + iNo + "]/blocno", model.getValue("/root/init/choiblocno"));
- model.makeValue(sNode + "[" + iNo + "]/cstecnts", cbo_block.label);
- }
- }
-
- //--------------
- model.refresh();
- }
-
-
- /* @group : 처방 슬라이드 발행화면
- * @ver : 2010.12.09 (CMCDEV-0001)
- * @by : 유동철
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 추가처방목록 출력
- */
- function fExeWorkListPrnt2() {
-
- if ( getNodesetCount("/root/main/prcpinfo/prcpinfolist") > 0) {
- exeReportPreview("RPLPP03400", "XMLSTR", "", "", "true", "", "", "", "", "false", "", "grp_prnt");
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body overflow="visible" guideline="2,791;2,756;" 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:200; height:14px; ">처방 슬라이드 발행</caption>
- </group>
- <group id="grp_biz" style="left:0px; top:40px; width:1195px; height:765px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:422px; top:9px; width:90px; height:17px; ">기 간 :</caption>
- <caption id="caption3" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">병리번호 :</caption>
- <line id="line13" class="line_4" style="x1:1107px; y1:8px; x2:1107px; y2:51px; "/>
- <caption id="caption34" class="search_no_b" style="left:687px; top:9px; width:12px; height:17px; ">~</caption>
- <caption id="caption5" class="search_name" style="left:909; top:9px; width:86px; height:17px; ">판독의사 :</caption>
- <caption id="caption1" class="search_name" style="left:15px; top:34px; width:90px; height:17px; ">작업구분 :</caption>
- <input id="ipt_acptddfrom" ref="/root/init/acptfromdd" class="input_s_essential" navindex="6" inputtype="date" style="left:514px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 조회조건에서 접수일자를 2007년으로 바꾸었을 경우 병리번호 자동으로 07로 바뀌지 않도록 요청
- //lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
- ]]>
- </script>
- </input>
- <input id="ipt_acptddto" ref="/root/init/acpttodd" class="input_s_essential" navindex="7" inputtype="date" style="left:710px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 조회조건에서 접수일자를 2007년으로 바꾸었을 경우 병리번호 자동으로 07로 바뀌지 않도록 요청
- //lpzfExeDateChange(ipt_toyear, "/root/init/acpttodd", "/root/init/toyear");
- ]]>
- </script>
- </input>
- <select1 id="cmb_grostestdr" ref="/root/init/readdr" class="combo_search" navindex="9" appearance="minimal" style="left:998; top:8px; width:94px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <select id="cbo_slipkindcd" ref="/root/init/jobkindcd" class="check_search" navindex="10" overflow="visible" appearance="full" cellspacing="10" cols="20" style="left:108px; top:34px; width:507px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/resncd/resncdlist">
- <label ref="resncnts"/>
- <value ref="resncd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select>
- <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="1" appearance="minimal" editmode="search" style="left:109px; top:8px; width:91px; 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="3" maxlength="6" style="left:233px; top:8px; width:50px; height:19px; "/>
- <caption id="caption4" class="search_no_b" style="left:286px; top:8px; width:12px; height:17px; ">~</caption>
- <input id="input1" ref="/root/init/toptno" class="text_center" navindex="5" maxlength="6" style="left:331px; top:8px; width:50px; height:19px; "/>
- <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:203px; top:8px; width:27px; height:19px; "/>
- <input id="ipt_toyear" ref="/root/init/toyear" class="text_center" navindex="4" maxlength="2" style="left:301px; top:8px; width:27px; height:19px; "/>
- <button id="btn_sea" accesskey="f4" class="btn1_letter2" navindex="11" style="left:1123px; top:19px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPrcpSlideList();
- ]]>
- </script>
- </button>
- <input id="ipt_acpttmfrom" ref="/root/init/acptfromtm" class="input_s_essential" navindex="6" format="hh:nn:ss" style="left:617px; top:8px; width:60px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 조회조건에서 접수일자를 2007년으로 바꾸었을 경우 병리번호 자동으로 07로 바뀌지 않도록 요청
- //lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
- ]]>
- </script>
- </input>
- <input id="ipt_acpttmto" ref="/root/init/acpttotm" class="input_s_essential" navindex="7" format="hh:nn:ss" style="left:813px; top:8px; width:60px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 조회조건에서 접수일자를 2007년으로 바꾸었을 경우 병리번호 자동으로 07로 바뀌지 않도록 요청
- //lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
- ]]>
- </script>
- </input>
- <select1 id="combo1" ref="/root/init/prntstatus" class="combo_search" navindex="10" appearance="minimal" style="left:998px; top:34px; width:94px; height:19px; ">
- <choices>
- <item>
- <label>미출력</label>
- <value>0</value>
- </item>
- <item>
- <label>출력</label>
- <value>1</value>
- </item>
- <item>
- <label>전체</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // if (model.getValue("/root/init/prntstatus") == "0") {
- // btn_save.disabled = false;
- // btn_cstesave.disabled = false;
- // } else {
- // btn_save.disabled = true;
- // btn_cstesave.disabled = true;
- // }
-
- //--------------
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption10" class="search_name" style="left:909px; top:34px; width:86px; height:17px; ">출력여부</caption>
- <input id="pidno" ref="/root/init/pidno" style="left:773px; top:34px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExePidKeyPress();
- ]]>
- </script>
- </input>
- <caption id="caption8" class="search_name" style="left:680px; top:34px; width:94px; height:17px; ">등록번호 :</caption>
- </group>
- <line id="line4" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
- <caption id="caption9" class="tit_2" style="left:5px; top:80px; width:139px; height:14px; ">처방목록</caption>
- <datagrid id="grd_workrsltlist" nodeset="/root/main/prcpinfo/prcpinfolist" class="datagrid2" autoresize="false" caption="선택^instcd^ptno^병리번호^블럭번호^블럭명^relaptno^관련병리번호^testcd^검사명^비고^비고^프로토콜^등록번호^환자명^성별/나이^처방과^처방의^병동/병실^육안의사^추가처방의ID^추가처방의명^접수일자^접수시간^orgacptdd^orgacpttm^acptdd^acptno^acptitemno^workflagcd^^^^^^^블록지정시각^슬라이드발행시각" colsep="^" colwidth="48, 0, 0, 80, 0, 89, 0, 90, 0, 140, 60, 40, 126, 80, 80, 60, 70, 70, 60, 60, 0, 60, 80, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80,80" dataheight="23" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" navindex="12" style="left:0px; top:100px; width:1194px; height:630px; ">
- <col ref="choi" type="checkbox"/>
- <col ref="instcd"/>
- <col ref="ptno"/>
- <col ref="dispptno"/>
- <col ref="blocno"/>
- <col ref="cstecnts"/>
- <col ref="relaptno"/>
- <col ref="disprelaptno"/>
- <col ref="testcd"/>
- <col ref="testengnm"/>
- <col ref="prcpcmts" type="inputbutton" style="text-align:center; "/>
- <col ref="redchk" type="inputbutton" visibility="hidden"/>
- <col itemcount="20" ref="protocolno" type="combo">
- <choices>
- <itemset nodeset="/root/init/protocol/protocollist">
- <label ref="protnm"/>
- <value ref="protcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="sexage"/>
- <col ref="orddeptnm"/>
- <col ref="orddrnm"/>
- <col ref="wardroom"/>
- <col ref="grosdrnm"/>
- <col ref="appeorddrid"/>
- <col ref="appeorddrnm"/>
- <col ref="dispacptdd"/>
- <col ref="dispacpttm"/>
- <col ref="orgacptdd"/>
- <col ref="orgacpttm"/>
- <col ref="acptdd"/>
- <col ref="acptno"/>
- <col ref="acptitemno"/>
- <col ref="workflagcd"/>
- <col ref="spcacptdd"/>
- <col ref="spcacptno"/>
- <col ref="spcacptseqno"/>
- <col ref="spchistno"/>
- <col ref="spccd"/>
- <col ref="prntflagcd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_workrsltlist.gridToInstance();
- grd_workrsltlist.rebuild();
- grd_workrsltlist.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fExeHeaderChoi("S");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- fExeHeaderChoi("D");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //fExeGridClick();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- fGetMouseDown("P");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- model.makeValue("/root/init/refcmts", model.getValue("/root/main/prcpinfo/prcpinfolist["+ grd_workrsltlist.row + "]/prcpcmts") );
- txt_refcmts.refresh();
- grp_refcmts.visible = true;
- ]]>
- </script>
- <col ref="mig"/>
- <col ref="prtnblocnm"/>
- </datagrid>
- <input id="ipt_makedd" ref="/root/init/makedd" visibility="hidden" inputtype="date" format="yyyy-mm-dd" showmask="true" appearance="input" style="left:509px; top:75px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChangeMakeDT("DD");
- ]]>
- </script>
- </input>
- <input id="ipt_maketm" ref="/root/init/maketm" visibility="hidden" format="hh:nn:ss" showmask="true" style="left:600px; top:75px; width:70px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChangeMakeDT("TM");
- ]]>
- </script>
- </input>
- <object id="socket" clsid="{81e9de7e-90be-4958-bbda-ac731c05aba8}" visibility="hidden" style="left:765px; top:65px; width:35px; height:30px; ">
- <!-- 소켓 받은 메시지 이벤트 -->
- <script type="javascript" ev:event="OnReceive(nDataLength, szID)">
- <![CDATA[
- ]]>
- </script>
- <!-- 소켓 에러 이벤트 -->
- <script type="javascript" ev:event="OnError(lError, szMsg)">
- <![CDATA[
- alert("Error code = " + lError+"\nError Message : "+szMsg);
- socket.close(); // 소켓 닫기
- isConnected = false; // 접속 여부 false
- ]]>
- </script>
- <!-- 소켓 연결 이벤트 -->
- <script type="javascript" ev:event="OnConnect(szID)">
- <![CDATA[
- fExeSlidSend();
- ]]>
- </script>
- <!-- 소켓 close 이벤트 -->
- <script type="javascript" ev:event="OnClose(szID)">
- <![CDATA[
- isConnected = false; // 접속 여부 false
- ]]>
- </script>
- </object>
- <select1 id="cbo_block" ref="/root/init/choiblocno" class="combo_search" navindex="10" appearance="minimal" style="left:148px; top:75px; width:90; height:19px; ">
- <choices>
- <item>
- <label>NON</label>
- <value>000</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fExeBlockChoi();
- ]]>
- </script>
- </select1>
- <select1 id="cbo_slidetype" ref="/root/init/slidetype" class="combo_search" navindex="10" appearance="minimal" style="left:1060px; top:75px; width:134px; height:19px; ">
- <choices>
- <item>
- <label>일반슬라이드</label>
- <value>0</value>
- </item>
- <item>
- <label>면역슬라이드</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption11" style="left:980px; top:76px; width:80px; height:20px; ">슬라이드 종류</caption>
- <group id="grp_prnt" visibility="hidden" style="left:750px; top:165px; width:380px; height:570px; "/>
- <group id="grp_refcmts" visibility="hidden" style="left:490px; top:200px; width:685px; height:180; border-color:#ff0000; border-width:1px; border-style:solid; ">
- <textarea id="txt_refcmts" ref="/root/init/refcmts" style="left:0px; top:0px; width:682; height:150px; font-family:굴림체; font-size:12pt; font-weight:bold; "/>
- <button id="btn_refcmts" accesskey="f2" class="btn4_letter2" navindex="15" style="left:626px; top:152px; width:56px; height:22px; ">
- <caption>적용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/main/prcpinfo/prcpinfolist["+ grd_workrsltlist.row + "]/prcpcmts", model.getValue("/root/init/refcmts") );
- model.makeValue("/root/main/prcpinfo/prcpinfolist["+ grd_workrsltlist.row + "]/redchk", model.getValue("/root/init/refcmts") );
- grd_workrsltlist.refresh();
- grp_refcmts.visible = false;
- ]]>
- </script>
- </button>
- </group>
- </group>
- <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_excel" accesskey="f9" class="btn6_letter5" navindex="13" style="left:5px; top:3px; width:92px; height:22px; ">
- <caption>EXCEL저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_workrsltlist.colHidden(0) = true;
- lpzfExeSaveToExcel(grd_workrsltlist, "처방 슬라이드");
- grd_workrsltlist.colHidden(0) = false;
- ]]>
- </script>
- </button>
- <button id="btn_save" accesskey="f2" class="btn4_letter2" navindex="15" style="left:1055px; top:3px; width:56px; height:22px; ">
- <caption>발행</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeSlidePrint();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:850px; top:4px; width:65px; height:19px; text-align:left; vertical-align:middle; padding-left:10px; ">출력장비</caption>
- <select1 id="cmb_slideqlist" ref="/root/init/eqno" appearance="minimal" style="left:917px; top:4px; width:134px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/eqinfo/caeqlist">
- <label ref="eqnm"/>
- <value ref="eqseqno"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_cstesave" class="btn4_letter4" navindex="8" style="left:1114px; top:3px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>블럭지정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeCsteSave();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn6_letter2" navindex="14" visibility="visible" style="left:100px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeWorkListPrnt2();
- ]]>
- </script>
- </button>
- <bool id="bool_reprntchk" checkvalue="1,0" ref="/root/init/reprntchk" style="left:707px; top:5px; width:20px; height:20px; "/>
- <caption id="caption12" style="left:727px; top:5px; width:80px; height:20px; ">재발행</caption>
- <select1 id="combo2" ref="/root/init/blocyn" appearance="minimal" style="left:777px; top:4px; width:70px; height:19px; ">
- <choices>
- <item>
- <label>미지정</label>
- <value>0</value>
- </item>
- <item>
- <label>지정</label>
- <value>1</value>
- </item>
- <item>
- <label>전체</label>
- <value>9</value>
- </item>
- </choices>
- </select1>
- <caption id="caption13" style="left:455px; top:5px; width:80px; height:20px; ">조회구분</caption>
- <select1 id="combo3" ref="/root/init/giganyn" appearance="minimal" style="left:515px; top:5px; width:105px; height:19px; ">
- <choices>
- <item>
- <label>접수시간</label>
- <value>1</value>
- </item>
- <item>
- <label>블록지정</label>
- <value>2</value>
- </item>
- <item>
- <label>슬라이드</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- </group>
- <script type="javascript" ev:event="onmenu">
- <![CDATA[
- fExePopupClick(event.description);
- ]]>
- </script>
- </xhtml:body>
- </xhtml:html>
|