123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SMCIT01100_만족도결과분석관리
- * Summary : 만족도 결과 분석 관리
- * Programmer : 황현석
- * Date Written : 2010.07.02.
- * History :
- * Remark :
- -->
- <?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>만족도 실행 목록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <satsfctexeclist>
- <stintitlcnts/>
- <stinexecperd/>
- <stintrgtflagcd/>
- <stininvsmthdcd/>
- <qpaprtitlcnts/>
- <answprsncnt/>
- <execdeptnm/>
- <execdeptcd/>
- <execnm/>
- <execid/>
- <stinexecstartdd/>
- <stinexecenddd/>
- <stinseqno/>
- <qpaprseqno/>
- <stintrgtnopl/>
- <stintrgtdesccnts/>
- <execrsltenddd/>
- <execrsltendyn/>
- </satsfctexeclist>
- <execrsltenddd/>
- <stinnctslist>
- <stininnscnts/>
- <stinexecstartdd/>
- <stinexecenddd/>
- <stintrgtnopl/>
- <stintrgtdesccnts/>
- <stintrgtflagcd/>
- <stininvsmthdcd/>
- <stintitlcnts/>
- <qpaprtitlcnts/>
- </stinnctslist>
- <stinexecrslt>
- <answprsncnt/>
- <answrate/>
- </stinexecrslt>
- <rsltlist>
- <row>
- <qestitemgrupseqno/>
- <qestitemgrupnm/>
- <stingrupavg/>
- </row>
- </rsltlist>
- </main>
- <send>
- <srch>
- <stinexecstartdd/>
- <stinexecenddd/>
- <stintitlcnts/>
- <execdeptnm/>
- <execdeptcd/>
- <stinprcsstatcd/>
- </srch>
- <valuesrch>
- <stinseqno/>
- <qpaprseqno/>
- <view_chart_yn>N</view_chart_yn>
- </valuesrch>
- </send>
- <init>
- <C0109list/>
- <C0111list/>
- </init>
- <hidden>
- <ref>
- <refgbn/>
- </ref>
- <buttonmode/>
- </hidden>
- <test>
- <rsltlist/>
- </test>
- </root>
- </instance>
- <submission id="TRCIT00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" resultref="/root/main/satsfctexeclist"/>
- <submission id="TRCIT01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/valuesrch" resultref="/root/main/stinexecrslt"/>
- <submission id="TRCIT01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/valuesrch" resultref="/root/test/rsltlist"/>
- <submission id="TXCIT01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedate"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/rexpert30.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tchartHelper.js"/>
- <script type="javascript" src="../../../crm/crmweb/js/CCZ001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 전역변수 선언
- var gRow = 0;
-
- // 공통코드 C0109 : 만족도 대상구분, C0111 : 만족도 조사방법
- zbcfGetCodeList( new Array("C0109", "C0111"), new Array("/root/init/C0109list", "/root/init/C0111list"));
-
- //사용자 부서 설정
- var dutplcenm = getUserInfo("dutplcenm");
- model.setValue("/root/send/srch/execdeptnm", dutplcenm);
- var dutplcecd = getUserInfo("dutplcecd");
- model.setValue("/root/send/srch/execdeptcd", dutplcecd);
-
- // 시작 화면에 오늘 날짜 & 1년 전 보여주기
- model.setValue("/root/send/srch/stinexecstartdd", getCurrentDate().toDate().getAddDate(-1,"Y").getDateFormat());
- model.setValue("/root/send/srch/stinexecenddd", getCurrentDate());
- model.setValue("/root/main/execrsltenddd", getCurrentDate());
-
- model.setValue("/root/hidden/buttonmode", "I");
-
- model.removeNodeset("/root/main/satsfctexeclist");
-
- // 화면 오픈시 전체결과 선택
- btn_allrslt.selected = true;
- chk_chart.disabled = true;
-
- fSetButton();
- fSetInit();
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fGetNResultRef() {
- var cols = datagrid2.cols-datagrid2.fixedCols;
- var rows = datagrid2.rows-datagrid2.fixedRows;
-
- for( var i = 0; i < cols; i++ ) {
- datagrid2.removeColumn(false);
- }
-
- for( var i = 0; i < rows; i++ ) {
- datagrid2.removeRow(false);
- }
-
- model.removeNodeset("/root/main/rsltlist");
-
- submit("TRCIT01101" , false);
-
- var gridCaption = model.getValue("/root/test/rsltlist/header/caption");
-
- if(gridCaption == "") return;
- //ref 정보
- var gridColRef = model.getValue("/root/test/rsltlist/header/colref");
- var gridColRefArray = gridColRef.split("^");
-
- var gridColType = model.getValue("/root/test/rsltlist/header/type");
-
- var gridColTypeArray = gridColType.split("^");
-
- for( var i = 0; i < gridColRefArray.length; i++ ) {
-
- datagrid2.addColumn("ref:" + gridColRefArray[i] + "; type:"+gridColTypeArray[i]+"; ", false);
- datagrid2.colWidth(i+1) = 90;
- }
- datagrid2.caption = gridCaption;
-
- var node = instance1.selectSingleNode("/root/main");
- node.replaceChild(instance1.root.test.rsltlist, instance1.root.main.rsltlist);
- datagrid2.rowheight(0) = 30;
-
- datagrid2.rebuild();
- model.refresh();
- }
-
- function fSetButton(){
- var btn_mode = model.getValue("/root/hidden/buttonmode");
-
- if (btn_mode == "I") {
- btn_viewchrt.disabled = true; // 챠트보기
- btn_qestprnt.disabled = true; // 결과출력
- btn_qestprnt2.disabled = true; // 과별출력
- btn_execansw.disabled = true; // 엑셀답변정보
- chk_chart.disabled = true;
-
- } else {
- btn_viewchrt.disabled = false;
- btn_qestprnt.disabled = false;
- btn_qestprnt2.disabled = false;
- btn_execansw.disabled = false;
- chk_chart.disabled = false;
- }
- model.refresh();
- }
-
- function fSetInit(ref){
- if(ref != 2) {
-
- datagrid2.rowHeight(0) = 30;
-
- if(ref == 1) {
- var cols = datagrid2.cols-datagrid2.fixedCols;
- var rows = datagrid2.rows-datagrid2.fixedRows;
-
- for( var i = 0; i < cols; i++ ) {
- datagrid2.removeColumn(false);
- }
-
- for( var i = 0; i < rows; i++ ) {
- datagrid2.removeRow(false);
- }
- model.makeNode("/root/main/rsltlist/row");
- }
- }
-
- createTChart("object1", 5, 5, 700, 200, case2); //그래프 object 생성
-
- model.refresh();
-
- }
-
- function fDrawGraph(){
-
- model.refresh();
- drawLine999(object1, datagrid2, "문항그룹별 점수", true);
-
- }
-
- // 챠트
- function drawLine999(tChartObj, gridObj, title, refresh) {
- // TChart 초기화
- if( refresh ) {
- tChartObj.RemoveAllSeries();
- tChartObj.Tools.clear();
- }
-
-
- if( title != null || title == "" ) {
- tChartObj.Header.Text(0) = title; // Title 설정
- }
-
- tChartObj.Aspect.View3D = 0; // 모양 설정 :: 0 = 2D | 1 = 3D
- // tChartObj.Themes = 8; // 0~8
- tChartObj.Legend.CheckBoxes = true;
- tChartObj.Legend.Alignment = 1; // Legend 위치 설정 :: 0 = left | 1 = right | 2 = top| 3 = bottom
-
- var Rnd1, Rnd2, Rnd3;
- var cColor;
- var i;
- var x, y;
-
- for(j = 1; j<gridObj.rows; j++){
-
- // if(gridObj.valueMatrix(j, 1) == "true"){
- tChartObj.AddSeries(1); // TChart Type 설정 :: 0 = Line | 1 = Bar ..
- var seriesIndex = tChartObj.SeriesCount -1;
- tChartObj.Series(seriesIndex).Title = "백분율"; //datagrid2.valueMatrix(0, j);
- tChartObj.Axis.Bottom.Labels.Angle = 0; //270
- tChartObj.Axis.Bottom.Labels.Visible = false;
- // tChartObj.Series(seriesIndex).Marks.Visible = true;
- tChartObj.Series(seriesIndex).Marks.Style = 4; // 0~4
-
- cColor = window.rgb(204, 232, 255);
- tChartObj.Series(seriesIndex).Color = cColor;
-
- for( i = 1; i < gridObj.cols; i++ ){
- Rnd1 = Math.random();
- Rnd2 = Math.random();
- Rnd3 = Math.random();
- cColor2 = window.rgb( (255 - 1) * Rnd1 + 1, (255 - 1) * Rnd2 + 1 , (255 - 1) * Rnd3 + 1);
-
- x = datagrid2.valueMatrix(0, i);
- y = datagrid2.valueMatrix(j, i);
-
- if(y != "" && !isNaN(y)){
- // tChartObj.Series(seriesIndex).Add (y, x, tChartObj.Series(seriesIndex).Color);
- tChartObj.Series(seriesIndex).Add (y, x, cColor2);
- tChartObj.Series(seriesIndex).LegendItemColor(cColor2);
- }
- }
- // }
- }
- }
-
- function fSetupBase(row) {
- if(row > 0 && grd_satsfctexeclist.fixedRows > 0){
-
- // 선택한 설문문항 그룹 목록을 그룹 목록 보기로 념거준다
- var stintitlcnts = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stintitlcnts"));
- var stintrgtflagcd = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stintrgtflagcd"));
- var stininvsmthdcd = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stininvsmthdcd"));
- var qpaprtitlcnts = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("qpaprtitlcnts"));
- var stinseqno = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stinseqno"));
- var stininnscnts = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stininnscnts"));
- var qpaprseqno = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("qpaprseqno"));
- var stintrgtnopl = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stintrgtnopl"));
- var stintrgtdesccnts = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stintrgtdesccnts"));
- var stinexecstartdd = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stinexecstartdd"));
- var stinexecenddd = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("stinexecenddd"));
- var execrsltenddd = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("execrsltenddd"));
- var execrsltendyn = grd_satsfctexeclist.valueMatrix(row, grd_satsfctexeclist.colRef("execrsltendyn"));
-
- model.setValue("/root/main/stinnctslist/stintitlcnts", stintitlcnts);
- model.setValue("/root/main/stinnctslist/stintrgtflagcd", stintrgtflagcd);
- model.setValue("/root/main/stinnctslist/stininvsmthdcd", stininvsmthdcd);
- model.setValue("/root/main/stinnctslist/qpaprtitlcnts", qpaprtitlcnts);
- model.setValue("/root/main/stinnctslist/stininnscnts", stininnscnts);
- model.setValue("/root/main/stinnctslist/stintrgtnopl", stintrgtnopl);
- model.setValue("/root/main/stinnctslist/stintrgtdesccnts", stintrgtdesccnts);
- model.setValue("/root/main/stinnctslist/stinexecstartdd", stinexecstartdd);
- model.setValue("/root/main/stinnctslist/stinexecenddd", stinexecenddd);
-
- model.setValue("/root/main/execrsltenddd", execrsltenddd);
- // 만족도 마감시에 마감일자 수정불가
- if (execrsltendyn == "Y") {
- ipt_execrsltenddd.disabled = true;
- btn_stinend.disabled = true; // 마감하기
- btn_endcncl.disabled = false;
- } else {
- ipt_execrsltenddd.disabled = false;
- btn_stinend.disabled = false; // 마감하기
- btn_endcncl.disabled = true;
- model.setValue("/root/main/execrsltenddd", getCurrentDate());
- }
-
- model.setValue("/root/send/valuesrch/stinseqno", stinseqno);
- model.setValue("/root/send/valuesrch/qpaprseqno", qpaprseqno);
-
- if (submit("TRCIT01002")){
- fGetNResultRef();
- }
-
- // 응답률 계산하기
- var answprsncnt = model.getValue("/root/main/stinexecrslt/answprsncnt");
- if (answprsncnt < 1 ) {
- model.setValue("/root/main/stinexecrslt/answrate", "0");
- } else {
- model.setValue("/root/main/stinexecrslt/answrate", ((answprsncnt / stintrgtnopl) * 100));
- }
-
- model.setValue("/root/hidden/buttonmode", "U");
- }
-
- model.toggle("case1");
- btn_allrslt.selected = true;
-
- model.setValue("/root/send/valuesrch/view_chart_yn", "Y");
-
- fSetButton();
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1195" pageheight="784" guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption1" class="tit_1" style="left:5px; top:0px; width:150; height:13px; ">만족도 결과분석 관리</caption>
- <group id="group1" style="left:0px; top:23px; width:1195px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:15; top:9; width:80; height:17; ">조사기간</caption>
- <input id="ipt_srch_stinexecstartdd" ref="/root/send/srch/stinexecstartdd" class="input_search" inputtype="date" style="left:98; top:8; width:90; height:19; "/>
- <caption id="caption3" style="left:193; top:8; width:12; height:19; ">~</caption>
- <input id="ipt_srch_stinexecenddd" ref="/root/send/srch/stinexecenddd" class="input_search" inputtype="date" style="left:210; top:8; width:90; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:310px; top:9px; width:100px; height:17px; ">만족도 제목</caption>
- <input id="ipt_srch_stintitlcnts" ref="/root/send/srch/stintitlcnts" class="input_search" style="left:415px; top:8px; width:180px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption6" class="search_name" style="left:605px; top:9px; width:80px; height:17px; ">실행부서</caption>
- <input id="ipt_scrh_execdeptcd" ref="/root/send/srch/execdeptnm" disabled="true" style="left:690px; top:8px; width:120px; height:19px; "/>
- <button id="btn_execschr" class="icon_search" style="left:813px; top:8px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_condition = "deptnm";
- var search_term = model.getValue("/root/send/srch/execdeptnm");
- var receive_deptcd_path = "/root/send/srch/execdeptcd";
- var receive_deptnm_path = "/root/send/srch/execdeptnm";
-
- cczfOpenSelectDept(search_condition, search_term, receive_deptcd_path, receive_deptnm_path);
- ]]>
- </script>
- </button>
- <input id="ipt_scrh_execid" ref="/root/send/srch/execdeptcd" disabled="true" style="left:832px; top:8px; width:70px; height:19px; "/>
- <line id="line1" class="line_4" style="x1:1112px; y1:7px; x2:1112px; y2:29px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1127; top:7; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // model.setValue("/root/send/srch/stinprcsstatcd", "1");
- submit("TRCIT00801");
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption7" class="tit_2" style="left:0px; top:68px; width:200px; height:13px; ">만족도 실행 결과 목록</caption>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:1131px; top:62px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var fileName = window.fileDialog("save", ",", false, "만족도 결과 목록", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "") {
- grd_satsfctexeclist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <line id="line21" class="line_1" style="x1:0px; y1:83px; x2:1195px; y2:83px; "/>
- <datagrid id="grd_satsfctexeclist" nodeset="/root/main/satsfctexeclist" caption="만족도 제목^조사기간^조사대상^조사방법^설문지^응답수^실행부서^실행자" colsep="^" colwidth="300, 150, 90, 130, 277, 46, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:88px; width:1195px; height:346px; ">
- <col ref="stintitlcnts"/>
- <col ref="stinexecperd"/>
- <col disabled="true" ref="stintrgtflagcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/C0109list/C0109">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="stininvsmthdcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/C0111list/C0111">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="qpaprtitlcnts"/>
- <col ref="answprsncnt"/>
- <col ref="execdeptnm"/>
- <col ref="execnm" style="text-align:center; "/>
- <col ref="execdeptcd" visibility="hidden"/>
- <col ref="execid" visibility="hidden"/>
- <col ref="stinexecenddd" visibility="hidden"/>
- <col ref="stinexecstartdd" visibility="hidden"/>
- <col ref="stinseqno" visibility="hidden"/>
- <col ref="qpaprseqno" visibility="hidden"/>
- <col ref="stintrgtnopl" visibility="hidden"/>
- <col ref="stintrgtdesccnts" visibility="hidden"/>
- <col ref="execrsltenddd" visibility="hidden"/>
- <col ref="execrsltendyn" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- gRow = grd_satsfctexeclist.row;
- fSetupBase(gRow);
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:459px; x2:1195px; y2:459px; "/>
- <caption id="caption5" class="tit_2" style="left:0px; top:444px; width:149px; height:13px; ">만족도 결과 분석 내용</caption>
- <caption id="caption8" style="left:843px; top:440px; width:60px; height:17px; ">마감일자 :</caption>
- <input id="ipt_execrsltenddd" ref="/root/main/execrsltenddd" inputtype="date" style="left:906px; top:438px; width:100px; height:19px; "/>
- <button id="btn_endcncl" class="btn5_letter6" style="left:1009px; top:438px; width:86px; height:19px; ">
- <caption>마감 취소하기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/savedate/execrsltendyn", "N");
- model.makeValue("/root/send/savedate/execrsltenddd", " ");
- model.makeValue("/root/send/savedate/stinseqno", model.getValue("/root/send/valuesrch/stinseqno"));
-
- if (submit("TXCIT01001")) {
- messageBox("만족도 마감 여부가 취소","I001");
- submit("TRCIT00801");
- }
- fSetupBase(gRow);
- ]]>
- </script>
- </button>
- <button id="btn_stinend" class="btn5_letter7" style="left:1098px; top:438px; width:97px; height:19px; ">
- <caption>만족도 마감하기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var execrsltenddd = model.getValue("/root/main/execrsltenddd");
- if (execrsltenddd != "") {
- model.makeValue("/root/send/savedate/execrsltendyn", "Y");
- model.makeValue("/root/send/savedate/execrsltenddd", execrsltenddd);
- model.makeValue("/root/send/savedate/stinseqno", model.getValue("/root/send/valuesrch/stinseqno"));
- if (submit("TXCIT01001")) {
- messageBox("만족도가 마감","I001");
- submit("TRCIT00801");
- }
- fSetupBase(gRow);
- } else {
- messageBox("마감일자를","C001");
- model.setFocus("/root/main/execrsltenddd");
- }
-
- model.removeNodeset("/root/send/savedate");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_2" style="x1:0px; y1:486px; x2:1195px; y2:486px; "/>
- <caption id="caption9" class="cell_1" style="left:0px; top:464px; width:90px; height:23px; ">만족도 제목</caption>
- <input id="ipt_stintitlcnts" ref="/root/main/stinnctslist/stintitlcnts" disabled="true" style="left:93px; top:465px; width:1102px; height:19px; "/>
- <line id="line4" class="line_3" style="x1:0px; y1:510px; x2:1195px; y2:510px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:488px; width:90px; height:23px; ">설문지</caption>
- <input id="ipt_qpaprtitlcnts" ref="/root/main/stinnctslist/qpaprtitlcnts" disabled="true" style="left:93px; top:489px; width:1102px; height:19px; "/>
- <line id="line5" class="line_1" style="x1:0px; y1:536px; x2:432px; y2:536px; "/>
- <caption id="caption11" class="tit_2" style="left:0px; top:521px; width:100px; height:13px; ">조사개요</caption>
- <line id="line6" class="line_2" style="x1:0px; y1:590px; x2:432px; y2:590px; "/>
- <caption id="caption12" class="cell_1" style="left:0px; top:541px; width:90px; height:50px; ">조사목적</caption>
- <textarea id="textarea1" ref="/root/main/stinnctslist/stininnscnts" disabled="true" style="left:93px; top:542px; width:339px; height:47px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:614px; x2:432px; y2:614px; "/>
- <caption id="caption13" class="cell_1" style="left:0px; top:592px; width:90px; height:23px; ">조사기간</caption>
- <input id="ipt_stinexecstartdd" ref="/root/main/stinnctslist/stinexecstartdd" disabled="true" style="left:93px; top:593px; width:85px; height:19px; "/>
- <caption id="caption14" style="left:181px; top:594px; width:13px; height:17px; ">~</caption>
- <input id="ipt_stinexecenddd" ref="/root/main/stinnctslist/stinexecenddd" disabled="true" style="left:197px; top:593px; width:85px; height:19px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:638px; x2:432px; y2:638px; "/>
- <caption id="caption15" class="cell_1" style="left:0px; top:616px; width:90px; height:23px; ">조사대상</caption>
- <caption id="caption16" style="left:93px; top:619px; width:106px; height:17px; ">설문대상 인원 수 :</caption>
- <select1 id="cmb_stintrgtflagcd" ref="/root/main/stinnctslist/stintrgtflagcd" disabled="true" appearance="minimal" style="left:202px; top:617px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0109list/C0109">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_stintrgtnopl" ref="/root/main/stinnctslist/stintrgtnopl" disabled="true" style="left:355px; top:617px; width:50px; height:19px; "/>
- <caption id="caption17" style="left:408px; top:619px; width:24px; height:17px; ">(명)</caption>
- <line id="line9" class="line_2" style="x1:0px; y1:662px; x2:432px; y2:662px; "/>
- <caption id="caption18" class="cell_1" style="left:0px; top:640px; width:90px; height:23px; ">답변 인원 수</caption>
- <input id="ipt_wrtestatcd" ref="/root/main/stinexecrslt/answprsncnt" disabled="true" style="left:93px; top:641px; width:50px; height:19px; "/>
- <caption id="caption19" style="left:146px; top:643px; width:24px; height:17px; ">(명)</caption>
- <line id="line10" class="line_2" style="x1:0px; y1:686px; x2:432px; y2:686px; "/>
- <caption id="caption20" class="cell_1" style="left:0px; top:664px; width:90px; height:23px; ">응답률</caption>
- <input id="ipt_cnfmperc" ref="/root/main/stinexecrslt/answrate" disabled="true" style="left:93px; top:665px; width:50px; height:19px; "/>
- <caption id="caption21" style="left:146px; top:666px; width:14px; height:17px; ">%</caption>
- <line id="line11" class="line_2" style="x1:0px; y1:737px; x2:432px; y2:737px; "/>
- <caption id="caption22" class="cell_1" style="left:0px; top:688px; width:90px; height:50px; ">대상 설명</caption>
- <textarea id="tar_stintrgtdesccnts" ref="/root/main/stinnctslist/stintrgtdesccnts" disabled="true" style="left:93px; top:689px; width:339px; height:47px; "/>
- <line id="line12" class="line_3" style="x1:0px; y1:761px; x2:432px; y2:761px; "/>
- <caption id="caption23" class="cell_1" style="left:0px; top:739px; width:90px; height:23px; ">조사방법</caption>
- <select1 id="cmb_stininvsmthdcd" ref="/root/main/stinnctslist/stininvsmthdcd" disabled="true" appearance="minimal" style="left:93px; top:740px; width:339px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0111list/C0111">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <switch id="switch1" style="left:452px; top:545px; width:743px; height:225px; ">
- <case id="case1" selected="true">
- <datagrid id="datagrid2" nodeset="/root/main/rsltlist/row" backcoloralternate="transparent" colsep="^" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="free" style="left:0px; top:5px; width:730px; height:210px; "/>
- </case>
- <case id="case2"/>
- </switch>
- <button id="btn_viewchrt" class="btn_sw8" group="tab" style="left:528px; top:524px; width:93px; height:22px; ">
- <caption>그룹 평균 그래프</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- model.setvalue("/root/hidden/ref/refgbn","2");
- model.toggle("case2");
-
- fDrawGraph();
- ]]>
- </script>
- </button>
- <button id="btn_execansw" class="btn2_letter7" style="left:941px; top:523px; width:97px; height:19px; ">
- <caption>만족도답변정보</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 설문지 일련번호 만족도일련번호 셋팅하기
- var qpaprseqno = model.getValue("/root/send/valuesrch/qpaprseqno");
- var stinseqno = model.getValue("/root/send/valuesrch/stinseqno");
- var stintitlcnts = model.getValue("/root/main/stinnctslist/stintitlcnts");
- var qpaprtitlcnts = model.getValue("/root/main/stinnctslist/qpaprtitlcnts");
- var answprsncnt = model.getValue("/root/main/stinexecrslt/answprsncnt");
- var stintrgtflagcd = model.getValue("/root/main/stinnctslist/stintrgtflagcd");
-
- setParameter("qpaprseqno", qpaprseqno);
- setParameter("stinseqno", stinseqno);
- setParameter("stintitlcnts", stintitlcnts);
- setParameter("qpaprtitlcnts", qpaprtitlcnts);
- setParameter("answprsncnt", answprsncnt);
- setParameter("stintrgtflagcd", stintrgtflagcd);
-
- modal("SPCIT01800");
-
- clearParameter("qpaprseqno");
- clearParameter("stinseqno");
- clearParameter("stintitlcnts");
- clearParameter("qpaprtitlcnts");
- clearParameter("answprsncnt");
- clearParameter("stintrgtid");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_qestprnt" class="btn2_letter6" style="left:1041px; top:523px; width:86px; height:19px; ">
- <caption>결과분석출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 설문지 일련번호 만족도일련번호 셋팅하기
- var qpaprseqno = model.getValue("/root/send/valuesrch/qpaprseqno");
- var stinseqno = model.getValue("/root/send/valuesrch/stinseqno");
- var view_chart_yn = model.getValue("/root/send/valuesrch/view_chart_yn");
- if (view_chart_yn == "") {
- model.setValue("/root/send/valuesrch/view_chart_yn", "N");
- }
-
- if (qpaprseqno != "" && stinseqno != ""){
- var obj = new Object();
- var option = "open=0;save=1;directprint=0;printdailog=0;print=1;stop=1;excel=1;zoomin=1;zoomout=1;moveprev=1;movenext=1;combo=1;movefirst=1;movelast=1;help=1";
- obj.instcd = getUserInfo("dutplceinstcd");
- obj.stinseqno = stinseqno;
- obj.qpaprseqno = qpaprseqno;
- obj.view_chart_yn = view_chart_yn;
- obj.instnm = getUserInfo("dutplceinstnm");
- exeReportPreview30("RPCIT01100",obj, option);
- }
- ]]>
- </script>
- </button>
- <select id="chk_chart" ref="/root/send/valuesrch/view_chart_yn" overflow="visible" appearance="full" style="left:867px; top:527px; width:70px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>차트 출력</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/valuesrch/view_chart_yn", "Y");
- ]]>
- </script>
- </select>
- <button id="btn_allrslt" class="btn_sw5" group="tab" style="left:452px; top:524px; width:64px; height:22px; ">
- <caption>전체 결과</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setvalue("/root/hidden/ref/refgbn","1");
- model.toggle("case1");
- ]]>
- </script>
- </button>
- <button id="btn_qestprnt2" class="btn2_letter4" style="left:1131px; top:523px; width:64px; height:19px; ">
- <caption>과별출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 설문지 일련번호 만족도일련번호 셋팅하기
- var qpaprseqno = model.getValue("/root/send/valuesrch/qpaprseqno");
- var stinseqno = model.getValue("/root/send/valuesrch/stinseqno");
- var view_chart_yn = model.getValue("/root/send/valuesrch/view_chart_yn");
- if (view_chart_yn == "") {
- model.setValue("/root/send/valuesrch/view_chart_yn", "N");
- }
-
- if (qpaprseqno != "" && stinseqno != ""){
- var obj = new Object();
- var option = "open=0;save=1;directprint=0;printdailog=0;print=1;stop=1;excel=1;zoomin=1;zoomout=1;moveprev=1;movenext=1;combo=1;movefirst=1;movelast=1;help=1";
- obj.instcd = getUserInfo("dutplceinstcd");
- obj.stinseqno = stinseqno;
- obj.qpaprseqno = qpaprseqno;
- obj.view_chart_yn = view_chart_yn;
- obj.instnm = getUserInfo("dutplceinstnm");
- exeReportPreview30("RPCIT01101",obj, option);
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|