123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389 |
- <?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>
- <detlinfo>
- <item>
- <hopemm/>
- <prcpcd/>
- <testnm/>
- <totcnt/>
- <scoreamt/>
- <dd01/>
- <dd02/>
- <dd03/>
- <dd04/>
- <dd05/>
- <dd06/>
- <dd07/>
- <dd08/>
- <dd09/>
- <dd10/>
- <dd11/>
- <dd12/>
- <dd13/>
- <dd14/>
- <dd15/>
- <dd16/>
- <dd17/>
- <dd18/>
- <dd19/>
- <dd20/>
- <dd21/>
- <dd22/>
- <dd23/>
- <dd24/>
- <dd25/>
- <dd26/>
- <dd27/>
- <dd28/>
- <dd29/>
- <dd30/>
- <dd31/>
- </item>
- </detlinfo>
- </main>
- <send>
- <srchhopedd/>
- <srchhealexamflag/>
- <srchinstcd/>
- <srchhealexamdetlflag/>
- <srchprcpcd/>
- <srchtestnm/>
- <srchhealexamplacecd/>
- <srchroomcd/>
- </send>
- <init>
- <baseinfo>
- <healexamflaglst>
- <cdid/>
- <cdnm/>
- </healexamflaglst>
- <healexamdetlflag>
- <item>
- <cdid/>
- <cdnm/>
- </item>
- </healexamdetlflag>
- <chedetlflaglst/>
- <ghedetlflaglst/>
- <healexamplacecd/>
- <srchhealexamflaglst>
- <item/>
- </srchhealexamflaglst>
- <srchhealexamflaglst>
- <item/>
- </srchhealexamflaglst>
- </baseinfo>
- <room>
- <roomlst/>
- </room>
- </init>
- <hidden/>
- <temp>
- <send>
- <pid/>
- <hngnm/>
- </send>
- <preview/>
- <okflag/>
- <pkginfo>
- <item>
- <testcd/>
- <testnm/>
- </item>
- </pkginfo>
- </temp>
- </root>
- </instance>
- <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/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetBasicCdList();
- fInitInfo();
- fGetRsrvAcptList();
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TRAHR00941" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detlinfo"/>
- <submission id="TRAHA00001"/>
- <submission id="TRAHB01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/room/roomlst"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var vHealExamFlag = "";
- var vHealExamDetlFlag = "";
- /**========================================================================================================================================
- * 공통코드 및 검사실 코드 조회
- =========================================================================================================================================*/
- function fGetBasicCdList(){
- var vHeFgLen = fGetHealExamFlag().length;
- var vHeFg = fGetHealExamFlag();
- var vHeFgCd = "";
- if( vHeFg.substr(0,1) == "C" ){
- vHeFgCd = "A0069";
- } else {
- vHeFgCd = "A0070";
- }
- //공통코드 콤보 호출
- zbcfGetCodeList( new Array("A0068" ,"A0069", "A0070")
- ,new Array("/root/init/baseinfo/healexamflaglst"
- , "/root/init/baseinfo/chedetlflaglst"
- , "/root/init/baseinfo/ghedetlflaglst"));
-
- healGetCodeList( new Array("S600")
- , new Array("/root/init/baseinfo/healexamplacecd") );
-
- model.removenode("/root/init/baseinfo/healexamplacecd/S600[cdid='']" );
-
- addComboItem("cmb_healexamflag","전체","","above");
- addComboItem("cmb_srchhealexamplacecd","전체","","above");
-
- copyNodesetType("/root/init/baseinfo/healexamdetlflag/item" , "/root/init/baseinfo/chedetlflaglst/A0069","replace");
- copyNodesetType("/root/init/baseinfo/healexamdetlflag/item" , "/root/init/baseinfo/ghedetlflaglst/A0070","after");
-
- submit("TRZBC00101");
- submit("TRAHB01502");
- // cmb_healexamflag.value = vHeFg.substr(0,1);
- // cmb_healexamflag.dispatch("xforms-value-changed");
-
- //종건, 일건 구분
- // if(vHeFgLen == 1){
- // cmb_srchhealexamdetlflag.value = vHeFg + "01";
- // } else{
- // cmb_srchhealexamdetlflag.value = vHeFg;
- // }
- }
-
- //검사실 코드조회
-
-
- /**========================================================================================================================================
- * 건진상세구분 바꾸기
- =========================================================================================================================================*/
- function fSetHealExamDetlFlag(){
- var vItem = "";
- var vHealexamflag = cmb_healexamflag.value;
-
- //건진구분 선택시 건진상세분류가 '전체'로 값이 셋팅되게한다.
- cmb_srchhealexamdetlflag.value = "";
- if(vHealexamflag == "C"){
- copyNodesetType("/root/init/baseinfo/healexamdetlflag/item" , "/root/init/baseinfo/chedetlflaglst/A0069","replace");
- }
- else if(vHealexamflag == "G"){
- copyNodesetType("/root/init/baseinfo/healexamdetlflag/item" , "/root/init/baseinfo/ghedetlflaglst/A0070","replace");
- }else {
- copyNodesetType("/root/init/baseinfo/healexamdetlflag/item" , "/root/init/baseinfo/chedetlflaglst/A0069","replace");
- copyNodesetType("/root/init/baseinfo/healexamdetlflag/item" , "/root/init/baseinfo/ghedetlflaglst/A0070","after");
- //model.resetInstanceNode(cmb_srchhealexamdetlflag.choices.itemset.attribute("nodeset"));
- }
- }
-
- /**========================================================================================================================================
- * 초기화
- =========================================================================================================================================*/
- function fInitInfo(){
- var curDt = getCurrentDate().substr(0,6);
- model.setValue(ipt_srchfromdd.attribute("ref") , curDt);
- model.refresh();
- }
- /**========================================================================================================================================
- * 상세현황조회
- =========================================================================================================================================*/
- function fGetRsrvAcptList(){
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
- //model.setValue("/root/send/srchinstcd", "011" );
- //alert(model.getValue("/root/send/srchinstcd") );
- //model.setValue("/root/send/srchhealexamflag" , vHealExamFlag);
- submit("TRAHR00941");
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1196;1,1194;2,757;2,786;1,1192;" style="border-left-style:none; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:184px; height:14px; ">월별검사사용실적</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1194px; height:744px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:106px; x2:1191px; y2:106px; "/>
- <group id="group5" style="left:0px; top:9px; width:1193px; height:71px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:70px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption11" class="search_name" style="left:591px; top:12px; width:81px; height:17px; ">기준월 :</caption>
- <line id="line7" style="x1:1110px; y1:26px; x2:1110px; y2:46px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_srchfromdd" ref="/root/send/srchhopedd" class="input_search" inputtype="date" format="yyyy-mm" appearance="input" style="left:666px; top:12px; width:110px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:25px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.resetInstanceNode("/root/main/detlinfo/item");
- //model.refresh();
- fGetRsrvAcptList();
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_healexamflag" ref="/root/send/srchhealexamflag" class="combo_search" appearance="minimal" style="left:100px; top:12px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamflaglst/A0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetHealExamDetlFlag();
- fGetRsrvAcptList();
- ]]>
- </script>
- </select1>
- <caption id="caption7" class="search_name" style="left:10px; top:12px; width:87px; height:17px; ">건진구분 :</caption>
- <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" appearance="minimal" editmode="inputsearch" style="left:410px; top:12px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamdetlflag/item">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetRsrvAcptList();
- ]]>
- </script>
- </select1>
- <caption id="caption9" class="search_name" style="left:295px; top:12px; width:117px; height:17px; ">건진상세분류 :</caption>
- <caption id="caption2" class="search_name" style="left:10px; top:40px; width:86px; height:17px; ">건진장소 :</caption>
- <select1 id="cmb_srchhealexamplacecd" ref="/root/send/srchhealexamplacecd" class="combo_search" appearance="minimal" style="left:100px; top:39px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamplacecd/S600">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removenodeset("/root/init/room/roomlst/itemroom");
- model.setValue("/root/send/srchroomcd","");
- submit("TRAHB01502");
- model.refresh();
- fGetRsrvAcptList();
- ]]>
- </script>
- </select1>
- <caption id="caption3" class="search_name" style="left:591px; top:40px; width:96px; height:17px; ">검사코드 :</caption>
- <caption id="caption4" class="search_name" style="left:295px; top:40px; width:81px; height:17px; ">검사실 :</caption>
- <button id="btn_selcmpy" class="icon_search" style="left:783px; top:39px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/temp/okflag", "");
- model.resetInstanceNode("/root/temp/pkginfo/item");
- fGetPkgCd("SMAHA00200", "A", "N","nm" , ipt_srchprcpcd.currentText , model.getValue("/root/send/srchhealexamdetlflag") , "" , "/root/temp/pkginfo/item");
- if(model.getValue("/root/temp/okflag") == "ok") {
- model.setValue(ipt_srchprcpcd.attribute("ref") , model.getValue("/root/temp/pkginfo/item/testcd") );
- model.setValue(opt_srchtestnm.attribute("ref") , model.getValue("/root/temp/pkginfo/item/testnm") );
- ipt_srchprcpcd.refresh();
- opt_srchtestnm.refresh();
- }
- ]]>
- </script>
- </button>
- <input id="ipt_srchprcpcd" ref="/root/send/srchprcpcd" class="input_search" style="left:678px; top:39px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_selcmpy", "DOMActivate");
- ]]>
- </script>
- </input>
- <output id="opt_srchtestnm" ref="/root/send/srchtestnm" class="output_fix" style="left:805px; top:39px; width:171px; height:19px; "/>
- <select1 id="cmb_srchroomcd" ref="/root/send/srchroomcd" class="combo_search" appearance="minimal" style="left:370px; top:39px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/room/roomlst/itemroom">
- <label ref="testroomnm"/>
- <value ref="testroomcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetRsrvAcptList();
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:90px; width:151px; height:13px; ">상세현황</caption>
- <datagrid id="grd_prntlst" nodeset="/root/main/detlinfo/item" caption="hopemm^검사코드^검사명^합계^금액^1일^2일^3일^4일^5일^6일^7일^8일^9일^10일^11일^12일^13일^14일^15일^16일^17일^18일^19일^20일^21일^22일^23일^24일^25일^26일^27일^28일^29일^30일^31일^건진구분명^건진상세구분명^사업장명^환자번호^성명^건진일자^총발생금액^개인금액^공단금액^보건소금액^단체금액^A01^A02^A03^A04^A05^A06^A07^A08^A09^A10^A11^A12^A13^A14^A15^A16^A17^A18^A19^A20^A21^A22^A23^A24^A25^A26^A27^A28^A29^TESTNM^소견 및 조치사항내용^판정일정^판정의ID^의사명^의사면허번호^TBDD^관리기관코드^조합명^기관코드^건진구분^INSTCD_1^orddd" colsep="^" colwidth="100, 70, 90, 60, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30" defaultrows="1" ellipsis="true" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:111px; width:1190px; height:604px; ">
- <col ref="hopemm" visibility="hidden" style="text-align:center; "/>
- <col explorerbar="sortshow" ref="prcpcd" style="text-align:left; "/>
- <col explorerbar="sortshow" ref="testnm" style="text-align:left; "/>
- <col ref="totcnt" style="text-align:center; "/>
- <col explorerbar="sortshow" ref="scoreamt" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="dd01" style="text-align:center; "/>
- <col ref="dd02" style="left:0px; top:0px; width:0px; height:0px; text-align:center; "/>
- <col ref="dd03" style="text-align:center; "/>
- <col ref="dd04" style="text-align:center; "/>
- <col ref="dd05" style="text-align:center; "/>
- <col ref="dd06" style="text-align:center; "/>
- <col ref="dd07" style="text-align:center; "/>
- <col ref="dd08" style="text-align:center; "/>
- <col ref="dd09" style="text-align:center; "/>
- <col ref="dd10" style="text-align:center; "/>
- <col ref="dd11" style="text-align:center; "/>
- <col ref="dd12" style="text-align:center; "/>
- <col ref="dd13" style="text-align:center; "/>
- <col ref="dd14" style="text-align:center; "/>
- <col ref="dd15" style="text-align:center; "/>
- <col ref="dd16" style="text-align:center; "/>
- <col ref="dd17" style="text-align:center; "/>
- <col ref="dd18" style="text-align:center; "/>
- <col ref="dd19" style="text-align:center; "/>
- <col ref="dd20" style="text-align:center; "/>
- <col ref="dd21" style="text-align:center; "/>
- <col ref="dd22" style="text-align:center; "/>
- <col ref="dd23" style="text-align:center; "/>
- <col ref="dd24" style="text-align:center; "/>
- <col ref="dd25" style="text-align:center; "/>
- <col ref="dd26" style="text-align:center; "/>
- <col ref="dd27" style="text-align:center; "/>
- <col ref="dd28" style="text-align:center; "/>
- <col ref="dd29" style="text-align:center; "/>
- <col ref="dd30" style="text-align:center; "/>
- <col ref="dd31" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_prntlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_excelsave" class="btn6_letter4" visibility="visible" style="left:1016px; top:34px; width:80px; height:22px; ">
- <caption>액셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_prntlst.saveExcel(fileName, "SheetName", true, true, "", "", false);
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:756px; width:1195px; height:28px; "/>
- </xhtml:body>
- </xhtml:html>
|