123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904 |
- <?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>
- <cond>
- <refdeptflag/>
- <refconslrid/>
- <refchrgdd/>
- </cond>
- <cond_conslrlist>
- <conslrlistinfo>
- <conslrid>A</conslrid>
- <conslrnm>전체</conslrnm>
- <mpphontel/>
- <depttel/>
- </conslrlistinfo>
- </cond_conslrlist>
- <conslrlist>
- <conslrlistinfo>
- <conslrid/>
- <conslrnm/>
- <mpphontel/>
- <depttel/>
- </conslrlistinfo>
- </conslrlist>
- <deptlist>
- <deptlistinfo>
- <deptflagnm/>
- <chrgdeptnm/>
- <chrgroomnm/>
- <deptflagcd/>
- <chrgdeptcd/>
- <chrgroomcd/>
- </deptlistinfo>
- </deptlist>
- <deptlist_tree>
- <deptlist_treeinfo>
- <deptcd/>
- <roomcd/>
- <deptnm/>
- <depth/>
- </deptlist_treeinfo>
- </deptlist_tree>
- <choideptlist>
- <choideptlistinfo>
- <deptflagcd/>
- <chrgdeptnm/>
- <chrgstartroomnm/>
- <chrgendroomnm/>
- <chrgfromdd/>
- <chrgtodd/>
- <conslrid/>
- <chrgdeptcd/>
- <chrgstartroomcd/>
- <chrgendroomcd/>
- <seqno/>
- <chrgfromdd_b/>
- </choideptlistinfo>
- <choiroomlistinfo>
- <conslrid/>
- <chrgdeptcd/>
- <chrgdeptnm/>
- <chrgfromdd/>
- <chrgtodd/>
- <chrgstartroomcd/>
- <chrgroomcd/>
- <seqno/>
- <chrgfromdd_b/>
- </choiroomlistinfo>
- </choideptlist>
- <chrgdeptlist>
- <chrgdeptlistinfo>
- <deptflagcd/>
- <conslrnm/>
- <chrgdeptnm/>
- <chrgstartroomnm/>
- <chrgendroomnm/>
- <chrgfromdd/>
- <chrgtodd/>
- <conslrid/>
- <chrgdeptcd/>
- <chrgstartroomcd/>
- <chrgendroomcd/>
- <seqno/>
- <status/>
- </chrgdeptlistinfo>
- </chrgdeptlist>
- <roomrgst>
- <chrgdeptcd/>
- <chrgstartroomcd/>
- <chrgendroomcd/>
- <chrgstartroomcd_b/>
- <chrgendroomcd_b/>
- </roomrgst>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <init>
- <comcodelist>
- <deptflag_cmblist/>
- <deptflag_all_cmblist>
- <A0027>
- <cdid>A</cdid>
- <cdnm>전체</cdnm>
- </A0027>
- </deptflag_all_cmblist>
- </comcodelist>
- </init>
- <hidden>
- </hidden>
- <temp>
- <deptlist_tree>
- <treeinfo>
- <deptcd/>
- <roomcd/>
- <deptnm/>
- <depth/>
- </treeinfo>
- </deptlist_tree>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRAYA00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/conslrlist"/>
- <submission id="TRAYA00402" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/main/deptlist"/>
- <submission id="TRAYA00403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/choideptlist"/>
- <submission id="TRAYA00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/chrgdeptlist"/>
- <submission id="TRAYA00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/errmsg"/>
- <submission id="TXAYA00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/choideptlist"/>
- <submission id="TXAYA00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/chrgdeptlist"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript">
- <![CDATA[
- //화면 오픈시
- function fInit() {
- //그리드 초기화
- model.removeNodeset("/root/main/conslrlist/conslrlistinfo");
- model.removeNodeset("/root/main/deptlist/deptlistinfo");
- model.removeNodeset("/root/main/choideptlist/choideptlistinfo");
- model.removeNodeset("/root/main/choideptlist/choiroomlistinfo");
- model.removeNodeset("/root/main/chrgdeptlist/chrgdeptlistinfo");
-
- //원목자리스트 조회
- model.makeValue("/root/send/reqdata/joblncd", "A");
- submit("TRAYA00401", false);
-
- //조회조건 원목자명 조회
- copyNodesetType("/root/main/cond_conslrlist/conslrlistinfo", "/root/main/conslrlist/conslrlistinfo", "after");
- //model.setValue("/root/main/cond/refconslrid", 'A');
-
- //부서구분 콤보리스트 조회
- zbcfGetCodeList(new Array("A0027", "A0027"), new Array("/root/init/comcodelist/deptflag_cmblist", "/root/init/comcodelist/deptflag_all_cmblist"), true);
-
- // 부서구분 default
- model.setValue("/root/main/cond/refdeptflag", "A");
-
- // 원목자명 Default
- model.setValue("/root/main/cond/refconslrid", "A");
-
- //조회기간 오늘 날짜로 세팅
- var CurrentDate = getCurrentDate();
- model.setValue("/root/main/cond/refchrgdd", CurrentDate);
-
- //시작병실, 종료병실 비활성화
- ipt_startroom.disabled = true;
- ipt_endroom.disabled = true;
-
- //부서리스트 조회
- if (submit("TRAYA00402", false)) { //그리드 조회
- //트리구조 만들기
- var old_deptflag = null;
- var old_deptcd = null;
- var old_roomcd = null
-
- var new_deptflag = null;
- var new_deptcd = null;
- var new_roomcd = null;
-
- var deptlist_treeCnt = getNodesetCnt(model1, "/root/main/deptlist_tree/deptlist_treeinfo");
- var deptlistCnt = getNodesetCnt(model1, "/root/main/deptlist/deptlistinfo");
- var idx = 1;
-
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptcd",'000');
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/roomcd",'000');
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptnm", '부서');
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/depth", '1');
-
- old_deptflag = "A";
- old_deptcd = "A";
- old_roomcd ="A";
- for (var i = 1; i <= deptlistCnt; i++) {
- new_deptflag = model.getValue("/root/main/deptlist/deptlistinfo[" + i +"]/deptflagcd");
- new_deptcd = model.getValue("/root/main/deptlist/deptlistinfo[" + i +"]/chrgdeptcd");
- new_roomcd = model.getValue("/root/main/deptlist/deptlistinfo[" + i +"]/chrgroomcd");
-
- if (new_deptflag == old_deptflag) {
-
- if (new_deptcd == old_deptcd) {
-
- if (new_roomcd == old_roomcd) {
- messageBox("병동리스트를 조회 ","E001");
- } else {
- if (new_roomcd.length > 0) {
- deptlist_treeCnt = getNodesetCnt(model1, "/root/main/deptlist_tree/deptlist_treeinfo");
- copyNodesetType("/root/main/deptlist_tree/deptlist_treeinfo[" + deptlist_treeCnt + "]", "/root/temp/deptlist_tree/treeinfo", "after");
- idx++;
-
- //model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptcd", new_roomcd);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptcd", new_deptcd);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/roomcd", new_roomcd);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptnm", model.getValue("/root/main/deptlist/deptlistinfo[" + i + "]/chrgroomnm"));
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/depth", '4');
- }
- }
- } else {
- deptlist_treeCnt = getNodesetCnt(model1, "/root/main/deptlist_tree/deptlist_treeinfo");
- copyNodesetType("/root/main/deptlist_tree/deptlist_treeinfo[" + deptlist_treeCnt + "]", "/root/temp/deptlist_tree/treeinfo", "after");
- idx++;
-
- //model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptcd", new_deptcd);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptcd", new_deptcd);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/roomcd", new_deptcd);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptnm", model.getValue("/root/main/deptlist/deptlistinfo[" + i + "]/chrgdeptnm"));
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/depth", '3');
-
- if (new_roomcd.length > 0 ) {
- deptlist_treeCnt = getNodesetCnt(model1, "/root/main/deptlist_tree/deptlist_treeinfo");
- copyNodesetType("/root/main/deptlist_tree/deptlist_treeinfo[" + deptlist_treeCnt + "]", "/root/temp/deptlist_tree/treeinfo", "after");
- idx++;
-
- //model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptcd", new_roomcd);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptcd", new_deptcd);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/roomcd", new_roomcd);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptnm", model.getValue("/root/main/deptlist/deptlistinfo[" + i + "]/chrgroomnm"));
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/depth", '4');
- }
- }
- } else {
- deptlist_treeCnt = getNodesetCnt(model1, "/root/main/deptlist_tree/deptlist_treeinfo");
- copyNodesetType("/root/main/deptlist_tree/deptlist_treeinfo[" + deptlist_treeCnt + "]", "/root/temp/deptlist_tree/treeinfo", "after");
- idx++;
-
- //model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptcd", new_deptflag);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptcd", new_deptflag);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/roomcd", new_deptflag);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptnm", model.getValue("/root/main/deptlist/deptlistinfo[" + i + "]/deptflagnm"));
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/depth", '2');
-
- deptlist_treeCnt = getNodesetCnt(model1, "/root/main/deptlist_tree/deptlist_treeinfo");
- copyNodesetType("/root/main/deptlist_tree/deptlist_treeinfo[" + deptlist_treeCnt + "]", "/root/temp/deptlist_tree/treeinfo", "after");
- idx++;
-
- //model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptcd", new_deptcd);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptcd", new_deptcd);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/roomcd", new_deptcd);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptnm", model.getValue("/root/main/deptlist/deptlistinfo[" + i + "]/chrgdeptnm"));
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/depth", '3');
-
- if (new_roomcd.length > 0 && new_roomcd != 'ALL') { //ALL : 외래일 경우
- deptlist_treeCnt = getNodesetCnt(model1, "/root/main/deptlist_tree/deptlist_treeinfo");
- copyNodesetType("/root/main/deptlist_tree/deptlist_treeinfo[" + deptlist_treeCnt + "]", "/root/temp/deptlist_tree/treeinfo", "after");
- idx++
-
- //model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptcd", new_roomcd);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptcd", new_deptcd);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/roomcd", new_roomcd);
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/deptnm", model.getValue("/root/main/deptlist/deptlistinfo[" + i + "]/chrgroomnm"));
- model.setValue("/root/main/deptlist_tree/deptlist_treeinfo[" + idx + "]/depth", '4');
- }
- }
- old_deptflag = new_deptflag;
- old_deptcd = new_deptcd;
- old_roomcd = new_roomcd;
- }
-
-
- }
-
- // 등록내역 조회
- fChrgDeptRgstListRef()
- model.refresh();
- }
-
- //노드 갯수 구함
- function getNodesetCnt(srchModel, path) {
- var insXml = srchModel.instances(0);
- var nodeList = insXml.selectNodes(path);
- return nodeList.length;
- }
-
- //부서리스트 트리 클릭시
- function fSelectDeptlist() {
- //시작병실, 종료병실 활성화
- ipt_startroom.disabled = false;
- ipt_endroom.disabled = false;
-
- //트리리스트에서 선택한 deptcd 값
- var deptcd = model.getValue("/root/main/roomrgst/chrgdeptcd");
- var deptflagcd = model.getValue("/root/main/deptlist/deptlistinfo[chrgdeptcd = '" + deptcd + "']/deptflagcd");
-
- //트리구조의 병동/외래명으로만 등록하도록 함(depth : 3)
- var depth = model.getValue("/root/main/deptlist_tree/deptlist_treeinfo[deptcd = '" + deptcd + "']/depth");
- if (depth == '3') {
- //해당병동 선택시 병실 셋팅 (시작 호실 : 해당 병동의 시작병실 / 종료 호실 : 해당 병동의 종료병실)
- var deptNodeList = instance1.selectNodes("/root/main/deptlist/deptlistinfo[chrgdeptcd = '" + deptcd + "']");
- //alert(deptNodeList.length); //해당 부서의 반복 노드셋 수(해당 호실 갯수)
- var nodelist = deptNodeList.item(deptNodeList.length - 1);
- //alert(nodelist.xml); //노드 셋 중 마지막 노드(마지막 호실 노드셋)
- //alert(nodelist.lastChild.value); //마지막 호실
-
- var chrgstartroomcd = model.getValue("/root/main/deptlist/deptlistinfo[chrgdeptcd = '" + deptcd + "']/chrgroomcd");
- var chrgendroomcd = nodelist.lastChild.value;
-
- model.setValue("/root/main/roomrgst/chrgstartroomcd", chrgstartroomcd);
- model.setValue("/root/main/roomrgst/chrgendroomcd", chrgendroomcd);
- model.setValue("/root/main/roomrgst/chrgstartroomcd_b", chrgstartroomcd);
- model.setValue("/root/main/roomrgst/chrgendroomcd_b", chrgendroomcd);
-
- } else if (depth == '4') {
- return;
- } else{
- messageBox("병동/외래명을 ", "C002");
- }
- model.refresh();
- }
-
- //원목자 리스트 클릭시 선택부서, 선택병실 리스트 조회
- function fChrgDeptListRef() {
- var idxRow = grd_conslrlist.row;
- var conslrid = model.getValue("/root/main/conslrlist/conslrlistinfo[" + idxRow + "]/conslrid");
-
- model.removeNodeset("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- model.makeNode("/root/send/reqdata/conslrid");
- model.setValue("/root/send/reqdata/conslrid", conslrid);
- model.getValue("/root/send/reqdata/conslrid");
-
- // reqGetChoiDeptListInfo
- // getChoiDeptRgstListInfo, getChoiRoomRgstListInfo
- submit("TRAYA00403");
- }
-
- //병실 지정버튼 클릭시 필수여부 체크
- function fCheckMandatorySet() {
- if (model.getValue("/root/main/conslrlist/conslrlistinfo[ " + grd_conslrlist.row + "]/conslrid") == "") {
- messageBox("해당 원목자를 ","C002");
- return false;
- }
- if (model.getValue("/root/main/roomrgst/chrgstartroomcd") == "") {
- messageBox("병실은 ","I003");
- model.setFocus("ipt_startroom");
- return false;
- }
- //alert(model.getValue("/root/main/roomrgst/chrgendroomcd"));
- if (model.getValue("/root/main/roomrgst/chrgendroomcd") == "") {
- messageBox("병실은 ","I003");
- model.setFocus("ipt_endroom");
- return false;
- }
- return true;
- }
-
- //병실 지정버튼 클릭시 선택부서 리스트, 선택호실 리스트 셋팅
- function fSetChoiDeptList() {
- var conslrid = model.getValue("/root/main/conslrlist/conslrlistinfo[" + grd_conslrlist.row + "]/conslrid");
- var deptcd = model.getValue("/root/main/roomrgst/chrgdeptcd");
- var deptflagcd = model.getValue("/root/main/deptlist/deptlistinfo[chrgdeptcd = '" + deptcd + "']/deptflagcd");
- var chrgdeptnm = model.getValue("/root/main/deptlist/deptlistinfo[chrgdeptcd = '" + deptcd + "']/chrgdeptnm");
- var chrgstartroomcd = model.getValue("/root/main/roomrgst/chrgstartroomcd");
- var chrgendroomcd = model.getValue("/root/main/roomrgst/chrgendroomcd");
- var chrgstartroomnm = model.getValue("/root/main/deptlist/deptlistinfo[chrgroomcd = '" + chrgstartroomcd + "']/chrgroomnm");
- var chrgendroomnm = model.getValue("/root/main/deptlist/deptlistinfo[chrgroomcd = '" + chrgendroomcd + "']/chrgroomnm");
-
- // 당일 일자
- var currentdate = getCurrentDate();
-
- // 기존에 있는 병실인지 체크
-
- for (i=0; i < grd_choideptlist.rows; i++)
- {
- var fromdd = grd_choideptlist.valueMatrix(i, grd_choideptlist.colRef("chrgfromdd"));
- var todd = grd_choideptlist.valueMatrix(i, grd_choideptlist.colRef("chrgtodd"));
-
- if (currentdate >= fromdd && currentdate <= todd)
- {
-
- }
- }
-
- //선택부서 리스트 셋팅
- grd_choideptlist.addrow(false);
-
-
- var deptlist_idxRow = grd_choideptlist.row;
- model.setValue("/root/main/choideptlist/choideptlistinfo[" + deptlist_idxRow + "]/deptflagcd", deptflagcd);
- model.setValue("/root/main/choideptlist/choideptlistinfo[" + deptlist_idxRow + "]/chrgdeptnm", chrgdeptnm);
- model.setValue("/root/main/choideptlist/choideptlistinfo[" + deptlist_idxRow + "]/chrgstartroomnm", chrgstartroomnm);
- model.setValue("/root/main/choideptlist/choideptlistinfo[" + deptlist_idxRow + "]/chrgendroomnm", chrgendroomnm);
- model.setValue("/root/main/choideptlist/choideptlistinfo[" + deptlist_idxRow + "]/chrgfromdd", currentdate);
- model.setValue("/root/main/choideptlist/choideptlistinfo[" + deptlist_idxRow + "]/chrgtodd", '99991231');
- model.setValue("/root/main/choideptlist/choideptlistinfo[" + deptlist_idxRow + "]/conslrid", conslrid);
- model.setValue("/root/main/choideptlist/choideptlistinfo[" + deptlist_idxRow + "]/chrgdeptcd", deptcd);
- model.setValue("/root/main/choideptlist/choideptlistinfo[" + deptlist_idxRow + "]/chrgstartroomcd", chrgstartroomcd); //저장시에 시작병실과 종료병실 사이의 모든 병실을 저장한다.
- model.setValue("/root/main/choideptlist/choideptlistinfo[" + deptlist_idxRow + "]/chrgendroomcd", chrgendroomcd);
-
- //선택호실 리스트 셋팅
- var start_idx = grd_deptlist.findRow(chrgstartroomcd,1, 5);
- var end_idx = grd_deptlist.findRow(chrgendroomcd, 1, 5);
-
- for (var i = start_idx; i <= end_idx; i++) {
- grd_choiroomlist.addrow(false);
- var roomlist_idxRow = grd_choiroomlist.row;
- var chrgroomcd = model.getValue("/root/main/deptlist/deptlistinfo[" + i + "]/chrgroomcd");
-
- model.setValue("/root/main/choideptlist/choiroomlistinfo[" + roomlist_idxRow + "]/conslrid", conslrid);
- model.setValue("/root/main/choideptlist/choiroomlistinfo[" + roomlist_idxRow + "]/chrgdeptcd", deptcd);
- model.setValue("/root/main/choideptlist/choiroomlistinfo[" + roomlist_idxRow + "]/chrgdeptnm", chrgdeptnm);
- model.setValue("/root/main/choideptlist/choiroomlistinfo[" + roomlist_idxRow + "]/chrgfromdd", currentdate);
- model.setValue("/root/main/choideptlist/choiroomlistinfo[" + roomlist_idxRow + "]/chrgtodd", '99991231');
- model.setValue("/root/main/choideptlist/choiroomlistinfo[" + roomlist_idxRow + "]/chrgstartroomcd", chrgstartroomcd);
- model.setValue("/root/main/choideptlist/choiroomlistinfo[" + roomlist_idxRow + "]/chrgroomcd", chrgroomcd);
- }
- model.refresh();
- }
-
- //해당병실 체크
- function fChkRoomCd() {
- //변경 전(병동 호실)
- var chrgstartroomcd = model.getValue("/root/main/roomrgst/chrgstartroomcd_b");
- var chrgendroomcd = model.getValue("/root/main/roomrgst/chrgendroomcd_b");
- //변경 후
- var chrgstartroomcd_chg = model.getValue("/root/main/roomrgst/chrgstartroomcd");
- var chrgendroomcd_chg = model.getValue("/root/main/roomrgst/chrgendroomcd");
-
- var start_idx = grd_deptlist.findRow(chrgstartroomcd,1, 5);
- var end_idx = grd_deptlist.findRow(chrgendroomcd, 1, 5);
-
- var chkDept = 'N';
- var chkRoom = 'N';
-
- for (var i = start_idx; i <= end_idx; i++) {
- var chrgroomcd = model.getValue("/root/main/deptlist/deptlistinfo[" + i + "]/chrgroomcd");
-
- /*
- if (chrgstartroomcd_chg == chrgroomcd) {
- chkDept = 'Y';
-
- } else if (chrgendroomcd_chg == chrgroomcd) {
- chkRoom = 'Y';
- }
- */
-
- if (chrgstartroomcd_chg == chrgroomcd) {
- chkDept = 'Y';
-
- }
-
- if (chrgendroomcd_chg == chrgroomcd) {
- chkRoom = 'Y';
- }
- }
-
- if (chkDept == 'N') {
- messageBox(chrgstartroomcd_chg + "병동을 찾을 수 ","I004");
- model.setFocus("ipt_startroom");
- return;
- } else if (chkRoom == 'N') {
- messageBox(chrgendroomcd_chg + "병동을 찾을 수 ","I004");
- model.setFocus("ipt_endroom");
- return;
- }
- }
-
- //담당시작일자 셋팅
- function fSetchrgfromtodd() {
- var idxRow = grd_choideptlist.row;
- var idxCol = grd_choideptlist.col;
-
- var chrgfromdd = model.getValue("/root/main/choideptlist/choideptlistinfo[" + idxRow + "]/chrgfromdd");
- var chrgtodd = model.getValue("/root/main/choideptlist/choideptlistinfo[" + idxRow + "]/chrgtodd");
- var conslrid_dept = model.getValue("/root/main/choideptlist/choideptlistinfo[" + idxRow + "]/conslrid");
- var deptcd_dept = model.getValue("/root/main/choideptlist/choideptlistinfo[" + idxRow + "]/chrgdeptcd");
- var chrgstartroomcd_dept = model.getValue("/root/main/choideptlist/choideptlistinfo[" + idxRow + "]/chrgstartroomcd");
- var seqno_dept = model.getValue("/root/main/choideptlist/choideptlistinfo[" + idxRow + "]/seqno");
-
- for (var i = 1; i <= grd_choiroomlist.rows; i++) {
- var conslrid_room = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + i + "]/conslrid");
- var deptcd_room = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + i + "]/chrgdeptcd");
- var chrgstartroomcd_room = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + i + "]/chrgstartroomcd");
- var seqno_room = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + i + "]/seqno");
-
- if (conslrid_dept == conslrid_room && deptcd_dept == deptcd_room && chrgstartroomcd_dept == chrgstartroomcd_room && seqno_dept == seqno_room ) {
- if (idxCol == 5) {
- model.setValue("/root/main/choideptlist/choiroomlistinfo[" + i + "]/chrgfromdd", chrgfromdd);
- } else if (idxCol == 6) {
- model.setValue("/root/main/choideptlist/choiroomlistinfo[" + i + "]/chrgtodd", chrgtodd);
- }
- var seqno_room = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + i + "]/seqno");
- if (seqno_room != "") {
- grd_choiroomlist.rowStatus(i) = 2; // 2 : update
- }
- }
- }
- model.refresh();
- }
-
- //담당부서 저장시 필수여부 체크
- function fCheckMandatorySave() {
- for (var i = 1; i < grd_choideptlist.rows; i++) {
- if (model.getValue("/root/main/choideptlist/choideptlistinfo[" + i + "]/chrgfromdd") == "") {
- messageBox("담당시작일자를 ","C001");
- model.setFocus("/root/main/choideptlist/choideptlistinfo[" + i + "]/chrgfromdd");
- return false;
- }
- }
- return true;
- }
-
- //선택부서 리스트에서 담당부서 저장시
- function fSaveChrgDeptInfo() {
- var chkerror = fChkChrgDeptRgstInfo(); //담당부서 중복체크
- if (chkerror != 1) {
- //시작, 종료병실 컨트롤 초기화
- model.resetInstanceNode("/root/main/roomrgst/chrgstartroomcd");
- model.resetInstanceNode("/root/main/roomrgst/chrgendroomcd");
-
- //저장
- model.removeNodeset("/root/send/savedata");
- model.makeNode("/root/send/savedata");
- model.makeNode("/root/send/savedata/deptinfo");
- model.makeNode("/root/send/savedata/roominfo");
- model.makeNode("/root/send/savedata/conslrinfo");
-
- //부서정보
- model.setValue("/root/send/savedata/deptinfo", grd_choideptlist.getUpdateData());
- //호실 정보
- model.setValue("/root/send/savedata/roominfo", grd_choiroomlist.getUpdateData());
- //원목자별 조회조건
- model.makeValue("/root/send/savedata/conslrinfo/conslrid", model.getValue("/root/main/conslrlist/conslrlistinfo[" + grd_conslrlist.row + "]/conslrid"));
- model.refresh();
-
- if (submit("TXAYA00401")) {
- if ( model.getValue("/root/main/cond/refdeptflag") != "" && model.getValue("/root/main/cond/refconslrid") != "" && model.getValue("/root/main/cond/refchrgdd") != "") {
- fChrgDeptRgstListRef();
- }
- }
-
- } else { //중복입력일 경우 해당 row 삭제
- var rownum = model.getValue("/root/hidden/errmsg/rownum"); //중복체크된 rownum
- var conslrid = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + rownum + "]/conslrid");
- var chrgdeptcd = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + rownum + "]/chrgdeptcd");
- var chrgfromdd = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + rownum + "]/chrgfromdd");
- var chrgstartroomcd = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + rownum + "]/chrgstartroomcd");
-
- //부서 그리드에서 삭제
- for ( var i = 1; i < grd_choideptlist.rows; i++) {
- var conslrid_dept = model.getValue("/root/main/choideptlist/choideptlistinfo[" + i + "]/conslrid");
- var chrgdeptcd_dept = model.getValue("/root/main/choideptlist/choideptlistinfo[" + i + "]/chrgdeptcd");
- var chrgfromdd_dept = model.getValue("/root/main/choideptlist/choideptlistinfo[" + i + "]/chrgfromdd");
- var chrgstartroomcd_dept = model.getValue("/root/main/choideptlist/choideptlistinfo[" + i + "]/chrgstartroomcd");
- var seqno_dept = model.getValue("/root/main/choideptlist/choideptlistinfo[" + i + "]/seqno");
-
- if (conslrid_dept == conslrid && chrgdeptcd_dept == chrgdeptcd && chrgfromdd_dept == chrgfromdd && chrgstartroomcd_dept == chrgstartroomcd && seqno_dept == "") {
- grd_choideptlist.deleteItem(i);
- }
- }
-
- //병실 그리드에서 삭제
- for ( var j = 1; j < grd_choiroomlist.rows; j++) {
- var conslrid_room = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + j + "]/conslrid");
- var chrgdeptcd_room = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + j + "]/chrgdeptcd");
- var chrgfromdd_room = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + j + "]/chrgfromdd");
- var chrgstartroomcd_room = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + j + "]/chrgstartroomcd");
- var seqno_room = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + j + "]/seqno");
-
- if (conslrid_room == conslrid && chrgdeptcd_room == chrgdeptcd && chrgfromdd_room == chrgfromdd && chrgstartroomcd_room == chrgstartroomcd && seqno_room == "" ) {
- grd_choiroomlist.deleteRow(j, false);
- j--;
- }
- }
- model.removeNodeset("/root/hidden/errmsg");
- model.makeNode("/root/hidden/errmsg")
- model.refresh();
- }
- }
-
- //담당부서 중복체크
- function fChkChrgDeptRgstInfo() {
- model.removeNodeset("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- model.makeNode("/root/send/reqdata/chkrgstinfo");
- model.setValue("/root/send/reqdata/chkrgstinfo", grd_choiroomlist.getUpdateData());
-
- // reqChkChrgDeptRgstInfo
- // getChkChrgDeptRgstInfo
- if (submit("TRAYA00405")) { //중복체크 조회
- var errcd = model.getValue("/root/hidden/errmsg/errcd");
- var rownum = model.getValue("/root/hidden/errmsg/rownum"); //중복체크된 rownum
- var totRow = grd_choideptlist.rows;
-
- //alert(rownum);
- //alert(errcd);
-
- if (errcd == "err01") { // insert error
- for (var i = 1 ; i < totRow ; i++) {
- var chrgdeptnm = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + rownum + "]/chrgdeptnm");
- var chrgroomcd = model.getValue("/root/main/choideptlist/choiroomlistinfo[" + rownum + "]/chrgroomcd");
- break;
- }
-
-
- messageBox(chrgdeptnm+ "의 " + chrgroomcd + "호 담당자가", "E006");
- return 1;
- }
- }
- }
-
- //선택부서 삭제
- function fDelChoiDeptList() {
- var idx = grd_choideptlist.row;
- if ( model.getValue("/root/main/choideptlist/choideptlistinfo[" + idx + "]/chrgdeptcd") != ""){
- var btn = messageBox("선택한 담당부서를 ", "Q001");
- if (btn == '6') {
- //grd_choideptlist.deleteItem(idx);
-
- grd_choideptlist.deleteRow(idx);
-
- //model.removeNodeset("/root/send/savedata");
- //model.makeNode("/root/send/savedata");
- //model.makeNode("/root/send/savedata/deptinfo");
- //model.makeNode("/root/send/savedata/conslrinfo");
-
- //model.setValue("/root/send/savedata/deptinfo", grd_choideptlist.getUpdateData());
- //model.makeValue("/root/send/savedata/conslrinfo/conslrid", model.getValue("/root/main/conslrlist/conslrlistinfo[" + grd_conslrlist.row + "]/conslrid"));
-
- //model.refresh();
- //if (submit("TXAYA00401")) {
- // if ( model.getValue("/root/main/cond/refdeptflag") != "" && model.getValue("/root/main/cond/refconslrid") != "" && model.getValue("/root/main/cond/refchrgdd") != "") {
- // fChrgDeptRgstListRef();
- // }
- //}
- //} else if (btn == '7') {
- // return;
- }
- }
- }
-
- //등록내역리스트 조회
- function fChrgDeptRgstListRef() {
- model.removeNodeset("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRAYA00404");
- }
-
- //담당부서 삭제
- function fDelChrgDeptList() {
- var idx = grd_chrgdeptlist.row;
- if ( model.getValue("/root/main/chrgdeptlist/chrgdeptlistinfo[" + idx + "]/deptflagcd") != ""){
- var btn = messageBox("선택한 담당부서를 ", "Q001");
- if (btn == '6') {
- model.setValue("/root/main/chrgdeptlist/chrgdeptlistinfo[" + idx + "]/status", 'd');
- var nodeList = instance1.selectNodes("/root/main/chrgdeptlist/chrgdeptlistinfo[" + idx + "]");
- var rgstinfo = getNodeListCSV(nodeList);
-
- model.removeNodeset("/root/send/savedata");
- model.makeNode("/root/send/savedata");
- model.makeNode("/root/send/savedata/rgstinfo");
- model.makeNode("/root/send/savedata/condinfo");
-
- model.setValue("/root/send/savedata/rgstinfo", rgstinfo);
- model.copyNode("/root/send/savedata/condinfo", "/root/main/cond");
- model.refresh();
- if (submit("TXAYA00402")) {
- //원목자 선택되어 있을 경우 재조회
- for (var i = 1; i < grd_conslrlist.rows; i++) {
- var conslrid = model.getValue("/root/main/cond_conslrlist/conslrlistinfo[" + i + "]/conslrid");
- }
- if (conslrid != "") {
- fChrgDeptListRef();
- }
- }
- } else if (btn == '7') {
- return;
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:240px; height:14px; ">담당자별 병동관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <treeview id="trv_deptlist" ref="/root/main/roomrgst/chrgdeptcd" expanddepth="2" image="../../../com/commonweb/images/icon_folder_close.gif" itemsettype="depth" selectedimage="../../../com/commonweb/images/icon_folder_open.gif" style="left:320px; top:32px; width:335px; height:400px; ">
- <itemset nodeset="/root/main/deptlist_tree/deptlist_treeinfo">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- <depth ref="depth"/>
- </itemset>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSelectDeptlist();
- ]]>
- </script>
- </treeview>
- <group id="grp_sea" style="left:660px; top:10px; width:534px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:534px; height:60px; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:35px; width:87px; height:17px; ">담당일자 :</caption>
- <caption id="caption3" class="search_name" style="left:15px; top:10px; width:97px; height:17px; ">부서구분 :</caption>
- <button id="button1" class="btn1_letter2" style="left:460px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChrgDeptRgstListRef();
- ]]>
- </script>
- </button>
- <line id="line6" class="line_4" style="x1:447px; y1:11px; x2:447px; y2:54px; "/>
- <input id="ipt_refstatfromdd" ref="/root/main/cond/refchrgdd" class="input_search" inputtype="date" style="left:110px; top:35px; width:105px; height:19px; "/>
- <select1 id="cmb_trgtmanposcd" ref="/root/main/cond/refdeptflag" class="combo_search" appearance="minimal" style="left:110px; top:10px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/comcodelist/deptflag_all_cmblist/A0027">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:245px; top:10px; width:92px; height:17px; ">원목자명 :</caption>
- <select1 id="combo1" ref="/root/main/cond/refconslrid" class="combo_search" appearance="minimal" style="left:340px; top:10px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/cond_conslrlist/conslrlistinfo">
- <label ref="conslrnm"/>
- <value ref="conslrid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <caption id="caption5" class="tit_2" style="left:5px; top:10px; width:145px; height:13px; ">원목자 리스트</caption>
- <line id="line3" class="line_1" style="x1:320px; y1:27px; x2:655px; y2:27px; "/>
- <caption id="caption4" class="tit_2" style="left:325px; top:10px; width:207px; height:13px; ">부서 리스트</caption>
- <caption id="caption7" class="tit_2" style="left:0px; top:492px; width:175px; height:13px; ">선택부서 리스트</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:510px; x2:655px; y2:510px; "/>
- <datagrid id="grd_choideptlist" nodeset="/root/main/choideptlist/choideptlistinfo" caption="구분^선택부서명^시작병실^종료병실^담당시작일자^담당종료일자^원목자아이디^담당부서코드^시작병실코드^종료병실코드^일련번호^담당시작일자_b^담당시작일자_b" colsep="^" colwidth="81, 150, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0" dataheight="25" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:515px; width:655px; height:225px; ">
- <col disabled="true" ref="deptflagcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/comcodelist/deptflag_cmblist/A0027">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="chrgdeptnm"/>
- <col ref="chrgstartroomnm" style="text-align:center; "/>
- <col ref="chrgendroomnm" style="text-align:center; "/>
- <col ref="chrgfromdd" type="inputdate"/>
- <col ref="chrgtodd" type="inputdate"/>
- <col ref="conslrid"/>
- <col ref="chrgdeptcd"/>
- <col ref="chrgstartroomcd"/>
- <col ref="chrgendroomcd"/>
- <col ref="seqno"/>
- <col ref="chrgfromdd_b"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetchrgfromtodd();
- ]]>
- </script>
- </datagrid>
- <button id="button90" class="btn5_letter2" style="left:567px; top:490px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !fCheckMandatorySave() ) return; //필수 저장여부 체크
- fSaveChrgDeptInfo();
- ]]>
- </script>
- </button>
- <caption id="caption9" class="tit_2" style="left:325px; top:439px; width:150px; height:13px; ">병실등록</caption>
- <line id="line2" class="line_1" style="x1:320px; y1:455px; x2:655px; y2:455px; "/>
- <input id="ipt_startroom" ref="/root/main/roomrgst/chrgstartroomcd" class="input_default" appearance="input" style="left:320px; top:460px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkRoomCd();
- ]]>
- </script>
- </input>
- <caption id="caption10" style="left:456px; top:462px; width:12px; height:17px; ">~</caption>
- <input id="ipt_endroom" ref="/root/main/roomrgst/chrgendroomcd" class="input_default" appearance="input" style="left:475px; top:460px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChkRoomCd();
- ]]>
- </script>
- </input>
- <caption id="caption11" style="left:580px; top:461px; width:26px; height:17px; ">호실</caption>
- <caption id="caption12" style="left:423px; top:461px; width:26px; height:17px; ">호실</caption>
- <line id="line20" class="line_3" style="x1:320px; y1:480px; x2:655px; y2:480px; "/>
- <button id="button3" class="btn5_letter2" style="left:612px; top:435px; width:42px; height:19px; ">
- <caption>지정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( !fCheckMandatorySet() ) return;
- fSetChoiDeptList();
- ]]>
- </script>
- </button>
- <datagrid id="grd_conslrlist" nodeset="/root/main/conslrlist/conslrlistinfo" caption="사번^원목자명^핸드폰번호^부서번호" colsep="^" colwidth="67, 75, 84, 66" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:32px; width:315px; height:450px; ">
- <col ref="conslrid" style="text-align:center; "/>
- <col ref="conslrnm" style="text-align:center; "/>
- <col ref="mpphontel"/>
- <col ref="depttel"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fChrgDeptListRef();
- ]]>
- </script>
- </datagrid>
- <line id="line7" class="line_1" style="x1:0px; y1:27px; x2:315px; y2:27px; "/>
- <button id="button5" class="btn5_letter2" style="left:612px; top:490px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelChoiDeptList();
- ]]>
- </script>
- </button>
- <datagrid id="grd_chrgdeptlist" nodeset="/root/main/chrgdeptlist/chrgdeptlistinfo" caption="구분^원목자명^부서명^시작병실^종료병실^담당시작일자^담당종료일자^원목자아이디^담당부서코드^시작호실코드^종료호실코드^일련번호^상태" colsep="^" colwidth="50, 71, 104, 62, 62, 79, 79, 0, 0, 0, 0, 0, 0" dataheight="25" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:660px; top:105px; width:534px; height:635px; ">
- <col disabled="true" ref="deptflagcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/comcodelist/deptflag_cmblist/A0027">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="conslrnm" style="text-align:center; "/>
- <col ref="chrgdeptnm"/>
- <col ref="chrgstartroomnm" style="text-align:center; "/>
- <col ref="chrgendroomnm" style="text-align:center; "/>
- <col ref="chrgfromdd" format="yyyy-mm-dd"/>
- <col ref="chrgtodd" format="yyyy-mm-dd"/>
- <col ref="conslrid"/>
- <col ref="chrgdeptcd"/>
- <col ref="chrgstartroomcd"/>
- <col ref="chrgendroomcd"/>
- <col ref="seqno"/>
- <col ref="status"/>
- </datagrid>
- <button id="button4" class="btn5_letter2" style="left:1152px; top:80px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelChrgDeptList();
- ]]>
- </script>
- </button>
- <caption id="caption8" class="tit_2" style="left:666px; top:82px; width:216px; height:13px; ">담당부서 등록내역 조회</caption>
- <line id="line5" class="line_1" style="x1:660px; y1:100px; x2:1194px; y2:100px; "/>
- <datagrid id="grd_deptlist" nodeset="/root/main/deptlist/deptlistinfo" visibility="hidden" caption="구분^부서명^병실명^부서구분코드^담당부서코드^담당병실코드" colsep="^" colwidth="72, 139, 72, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecells="bycol" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:320px; top:32px; width:335px; height:263px; ">
- <col ref="deptflagnm"/>
- <col ref="chrgdeptnm"/>
- <col ref="chrgroomnm"/>
- <col ref="deptflagcd"/>
- <col ref="chrgdeptcd"/>
- <col ref="chrgroomcd"/>
- </datagrid>
- <datagrid id="grd_choiroomlist" nodeset="/root/main/choideptlist/choiroomlistinfo" visibility="hidden" caption="원목자아이디^담당부서코드^담당부서명^담당시작일자^담당종료일자^시작병실코드^담당병실코드^일련번호^담당시작일자_b" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:110px; top:170px; width:530px; height:225px; ">
- <col ref="conslrid"/>
- <col ref="chrgdeptcd"/>
- <col ref="chrgdeptnm"/>
- <col ref="chrgfromdd"/>
- <col ref="chrgtodd"/>
- <col ref="chrgstartroomcd"/>
- <col ref="chrgroomcd"/>
- <col ref="seqno"/>
- <col ref="chrgfromdd_b"/>
- </datagrid>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|