123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973 |
- <?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>
- <list>
- <cntrorgdeptlist/>
- </list>
- <search>
- <deptmaster>
- <deptcd/>
- <deptnm/>
- <detail/>
- </deptmaster>
- </search>
- <data>
- <valifromdd/>
- <valitodd/>
- <deptcd/>
- <depthngnm/>
- <deptengnm/>
- <deptchinm/>
- <depthngabbr/>
- <deptengabbr/>
- <reqfild/>
- <orddeptflag/>
- <reqdeptno/>
- <nextplceyn/>
- <nextplceprity/>
- <inetrsrvyn/>
- <cntctel/>
- <dutplceuseyn/>
- <reqauthdeptyn/>
- <planuseyn/>
- <plansupdeptcd/>
- <plandispseq/>
- <orduseyn/>
- <ordsupdeptcd/>
- <orddispseq/>
- <clincdeptdispseq/>
- <psnworkuseyn/>
- <psnworksupdeptcd/>
- <psnworkdispseq/>
- <purcuseyn/>
- <purcsupdeptcd/>
- <purcdispseq/>
- <fnworkuseyn/>
- <fnworksupdeptcd/>
- <fnworkdispseq/>
- <careuseyn/>
- <caresupdeptcd/>
- <caredispseq/>
- <gafruseyn/>
- <gafrsupdeptcd/>
- <gafrdispseq/>
- <rcptuseyn/>
- <rcptsupdeptcd/>
- <rcptdispseq/>
- <pamuseyn/>
- <pamsupdeptcd/>
- <pamdispseq/>
- <healcareinfouseyn/>
- <healcareinfosupdeptcd/>
- <healcareinfodispseq/>
- <insuuseyn/>
- <insusupdeptcd/>
- <insudispseq/>
- <dgenuseyn/>
- <dgensupdeptcd/>
- <dgendispseq/>
- <homecareuseyn/>
- <homecaresupdeptcd/>
- <homecaredispseq/>
- <instsupdeptcd/>
- <instdispseq/>
- <instcd/>
- <orddeptkind/>
- <ordclsdeptflag/>
- <inorddeptnm/>
- <deptplce/>
- <valifromddkey/>
- <valitoddkey/>
- <supdeptcd/>
- <indepthngnm/>
- </data>
- <label>
- <left/>
- <right/>
- <deptinfo/>
- </label>
- </main>
- <send>
- <cntrorgdeptlist/>
- <fromdd/>
- <dept/>
- </send>
- <init>
- <insuuseyn>
- <Z0015>
- <cdid/>
- <cdnm/>
- </Z0015>
- </insuuseyn>
- <reqdeptnocode>
- <P0322>
- <cdid/>
- <cdnm/>
- </P0322>
- </reqdeptnocode>
- <reqfieldcode>
- <P0291>
- <cdid/>
- <cdnm/>
- </P0291>
- </reqfieldcode>
- </init>
- </root>
- </instance>
- <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="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD003.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- finitalize();
- zbcfGetCodeList(
- new Array("P0322", "P0291", "Z0015"),
- new Array("/root/init/reqdeptnocode", "/root/init/reqfieldcode", "/root/init/insuuseyn")
- );
- //fInitMainData();
-
- model.refresh();
- fInitMainDataControls(true);
- ]]>
- </script>
- <submission id="TRZSD00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /*
- 초기화 작업을 합니다.
- */
- function finitalize(){
- model.removeNodeset("/root/main/list/cntrorgdeptlist");
- var toDay = getCurrentDate();
- model.setValue("/root/send/fromdd",toDay);
- model.refresh();
- }
- /*
- 버튼 컨트롤들을 클릭했을때 공통으로 타는 함수입니다.
- control : "search" 는 조회 버튼 클릭
- "init"은 신규 버튼 클릭
- "save"는 저장 버튼 클릭
- grid : 그리드 컨트롤을 넘겨줍니다.
- param : 기타 param을 넘겨줍니다.
- */
- function fClicked(control, grid, param){
- if("search" == control){
- fSearchClick(grid, param);
- } else if("init" == control){
- model.reset();
- } else if("save" == control){
- fSaveClick(grid, param);
- } else if("delete" == control){
- fDeleteClick(grid, param);
- } else {
- messageBox("처리를 수행","E002");//권한이 없습니다.
- }
- }
-
- /*
- 조회버튼 클릭 타는 함수입니다.
- grid.explorerbar = "sortshow" sort설정합니다.
- ipt_search_item은 검색조건의 센터부서명 or 센터부서코드입니다.
- submit을 날립니다. .
- */
- function fSearchClick(grid, param){
- grid.explorerbar = "sortshow";
- model.removeNodeset("/root/main/list/cntrorgdeptlist");
- grid.rebuild();
-
- submit("TRZSD00203");
- grd_depthistorylist.rebuild(); //그리드를 초기화하여 현재의 인스턴스 구조로 재구성한다.
- setTree(grd_depthistorylist, 1, 2, true);
- }
- /*
- model.getValue(); 를 함수로 만들었습니다.
- param1 : node는 grid의 xPath입니다.
- param2 : row는 grid에서 선택한 row값입니다.
- param3 : element는 getvalue할 해당 element 명입니다.
-
- 해당 getvalue값을 return 해줍니다.
- return 하지 않으면 해당값을 가져올 수 없습니다.
- */
- function fGetValue(node, row, element) {
- var rtnValue = model.getValue(node + "[" + row + "]/" + element); //해당 ref 노드값 얻어오기.
- return rtnValue;
- }
-
- /*
- 조회된 노드를 클릭후 그에 해당하는 로우에 대해 추가 입력
- */
- function fSetRowValue(node, destinationelement, sourceelement, row) {
- model.makeValue(node + "[" + row + "]/" + destinationelement, sourceelement);
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;2,13;2,53;2,1626;2,843;2,797;1,7;">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">센터구성조회</caption>
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:7px; top:14px; width:1187px; height:39px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:360px; top:29px; width:154px; height:17px; ">센터구성유효기준일자</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" navindex="3" inputtype="date" format="yyyy-mm-dd" style="left:529px; top:29px; width:136px; height:19px; "/>
- <caption id="caption2" class="search_name" style="left:10px; top:29px; width:117px; height:17px; ">부서조회</caption>
- <caption id="caption9" class="tit_2" style="left:15px; top:74px; width:167px; height:14px; vertical-align:middle; ">센터 구성 부서</caption>
- <datagrid id="grd_depthistorylist" nodeset="/root/main/list/cntrorgdeptlist" class="datagrid2" caption="level^센터 구성 부서명^상위부서코드^하위부서코드^부서시작일자^부서종료일자^부서영문명칭^부서한문명칭^부서한글약어^부서영문약어^부서영문약어" colsep="^" colwidth="32, 140, 52, 52, 59, 60, 51, 56, 45, 48" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:15px; top:105px; width:497px; height:640px; ">
- <col ref="level" visibility="hidden"/>
- <col ref="depthngnm"/>
- <col ref="cntrsupdeptcd" visibility="hidden"/>
- <col ref="cntrsubdeptcd" visibility="hidden"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="valifromdd" visibility="hidden"/>
- <col ref="valitodd" visibility="hidden"/>
- <col ref="deptengnm" visibility="hidden"/>
- <col ref="deptchinm" visibility="hidden"/>
- <col ref="depthngabbr" visibility="hidden"/>
- <col ref="deptengabbr" visibility="hidden"/>
- <col ref="reqfild" visibility="hidden"/>
- <col ref="orddeptflag" visibility="hidden"/>
- <col ref="reqdeptno" visibility="hidden"/>
- <col ref="nextplceyn" visibility="hidden"/>
- <col ref="nextplceprity" visibility="hidden"/>
- <col ref="inetrsrvyn" visibility="hidden"/>
- <col ref="cntctel" visibility="hidden"/>
- <col ref="dutplceuseyn" visibility="hidden"/>
- <col ref="reqauthdeptyn" visibility="hidden"/>
- <col ref="planuseyn" visibility="hidden"/>
- <col ref="plansupdeptcd" visibility="hidden"/>
- <col ref="plandispseq" visibility="hidden"/>
- <col ref="orduseyn" visibility="hidden"/>
- <col ref="ordsupdeptcd" visibility="hidden"/>
- <col ref="orddispseq" visibility="hidden"/>
- <col ref="clincdeptdispseq" visibility="hidden"/>
- <col ref="psnworkuseyn" visibility="hidden"/>
- <col ref="psnworksupdeptcd" visibility="hidden"/>
- <col ref="psnworkdispseq" visibility="hidden"/>
- <col ref="purcuseyn" visibility="hidden"/>
- <col ref="purcsupdeptcd" visibility="hidden"/>
- <col ref="purcdispseq" visibility="hidden"/>
- <col ref="fnworkuseyn" visibility="hidden"/>
- <col ref="fnworksupdeptcd" visibility="hidden"/>
- <col ref="fnworkdispseq" visibility="hidden"/>
- <col ref="careuseyn" visibility="hidden"/>
- <col ref="caresupdeptcd" visibility="hidden"/>
- <col ref="caredispseq" visibility="hidden"/>
- <col ref="gafruseyn" visibility="hidden"/>
- <col ref="gafrsupdeptcd" visibility="hidden"/>
- <col ref="gafrdispseq" visibility="hidden"/>
- <col ref="rcptuseyn" visibility="hidden"/>
- <col ref="rcptsupdeptcd" visibility="hidden"/>
- <col ref="rcptdispseq" visibility="hidden"/>
- <col ref="pamuseyn" visibility="hidden"/>
- <col ref="pamsupdeptcd" visibility="hidden"/>
- <col ref="pamdispseq" visibility="hidden"/>
- <col ref="healcareinfouseyn" visibility="hidden"/>
- <col ref="healcareinfosupdeptcd" visibility="hidden"/>
- <col ref="healcareinfodispseq" visibility="hidden"/>
- <col ref="insuuseyn" visibility="hidden"/>
- <col ref="insusupdeptcd" visibility="hidden"/>
- <col ref="insudispseq" visibility="hidden"/>
- <col ref="dgenuseyn" visibility="hidden"/>
- <col ref="dgensupdeptcd" visibility="hidden"/>
- <col ref="dgendispseq" visibility="hidden"/>
- <col ref="homecareuseyn" visibility="hidden"/>
- <col ref="homecaresupdeptcd" visibility="hidden"/>
- <col ref="homecaredispseq" visibility="hidden"/>
- <col ref="instsupdeptcd" visibility="hidden"/>
- <col ref="instdispseq" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="orddeptkind" visibility="hidden"/>
- <col ref="ordclsdeptflag" visibility="hidden"/>
- <col ref="inorddeptnm" visibility="hidden"/>
- <col ref="deptplce" visibility="hidden"/>
- <col ref="supdeptcd" visibility="hidden"/>
- <col ref="indepthngnm" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- btn_search_deptinfo.dispatch("DOMActivate");
- ]]>
- </script>
- </datagrid>
- <button id="btn_search_deptinfo" class="btn2_letter2" visibility="hidden" style="left:320px; top:67px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* datagrid
- explorerbar : 사용자가 그리드 열의 헤더(캡션) 을 사용하여 할 수 있는 동작을 설정하는 속성이다.
- sortshow : sort기능을 하며 헤더에 작은 화살표시로 정렬 방식 을 표현 (오름차순, 내림차순)
- */
- fInitMainDataControls(false);
- fHistoryGrid2Main();
-
- fInitMainDataControls(true);
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line15" class="line_1" style="x1:0px; y1:90px; x2:1194px; y2:90px; "/>
- <input id="ipt_searchcntrdept" ref="/root/main/search/deptmaster/deptnm" class="input_s_essential" navindex="32" inputtype="button" style="left:99px; top:29px; width:180px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var deptcd = model.getValue("/root/main/search/deptmaster/deptcd").getTrim();
- var deptnm = model.getValue("/root/main/search/deptmaster/deptnm").getTrim();
- var selected_index = -1;
- if(deptcd!=""&&deptnm!=""){
- selected_index = fFindGridTreeItem(grd_depthistorylist, deptcd, grd_depthistorylist.colRef("deptcd"), grd_depthistorylist.colRef("level"));
- if(selected_index==-1){
- var deptnm = model.getValue("/root/main/search/cntrorg/deptnm").getTrim();
- alert("해당 부서(부서코드:"+deptcd+",부서명:"+deptnm+")이 존재하지 않습니다.");
- }else{
- grd_depthistorylist.row = selected_index;
- grd_depthistorylist.topRow = selected_index;
- }
- }
- ]]>
- </script>
- </input>
- <img id="img2" class="icon_search" style="left:284px; top:29px; width:16px; height:16px; background-stretch:stretch; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_depthistorylist.rows<2){
- alert("조회된 센터구성리스트가 없습니다.");
- return;
- }
-
- var search_condition = "deptnm";
- var search_term = model.getValue("/root/main/search/deptmaster/deptnm");
- var receive_deptcd_path = "/root/main/search/deptmaster/deptcd";
- var receive_deptnm_path = "/root/main/search/deptmaster/deptnm"
- var receive_detail_path = "/root/main/search/deptmaster/detail";
- 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"),
- receive_detail_path
- );
- var selected_index = -1;
- var deptcd =model.getValue("/root/main/search/deptmaster/deptcd");
- var deptnm =model.getValue("/root/main/search/deptmaster/deptnm");
- if(deptcd!=""&&deptnm!=""){
- selected_index = fFindGridTreeItem(grd_depthistorylist, deptcd, grd_depthistorylist.colRef("subdeptcd"), grd_depthistorylist.colRef("level"));
- if(selected_index==-1){
- var deptnm = model.getValue("/root/main/search/deptmaster/deptnm").getTrim();
- alert("해당 부서(부서코드:"+deptcd+",부서명:"+deptnm+")이 존재하지 않습니다.");
- }else{
- grd_depthistorylist.row = selected_index;
- grd_depthistorylist.topRow = selected_index;
- }
- }
- ]]>
- </script>
- </img>
- <button id="button3" class="btn1_letter2" style="left:740px; top:29px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClicked("search", grd_depthistorylist);
- ]]>
- </script>
- </button>
- <line id="line12" class="line_4" style="x1:726px; y1:29px; x2:726px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
- <group id="group_master" style="left:373px; top:67px; width:145px; height:19px; ">
- <button id="btn_clsdepttotalopen" class="btn2_letter5" style="left:0px; top:0px; width:75px; height:19px; ">
- <caption>전체펼치기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i=grd_depthistorylist.fixedRows; i<grd_depthistorylist.rows;i++){
- grd_depthistorylist.iscollapsed(i)=false;
- }
- ]]>
- </script>
- </button>
- <button id="btn_clsdepttotalclose" class="btn2_letter4" style="left:76px; top:0px; width:64px; height:19px; ">
- <caption>전체닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- for(var i=grd_depthistorylist.fixedRows; i<grd_depthistorylist.rows;i++){
- grd_depthistorylist.iscollapsed(i)=true;
- }
- ]]>
- </script>
- </button>
- </group>
- <img id="img4" class="icon_right" style="left:612px; top:250px; width:26px; height:19px; background-stretch:stretch; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- </img>
- <caption id="caption8" class="tit_2" style="left:730px; top:75px; width:167px; height:13px; vertical-align:middle; ">기관부서 상세정보 보기</caption>
- <select1 id="cmb_pamuseyn" ref="/root/main/data/pamuseyn" class="combo_essential" navindex="30" appearance="minimal" style="left:854px; top:726px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <caption id="caption70" class="cell_1" style="left:728px; top:701px; width:125px; height:23px; vertical-align:middle; ">재무 사용여부</caption>
- <input id="ipt_deptengnm" ref="/root/main/data/deptengnm" class="input_essential" navindex="5" imemode="disabled" maxlength="60" style="left:854px; top:202px; width:228px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- var strlen = 0;
- var str = ipt_deptengnm.currentText
- for (var i=0; i<str.length; i++) {
- strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
- if (strlen > 64) {
- messageBox("최대입력글자인 64byte를 ", "E003");
- strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
- break;
- }
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_healcareinfouseyn" ref="/root/main/data/healcareinfouseyn" class="combo_essential" navindex="26" appearance="minimal" style="left:854px; top:678px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <caption id="caption71" class="cell_1" style="left:728px; top:629px; width:125px; height:23px; vertical-align:middle; ">기획 사용여부</caption>
- <select1 id="cmb_ordclsdeptflag" ref="/root/main/data/ordclsdeptflag" class="combo_essential" navindex="19" appearance="minimal" style="left:815px; top:581px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>분과</label>
- <value>C</value>
- </item>
- <item>
- <label>대표과</label>
- <value>R</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_depthngabbr" ref="/root/main/data/depthngabbr" class="input_essential" navindex="7" maxlength="21" style="left:854px; top:298px; width:228px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- var strlen = 0;
- var str = ipt_depthngabbr.currentText
- for (var i=0; i<str.length; i++) {
- strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
- if (strlen > 64) {
- messageBox("최대입력글자인 64byte를 ", "E003");
- strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
- break;
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_inorddeptnm" ref="/root/main/data/inorddeptnm" class="input_essential" navindex="4" maxlength="21" style="left:854px; top:179px; width:228px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- var strlen = 0;
- var str = ipt_inorddeptnm.currentText
- for (var i=0; i<str.length; i++) {
- strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
- if (strlen > 64) {
- messageBox("최대입력글자인 64byte를 ", "E003");
- strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
- break;
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption61" class="cell_1" style="left:728px; top:557px; width:86px; height:23px; vertical-align:middle; ">진료부서구분</caption>
- <caption id="caption72" class="cell_1" style="left:728px; top:437px; width:125px; height:23px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption51" class="cell_1" style="left:905px; top:701px; width:125px; height:23px; vertical-align:middle; ">총무 사용여부</caption>
- <caption id="caption40" class="cell_1" style="left:728px; top:677px; width:125px; height:23px; vertical-align:middle; ">의료정보 사용여부</caption>
- <select1 id="cmb_insuuseyn" ref="/root/main/data/insuuseyn" class="combo_essential" navindex="21" appearance="minimal" style="left:856px; top:606px; width:221px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/insuuseyn/Z0015">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddeptflag" ref="/root/main/data/orddeptflag" class="combo_essential" navindex="19" appearance="minimal" style="left:815px; top:557px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>입원진료과</label>
- <value>D</value>
- </item>
- <item>
- <label>병동</label>
- <value>W</value>
- </item>
- <item>
- <label>Consult부서</label>
- <value>A</value>
- </item>
- <item>
- <label>기타</label>
- <value>X</value>
- </item>
- <item>
- <label>진료지원수행부서</label>
- <value>E</value>
- </item>
- </choices>
- </select1>
- <caption id="caption62" class="cell_1" style="left:905px; top:413px; width:125px; height:23px; vertical-align:middle; ">다음 가실곳 우선순위</caption>
- <input id="ipt_depthngnm" ref="/root/main/data/depthngnm" class="input_essential" navindex="6" maxlength="21" style="left:854px; top:250px; width:228px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- var strlen = 0;
- var str = ipt_depthngnm.currentText
- for (var i=0; i<str.length; i++) {
- strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
- if (strlen > 64) {
- messageBox("최대입력글자인 64byte를 ", "E003");
- strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
- break;
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption63" class="cell_1" style="left:728px; top:725px; width:125px; height:23px; vertical-align:middle; ">원무 사용여부</caption>
- <select1 id="cmb_purcuseyn" ref="/root/main/data/purcuseyn" class="combo_essential" navindex="23" appearance="minimal" style="left:1031px; top:630px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <caption id="caption53" class="cell_1" style="left:728px; top:226px; width:125px; height:23px; vertical-align:middle; ">부서코드 한문명칭</caption>
- <caption id="caption43" class="cell_1" style="left:905px; top:677px; width:125px; height:23px; vertical-align:middle; ">인사 사용여부</caption>
- <select1 id="cmb_rcptuseyn" ref="/root/main/data/rcptuseyn" class="combo_essential" navindex="25" appearance="minimal" style="left:1031px; top:654px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <caption id="caption65" class="cell_1" style="left:905px; top:389px; width:125px; height:23px; vertical-align:middle; ">인터넷 예약구분</caption>
- <caption id="caption54" class="cell_1" style="left:728px; top:346px; width:125px; height:42px; vertical-align:middle; ">부서 위치</caption>
- <input id="ipt_deptchinm" ref="/root/main/data/deptchinm" class="input_essential" navindex="6" maxlength="21" style="left:854px; top:226px; width:228px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- var strlen = 0;
- var str = ipt_deptchinm.currentText
- for (var i=0; i<str.length; i++) {
- strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
- if (strlen > 64) {
- messageBox("최대입력글자인 64byte를 ", "E003");
- strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
- break;
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption44" class="cell_1" style="left:728px; top:653px; width:125px; height:23px; vertical-align:middle; ">간호사용여부</caption>
- <caption id="caption55" class="cell_1" style="left:728px; top:509px; width:125px; height:23px; vertical-align:middle; ">청구분야</caption>
- <input id="ipt_supdeptcd" class="input_essential" navindex="13" style="left:971px; top:461px; width:109px; height:19px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- /*
- if(mode_detail=="create"){//추가시 상위부서를 지정하는 경우
- var from = model.getValue("/root/main/data/valifromdd");
- var to= model.getValue("/root/main/data/valitodd");
- var is_valid_duration = fValidateDuration(from, to);
- if(!is_valid_duration){
- alert("유효종료일자는 유효시작일자보다 커야합니다.");
- return;
- }
- var min_valifromdd = fGetMinValifromddFutureDeptHistory();
- if(min_valifromdd>from){
- alert("유효시작일자는 이전이력의 종료일자보다 커야 합니다.");
- return;
- }
- }else if(mode_detail=="update"){
- }else if(mode_detail=="delete"){
- }
- */
- ]]>
- </script>
- </input>
- <select1 id="cmb_reqauthdeptyn" ref="/root/main/data/reqauthdeptyn" class="combo_essential" navindex="15" appearance="minimal" style="left:854px; top:461px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_nextplceyn" ref="/root/main/data/nextplceyn" class="combo_essential" navindex="12" appearance="minimal" style="left:854px; top:413px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <textarea id="tar_deptplce" ref="/root/main/data/deptplce" navindex="9" maxlength="21" style="left:854px; top:346px; width:228px; height:42px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- var strlen = 0;
- var str = tar_deptplce.currentText
- for (var i=0; i<str.length; i++) {
- strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
- if (strlen > 64) {
- messageBox("최대입력글자인 64byte를 ", "E003");
- strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
- break;
- }
- }
- ]]>
- </script>
- </textarea>
- <caption id="caption3" class="cell_1" style="left:728px; top:250px; width:125px; height:23px; vertical-align:middle; ">외래진료부서명</caption>
- <caption id="caption66" class="cell_1" style="left:728px; top:178px; width:125px; height:23px; vertical-align:middle; ">부서명 (MIS사용)</caption>
- <caption id="caption11" class="cell_1" style="left:728px; top:106px; width:125px; height:23px; vertical-align:middle; ">유효 시작일자</caption>
- <select1 id="cmb_homecareuseyn" ref="/root/main/data/homecareuseyn" class="combo_essential" navindex="31" appearance="minimal" style="left:1031px; top:726px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <caption id="caption45" class="cell_1" style="left:728px; top:533px; width:86px; height:23px; vertical-align:middle; ">진료사용여부</caption>
- <caption id="caption56" class="cell_1" style="left:728px; top:485px; width:125px; height:23px; vertical-align:middle; ">청구과 번호</caption>
- <caption id="caption4" class="cell_1" style="left:728px; top:130px; width:125px; height:23px; vertical-align:middle; ">유효 종료일자</caption>
- <select1 id="cmb_dgenuseyn" ref="/root/main/data/dgenuseyn" class="combo_essential" navindex="20" appearance="minimal" style="left:992px; top:581px; width:88px; height:19px; ">
- <choices>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_clincdeptdispseq" ref="/root/main/data/clincdeptdispseq" class="input_essential" navindex="13" style="left:991px; top:533px; width:90px; height:19px; "/>
- <caption id="caption46" class="cell_1" style="left:728px; top:461px; width:125px; height:23px; vertical-align:middle; ">청구 권한 부서</caption>
- <caption id="caption57" class="cell_1" style="left:728px; top:413px; width:125px; height:23px; vertical-align:middle; ">다음 가실곳 여부</caption>
- <caption id="caption68" class="cell_1" style="left:728px; top:389px; width:125px; height:23px; vertical-align:middle; ">근무지사용여부</caption>
- <select1 id="cmb_dutplceuseyn" ref="/root/main/data/dutplceuseyn" class="combo_essential" navindex="10" appearance="minimal" style="left:854px; top:389px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <caption id="caption5" class="cell_1" style="left:905px; top:725px; width:125px; height:23px; vertical-align:middle; ">그룹웨어 사용여부</caption>
- <select1 id="cmb_gafruseyn" ref="/root/main/data/gafruseyn" class="combo_essential" navindex="29" appearance="minimal" style="left:1031px; top:702px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <caption id="caption36" class="cell_1" style="left:905px; top:653px; width:125px; height:23px; vertical-align:middle; ">수납 사용여부</caption>
- <caption id="caption25" class="cell_1" style="left:911px; top:556px; width:84px; height:23px; vertical-align:middle; ">진료부서유형</caption>
- <caption id="caption69" class="cell_1" style="left:728px; top:322px; width:125px; height:23px; vertical-align:middle; ">부서 영문약어</caption>
- <caption id="caption14" class="cell_1" style="left:728px; top:274px; width:125px; height:23px; vertical-align:middle; ">입원진료부서명</caption>
- <caption id="caption58" class="cell_1" style="left:728px; top:202px; width:125px; height:23px; vertical-align:middle; ">부서코드 영문명칭</caption>
- <input id="ipt_valifromdd" ref="/root/main/data/valifromdd" class="input_search" navindex="1" inputtype="date" style="left:854px; top:107px; width:228px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- ipt_valifromdd.attribute("_value") = ipt_valifromdd.value;
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- ipt_valifromdd.attribute("_value") = ipt_valifromdd.value;
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var valifromdd = model.getValue("/root/main/data/valifromdd").getTrim();
- var valitodd = model.getValue("/root/main/data/valitodd").getTrim();
- var valifromdd_key = model.getValue("/root/main/data/valifromddkey").getTrim();
- var valitodd_key = model.getValue("/root/main/data/valitoddkey").getTrim();
- if(valifromdd!=""&&valitodd!=""){
- var result = fInspectDate(valifromdd, valitodd, valifromdd_key, valitodd_key);
- if(!result){
- ipt_valifromdd.value = ipt_valifromdd.attribute("_value");
- model.setFocus("ipt_valifromdd");
- return;
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption48" class="cell_1" style="left:905px; top:629px; width:125px; height:23px; vertical-align:middle; ">구매 사용여부</caption>
- <caption id="caption15" class="cell_1" style="left:896px; top:532px; width:94px; height:23px; vertical-align:middle; ">임상과출력순서</caption>
- <caption id="caption59" class="cell_1" style="left:728px; top:154px; width:125px; height:23px; vertical-align:middle; ">부서코드</caption>
- <select1 id="cmb_fnworkuseyn" ref="/root/main/data/fnworkuseyn" class="combo_essential" navindex="28" appearance="minimal" style="left:854px; top:702px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_psnworkuseyn" ref="/root/main/data/psnworkuseyn" class="combo_essential" navindex="27" appearance="minimal" style="left:1031px; top:678px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_careuseyn" ref="/root/main/data/careuseyn" class="combo_essential" navindex="24" appearance="minimal" style="left:854px; top:654px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="cell_1" style="left:727px; top:605px; width:128px; height:23px; vertical-align:middle; ">보험사용여부</caption>
- <input id="ipt_nextplceprity" ref="/root/main/data/nextplceprity" class="input_essential" navindex="13" maxlength="4" format="999999-9999999" style="left:1031px; top:413px; width:50px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- var strlen = 0;
- var str = ipt_nextplceprity.currentText
- for (var i=0; i<str.length; i++) {
- strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
- if (strlen > 4) {
- messageBox("최대입력글자인 4byte를 ", "E003");
- strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
- break;
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption49" class="cell_1" style="left:728px; top:298px; width:125px; height:23px; vertical-align:middle; ">부서 한글약어</caption>
- <input id="ipt_deptcd" ref="/root/main/data/deptcd" class="input_essential" navindex="3" style="left:854px; top:155px; width:228px; height:19px; "/>
- <input id="ipt_valitodd" ref="/root/main/data/valitodd" class="input_search" navindex="2" inputtype="date" style="left:855px; top:131px; width:228px; height:19px; ">
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- ipt_valitodd.attribute("_value") = ipt_valitodd.value;
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- ipt_valitodd.attribute("_value") = ipt_valitodd.value;
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var valifromdd = model.getValue("/root/main/data/valifromdd").getTrim();
- var valifromdd_key = model.getValue("/root/main/data/valifromddkey").getTrim();
- var valitodd = model.getValue("/root/main/data/valitodd").getTrim();
- var valitodd_key = model.getValue("/root/main/data/valitoddkey").getTrim();
- if(valifromdd!=""&&valitodd!=""){
- var result = fInspectDate(valifromdd, valitodd, valifromdd_key, valitodd_key);
- if(!result){
- ipt_valitodd.value = ipt_valitodd.attribute("_value");
- model.setFocus("ipt_valitodd");
- return;
- }
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_planuseyn" ref="/root/main/data/planuseyn" class="combo_essential" navindex="22" appearance="minimal" style="left:854px; top:630px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <caption id="caption17" class="cell_1" style="left:728px; top:581px; width:86px; height:23px; vertical-align:middle; ">진료분과구분</caption>
- <select1 id="cmb_orddeptkind" ref="/root/main/data/orddeptkind" class="combo_essential" navindex="19" appearance="minimal" style="left:996px; top:557px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>센터</label>
- <value>C</value>
- </item>
- <item>
- <label>일반부서</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_inetrsrvyn" ref="/root/main/data/inetrsrvyn" class="combo_essential" navindex="11" appearance="minimal" style="left:1031px; top:389px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_indepthngnm" ref="/root/main/data/indepthngnm" class="input_essential" navindex="6" maxlength="21" style="left:854px; top:274px; width:228px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- var strlen = 0;
- var str = ipt_indepthngnm.currentText
- for (var i=0; i<str.length; i++) {
- strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
- if (strlen > 64) {
- messageBox("최대입력글자인 64byte를 ", "E003");
- strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
- break;
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption10" class="cell_1" style="left:896px; top:580px; width:94px; height:23px; vertical-align:middle; ">근태 사용여부</caption>
- <select1 id="cmb_orduseyn" ref="/root/main/data/orduseyn" class="combo_essential" navindex="18" appearance="minimal" style="left:815px; top:533px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>사용안함</label>
- <value>N</value>
- </item>
- <item>
- <label>사용함</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var orduseyn = model.getValue("/root/main/data/orduseyn");
- if(orduseyn=="Y"){
- cmb_orddeptflag.disabled = false;
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_reqdeptno" ref="/root/main/data/reqdeptno" class="combo_essential" navindex="16" appearance="minimal" style="left:855px; top:485px; width:225px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqdeptnocode/P0322">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption19" class="cell_1" style="left:905px; top:461px; width:65px; height:23px; vertical-align:middle; ">상위부서</caption>
- <select1 id="cmb_reqfild" ref="/root/main/data/reqfild" class="combo_essential" navindex="17" appearance="minimal" style="left:854px; top:509px; width:226px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reqfieldcode/P0291">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_cntctel" ref="/root/main/data/cntctel" class="input_essential" navindex="14" maxlength="20" style="left:854px; top:437px; width:228px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- var strlen = 0;
- var str = ipt_cntctel.currentText;
- for (var i=0; i<str.length; i++) {
- strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
- if (strlen > 20) {
- messageBox("최대입력글자인 20byte를 ", "E003");
- strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
- break;
- }
- }
- ]]>
- </script>
- </input>
- <input id="ipt_deptengabbr" ref="/root/main/data/deptengabbr" class="input_essential" navindex="8" imemode="disabled" maxlength="10" style="left:854px; top:322px; width:228px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- var strlen = 0;
- var str = ipt_deptengabbr.currentText
- for (var i=0; i<str.length; i++) {
- strlen += (str.charCodeAt(i) > 128) ? 2 : 1;
- if (strlen > 10) {
- messageBox("최대입력글자인 10byte를 ", "E003");
- strlen -= (str.charCodeAt(i) > 128) ? 2 : 1;
- break;
- }
- }
- ]]>
- </script>
- </input>
- </xhtml:body>
- </xhtml:html>
|