123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <examcurelist>
- <item>
- <sortno/>
- <basecd/>
- <basecdflagdesc/>
- <basecdcnts/>
- <baseroomopenyn/>
- <excuposseqcd/>
- <baseroomflag/>
- <rcptscrndispyn/>
- <autroomassgyn/>
- <rsrvtmcntlyn/>
- <rsrvpsnnocntlyn/>
- <sytserdispyn/>
- <sytshealdispyn/>
- <nextexcuroomcd/>
- <userid/>
- <execdeptnm/>
- <execdeptcd/>
- <seq/>
- <smlstandnm/>
- <dispnm/>
- </item>
- </examcurelist>
- </main>
- <send>
- <basecd/>
- <req>
- <data/>
- </req>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <roomflag>R</roomflag>
- </send>
- <init>
- <baseinfo>
- <initexecbaseflag/>
- </baseinfo>
- <cmb_info>
- <initexecroom>
- <excuroomcdid/>
- <excuroomcdnm/>
- </initexecroom>
- </cmb_info>
- </init>
- <hidden>
- <item/>
- </hidden>
- <temp>
- <prestdeptcd/>
- <prestdeptnm/>
- </temp>
- </root>
- </instance>
- <submission id="TRAEB00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/examcurelist"/>
- <submission id="TXAEB00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAEB00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- <submission id="TRAEB00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //aezfSetSuppDeptcd();
- var suppdeptcd = "";
- suppdeptcd = getScreenMenuParameter();
- if (suppdeptcd == "" || suppdeptcd == null || suppdeptcd == "null"){
- aezfSetSuppDeptcd();
- }else{
- model.setValue("/root/send/globalinstance/instance1", suppdeptcd);
- }
- zbcfGetCodeList( new Array("A0074"), new Array("/root/init/baseinfo/initexecbaseflag") );
- submit("TRZBC00101", false);
- model.removeNodeset("/root/main/examcurelist/item");
- submit("TRAEB00102", false);
- model.refresh();
-
- model.setFocus("ipt_basecd");
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- </model>
- <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="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1112px; y1:7px; x2:1112px; y2:29px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1128px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRAEB00101");
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">실 코드 :</caption>
- <button id="button61" class="icon_search" style="left:245px; top:9px; width:16px; height:16px; ">
- <caption/>
- </button>
- <input id="ipt_basecd" ref="/root/send/basecd" class="input_search" style="left:105px; top:8px; width:135px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="rdo_roomflag" ref="/root/send/roomflag" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:290px; top:10px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>일반</label>
- <value>R</value>
- </item>
- <item>
- <label>보류</label>
- <value>Z</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:120px; height:13px; ">검사/치료실 현황</caption>
- <line id="line1" class="line_1" style="x1:3px; y1:73px; x2:1194px; y2:74px; "/>
- <button id="btn_grdadd" class="btn2_letter3" style="left:1086px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // grd_examcureroom.addItem();
-
- grd_examcureroom.addRow();
- //grd_examcureroom.row = grd_examcureroom.bottomRow;
-
- model.setValue("/root/main/examcurelist/item["+grd_examcureroom.row+"]/basesuppdeptcd",model.getValue("/root/send/globalinstance/instance1"));
- model.setValue("/root/main/examcurelist/item["+grd_examcureroom.row+"]/rsrvtmcntlyn", "N");
- model.setValue("/root/main/examcurelist/item["+grd_examcureroom.row+"]/rsrvpsnnocntlyn", "N");
- model.setValue("/root/main/examcurelist/item["+grd_examcureroom.row+"]/autroomassgyn", "N");
- model.setValue("/root/main/examcurelist/item["+grd_examcureroom.row+"]/sytserdispyn", "N");
- model.setValue("/root/main/examcurelist/item["+grd_examcureroom.row+"]/sytshealdispyn", "N");
- model.refresh();
- // model.setValue("/root/main/examcurelist/item["+grd_examcureroom.row+"]/basecdflag",model.getValue("/root/send/globalinstance/instance2"));
- ]]>
- </script>
- </button>
- <button id="btn_grddel" class="btn2_letter3" disabled="false" style="left:1142px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // grd_examcureroom.add(grd_examcureroom.row,"delete");
- deleteSelectedRows(grd_examcureroom, true);
- ]]>
- </script>
- </button>
- <datagrid id="grd_examcureroom" nodeset="/root/main/examcurelist/item" class="datagrid2" caption="순번 ^검사실코드^검사실명^실 그룹^개폐
여부^검사장비
가능코드^실 구분^접수화면
표시여부^자동방배정
여부^예약시간변경
통제여부^예약가용인원
통제여부^검통응급
표시여부^검통건진
표시여부^나이제한
연령^담당자^담당부서^집계부서^집계부서코드^SEQ^환자 가야할 곳^전광판 표시명칭^basecdflag^basesuppdeptcd" colsep="^" colwidth="38, 80, 187, 79, 39, 88, 89, 57, 67, 81, 81, 57, 58, 60, 75, 104, 100, 100, 100, 166, 150, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:2px; top:77px; width:1193px; height:665px; ">
- <col ref="sortno" type="input"/>
- <col ref="basecd" type="input" maxlength="12" _chartype="upper" _key="true"/>
- <col ref="basecdflagdesc" type="input"/>
- <col ref="basecdcnts" type="input"/>
- <col ref="baseroomopenyn" type="combo">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="excuposseqcd" type="inputbutton"/>
- <col ref="baseroomflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecbaseflag/A0074">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rcptscrndispyn" type="combo">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="autroomassgyn" type="combo">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="rsrvtmcntlyn" type="combo">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="rsrvpsnnocntlyn" type="combo">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="sytserdispyn" type="combo">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="sytshealdispyn" type="combo">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="sonoage" type="input" format="999" style="left:1116px; top:32px; width:60px; height:23px; text-align:center; "/>
- <col ref="userid" type="input"/>
- <col ref="nextexcuroomcd" type="input"/>
- <col disabled="false" ref="execdeptnm" type="inputbutton"/>
- <col ref="execdeptcd"/>
- <col ref="seq" visibility="hidden"/>
- <col ref="smlstandnm" type="input" style="text-align:left; "/>
- <col ref="dispnm" type="input" style="text-align:left; "/>
- <col ref="basecdflag"/>
- <col ref="basesuppdeptcd" type="input"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var colidx = grd_examcureroom.col;
-
- // 검사가능장비코드 가져오기.
- if( colidx == 6)
- {
- //alert('장비코드');
- setParameter("SPAEB00101_param_srcXpath1", "/root/main/examcurelist/item");
- setParameter("SPAEB00101_param_srcXgrid1", "grd_examcureroom");
- setParameter("SPAEB00101_param_srcXrow1", grd_examcureroom.row);
- setParameter("SPAEB00101_param_srcXnode1", "excuposseqcd");
- modal("SPAEB00101");
- grd_examcureroom.addStatus(grd_examcureroom.row,"update");
- }
- //집계부서 가져오기.
- if( colidx == 17)
- {
- var iRow = grd_examcureroom.row;
-
- var search_condition = "deptnm";
- var search_term = "";
- var receive_deptcd_path = "/root/temp/prestdeptcd";
- var receive_deptnm_path = "/root/temp/prestdeptnm";
- model.setValue(receive_deptcd_path, "");
- model.setValue(receive_deptnm_path, "");
- var standard_yn = null;
- var ord_deptflag = null;
- zbcfOpenInstDeptCodeList(
- search_condition,
- search_term,
- receive_deptcd_path,
- receive_deptnm_path,
- standard_yn,
- ord_deptflag,
- new Array("deptcd", "depthngnm")
- );
- model.setValue("/root/main/examcurelist/item[" + grd_examcureroom.row + "]/execdeptcd", model.getValue("/root/temp/prestdeptcd"));
- model.setValue("/root/main/examcurelist/item[" + grd_examcureroom.row + "]/execdeptnm", model.getValue("/root/temp/prestdeptnm"));
-
-
- if ( grd_examcureroom.rowstatus(grd_examcureroom.row) == 0 ) {
- //grd_examcureroom.cellStyle("background-image", grd_examcureroom.row, 0) = "../../../com/commonweb/images/icon_u.gif";
- grd_examcureroom.addStatus(grd_examcureroom.row,"update");
- }
-
- }
-
- ]]>
- </script>
- </datagrid>
- <button id="btn_selcalcscorcd" class="btn2_letter6" visibility="visible" style="left:997px; top:50px; width:86px; height:19px; ">
- <caption>부서코드조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // modal("SPZSD00200", "", "200", "200", "SPZSD00200");
-
- var iRow = grd_examcureroom.row;
-
- var search_condition = "deptnm";
- var search_term = "";
- var receive_deptcd_path = "/root/temp/prestdeptcd";
- var receive_deptnm_path = "/root/temp/prestdeptnm";
- model.setValue(receive_deptcd_path, "");
- model.setValue(receive_deptnm_path, "");
- var standard_yn = null;
- var ord_deptflag = null;
- zbcfOpenInstDeptCodeList(
- search_condition,
- search_term,
- receive_deptcd_path,
- receive_deptnm_path,
- standard_yn,
- ord_deptflag,
- new Array("deptcd", "depthngnm")
- );
-
- // if( grd_examcureroom.selectedRows == 1 ) {
- // model.setValue("/root/main/examcurelist/item[" + grd_examcureroom.row + "]/basecd", model.getValue("/root/temp/prestdeptcd"));
- // model.setValue("/root/main/examcurelist/item[" + grd_examcureroom.row + "]/basecdflagdesc", model.getValue("/root/temp/prestdeptnm"));
- // alert( grd_examcureroom.row);
-
- // }else if (grd_examcureroom.selectedRows == 0 ) {
- grd_examcureroom.addRow();
- grd_examcureroom.row = grd_examcureroom.bottomRow;
-
- model.setValue("/root/main/examcurelist/item[" + grd_examcureroom.bottomRow + "]/basecd", model.getValue("/root/temp/prestdeptcd"));
- model.setValue("/root/main/examcurelist/item[" + grd_examcureroom.bottomRow + "]/basecdflagdesc", model.getValue("/root/temp/prestdeptnm"));
-
- model.setValue("/root/main/examcurelist/item["+grd_examcureroom.row+"]/basesuppdeptcd",model.getValue("/root/send/globalinstance/instance1"));
- model.setValue("/root/main/examcurelist/item["+grd_examcureroom.row+"]/rsrvtmcntlyn", "N");
- model.setValue("/root/main/examcurelist/item["+grd_examcureroom.row+"]/rsrvpsnnocntlyn", "N");
- model.setValue("/root/main/examcurelist/item["+grd_examcureroom.row+"]/autroomassgyn", "N");
- model.setValue("/root/main/examcurelist/item["+grd_examcureroom.row+"]/sytserdispyn", "N");
- model.setValue("/root/main/examcurelist/item["+grd_examcureroom.row+"]/sytshealdispyn", "N");
-
- // }
-
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1139px; top:4px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if ( messageBox("","Q002")==6 ) {
-
- if ( model.getValue("/root/send/roomflag") == "R" ) {
- //model.makeValue
- }else if ( model.getValue("/root/send/roomflag") == "Z" ) {
-
- }else {
- messageBox("검사실종류를 선택하여 주십시요", "E999", "");
- return;
- }
-
-
- var update = getGridUpdateData(grd_examcureroom);
- if(update == ""){
- messageBox("업데이트 정보가 없습니다.", "I");
- //return 0;
-
- } else {
- // alert(update);
- model.setValue("/root/send/req/data", update);
- submit("TXAEB00101");
- }
-
- }
- //20161110 kya 통계테이블에 insert
- if ( model.getValue("/root/send/globalinstance/instance1") == "2160000000" ) {
- submit("TXAEB00102");
- }
- submit("TRAEB00101");
- submit("TRAEB00102");
-
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- checkKeyColumn("grd_examcureroom");
- ]]>
- </script>
- </button>
- </group>
- <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:144px; height:14px; ">검사/치료실 관리</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|