123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>VDI사용자관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <offictourinfo>
- <offictourlist>
- <orddrnm/>
- <orddrid/>
- <fromdd/>
- <todd/>
- <vdiappyn/>
- <instcd/>
- <holiflag/>
- <seqno/>
- <instnm/>
- <ordendresn/>
- </offictourlist>
- </offictourinfo>
- <vdireqinfo>
- <vdireqlist>
- <chk/>
- <instnm/>
- <appdd/>
- <prfnm/>
- <prfid/>
- <dgdtserl/>
- <cnclyn/>
- <orddeptcd/>
- <orddeptnm/>
- <fromdd/>
- <todd/>
- <reqpsn/>
- <aprvyn/>
- <p_instcd/>
- <p_orddrid/>
- <p_orddeptcd/>
- <p_holiflag/>
- <p_seqno/>
- </vdireqlist>
- </vdireqinfo>
- <requserinfo>
- <requserlist>
- <instcd/>
- <reqdeptcd/>
- <reqdeptnm/>
- <reqmanid/>
- <reqmannm/>
- <startdd/>
- <enddd/>
- </requserlist>
- </requserinfo>
- </main>
- <send>
- <searchoffictour>
- <inst031/>
- <inst032/>
- <instcd/>
- <orddrid/>
- <orddrnm/>
- </searchoffictour>
- <searchvdi>
- <inst031/>
- <inst032/>
- <instcd/>
- <orddrnm/>
- <orddrid/>
- <reqpsn/>
- <aprvyn/>
- <fromdd/>
- <todd/>
- <fromappdd/>
- <toappdd/>
- </searchvdi>
- <save>
- <vdireqlist/>
- <requserlist>
- <p_instcd/>
- <prfid/>
- <orddeptcd/>
- <fromdd/>
- <todd/>
- </requserlist>
- </save>
- </send>
- <init>
- </init>
- <hidden>
- <onerowselect/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
-
- //btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <submission id="TRZSA30000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchoffictour" resultref="/root/main/offictourinfo"/>
- <submission id="TRZSA30001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchvdi" resultref="/root/main/vdireqinfo"/>
- <submission id="TXZSA30000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp/temp"/>
- <submission id="TXZSA30001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp/temp"/>
- <submission id="TXZSA30002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
-
- //출장자 리스트 Clear
- model.removeNodeset(grd_offictourlist.nodeset);
- grd_offictourlist.refresh();
-
- //VDI신청자 리스트 Clear
- model.removeNodeset(grd_vdireqlist.nodeset);
- grd_vdireqlist.refresh();
-
- // 승인버튼 visible여부 세팅
- var dutplcecd = getUserInfo("dutplcecd");
- if( dutplcecd == "4130116000" ){ //의료정보센터이면
- btn_confirm.visible = true;
- } else {
- model.setValue("/root/send/searchvdi/orddrid",getUserId());
- model.setValue("/root/send/searchvdi/orddrnm",getUserName());
- }
-
- // 사용자 이름, ID 세팅
- model.setValue("/root/send/searchoffictour/orddrid",getUserId());
- model.setValue("/root/send/searchoffictour/orddrnm",getUserName());
-
- // 승인여부 세팅(전체)
- model.setValue("/root/send/searchvdi/aprvyn", "A");
-
- // 출장자리스트 조회(본인)
- fSearchOffictour();
-
- // 직원 정보 세팅
- model.makevalue("/root/main/requserinfo/requserlist/reqdd",getCurrentDate());
- model.makevalue("/root/main/requserinfo/requserlist/gubun",model.getValue("/root/hidden/gubun"));
- model.makeValue("/root/main/requserinfo/requserlist/instcd", getUserInfo("dutplceinstcd"));
-
- //model.setvalue("/root/send/auth/reqdd",getCurrentDate());
- //model.setvalue("/root/send/prgmrlist/reqdd",getCurrentDate());
- //model.setvalue("/root/send/userinfo/reqdd",getCurrentDate());
- model.setvalue("/root/main/requserinfo/requserlist/reqmanid",getUserId());
- model.setvalue("/root/main/requserinfo/requserlist/reqmannm",getUserName());
- model.setvalue("/root/main/requserinfo/requserlist/reqdeptcd",getUserInfo("dutplcecd"));
- model.setvalue("/root/main/requserinfo/requserlist/reqdeptnm",getUserInfo("dutplcenm"));
- model.setvalue("/root/main/requserinfo/requserlist/startdd",getCurrentDate());
- model.setvalue("/root/main/requserinfo/requserlist/enddd",getCurrentDate());
-
- model.refresh();
- }
-
- function fSearchOffictour(){
- submit("TRZSA30000",false);
- grd_offictourlist.refresh();
- }
-
- function fSearchVdi(){
- grd_vdireqlist.clearStatus();
- model.resetInstanceNode("/root/main/vdireqinfo");
-
- submit("TRZSA30001",false);
- grd_vdireqlist.refresh();
-
- }
-
-
- function fAprvVdi(){
-
- if(!checkGridUpdate(grd_vdireqlist))
- {
- messageBox("저장할 자료가 ","E014");
- return;
- }
-
-
- model.setValue("/root/send/save/vdireqlist", grd_vdireqlist.getUpdateData());
-
- if ( submit("TXZSA30001") ) {
-
- fSearchVdi();
- //grd_vdireqlist.refresh();
- }
-
- }
-
- function fSave() {
-
- if(!checkGridUpdate(grd_vdireqlist))
- {
- messageBox("저장할 자료가 ","E014");
- return;
- }
-
- if(messageBox("", "Q002") == 7) {
- return;
- }
-
- model.setValue("/root/send/save/vdireqlist", grd_vdireqlist.getUpdateData());
-
- if ( submit("TXZSA30000") ) {
-
- fSearchOffictour();
- fSearchVdi();
- //grd_vdireqlist.refresh();
- }
-
- }
-
- function fSaveUser() {
-
- if(model.getValue("/root/main/requserinfo/requserlist/instcd").getTrim()=="")
- {
- messageBox("기관은 ", "I003");
- return false;
- }
- if(model.getValue("/root/main/requserinfo/requserlist/reqdeptnm").getTrim()=="")
- {
- messageBox("사용부서는 ", "I003");
- return false;
- }
- if(model.getValue("/root/main/requserinfo/requserlist/reqmannm").getTrim()=="")
- {
- messageBox("사용자는 ", "I003");
- return false;
- }
- if(model.getValue("/root/main/requserinfo/requserlist/startdd").getTrim()=="")
- {
- messageBox("사용시작일은 ", "I003");
- return false;
- }
- if(model.getValue("/root/main/requserinfo/requserlist/enddd").getTrim()=="")
- {
- messageBox("사용종료일은 ", "I003");
- return false;
- }
-
-
- if(messageBox("", "Q014") == 7) {
- return;
- }
-
- model.resetInstanceNode("/root/send/save/requserlist");
- //model.makeNode("/root/send/save/requserlist");
-
- //model.copyNode("/root/send/save/requserlist", "/root/main/requserinfo/requserlist");
-
- var prfid = model.getValue("/root/main/requserinfo/requserlist/reqmanid");
- var orddeptcd = model.getValue("/root/main/requserinfo/requserlist/reqdeptcd");
- var fromdd = model.getValue("/root/main/requserinfo/requserlist/startdd");
- var todd = model.getValue("/root/main/requserinfo/requserlist/enddd");
- var instcd = model.getValue("/root/main/requserinfo/requserlist/instcd");
-
- model.setValue("/root/send/save/requserlist/prfid", prfid);
- model.setValue("/root/send/save/requserlist/orddeptcd", orddeptcd);
- model.setValue("/root/send/save/requserlist/fromdd", fromdd);
- model.setValue("/root/send/save/requserlist/todd", todd);
- model.setValue("/root/send/save/requserlist/p_instcd", instcd);
-
- if ( submit("TXZSA30002") ) {
- fSearchVdi();
- }
- }
-
- function fCheckInstcd() {
-
- if (chk_inst031.value == "true" && chk_inst032.value != "true") {
- model.setValue("/root/send/searchoffictour/instcd", "031");
- } else if (chk_inst031.value != "true" && chk_inst032.value == "true") {
- model.setValue("/root/send/searchoffictour/instcd", "032");
- } else {
- model.setValue("/root/send/searchoffictour/instcd", "");
- }
- }
-
- function fCheckInstcd2() {
-
- if (chk_inst031_2.value == "true" && chk_inst032_2.value != "true") {
- model.setValue("/root/send/searchvdi/instcd", "031");
- } else if (chk_inst031_2.value != "true" && chk_inst032_2.value == "true") {
- model.setValue("/root/send/searchvdi/instcd", "032");
- } else {
- model.setValue("/root/send/searchvdi/instcd", "");
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1195" pageheight="780">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:189px; height:15px; ">VDI 사용자 관리</caption>
- </group>
- <group id="group4" style="left:397px; top:12px; width:796px; height:768px; ">
- <line id="line1" class="line_1" style="x1:10px; y1:116px; x2:795px; y2:116px; "/>
- <caption id="caption6" class="tit_2" style="left:10px; top:100px; width:145px; height:13px; ">VDI 신청자 리스트</caption>
- <datagrid id="grd_vdireqlist" nodeset="/root/main/vdireqinfo/vdireqlist" caption="^기관^사용자명^사용자ID^부서^시작일자^종료일자^신청자^신청일자^승인여부^p_instcd^p_orddrid^p_orddeptcd^p_holiflag^p_seqno^orddeptcd^dgdtserl" colsep="^" colwidth="22, 45, 90, 80, 110, 85, 85, 90, 80, 60, 0, 0, 0, 0, 0, 0, 0" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:10px; top:120px; width:785px; height:620px; ">
- <col ref="chk" type="checkbox"/>
- <col ref="instnm" style="text-align:center; "/>
- <col ref="prfnm" style="text-align:center; "/>
- <col ref="prfid" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col editable="true" ref="fromdd" type="input" format="yyyy/mm/dd" style="text-align:center; "/>
- <col editable="true" ref="todd" type="input" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="reqpsn" style="text-align:center; "/>
- <col ref="appdd" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="aprvyn" style="text-align:center; "/>
- <col ref="p_instcd" visibility="hidden" style="text-align:center; "/>
- <col ref="p_orddrid" visibility="hidden" style="text-align:center; "/>
- <col ref="p_orddeptcd" visibility="hidden" style="text-align:center; "/>
- <col ref="p_holiflag" visibility="hidden" style="text-align:center; "/>
- <col ref="p_seqno" visibility="hidden" style="text-align:center; "/>
- <col ref="orddeptcd" visibility="hidden" style="text-align:center; "/>
- <col ref="dgdtserl" visibility="hidden" style="text-align:center; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if (isDataCell() == true) {
- if ( grd_vdireqlist.col == 1 && grd_vdireqlist.row != 0 ) {
- var tmpChk = model.getValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/chk");
-
- if( grd_vdireqlist.rowStatus(grd_vdireqlist.row) == 2 && tmpChk == "false" ) {
-
- grd_vdireqlist.rowStatus(grd_vdireqlist.row) = 0;
- grd_vdireqlist.refresh();
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:8px; top:7px; width:787px; height:83px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption7" class="search_name" style="left:13px; top:14px; width:94px; height:17px; ">사용자명</caption>
- <input id="input2" ref="/root/send/searchvdi/orddrnm" navindex="4" style="left:120px; top:14px; width:72px; height:19px; "/>
- <input id="input4" ref="/root/send/searchvdi/orddrid" navindex="5" style="left:329px; top:15px; width:72px; height:19px; "/>
- <caption id="caption9" class="search_name" style="left:237px; top:15px; width:102px; height:17px; ">사용자ID</caption>
- <input id="input7" ref="/root/send/searchvdi/reqpsn" navindex="6" style="left:491px; top:15px; width:87px; height:19px; "/>
- <caption id="caption11" class="search_name" style="left:407px; top:15px; width:82px; height:17px; ">신청자</caption>
- <caption id="caption12" class="search_name" style="left:13px; top:38px; width:102px; height:17px; ">시작종료일자</caption>
- <caption id="caption13" style="left:225px; top:38px; width:15px; height:20px; ">~</caption>
- <input id="input8" ref="/root/send/searchvdi/todd" navindex="9" inputtype="date" style="left:240px; top:39px; width:100px; height:19px; "/>
- <input id="input9" ref="/root/send/searchvdi/fromdd" navindex="8" inputtype="date" style="left:120px; top:39px; width:100px; height:19px; "/>
- <input id="input10" ref="/root/send/searchvdi/toappdd" navindex="11" inputtype="date" style="left:240px; top:64px; width:100px; height:19px; "/>
- <input id="input11" ref="/root/send/searchvdi/fromappdd" navindex="10" inputtype="date" style="left:120px; top:64px; width:100px; height:19px; "/>
- <caption id="caption14" class="search_name" style="left:13px; top:63px; width:80px; height:17px; ">신청일자</caption>
- <caption id="caption15" style="left:225px; top:63px; width:15px; height:20px; ">~</caption>
- <caption id="caption16" class="search_name" style="left:407px; top:39px; width:94px; height:17px; ">승인여부</caption>
- <select1 id="rdo_gubundetl" ref="/root/send/searchvdi/aprvyn" disabled="false" navindex="7" appearance="full" cols="5" overflow="visible" style="left:492px; top:39px; width:150px; height:20px; vertical-align:middle; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>승인</label>
- <value>Y</value>
- </item>
- <item>
- <label>미승인</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <line id="line4" style="x1:710px; y1:15px; x2:710px; y2:80px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_searchVdi" class="btn1_letter2" navindex="12" style="left:725px; top:35px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchVdi();
- ]]>
- </script>
- </button>
- <button id="btn_addrow" class="btn2_letter3" visibility="hidden" style="left:682px; top:745px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_vdireqlist.rows <= 1) {
-
- grd_vdireqlist.addRow(true);
-
- } else {
- grd_vdireqlist.insertRow(grd_vdireqlist.row, "below", true);
- grd_vdireqlist.select(grd_vdireqlist.row, grd_vdireqlist.col) = true;
- }
- ]]>
- </script>
- </button>
- <button id="btn_delrow" class="btn2_letter3" visibility="hidden" style="left:741px; top:745px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_vdireqlist.deleteRow(grd_vdireqlist.row, true);
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" navindex="13" style="left:738px; top:93px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- setAlertOn();
- fSave();
-
- ]]>
- </script>
- </button>
- <button id="btn_confirm" class="btn4_letter2" navindex="14" visibility="hidden" style="left:678px; top:93px; width:56px; height:22px; ">
- <caption>승인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("", "Q004") == 7) {
- return;
- }
-
- setAlertOn();
- fAprvVdi();
-
- ]]>
- </script>
- </button>
- <select id="chk_inst031_2" ref="/root/send/searchvdi/inst031" navindex="6" overflow="visible" appearance="full" style="left:492px; top:63px; width:45px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>본원</label>
- <value>true</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCheckInstcd2();
- ]]>
- </script>
- </select>
- <select id="chk_inst032_2" ref="/root/send/searchvdi/inst032" navindex="7" overflow="visible" appearance="full" style="left:542px; top:63px; width:45px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>칠곡</label>
- <value>true</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCheckInstcd2();
- ]]>
- </script>
- </select>
- <caption id="caption8" class="search_name" style="left:407px; top:63px; width:94px; height:17px; ">기관</caption>
- </group>
- <switch id="switch1" style="left:0px; top:40px; width:398px; height:715px; ">
- <case id="case1" selected="true" style="left:0px; top:0px; width:397px; height:715px; ">
- <select1 id="cmb_instcd" ref="/root/main/requserinfo/requserlist/instcd" class="input_essential" navindex="3" appearance="minimal" style="left:97px; top:36px; width:131px; height:19px; ">
- <choices>
- <item>
- <label>경북대학교병원</label>
- <value>031</value>
- </item>
- <item>
- <label>칠곡경북대학교병원</label>
- <value>032</value>
- </item>
- </choices>
- </select1>
- <caption id="caption44" class="cell_1" style="left:5px; top:35px; width:90px; height:23px; ">기관</caption>
- <caption id="caption10" class="cell_1" style="left:5px; top:60px; width:90px; height:23px; ">사용부서</caption>
- <button id="btn_reqdeptcd" class="icon_search" navindex="4" style="left:240px; top:62px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recv_list = "reqdeptcd,reqdeptnm";
- misfOpenPopUpList("02", ipt_reqdeptnm,"", recv_list, model.getValue("/root/main/requserinfo/requserlist/instcd"),"instcd") ;
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_reqdeptnm" ref="/root/main/requserinfo/requserlist/reqdeptnm" class="input_essential" editable="false" style="left:97px; top:61px; width:139px; height:19px; text-align:left; vertical-align:middle; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/auth/instcd",model.getValue("/root/main/requserinfo/requserlist/instcd"));
- model.setValue("/root/send/auth/reqdeptcd",model.getValue("/root/main/requserinfo/requserlist/reqdeptcd"));
- submit("TRZHA20011");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //btn_reqdeptcd.dispatch("DOMActivate");
- btn_emplno.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_reqmannm" ref="/root/main/requserinfo/requserlist/reqmannm" class="input_essential" editable="false" style="left:97px; top:86px; width:104px; height:19px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_emplno.dispatch("DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption17" class="cell_1" style="left:5px; top:85px; width:90px; height:23px; ">사용자</caption>
- <button id="btn_emplno" class="icon_search" navindex="5" style="left:205px; top:87px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //misfOpenPopUpList("01", ipt_reqmannm, "", "reqmanid,reqmannm","","instcd");
-
- modal("SPZSU10103_사용자부서조회", "1", "200", "200", "SPZSU10103","","/root/tmp/popup");
- var iParam = getParameter("SPZSU10103_");
- if(iParam != ""){
- model.removeNodeset("/root/hidden/onerowselect");
- model.makeNode("/root/hidden/onerowselect");
- setCSVToNode("/root/hidden/onerowselect", iParam);
-
- model.setValue("/root/main/requserinfo/requserlist/reqmanid", model.getValue("/root/hidden/onerowselect/list/userid") );
- model.setValue("/root/main/requserinfo/requserlist/reqmannm", model.getValue("/root/hidden/onerowselect/list/usernm") );
-
- var rtn = messageBox("기관과 부서까지 ", "Q009");
- if(rtn == 6){
- model.setValue("/root/main/requserinfo/requserlist/instcd", model.getValue("/root/hidden/onerowselect/list/dutplceinstcd") );
- model.setValue("/root/main/requserinfo/requserlist/reqdeptcd", model.getValue("/root/hidden/onerowselect/list/dutplcecd") );
- model.setValue("/root/main/requserinfo/requserlist/reqdeptnm", model.getValue("/root/hidden/onerowselect/list/dutplcenm") );
-
- }
-
- //model.setValue("/root/send/auth/instcd",model.getValue("/root/main/requserinfo/requserlist/instcd"));
- //model.setValue("/root/send/auth/reqdeptcd",model.getValue("/root/main/requserinfo/requserlist/reqdeptcd"));
- //submit("TRZHA20011");
-
- clearParameter("SPZSU10103_");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cpt_startdd" class="cell_1" style="left:5px; top:110px; width:90px; height:23px; ">사용시작일</caption>
- <caption id="cpt_enddd" class="cell_1" style="left:5px; top:135px; width:90px; height:23px; ">사용종료일</caption>
- <input id="ipt_startdd" ref="/root/main/requserinfo/requserlist/startdd" class="input_essential" inputtype="date" format="yyyy-mm-dd" style="left:97px; top:112px; width:130px; height:19px; text-align:center; vertical-align:middle; "/>
- <input id="ipt_enddd" ref="/root/main/requserinfo/requserlist/enddd" class="input_essential" inputtype="date" format="yyyy-mm-dd" style="left:97px; top:137px; width:130px; height:19px; text-align:center; vertical-align:middle; "/>
- <button id="button1" class="btn4_letter2" navindex="13" style="left:333px; top:6px; width:56px; height:22px; ">
- <caption>신청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- setAlertOn();
- fSaveUser();
-
- ]]>
- </script>
- </button>
- <caption id="caption18" class="tit_2" style="left:5px; top:10px; width:180px; height:15px; ">VDI 사용신청</caption>
- <line id="line10" class="line_1" style="x1:5px; y1:30px; x2:388px; y2:30px; "/>
- <line id="line2" class="line_2" style="x1:5px; y1:160px; x2:390px; y2:160px; "/>
- <caption id="caption19" style="left:230px; top:115px; width:15px; height:20px; ">~</caption>
- </case>
- <case id="case2" style="left:0px; top:0px; width:394px; height:715px; ">
- <group id="group3" style="left:1px; top:1px; width:393px; height:712px; ">
- <datagrid id="grd_offictourlist" nodeset="/root/main/offictourinfo/offictourlist" class="datagrid2" caption="기관^의사
성명^의사
사번^휴진
사유^시작일자^종료일자^VDI
신쳥여부" colsep="^" colwidth="40, 55, 45, 45, 66, 66, 55" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:119px; width:393px; height:592px; ">
- <col ref="instnm" style="text-align:center; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="orddrid" style="text-align:center; "/>
- <col ref="ordendresn" style="text-align:center; "/>
- <col ref="fromdd" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="todd" format="yyyy/mm/dd" style="text-align:center; "/>
- <col ref="vdiappyn" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell() == true) {
- // if(grd_vdireqlist.rows <= 1) {
- //
- // grd_vdireqlist.addRow(true);
- //
- // } else {
- // grd_vdireqlist.insertRow(grd_vdireqlist.row, "below", true);
- // grd_vdireqlist.select(grd_vdireqlist.row, grd_vdireqlist.col) = true;
- // }
- var vdiappyn = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/vdiappyn");
-
- if( vdiappyn == 'Y') {
-
- } else {
- grd_vdireqlist.addRow(true);
-
- var orddrnm = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/orddrnm");
- var orddrid = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/orddrid");
- var orddeptcd = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/orddeptcd");
- var orddeptnm = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/orddeptnm");
- var fromdd = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/fromdd");
- var todd = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/todd");
- var vdiappyn = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/vdiappyn");
- var instcd = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/instcd");
- var instnm = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/instnm");
- var holiflag = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/holiflag");
- var seqno = model.getValue("/root/main/offictourinfo/offictourlist["+grd_offictourlist.row+"]/seqno");
-
- model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/instnm", instnm);
- model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/prfnm", orddrnm);
- model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/prfid", orddrid);
- model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/fromdd", fromdd);
- model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/todd", todd);
- model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/aprvyn", vdiappyn);
- model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/p_instcd", instcd);
- model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/p_orddrid", orddrid);
- model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/p_orddeptcd", orddeptcd);
- model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/orddeptcd", orddeptcd);
- model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/orddeptnm", orddeptnm);
- model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/p_holiflag", holiflag);
- model.setValue("/root/main/vdireqinfo/vdireqlist["+grd_vdireqlist.row+"]/p_seqno", seqno);
-
- grd_vdireqlist.refresh();
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:3px; top:100px; width:145px; height:13px; ">출장자 리스트</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:115px; x2:393px; y2:115px; "/>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:7px; width:385px; height:80px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" navindex="3" style="left:320px; top:35px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchOffictour();
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/send/searchoffictour/orddrid" navindex="2" style="left:121px; top:63px; width:72px; height:19px; "/>
- <caption id="caption2" class="search_name" style="left:7px; top:38px; width:109px; height:17px; ">휴진의사 이름</caption>
- <caption id="caption4" class="search_name" style="left:7px; top:62px; width:109px; height:17px; ">휴진의사 사번</caption>
- <input id="input3" ref="/root/send/searchoffictour/orddrnm" navindex="1" style="left:121px; top:39px; width:72px; height:19px; "/>
- <line id="line13" style="x1:310px; y1:15px; x2:310px; y2:76px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption3" class="search_name" style="left:7px; top:14px; width:94px; height:17px; ">기관</caption>
- <select id="chk_inst031" ref="/root/send/searchoffictour/inst031" navindex="6" overflow="visible" appearance="full" style="left:120px; top:15px; width:45px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>본원</label>
- <value>true</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCheckInstcd();
- ]]>
- </script>
- </select>
- <select id="chk_inst032" ref="/root/send/searchoffictour/inst032" navindex="7" overflow="visible" appearance="full" style="left:170px; top:15px; width:45px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>칠곡</label>
- <value>true</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCheckInstcd();
- ]]>
- </script>
- </select>
- </group>
- </case>
- </switch>
- <button id="btn_devtab" class="btn_sw" group="tab" selected="true" style="left:10px; top:20px; width:120px; height:22px; ">
- <caption>전체 직원</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <button id="btn_deptab" class="btn_sw" group="tab" style="left:130px; top:20px; width:120px; height:22px; ">
- <caption>휴진 의사</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- </xhtml:body>
- </xhtml:html>
|