123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>기관별부서위치이동팝업</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <deptlist>
- <dept>
- <deptcd/>
- <valitodd/>
- <instcd/>
- <depthngnm/>
- <deptengnm/>
- <deptchinm/>
- <fstrgstdt/>
- <valifromdd/>
- <lastrgstrid/>
- <lastrgstdt/>
- <deptplce/>
- <deptengabbr/>
- <depthngabbr/>
- <reqfild/>
- <orddeptflag/>
- <reqdeptno/>
- <nextplceyn/>
- <nextplceprity/>
- <inetrsrvyn/>
- <cntctel/>
- <dutplceuseyn/>
- <reqauthdeptyn/>
- <planuseyn/>
- <planupdeptcd/>
- <plandispseq/>
- <orduseyn/>
- <ordupdeptcd/>
- <orddispseq/>
- <psnworkuseyn/>
- <psnworkupdeptcd/>
- <psnworkdispseq/>
- <purcuseyn/>
- <purcupdeptcd/>
- <purcdispseq/>
- <fnworkuseyn/>
- <fnworkupdeptcd/>
- <fnworkdispseq/>
- <careuseyn/>
- <careupdeptcd/>
- <caredispseq/>
- <gafruseyn/>
- <gafrupdeptcd/>
- <gafrdispseq/>
- <rcptuseyn/>
- <rcptupdeptcd/>
- <rcptdispseq/>
- <pamuseyn/>
- <pamupdeptcd/>
- <pamdispseq/>
- <healcareinfouseyn/>
- <healcareinfoupdeptcd/>
- <healcareinfodispseq/>
- <insuuseyn/>
- <insuupdeptcd/>
- <insudispseq/>
- <dgenuseyn/>
- <dgenupdeptcd/>
- <dgendispseq/>
- <etcuseyn/>
- <etcupdeptcd/>
- <etcdispseq/>
- <level/>
- </dept>
- </deptlist>
- <search>
- <searchcondition>deptnm</searchcondition>
- <searchterm/>
- </search>
- </main>
- <send>
- <data>
- </data>
- </send>
- </root>
- </instance>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var mv_src = opener.model.getValue("/root/main/move/mvsrc");
- var level = new Number(grd_deptlist.valueMatrix(mv_src, grd_deptlist.colRef("level")));
- var offset = mv_src;
-
- while( offset < grd_deptlist.rows){
- var comp_level = grd_deptlist.valueMatrix(offset, grd_deptlist.colRef("level"));
- if( offset == mv_src ){
- grd_deptlist.rowstyle( offset , "data" , "background-color" ) = "#c8e67b";
- }else if( comp_level > level){
- grd_deptlist.rowstyle( offset , "data" , "background-color" ) = "#c8e67b";
- }else if( comp_level <= level ){
- break;
- } else {
- break;
- }
- offset++;
- }
- setTreeItem( grd_deptlist, grd_deptlist.colRef("level"), grd_deptlist.colRef("depthngnm"));
- model.refresh();
- grd_deptlist.hscroll.attribute("pos") = 300;
- ]]>
- </script>
- <submission id="TRZSD00103" ref="/root/send/data" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/deptlist"/>
- </model>
- <script type="javascript" src="D:\CMCProject\application\webapps\com\hismainweb\js\DocTitle.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="517" pageheight="333" guideline="1,518;2,342;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_dept" scroll="auto" style="left:0px; top:0px; width:501px; height:306px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:105px; height:13px; ">부서코드 목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:500px; y2:25px; "/>
- <datagrid id="grd_deptlist" nodeset="/root/main/deptlist/dept" caption="행상태^상위 부서명^부서 한글명^부서코드^부서 영문명^부서 한문명^부서위치^부서 영문약어^부서 한글약어^청구분야^진료부서구분^청구부서번호^다음 가실곳 여부^다음 가실곳 우선순위^인터넷 예약구분^전화번호^근무지부서여부^청구권한부서^기획부서여부^기획상위부서^기획부서 출력순서^진료부서여부^진료상위부서^진료부서 출력순서^인사부서 여부^인사 상위부서^인사부서 출력순서^구매부서 사용여부^구매 상위부서^구매부서 출력순서^재무부서 사용여부^재무 상위부서^재무 출력순서^간호 사용여부^간호 상위부서^간호 출력순서^총무 사용여부^총무 상위부서^총무 출력순서^수납 사용여부^수납 상위부서^수납 출력순서^원무 사용여부^원무 상위부서^원무 출력순서^의료정보 사용여부^의료정보 상위부서^의료정보 출력순서^보험 사용여부^보험 상위부서^보험 출력순서^근태 사용여부^근태 상위부서^근태 출력순서^기타 사용여부^기타 상위부서^기타 출력순서^기관코드^유효 시작일자^유효 종료일자^레벨" colwidth="41, 300, 300, 127, 120, 100, 100, 100, 100, 100, 100, 124, 100, 100, 100, 121, 100, 100, 100, 100, 100, 100, 111, 100, 100, 113, 100, 100, 105, 111, 100, 107, 108, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 106, 107, 107, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" colsep="^" style="left:0px; top:30px; width:500px; height:276px; ">
- <col ref="rowstatus" visibility="hidden"/>
- <col ref="supdeptnm"/>
- <col ref="depthngnm"/>
- <col ref="deptcd"/>
- <col ref="deptengnm"/>
- <col ref="deptchinm"/>
- <col ref="deptplce"/>
- <col ref="deptengabbr"/>
- <col ref="depthngabbr"/>
- <col ref="reqfild"/>
- <col ref="orddeptflag"/>
- <col ref="reqdeptno"/>
- <col ref="nextplceyn"/>
- <col ref="nextplceprity"/>
- <col ref="inetrsrvyn"/>
- <col ref="cntctel"/>
- <col ref="dutplceuseyn"/>
- <col ref="reqauthdeptyn"/>
- <col ref="planuseyn"/>
- <col ref="plansupdeptcd"/>
- <col ref="plandispseq"/>
- <col ref="orduseyn"/>
- <col ref="ordsupdeptcd"/>
- <col ref="orddispseq"/>
- <col ref="psnworkuseyn"/>
- <col ref="psnworksupdeptcd"/>
- <col ref="psnworkdispseq"/>
- <col ref="purcuseyn"/>
- <col ref="purcsupdeptcd"/>
- <col ref="purcdispseq"/>
- <col ref="fnworkuseyn"/>
- <col ref="fnworksupdeptcd"/>
- <col ref="fnworkdispseq"/>
- <col ref="careuseyn"/>
- <col ref="caresupdeptcd"/>
- <col ref="caredispseq"/>
- <col ref="gafruseyn"/>
- <col ref="gafrsupdeptcd"/>
- <col ref="gafrdispseq"/>
- <col ref="rcptuseyn"/>
- <col ref="rcptsupdeptcd"/>
- <col ref="rcptdispseq"/>
- <col ref="pamuseyn"/>
- <col ref="pamsupdeptcd"/>
- <col ref="pamdispseq"/>
- <col ref="healcareinfouseyn"/>
- <col ref="healcareinfosupdeptcd"/>
- <col ref="healcareinfodispseq"/>
- <col ref="insuuseyn"/>
- <col ref="insusupdeptcd"/>
- <col ref="insudispseq"/>
- <col ref="dgenuseyn"/>
- <col ref="dgensupdeptcd"/>
- <col ref="dgendispseq"/>
- <col ref="etcuseyn"/>
- <col ref="etcsupdeptcd"/>
- <col ref="etcdispseq"/>
- <col ref="instcd"/>
- <col ref="valifromdd"/>
- <col ref="valitodd"/>
- <col ref="level"/>
- </datagrid>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:306px; width:501px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:385px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var mv_dest = grd_deptlist.row;
- if(mv_dest==-1){
- messageBox("위치 이동할 대상 부서가 선택되지", "E007") ;
- return;
- }else if(grd_deptlist.rowstyle(mv_dest, "data", "background-color")=="#c8e67b"){
- messageBox("이동할 원본 부서와 하위의 부서들은 이동대상 부서로 지정", "E001") ;
- return;
- }
- opener.model.setValue("/root/main/move/mvdest", mv_dest);
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:444px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|