123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357 |
- <?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>CRCC 인건비관리</xhtml:title>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- function getIsahSdtycost() {
- var subjid = model.getValue("/root/init/subjid");
- if(subjid == "") return;
- model.removenode("/root/main/grid2/prsnexpsinfodetail");
- submit("TRICP00401");
- }
- ]]>
- </script>
- <model id="model1">
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- submit("TRIRZ00000");
- input21.value = new Date().getDateFormat();
- input22.value = new Date().getDateFormat().substring(0,6) + new Date().getMonthDay();
- zbcfGetCodeList( new Array("R0001"), new Array("/root/init/cmb_info/initbank") );
- // model.setValue("/root/send/costmake/startdd", new Date().getDateFormat());
- // model.setValue("/root/send/costmake/enddd", new Date().getDateFormat().substring(0,6) + new Date().getMonthDay());
- model.removenode("/root/main/grid/isamsthycost");
- submit("TRZBC00101", false);
- submit("TRICP00400");
- //datagrid2.colDisabled(8) = true;
- model.refresh();
- ]]>
- </script>
- <instance id="instance1">
- <root xmlns="">
- <main>
- <grid>
- <prsnexpsinfo>
- <subjno/>
- <subjnm/>
- <appdg/>
- <appdd/>
- <appamt/>
- <bal/>
- <instcd/>
- <appaprvyn/>
- <subjid/>
- </prsnexpsinfo>
- </grid>
- <grid2>
- <prsnexpsinfodetail>
- <userkind/>
- <usernm/>
- <costuserid/>
- <instcd/>
- <sosok/>
- <bankcd/>
- <acntno/>
- <depor/>
- <totcost/>
- <confpurcusedd/>
- <detlitemexpendnm/>
- <itemexpendcd/>
- <itemexpendnm/>
- <depor/>
- <nm/>
- <banknm/>
- <acntno/>
- <totcost/>
- <rrgstno/>
- <addr/>
- <posnm/>
- <jobposnm/>
- <detlitemexpendcd/>
- <sumcost/>
- <appcnfmdd/>
- </prsnexpsinfodetail>
- </grid2>
- </main>
- <init>
- <cmb_info>
- <initbank>
- <cdid/>
- <cdnm/>
- </initbank>
- </cmb_info>
- <subjid/>
- <instcd/>
- <appdg/>
- <baseinfo>
- <instinfo>
- <instcd/>
- <hospnm/>
- </instinfo>
- </baseinfo>
- <sumcost/>
- </init>
- <send>
- <srchinstcd/>
- <srchstartdd/>
- <srchenddd/>
- <srchpayyn/>
- <srchrespstdyempno/>
- <srchresernm/>
- <srchpaystartdd/>
- <srchpayenddd/>
- <srchsubjnm/>
- <save>
- <grid/>
- </save>
- <costmake>
- <startdd/>
- <enddd/>
- </costmake>
- </send>
- <rex>
- <prsnexpsinfo>
- <depor/>
- <nm/>
- <banknm/>
- <acntno/>
- <totcost/>
- <rrgstno/>
- <addr/>
- <posnm/>
- <jobposnm/>
- <detlitemexpendcd/>
- <sumcost/>
- </prsnexpsinfo>
- </rex>
- </root>
- </instance>
- <submission id="TRIRZ00000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init" replace="instance" resultref="/root/init/baseinfo"/>
- <submission id="TRICP00400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grid"/>
- <submission id="TXICP00400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/main/grid"/>
- <submission id="TXICP00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/costmake" replace="instance" resultref="/root/temp"/>
- <submission id="TRZBC00101"/>
- <bind id="bind1" ref="/root/main/grid/prsnexpsinfo/sumcost" calculate="sum(/root/main/grid/prsnexpsinfo/totcost)"/>
- <submission id="TRICP00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init" replace="instance" resultref="/root/main/grid2"/>
- <submission id="TRICU00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init" replace="instance" resultref="/root/rex"/>
- </model>
- </xhtml:head>
- <xhtml:body>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:14px; ">
- <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">인건비관리</caption>
- </group>
- <group id="group3" style="left:0px; top:15px; width:1194px; height:70px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption146" class="search_name" style="left:15px; top:10px; width:91px; height:17px; ">병원선택 :</caption>
- <input id="input21" ref="/root/send/srchstartdd" class="input_s_essential" inputtype="date" style="left:104px; top:38px; width:95px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:240px; top:10px; width:99px; height:17px; ">책임시험자 :</caption>
- <input id="input22" ref="/root/send/srchenddd" class="input_s_essential" inputtype="date" style="left:222px; top:38px; width:100px; height:19px; "/>
- <select1 id="combo1" ref="/root/send/srchpayyn" class="combo_search" appearance="minimal" editmode="inputsearch" style="left:809px; top:8px; width:105px; height:19px; ">
- <choices>
- <item>
- <label>지급</label>
- <value>Y</value>
- </item>
- <item>
- <label>미지급</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <button id="button8" class="btn1_letter2" _auth="R" style="left:990px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case1");
- submit("TRICP00400");
- ]]>
- </script>
- </button>
- <button id="button51" class="btn4_letter2" _auth="X" style="left:1055px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var up = getGridUpdateData(datagrid2);
- if(up == "") return;
-
- model.setValue("/root/send/save/grid", up);
-
- submit("TXICP00400");
- //model.setValue("/root/send/save/grid", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input26" ref="/root/send/srchrespstdyempno" class="input_search" style="left:339px; top:8px; width:105px; height:19px; "/>
- <select1 id="combo64" ref="/root/send/srchinstcd" class="combo_search" appearance="minimal" editmode="inputsearch" style="left:104px; top:10px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/instinfo">
- <label ref="hospnm"/>
- <value ref="instcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption143" class="search_name" style="left:15px; top:40px; width:80px; height:17px; ">신청일 :</caption>
- <caption id="caption145" class="search_name" style="left:720px; top:10px; width:94px; height:17px; ">지급여부 :</caption>
- <button id="button31" class="btn4_letter8" style="left:990px; top:35px; width:128px; height:22px; ">
- <caption>인건비지급내역서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // model.copyNode("/root/rex", "/root/main/grid");
- // model.setValue("/root/rex/prsnexpsinfo/sumcost", model.getValue("root/init/sumcost"));
- exeReportPreview("RPICU00103", "XMLSTR" , "/root/rex");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter8" _auth="P" style="left:990px; top:35px; width:128px; height:22px; ">
- <caption>인건비지급내역서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // model.copyNode("/root/rex", "/root/main/grid");
- // model.setValue("/root/rex/prsnexpsinfo/sumcost", model.getValue("root/init/sumcost"));
- exeReportPreview("RPICU00103", "XMLSTR" , "/root/rex");
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:475px; top:10px; width:99px; height:17px; ">지급대상자 :</caption>
- <input id="input1" ref="/root/send/srchresernm" class="input_search" style="left:575px; top:8px; width:105px; height:19px; "/>
- <caption id="caption3" style="left:205px; top:40px; width:15px; height:20px; ">~</caption>
- <input id="input2" ref="/root/send/srchpaystartdd" class="input_s_essential" inputtype="date" style="left:419px; top:38px; width:95px; height:19px; "/>
- <input id="input3" ref="/root/send/srchpayenddd" class="input_s_essential" inputtype="date" style="left:537px; top:38px; width:100px; height:19px; "/>
- <caption id="caption4" style="left:520px; top:40px; width:15px; height:20px; ">~</caption>
- <caption id="caption5" class="search_name" style="left:340px; top:40px; width:80px; height:17px; ">지급일 :</caption>
- <caption id="caption6" class="search_name" style="left:655px; top:40px; width:94px; height:17px; ">과제명 :</caption>
- <input id="input4" ref="/root/send/srchsubjnm" class="input_search" style="left:735px; top:38px; width:180px; height:19px; "/>
- </group>
- <switch id="switch1" style="left:0px; top:111px; width:1190px; height:612px; ">
- <case id="case1" selected="true">
- <datagrid id="datagrid2" nodeset="/root/main/grid/prsnexpsinfo" caption="과제번호^과제명^신청차수^신청일^지급일^신청총액^지급여부^해당병원^" colsep="^" colwidth="123, 375, 100, 100, 100, 141, 105, 151, 100, 100" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="free" style="left:0px; top:0px; width:1185px; height:600px; ">
- <col ref="subjno" style="text-align:center; "/>
- <col ref="subjnm"/>
- <col ref="appdg" style="text-align:center; "/>
- <col ref="appdd" format="yyyy-mm-dd"/>
- <col ref="appcnfmdd" format="yyyy-mm-dd"/>
- <col ref="appamt" format="#,###" style="text-align:right; "/>
- <col ref="appaprvyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>신청완료</label>
- <value>N</value>
- </item>
- <item>
- <label>미신청</label>
- <value>T</value>
- </item>
- <item>
- <label>승인완료</label>
- <value>Y</value>
- </item>
- <item>
- <label>반려</label>
- <value>R</value>
- </item>
- <item>
- <label>보류</label>
- <value>H</value>
- </item>
- </choices>
- </col>
- <col ref="instnm"/>
- <col ref="subjid" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( isDataCell() ){
- // if((datagrid1.rows- datagrid1.fixedRows) == 0) return;
- model.setValue("/root/init/subjid", model.getValue("/root/main/grid/prsnexpsinfo["+datagrid2.row+"]/subjid"));
- model.setValue("/root/init/instcd", model.getValue("/root/main/grid/prsnexpsinfo["+datagrid2.row+"]/instcd"));
- model.setValue("/root/init/appdg", model.getValue("/root/main/grid/prsnexpsinfo["+datagrid2.row+"]/appdg"));
- model.toggle("case2");
- button2.selected= true;
-
- getIsahSdtycost();
- submit("TRICU00112");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- datagrid2.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case2">
- <datagrid id="datagrid1" nodeset="/root/main/grid2/prsnexpsinfodetail" caption="역할^성명^사번^해당병원^소속^은행명^계좌번호^예금주^신청금액^지급요청일" colsep="^" colwidth="100, 100, 86, 129, 120, 123, 133, 100, 139, 106" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="free" style="left:0px; top:0px; width:1185px; height:600px; ">
- <col disabled="true" ref="userkind" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>책임</label>
- <value>1</value>
- </item>
- <item>
- <label>공동</label>
- <value>2</value>
- </item>
- <item>
- <label>코디네이터</label>
- <value>3</value>
- </item>
- <item>
- <label>관리약사</label>
- <value>4</value>
- </item>
- </choices>
- </col>
- <col ref="usernm" style="text-align:center; "/>
- <col ref="costuserid" style="text-align:center; "/>
- <col ref="instcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/instinfo">
- <label ref="hospnm"/>
- <value ref="instcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="sosok" style="text-align:center; "/>
- <col disabled="true" ref="bankcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initbank/R0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="acntno" style="text-align:center; "/>
- <col ref="depor" style="text-align:center; "/>
- <col ref="totcost" format="#,###" style="text-align:right; "/>
- <col ref="confpurcusedd" format="yyyy-mm-dd" style="text-align:center; "/>
- </datagrid>
- </case>
- </switch>
- <button id="button2" class="btn_sw" group="tab" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:93px; top:90px; width:100px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>차수별신청내역</caption>
- <toggle case="case2" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- getIsahSdtycost();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:0px; top:90px; width:93px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
- <caption>신청차수</caption>
- <toggle case="case1" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|