123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352 |
- <?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>
- <ranklist>
- <list>
- <rank>
- <reprdept/>
- <dept/>
- <total/>
- <devend/>
- <scrnveri/>
- <scrnrate/>
- <test/>
- <testrate/>
- <insuend/>
- <insurate/>
- </rank>
- </list>
- </ranklist>
- </main>
- <send>
- <search>
- <reprdept/>
- <insuimp/>
- <appdd/>
- </search>
- </send>
- <target/>
- <init>
- <insuimp>
- <item>
- <name>전체</name>
- <id>-</id>
- </item>
- <item>
- <name>A</name>
- <id>A</id>
- </item>
- <item>
- <name>B</name>
- <id>B</id>
- </item>
- <item>
- <name>C</name>
- <id>C</id>
- </item>
- <item>
- <name>미기입</name>
- <id>
- </id>
- </item>
- </insuimp>
- <reprdept>
- <item>
- <name>전체</name>
- <id>-</id>
- </item>
- <item>
- <name>진료/의료협력</name>
- <id>진료/의료협력</id>
- </item>
- <item>
- <name>보험</name>
- <id>보험</id>
- </item>
- <item>
- <name>의료정보</name>
- <id>의료정보</id>
- </item>
- <item>
- <name>진단검사외</name>
- <id>진단검사외</id>
- </item>
- <item>
- <name>영상외</name>
- <id>영상외</id>
- </item>
- <item>
- <name>외래간호외</name>
- <id>외래간호외</id>
- </item>
- <item>
- <name>입원간호외</name>
- <id>입원간호외</id>
- </item>
- <item>
- <name>응급의료</name>
- <id>응급의료</id>
- </item>
- <item>
- <name>약제</name>
- <id>약제</id>
- </item>
- <item>
- <name>건진</name>
- <id>건진</id>
- </item>
- <item>
- <name>원무/수납</name>
- <id>원무/수납</id>
- </item>
- <item>
- <name>MIS</name>
- <id>MIS</id>
- </item>
- <item>
- <name>총무</name>
- <id>총무</id>
- </item>
- <item>
- <name>QI</name>
- <id>QI</id>
- </item>
- <item>
- <name>원목외</name>
- <id>원목외</id>
- </item>
- <item>
- <name>부서전체</name>
- <id>d</id>
- </item>
- </reprdept>
- </init>
- <temp>
- <combo>
- <appdd/>
- <value/>
- </combo>
- </temp>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- function addComboItem( comboID, label, value, position ) {
- var comboObj = document.all.item(comboID);
-
- // Combo ItemSet 정보
- var comboItemNodeSet = comboObj.choices.itemset.attribute("nodeset");
- var comboLabelRef = comboObj.choices.itemset.label.attribute("ref");
- var comboValueRef = comboObj.choices.itemset.value.attribute("ref");
-
- var nodeNn = instance1.selectSingleNode(comboItemNodeSet);
- if (nodeNn == null) {
- model.makeNode(comboItemNodeSet);
- model.makeNode(comboItemNodeSet+"/"+comboLabelRef);
- model.makeNode(comboItemNodeSet+"/"+comboValueRef);
- position = "init";
- }
-
- // Item 노드 생성
- var itemNode = instance1.createNode("element", instance1.selectSingleNode(comboItemNodeSet).nodeName, "");
- var labelNode = instance1.createNode("element", comboLabelRef, "");
- var valueNode = instance1.createNode("element", comboValueRef, "");
-
- if( label == null || label == "" ) label = "- 전 체 -";
- labelNode.value = label;
- itemNode.appendChild(labelNode);
-
- if( value == null || value == "" ) value = "";
- valueNode.value = value;
- itemNode.appendChild(valueNode);
-
- if( position == null || position == "" )
- position = "above";
-
- var destNode = instance1.selectSingleNode(comboItemNodeSet);
- var pDestNode = destNode.parentNode;
- if( position == "above" ) {
- pDestNode.insertBefore(itemNode, destNode);
-
- } else if ( position == "init" ) {
- pDestNode.insertBefore(itemNode, destNode);
- pDestNode.removeChild(destNode);
- }
- else {
- pDestNode.appendChild(itemNode);
- }
-
- comboObj.refresh();
- }
-
- function fbtnSearch()
- {
- submit("TRZTP00801");
- grd_ranklist.subtotalposition= "below"
- var cur_row = grd_ranklist.rows;
- grd_ranklist.subtotal("sum", -1, grd_ranklist.colRef("total"),"", "", 1, "Total");
- grd_ranklist.subtotal("sum", -1, grd_ranklist.colRef("scrnveri"),"", "", 1, "Total");
- grd_ranklist.subtotal("sum", -1, grd_ranklist.colRef("devend"),"", "", 1, "Total");
- grd_ranklist.subtotal("sum", -1, grd_ranklist.colRef("test"),"", "", 1, "Total");
- grd_ranklist.subtotal("sum", -1, grd_ranklist.colRef("insuend"),"", "", 1, "Total");
- grd_ranklist.valuematrix( cur_row, 6) = parseInt(parseInt(grd_ranklist.textmatrix(cur_row, 5)) / parseInt(grd_ranklist.textmatrix(cur_row, 4))*100) + "%";
- grd_ranklist.valuematrix( cur_row, 8) = parseInt(parseInt(grd_ranklist.textmatrix(cur_row, 7)) / parseInt(grd_ranklist.textmatrix(cur_row, 4))*100) + "%";
- grd_ranklist.valuematrix( cur_row, 10) = parseInt(parseInt(grd_ranklist.textmatrix(cur_row, 9)) / parseInt(grd_ranklist.textmatrix(cur_row, 4))*100) + "%";
-
- for(var i=3; i<11; i++)
- {
- grd_ranklist.colstyle(i,"data","text-align") = "right";
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var gridObj = document.all("grd_ranklist");
-
- gridObj.cellStyle("background-image", 0, 5) = "";
- gridObj.cellStyle("background-color", 0, 5) = "#6FCC98";
- gridObj.cellStyle("background-image", 0, 6) = "";
- gridObj.cellStyle("background-color", 0, 6) = "#6FCC98";
- gridObj.cellStyle("background-image", 0, 9) = "";
- gridObj.cellStyle("background-color", 0, 9) = "#6FCC98";
- gridObj.cellStyle("background-image", 0, 10) = "";
- gridObj.cellStyle("background-color", 0, 10) = "#6FCC98";
-
- fbtnSearch();
-
-
-
- submit("TRZTP00802");
-
- addComboItem("combo3","전체");
- model.setValue("/root/temp/combo[1]/value","-");
-
- combo1.select(0);
- combo2.select(1);
- combo3.select(0);
-
-
- ]]>
- </script>
- <submission id="TRZTP00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/ranklist/list"/>
- <submission id="TRZTP00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/combo/appdd" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="700" pageheight="500">
- <group id="group6" style="left:5px; top:20px; width:684px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:684px; height:34px; "/>
- <caption id="caption9" class="search_name" style="left:5px; top:10px; width:86px; height:17px; ">소위원회</caption>
- <button id="button5" class="btn1_letter2" style="left:620px; top:10px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var reprdept = model.getValue("/root/send/search/reprdept");
- fbtnSearch();
- for(var i=3; i<11; i++)
- {
- grd_ranklist.colstyle(i,"data","text-align") = "right";
- }
- if(reprdept == "-")
- {
-
- }
- /*else if(reprdept != "d")
- {
- for(var i=1; i<grd_ranklist.rows-1; i++){
- grd_ranklist.textmatrix(i,1) = reprdept;
- }
- }*/
-
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/send/search/reprdept" class="combo_search" appearance="minimal" style="left:90px; top:10px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/reprdept/item">
- <label ref="name"/>
- <value ref="id"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo2" ref="/root/send/search/insuimp" class="combo_search" appearance="minimal" style="left:265px; top:10px; width:50px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/insuimp/item">
- <label ref="name"/>
- <value ref="id"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:195px; top:10px; width:86px; height:17px; ">중요도</caption>
- <button id="button3" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:525px; top:10px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_ranklist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:330px; top:10px; width:92px; height:17px; ">기준적용일</caption>
- <select1 id="combo3" ref="/root/send/search/appdd" class="combo_search" appearance="minimal" style="left:420px; top:10px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/combo">
- <label ref="appdd"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:5px; width:110px; height:13px; ">진척률 순위</caption>
- <datagrid id="grd_ranklist" nodeset="/root/main/ranklist/list/rank" caption="소위원회^해당부서^총대상건수^개발완료건수^화면검증^비율^테스트^비율^공정TFT완료^비율" colsep="^" colwidth="85, 79, 68, 80, 70, 40, 70, 40, 75, 50" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:5px; top:55px; width:690px; height:435px; ">
- <col ref="reprdept"/>
- <col ref="dept"/>
- <col ref="total"/>
- <col ref="devend"/>
- <col ref="scrnveri"/>
- <col ref="scrnrate" format="###%"/>
- <col ref="test"/>
- <col ref="testrate" format="###%"/>
- <col ref="insuend"/>
- <col ref="insurate" format="###%"/>
- <script type="javascript" ev:event="onbeforesort">
- <![CDATA[
- grd_ranklist.deleteRow(grd_ranklist.rows-1);
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_ranklist.subtotalposition= "below"
- var cur_row = grd_ranklist.rows;
- grd_ranklist.subtotal("sum", -1, grd_ranklist.colRef("total"),"", "", 1, "Total");
- grd_ranklist.subtotal("sum", -1, grd_ranklist.colRef("scrnveri"),"", "", 1, "Total");
- grd_ranklist.subtotal("sum", -1, grd_ranklist.colRef("devend"),"", "", 1, "Total");
- grd_ranklist.subtotal("sum", -1, grd_ranklist.colRef("test"),"", "", 1, "Total");
- grd_ranklist.subtotal("sum", -1, grd_ranklist.colRef("insuend"),"", "", 1, "Total");
- grd_ranklist.valuematrix( cur_row, 6) = parseInt(parseInt(grd_ranklist.textmatrix(cur_row, 5)) / parseInt(grd_ranklist.textmatrix(cur_row, 4))*100) + "%";
- grd_ranklist.valuematrix( cur_row, 8) = parseInt(parseInt(grd_ranklist.textmatrix(cur_row, 7)) / parseInt(grd_ranklist.textmatrix(cur_row, 4))*100) + "%";
- grd_ranklist.valuematrix( cur_row, 10) = parseInt(parseInt(grd_ranklist.textmatrix(cur_row, 9)) / parseInt(grd_ranklist.textmatrix(cur_row, 4))*100) + "%";
-
- for(var i=3; i<11; i++)
- {
- grd_ranklist.colstyle(i,"data","text-align") = "right";
- }
- ]]>
- </script>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|