123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520 |
- <?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>
- <cond>
- <year/>
- <vacflag/>
- </cond>
- <studvoluntr>
- <studsch>
- <schnm/>
- <man/>
- <woman/>
- <psnsum/>
- <servtm/>
- <percent/>
- <tot/>
- </studsch>
- <studdept>
- <vacatflag/>
- <actdeptcd/>
- <voluntractteamcd/>
- <psn/>
- <servtm/>
- <percent/>
- </studdept>
- </studvoluntr>
- </main>
- <init>
- <vacatflagcd>
- </vacatflagcd>
- <actdeptcd/>
- <voluntractteamcd/>
- </init>
- <send>
- <reqdata/>
- </send>
- <hidden>
- <excelflag/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //grd_studvoluntrlist.fixedcellcheckbox(0,1) = "true";
- fInit();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRAAA03301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/studvoluntr"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.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/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- </xhtml:head>
- <script type="javascript">
- <![CDATA[
- //초기화
- function fInit() {
- model.removeNodeset("/root/main/studvoluntr");
- var sYear = getCurrentDate().substr(0,4);
- model.setValue("/root/main/cond/year", sYear);
-
- addComboItem("cmb_vacatflagcd","전체","%","above");
- model.setValue("/root/main/cond/vacflag","%");
- zbcfGetCodeList(new Array("A0366", "A0503", "A0360"),new Array("/root/init/vacatflagcd", "/root/init/actdeptcd", "/root/init/voluntractteamcd"),true);
-
- model.makeValue("/root/hidden/excelflag","1");
-
- grd_dept.mergeCells = "bycol";
- grd_dept.mergeCol(0) = true;
- grd_dept.mergeCol(1) = true;
- grd_dept.mergeCol(2) = true;
- grd_dept.mergeCol(3) = false;
- grd_dept.mergeCol(4) = false;
- grd_dept.mergeCol(5) = false;
- grd_dept.mergeCol(6) = false;
-
- model.refresh();
- }
-
- function sum()
- {
- var insRows = grd_sch.rows;
- grd_sch.valueMatrix(insRows, grd_dept.colRef("percent")) = percent+"%";
- model.refresh();
- }
-
- //엑셀저장 버튼 클릭시
- function fExcel() {
- if(model.getValue("/root/hidden/excelflag") == "1" )
- {
- if (grd_sch.rows <= 2)
- {
- messageBox("엑셀파일로 저장할 리스트 내역이", "I004");
- return;
- }
- var fileName = window.fileDialog("save", ",", false, "학생자원봉사자 학교별통계", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_sch.saveExcel(fileName, "SheetName", false, false, "", "", false);
- }
- }
- else if(model.getValue("/root/hidden/excelflag") == "2")
- {
- if (grd_dept.rows <= 2)
- {
- messageBox("엑셀파일로 저장할 리스트 내역이", "I004");
- return;
- }
- var fileName = window.fileDialog("save", ",", false, "학생자원봉사자 부서별통계", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_dept.saveExcel(fileName, "SheetName", false, false, "", "", false);
- }
- }
- }//fExcel END
-
- //조회버튼클릭시
- function fStudVoluntr() {
- if (model.getValue("/root/main/cond/year") == "" ) {
- messageBox("조회년도는 ","I003");
- model.setFocus("ipt_year");
- return false;
- }
-
- model.removeNodeset("/root/main/studvoluntr");
- model.removenode("/root/send");
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- model.makeValue("/root/send/reqdata/excelflag", model.getValue("/root/hidden/excelflag"));
-
- submit("TRAAA03301");
-
- if(model.getValue("/root/hidden/excelflag") == '1')
- {
- //1.학교별 인원 합계계산
- var insRows = grd_sch.rows ;
- grd_sch.addRow(insRows, false);
- var totSum =0;
-
- grd_sch.valueMatrix(insRows, grd_sch.colRef("schnm")) = "합계";
-
- for(var i = grd_sch.colRef("man") ; i <= grd_sch.colRef("woman") ; i++){
- var sSum = 0 ;
- for(var j = grd_sch.fixedRows; j < eval(grd_sch.rows -1 ) ; j++){
- sSum = sSum + eval(grd_sch.valueMatrix(j, i));
- }
- grd_sch.valueMatrix(insRows, i) = sSum;
-
- totSum = totSum +sSum;
- }
- grd_sch.valueMatrix(insRows, grd_sch.colRef("psnsum")) = totSum; //마지막 row의 합계에 총인원
-
- //백분율
- var servtm =0; //합계row의 봉사시간
- for(i=1;i<insRows-1;i++)
- {
- //alert(model.getValue("/root/main/studvoluntr/studsch["+i+"]/psnsum"));
- percent = model.getValue("/root/main/studvoluntr/studsch["+i+"]/psnsum")/totSum *100 ; //백분율
- percent = Math.round(percent*10) /10;
- grd_sch.valueMatrix(i+1, grd_sch.colRef("percent")) = percent+"%";
-
- servtm = servtm + eval(model.getValue("/root/main/studvoluntr/studsch["+i+"]/servtm"));
- }
- grd_sch.valueMatrix(insRows, grd_sch.colRef("servtm")) = servtm;
- grd_sch.valueMatrix(insRows, grd_sch.colRef("percent")) = "100%";
- }
- else if(model.getValue("/root/hidden/excelflag") == '2')
- {
- var deptRows = grd_dept.rows;
- var tot = 0;
- var percent = 0;
- for(i=1;i<deptRows-1;i++)
- {
- if(model.getValue("/root/main/studvoluntr/studdept["+i+"]/actdeptcd") =="합계")
- {
- tot = tot + eval(model.getValue("/root/main/studvoluntr/studdept["+i+"]/psn"));
- }
- }
- for(i=1;i<deptRows-1;i++)
- {
- percent = model.getValue("/root/main/studvoluntr/studdept["+i+"]/psn")/tot *100 ; //백분율
- percent = Math.round(percent*10) /10;
- grd_dept.valueMatrix(i+1, grd_dept.colRef("percent")) = percent+"%";
-
- if(model.getValue("/root/main/studvoluntr/studdept["+i+"]/actdeptcd")=="합계") // 변수에 저장한 값중 합계와 소계인 값을 찾아 색을 넣어준다.
- {
- grd_dept.cellStyle("background-color",i+1,2, i+1, 6) = "#ccffff";
- }
- else if(model.getValue("/root/main/studvoluntr/studdept["+i+"]/voluntractteamcd")=="소계")
- {
- grd_dept.cellStyle("background-color",i+1,3, i+1, 6) = "#ccffcc";
- }
- else if(model.getValue("/root/main/studvoluntr/studdept["+i+"]/vacatflag")=="총계")
- {
- grd_dept.cellStyle("background-color",i+1,1, i+1, 6) = "#fccccc";
- }
- else // 변수에 저장한 값중 합계와 소계인 값을 찾아 색을 넣어준다.
- {
- grd_dept.cellStyle("background-color",i+1,1, i+1, 6) = "#ffffff";
- }
-
- }
-
- return;
-
- // //2.부서별통계 백분율
- // var deptRows = grd_dept.rows;
- // var psnsum = 0;
- //
- // for(i=1;i<deptRows-1;i++)
- // {
- // psnsum = psnsum + eval(model.getValue("/root/main/studvoluntr/studdept["+i+"]/psn")); //전체 인원 구하기
- // }
- // for(i=1;i<deptRows-1;i++)
- // {
- // percent = model.getValue("/root/main/studvoluntr/studdept["+i+"]/psn")/psnsum *100 ; //백분율
- // percent = Math.round(percent*10) /10;
- // grd_dept.valueMatrix(i+1, grd_dept.colRef("percent")) = percent+"%";
- // grd_dept.cellStyle("background-color",i,1, i+2, 6) = "#ffffff"; //색 초기화
- // }
- //
- // //부서별 소계/합계 row 처리
- // var psn = 0;
- // var servtm = 0;
- // var psn2=0;
- // var servtm2=0;
- // var psn3=0;
- // var servtm3=0;
- // var percent = 0;
- // for(i=1;i<deptRows-1;i++)
- // {
- // psn = psn + eval(model.getValue("/root/main/studvoluntr/studdept["+i+"]/psn")); //인원(소계)
- // servtm = servtm + eval(model.getValue("/root/main/studvoluntr/studdept["+i+"]/servtm")); //시간(소계)
- // psn2 = psn2 + eval(model.getValue("/root/main/studvoluntr/studdept["+i+"]/psn")); //인원(합계)
- // servtm2 = servtm2 + eval(model.getValue("/root/main/studvoluntr/studdept["+i+"]/servtm")); //시간(합계)
- // psn3 = psn3 + eval(model.getValue("/root/main/studvoluntr/studdept["+i+"]/psn")); //인원(총계)
- // servtm3 = servtm3 + eval(model.getValue("/root/main/studvoluntr/studdept["+i+"]/servtm")); //시간(총계)
- //
- //
- // if(model.getValue("/root/main/studvoluntr/studdept["+i+"]/vacatflag") == model.getValue("/root/main/studvoluntr/studdept["+(i+1)+"]/vacatflag"))
- // {
- // if (model.getValue("/root/main/studvoluntr/studdept["+i+"]/actdeptcd") == model.getValue("/root/main/studvoluntr/studdept["+(i+1)+"]/actdeptcd"))
- // {
- // continue;
- // }
- // else if(model.getValue("/root/main/studvoluntr/studdept["+i+"]/actdeptcd") != model.getValue("/root/main/studvoluntr/studdept["+(i+1)+"]/actdeptcd"))
- // {
- // grd_dept.insertRow(i+2, false);
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("vacatflag")) = model.getValue("/root/main/studvoluntr/studdept["+i+"]/vacatflag"); //시즌
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("actdeptcd")) = model.getValue("/root/main/studvoluntr/studdept["+i+"]/actdeptcd");//부서명
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("voluntractteamcd")) = "소계"; //소속
- // grd_dept.cellStyle("background-color",i+2,2, i+2, 6) = "#ccffcc";
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("psn")) = psn; //인원(소계)
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("servtm")) = servtm; //봉사시간(소계)
- //
- // percent = psn/psnsum *100 ; //백분율
- // percent = Math.round(percent*10) /10;
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("percent")) = percent+"%";
- //
- // psn = 0;
- // servtm =0;
- // i++; //insertRow하기때문.
- // deptRows++;
- // }
- // }
- // else if(model.getValue("/root/main/studvoluntr/studdept["+i+"]/vacatflag") != model.getValue("/root/main/studvoluntr/studdept["+(i+1)+"]/vacatflag"))
- // {
- //
- // if((i+2)==deptRows)
- // {
- // var rowsum = deptRows+2;
- //
- // grd_dept.addRow(i+2, false);
- //
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("vacatflag")) = model.getValue("/root/main/studvoluntr/studdept["+i+"]/vacatflag"); //시즌
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("actdeptcd")) = model.getValue("/root/main/studvoluntr/studdept["+i+"]/actdeptcd");//부서명
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("voluntractteamcd")) = "소계"; //소속
- // grd_dept.cellStyle("background-color",i+2,2, i+2, 6) = "#ccffcc";
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("psn")) = psn; //인원(소계)
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("servtm")) = servtm; //봉사시간(소계)
- //
- // percent = psn/psnsum *100 ; //백분율
- // percent = Math.round(percent*10) /10;
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("percent")) = percent+"%";
- //
- // psn = 0;
- // servtm =0;
- // i++; //insertRow하기때문.
- // deptRows++;
- //
- // grd_dept.addRow(i+2, false);
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("vacatflag")) = model.getValue("/root/main/studvoluntr/studdept["+i+"]/vacatflag"); //시즌
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("actdeptcd")) = "합계";
- // grd_dept.cellStyle("background-color",i+2,1, i+2, 6) = "#ccffff";
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("psn")) = psn2; //인원(합계)
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("servtm")) = servtm2; //봉사시간(합계)
- //
- // percent = psn2/psnsum *100 ; //백분율
- // percent = Math.round(percent*10) /10;
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("percent")) = percent+"%";
- //
- // //deptRows++;
- // psn2 = 0;
- // servtm2 =0;
- // i++; //insertRow하기때문.
- // deptRows++;
- //
- // grd_dept.addRow(i+2, false);
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("vacatflag")) = model.getValue("/root/main/studvoluntr/studdept["+i+"]/vacatflag"); //시즌
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("vacatflag")) = "총계";
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("psn")) = psn3; //인원(합계)
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("servtm")) = servtm3; //봉사시간(합계)
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("percent")) = "100%"; //백분율
- // //deptRows++;
- // psn2 = 0;
- // servtm2 =0;
- //
- // for(i=1;i<rowsum;i++)
- // {
- // model.removeNodeset("/root/main/studvoluntr["+i+"]/studdept2");
- // //
- // model.makeValue("/root/main/studvoluntr/studdept2["+i+"]/vacatflag", model.getValue("/root/main/studvoluntr/studdept["+i+"]/vacatflag"));
- // model.makeValue("/root/main/studvoluntr/studdept2["+i+"]/actdeptcd", model.getValue("/root/main/studvoluntr/studdept["+i+"]/actdeptcd"));
- // model.makeValue("/root/main/studvoluntr/studdept2["+i+"]/voluntractteamcd", model.getValue("/root/main/studvoluntr/studdept["+i+"]/voluntractteamcd"));
- // model.makeValue("/root/main/studvoluntr/studdept2["+i+"]/psn", model.getValue("/root/main/studvoluntr/studdept["+i+"]/psn"));
- // model.makeValue("/root/main/studvoluntr/studdept2["+i+"]/servtm", model.getValue("/root/main/studvoluntr/studdept["+i+"]/servtm"));
- // model.makeValue("/root/main/studvoluntr/studdept2["+i+"]/sum", model.getValue("/root/main/studvoluntr/studdept["+i+"]/sum"));
- // model.makeValue("/root/main/studvoluntr/studdept2["+i+"]/percent", model.getValue("/root/main/studvoluntr/studdept["+i+"]/percent"));
- //
- // if(model.getValue("/root/main/studvoluntr/studdept2["+i+"]/actdeptcd")=="합계") // 변수에 저장한 값중 합계와 소계인 값을 찾아 색을 넣어준다.
- // {
- // grd_dept2.cellStyle("background-color",i,1, i, 6) = "#ccffff";
- //
- // }
- // else if(model.getValue("/root/main/studvoluntr/studdept2["+i+"]/voluntractteamcd")=="소계")
- // {
- // grd_dept2.cellStyle("background-color",i,2, i, 6) = "#ccffcc";
- // }
- // else // 변수에 저장한 값중 합계와 소계인 값을 찾아 색을 넣어준다.
- // {
- // grd_dept2.cellStyle("background-color",i,1, i, 6) = "#ffffff";
- // }
- // }
- // model.refresh();
- // return;
- // }
- //
- //
- //
- // grd_dept.insertRow(i+2, false);
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("vacatflag")) = model.getValue("/root/main/studvoluntr/studdept["+i+"]/vacatflag"); //시즌
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("actdeptcd")) = model.getValue("/root/main/studvoluntr/studdept["+i+"]/actdeptcd");//부서명
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("voluntractteamcd")) = "소계"; //소속
- // grd_dept.cellStyle("background-color",i+2,2, i+2, 6) = "#ccffcc";
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("psn")) = psn; //인원(소계)
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("servtm")) = servtm; //봉사시간(소계)
- //
- // percent = psn/psnsum *100 ; //백분율
- // percent = Math.round(percent*10) /10;
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("percent")) = percent+"%";
- //
- // psn = 0;
- // servtm =0;
- // i++; //insertRow하기때문.
- // deptRows++;
- //
- // grd_dept.insertRow(i+2, false);
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("vacatflag")) = model.getValue("/root/main/studvoluntr/studdept["+i+"]/vacatflag"); //시즌
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("actdeptcd")) = "합계";
- // grd_dept.cellStyle("background-color",i+2,1, i+2, 6) = "#ccffff";
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("psn")) = psn2; //인원(합계)
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("servtm")) = servtm2; //봉사시간(합계)
- //
- // percent = psn2/psnsum *100 ; //백분율
- // percent = Math.round(percent*10) /10;
- // grd_dept.valueMatrix(i+2, grd_dept.colRef("percent")) = percent+"%";
- //
- // //deptRows++;
- // psn2 = 0;
- // servtm2 =0;
- // i++;
- // deptRows++;
- // }
- // }
- }
- model.refresh();
- }
-
-
-
- //초기화버튼클릭시
- function fReset(){
- var btn = messageBox("초기화를 ", "Q004");
-
- if (btn == '6') {
- model.removeNodeset("/root/main/studvoluntr");
- model.resetInstanceNode("/root/main/cond");
-
- var sYear = getCurrentDate().substr(0,4);
- model.setValue("/root/main/cond/year", sYear);
- model.setValue("/root/main/cond/vacflag", "%");
- model.refresh();
- } else if (btn == '7') {
- return;
- }
- }//fReset END
- ]]>
- </script>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:815px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:207px; height:14px; ">학생자원봉사자통계</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:825px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:820px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:820px; height:35px; "/>
- <button id="button1" class="btn1_letter2" style="left:753px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fStudVoluntr();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:742px; y1:7px; x2:742px; y2:29px; "/>
- <caption id="caption3" class="search_name" style="left:20px; top:10px; width:94px; height:17px; ">조회년도 :</caption>
- <select1 id="cmb_vacatflagcd" ref="/root/main/cond/vacflag" class="combo_search" appearance="minimal" style="left:354px; top:9px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/vacatflagcd/A0366">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_year" ref="/root/main/cond/year" class="input_default" format="yyyy" appearance="minimal" style="left:114px; top:9px; width:86px; height:19px; "/>
- <caption id="caption2" class="search_name" style="left:260px; top:10px; width:90px; height:17px; ">방학구분 :</caption>
- </group>
- <button id="button3" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:748px; top:51px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExcel();
- ]]>
- </script>
- </button>
- <button id="btn_sch" class="btn_sw" group="tab" selected="true" style="left:0px; top:80px; width:88px; height:22px; ">
- <caption>학교별</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fStudSch();
- model.setValue("/root/hidden/excelflag","1");
- model.toggle("case_sch");
- fStudVoluntr();
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_dept" class="btn_sw" group="tab" style="left:88px; top:80px; width:88px; height:22px; ">
- <caption>부서별</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fStudDept();
- model.setValue("/root/hidden/excelflag","2");
- model.toggle("case_dept");
- fStudVoluntr();
- model.refresh();
- ]]>
- </script>
- </button>
- <switch id="swt_studstats" style="left:0px; top:100px; width:820px; height:640px; border-style:solid; ">
- <case id="case_sch" selected="true">
- <datagrid id="grd_sch" nodeset="/root/main/studvoluntr/studsch" caption="소속학교^인원^인원^인원^봉사시간^백분율(%)^tot|소속학교^남^여^합계^봉사시간^백분율(%)^tot" colsep="^" colwidth="180, 90, 90, 90, 170, 174, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:0px; width:815px; height:638px; ">
- <col ref="schnm" style="text-align:center; "/>
- <col ref="man" style="text-align:center; "/>
- <col ref="woman" style="text-align:center; "/>
- <col ref="psnsum" style="text-align:center; "/>
- <col ref="servtm" format="#,###" style="text-align:center; "/>
- <col ref="percent" style="text-align:center; "/>
- <col ref="tot" visibility="hidden"/>
- </datagrid>
- </case>
- <case id="case_dept">
- <datagrid id="grd_dept" nodeset="/root/main/studvoluntr/studdept" caption="시즌^부서명^소속^인원^봉사시간^백분율|시즌^부서명^소속^인원^봉사시간^백분율" colsep="^" colwidth="143, 130, 130, 130, 130, 130" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:0px; width:815px; height:635px; ">
- <col disabled="true" ref="vacatflag" style="text-align:center; "/>
- <col disabled="true" ref="actdeptcd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="voluntractteamcd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="psn" style="text-align:center; "/>
- <col ref="servtm" format="#,###" style="text-align:center; "/>
- <col ref="percent" style="text-align:center; "/>
- </datagrid>
- </case>
- </switch>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:757px; width:820px; height:27px; ">
- <line id="line37" class="line_6" style="x1:0px; y1:0px; x2:820px; y2:0px; "/>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:71px; width:309px; height:14px; ">학생자원봉사자 학교별/부서별 통계</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:86px; x2:820px; y2:86px; "/>
- <button id="button10" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:743px; top:760px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReset();
- //조회
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|