123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SMCPC00100_만족도설문문항관리
- * Summary : 만족도 설문 문항 관리
- * Programmer : 황현석
- * Date Written : 2010.06.24.
- * 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>
- <qestitemgruplist>
- <qestitemgrupnm/>
- <qestitemgrupdesc/>
- <qestitemlrgcd/>
- <qestitemmdlcd/>
- <rgstdeptcd/>
- <qestrgstid/>
- <qestrgstdd/>
- <qestitemgrupseqno/>
- <qestitemlrgnm/>
- <qestitemmdlnm/>
- <qestseqnocount/>
- <rgstdeptnm/>
- <qestrgstnm/>
- </qestitemgruplist>
- <qestgrup>
- <qestitemlrgcd/>
- <qestitemmdlcd/>
- <qestitemgrupnm/>
- <qestitemgrupdesc/>
- <rgstdeptnm/>
- <rgstdeptcd/>
- <qestrgstnm/>
- <qestrgstid/>
- <qestrgstdd/>
- <useyn/>
- <savemode>I</savemode>
- <qestitemmdlnm/>
- </qestgrup>
- <qestgoalcls>
- <qestitemlist>
- <qestitemgrupnm/>
- <qestseqnocount/>
- <qestvw/>
- <qestitemlrgcd/>
- <qestitemmdlcd/>
- <qestitemgrupseqno/>
- <setPoint/>
- <qestcnts/>
- <qestrgstdeptcd/>
- <qestrgstdeptnm/>
- </qestitemlist>
- <qestitemlrgnm/>
- <qestitemmdlnm/>
- </qestgoalcls>
- </main>
- <send>
- <qestsrch>
- <qestitemmdlcd>
- </qestitemmdlcd>
- <qestitemlrgcd>
- </qestitemlrgcd>
- <qestitemgrupnm/>
- <setPoint/>
- </qestsrch>
- <info>
- <qestitemlrgcd/>
- </info>
- </send>
- <init>
- <qestitemlrgcd/>
- <qestitemmdlcd/>
- <qestitemlrglist/>
- <qestitemmdllist/>
- <menuid/>
- <srch>
- <qestitemmdllist/>
- </srch>
- </init>
- <hidden>
- <scrnflag>G</scrnflag>
- </hidden>
- </root>
- </instance>
- <submission id="TRCIT00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/qestsrch" resultref="/root/main/qestitemgruplist"/>
- <submission id="TRCIT00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/init/qestitemlrglist/qestitemlrggrup"/>
- <submission id="TRCIT00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/init/qestitemmdllist/qestitemmdlgrup"/>
- <submission id="TRCIT01404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" resultref="/root/init/srch/qestitemmdllist/qestitemmdlgrup"/>
- <submission id="TXCIT00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/qestgrup"/>
- <submission id="TXCIT00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/qestgrup"/>
- </model>
- <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/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- var setPoint = model.getValue("/root/send/qestsrch/setPoint");
-
- //사용자 부서 설정
- var dutplcenm = getUserInfo("dutplcenm");
- model.setValue("/root/main/qestgrup/rgstdeptnm", dutplcenm);
- var dutplcecd = getUserInfo("dutplcecd");
- model.setValue("/root/main/qestgrup/rgstdeptcd", dutplcecd);
-
- //사용자 설정
- var usernm = getUserInfo("usernm");
- model.setValue("/root/main/qestgrup/qestrgstnm", usernm);
- var userid = getUserInfo("userid");
- model.setValue("/root/main/qestgrup/qestrgstid", userid);
-
- // 등록일의 값이 없으면 최근한달로 셋팅한다.
- var qestrgstdd = model.getValue("/root/main/qestgrup/qestrgstdd");
-
- if (qestrgstdd == "") {
- model.setValue("/root/main/qestgrup/qestrgstdd",getCurrentDate());
- }
-
- // 메시지 대그룹을 가져온다
- submit("TRCIT00102");
-
- if (setPoint == "R") {
- var srchLrgcd = model.getValue("/root/send/qestsrch/qestitemlrgcd");
-
- if (srchLrgcd != "") {
- fGetSrchQestItemMdlCd();
- submit("TRCIT00101");
- } else {
- model.removeNodeset("/root/main/qestitemgruplist"); // 문항그룹목록
- }
- } else {
- model.removeNodeset("/root/main/qestitemgruplist"); // 문항그룹목록
- }
-
- fSetButtons(); // 버튼의 활성화 유무를 확인
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- //만족도 설문 문항 조회
- function fGetMsgTmplList() {
- /*
- var ipt_srch_qestitemgrupnm = model.getValue("/root/send/qestsrch/qestitemgrupnm");
-
- if(ipt_srch_qestitemgrupnm == ""){
- messageBox("문항 그룹명이 입력 되지", "E007");
- return false;
- }getQPaprList
-
-
- model.removeNodeset("/root/main/qestitemgruplist");*/
- submit("TRCIT00101");
- }
-
-
- // 선택한 채널관리 대분류에 따른 채널관리 중분류를 가져온다.
- function fGetQestItemMdlCd() {
- var qestitemlrgcd = model.getValue("/root/main/qestgrup/qestitemlrgcd");
- model.setValue("/root/send/info/qestitemlrgcd", "");
- model.setValue("/root/send/info/qestitemlrgcd",qestitemlrgcd);
- submit("TRCIT00103");
- }
-
- // 검색부에서 대분류에 따른 채널관리 중분류를 가져온다.
- function fGetSrchQestItemMdlCd() {
- var qestitemlrgcd = model.getValue("/root/send/qestsrch/qestitemlrgcd");
- model.setValue("/root/send/info/qestitemlrgcd", "");
- model.setValue("/root/send/info/qestitemlrgcd",qestitemlrgcd);
- submit("TRCIT01404");
- }
-
-
- // 문항 그룹 등록 및 수정
- function fSaveMsg() {
- if (submit("TXCIT00101")) {
- messageBox("문항 그룹 저장이", "I002", "");
- submit("TRCIT00101");
- } else {
- alert("오류");
- }
-
- model.refresh();
- }
-
- //저장시 정합성 체크
- function fMsgValid(){
- var cmb_qestitemlrgcd = model.getValue("/root/main/qestgrup/qestitemlrgcd");
- var cmb_qestitemmdlcd = model.getValue("/root/main/qestgrup/qestitemmdlcd");
- var ipt_qestitemgrupnm = model.getValue("/root/main/qestgrup/qestitemgrupnm");
- var tar_qestitemgrupdesc = model.getValue("/root/main/qestgrup/qestitemgrupdesc");
-
- if(cmb_qestitemlrgcd == ""){
- messageBox("설문 목적 분류의 대그룹이 선택 되지", "E007");
- return false;
- }
- if(cmb_qestitemmdlcd == ""){
- messageBox("설문 목적 분류의 중그룹이 선택 되지", "E007");
- return false;
- }
- if(ipt_qestitemgrupnm == ""){
- messageBox("문항 그룹명이 입력 되지", "E007");
- return false;
- }
- if(tar_qestitemgrupdesc == ""){
- messageBox("문항 그룹설명 입력 되지", "E007");
- return false;
- }
- return true;
- }
-
- // 버튼의 활성화 유무
- function fSetButtons() {
- var savemode = model.getValue("/root/main/qestgrup/savemode");
-
- if (savemode == "I") {
- btn_grupqestprvw.disabled = true;
- btn_updt.disabled = true;
- btn_save.disabled = false;
- btn_del.disabled = true;
- btn_qestprvw.disabled = true;
- } else if (savemode == "U") {
- btn_grupqestprvw.disabled = false; // 회의 끝나면 false 로 바꿀것.
- btn_updt.disabled = false;
- btn_save.disabled = true;
- btn_del.disabled = false;
- btn_qestprvw.disabled = false;
- }
- }
-
- // 그룹 상세보기 초기화
- function fNewMsg() {
-
- model.setValue("/root/main/qestgrup/qestitemlrgcd", "");
- model.setValue("/root/main/qestgrup/qestitemmdlcd", "");
- model.setValue("/root/main/qestgrup/qestitemgrupnm", "");
- model.setValue("/root/main/qestgrup/qestitemgrupdesc", "");
- model.removeNodeset("/root/init/qestitemmdllist/qestitemmdllist");
-
- //사용자 부서 설정
- var dutplcenm = getUserInfo("dutplcenm");
- model.setValue("/root/main/qestgrup/rgstdeptnm", dutplcenm);
- var dutplcecd = getUserInfo("dutplcecd");
- model.setValue("/root/main/qestgrup/rgstdeptcd", dutplcecd);
-
- //사용자 설정
- var usernm = getUserInfo("usernm");
- model.setValue("/root/main/qestgrup/qestrgstnm", usernm);
- var userid = getUserInfo("userid");
- model.setValue("/root/main/qestgrup/qestrgstid", userid);
-
- // 등록일의 값이 없으면 최근한달로 셋팅한다.
- var qestrgstdd = model.getValue("/root/main/qestgrup/qestrgstdd");
-
- if (qestrgstdd == "") {
- model.setValue("/root/main/qestgrup/qestrgstdd",getCurrentDate());
- }
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1195" pageheight="784" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption1" class="tit_1" style="left:0; top:0; width:215; height:13; ">만족도 목적 분류</caption>
- <group id="group1" style="left:0px; top:23px; width:215px; height:757px; ">
- <import id="import1" src="SSCIT01600_만족도그룹트리.xrw" style="left:0px; top:13px; width:215px; height:744px; "/>
- </group>
- <group id="group2" style="left:225; top:0; width:970; height:767; ">
- <caption id="caption2" class="tit_1" style="left:5; top:0; width:970; height:13; ">만족도 설문 문항 그룹 관리</caption>
- <group id="group3" style="left:0; top:23; width:970; height:35; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:5; top:0px; width:960; height:35px; "/>
- <caption id="caption3" class="search_name" style="left:15px; top:9; width:100px; height:17; ">문항 그룹명</caption>
- <input id="ipt_srch_qestitemgrupnm" ref="/root/send/qestsrch/qestitemgrupnm" class="input_search" maxlength="30" style="left:128; top:7; width:250; height:19; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:381px; top:9px; width:115px; height:17px; ">설문 목적 분류</caption>
- <select1 id="cmb_srch_qestitemlrgcd" ref="/root/send/qestsrch/qestitemlrgcd" class="combo_search" appearance="minimal" style="left:499px; top:7px; width:130; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/qestitemlrglist/qestitemlrglist">
- <label ref="qestitemlrgnm"/>
- <value ref="qestitemlrgcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 기존에 선택된 중분류를 초기화한다.
- model.removenodeset("/root/init/srch/qestitemmdllist/qestitemmdllist");
- model.removenodeset("/root/init/qestitemmdllist/qestitemmdllist");
-
- // 선택한 만족도관리 대분류에 따른 만족도관리 중분류를 가져온다.
- fGetSrchQestItemMdlCd();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_srch_qestitemmdlcd" ref="/root/send/qestsrch/qestitemmdlcd" class="combo_search" appearance="minimal" style="left:632px; top:7px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/srch/qestitemmdllist/qestitemmdllist">
- <label ref="qestitemmdlnm"/>
- <value ref="qestitemmdlcd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line1" class="line_4" style="x1:883px; y1:7px; x2:883px; y2:29px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:898px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- if (ipt_srch_qestitemgrupnm.value.length < 2) {
- messageBox("부서명 검색은 최소 2글자 이상 ", "C001");
- model.setFocus("ipt_srch_qestitemgrupnm");
- } else {
- fGetMsgTmplList();
- }*/
- fGetMsgTmplList();
- // 등록화면 초기화
- // model.resetInstanceNode("/root/main/qestgrup");
- model.setValue("/root/main/qestgrup/savemode", "I");
-
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" style="left:0; top:58; width:970; height:328; ">
- <line id="line21" class="line_1" style="x1:5px; y1:25px; x2:965px; y2:25px; "/>
- <caption id="caption5" class="tit_2" style="left:5; top:10; width:200; height:13; ">만족도 설문 문항 그룹 목록</caption>
- <datagrid id="grd_qestitemgruplist" nodeset="/root/main/qestitemgruplist" caption="문항 그룹명^문항 그룹설명^설문문항 대분류^설문문항 중분류^등록부서^등록자^등록일^^^" colsep="^" colwidth="230, 168, 110, 140, 110, 110, 90, 0, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:30px; width:960px; height:295px; ">
- <col ref="qestitemgrupnm"/>
- <col ref="qestitemgrupdesc"/>
- <col ref="qestitemlrgnm"/>
- <col ref="qestitemmdlnm"/>
- <col ref="rgstdeptnm"/>
- <col ref="qestrgstnm" style="text-align:center; "/>
- <col ref="qestrgstdd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="qestitemgrupseqno" visibility="hidden"/>
- <col ref="rgstdeptcd" visibility="hidden"/>
- <col ref="qestrgstid" visibility="hidden"/>
- <col ref="qestitemlrgcd" visibility="hidden"/>
- <col ref="qestitemmdlcd" visibility="hidden"/>
- <col ref="qestseqnocount" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- fNewMsg();
-
- if( grd_qestitemgruplist.isCell(event.target) && grd_qestitemgruplist.row >= grd_qestitemgruplist.fixedRows ){
- var row = grd_qestitemgruplist.row;
-
- // 선택한 설문문항 그룹 목록을 그룹 목록 보기로 념거준다
- var qestitemlrgcd = grd_qestitemgruplist.valueMatrix(row, grd_qestitemgruplist.colRef("qestitemlrgcd"));
- var qestitemmdlcd = grd_qestitemgruplist.valueMatrix(row, grd_qestitemgruplist.colRef("qestitemmdlcd"));
- var qestitemmdlnm = grd_qestitemgruplist.valueMatrix(row, grd_qestitemgruplist.colRef("qestitemmdlnm"));
- var qestitemgrupnm = grd_qestitemgruplist.valueMatrix(row, grd_qestitemgruplist.colRef("qestitemgrupnm"));
- var qestitemgrupdesc = grd_qestitemgruplist.valueMatrix(row, grd_qestitemgruplist.colRef("qestitemgrupdesc"));
- var rgstdeptcd = grd_qestitemgruplist.valueMatrix(row, grd_qestitemgruplist.colRef("rgstdeptcd"));
- var rgstdeptnm = grd_qestitemgruplist.valueMatrix(row, grd_qestitemgruplist.colRef("rgstdeptnm"));
- var qestrgstid = grd_qestitemgruplist.valueMatrix(row, grd_qestitemgruplist.colRef("qestrgstid"));
- var qestrgstnm = grd_qestitemgruplist.valueMatrix(row, grd_qestitemgruplist.colRef("qestrgstnm"));
- var qestrgstdd = grd_qestitemgruplist.valueMatrix(row, grd_qestitemgruplist.colRef("qestrgstdd"));
- var qestitemgrupseqno = grd_qestitemgruplist.valueMatrix(row, grd_qestitemgruplist.colRef("qestitemgrupseqno"));
- model.setValue("/root/main/qestgrup/qestitemlrgcd",qestitemlrgcd);
- model.setValue("/root/main/qestgrup/qestitemmdlcd",qestitemmdlcd);
- model.setValue("/root/main/qestgrup/qestitemmdlnm",qestitemmdlnm);
- model.setValue("/root/main/qestgrup/qestitemgrupnm",qestitemgrupnm);
- model.setValue("/root/main/qestgrup/qestitemgrupdesc",qestitemgrupdesc);
- model.setValue("/root/main/qestgrup/rgstdeptcd",rgstdeptcd);
- model.setValue("/root/main/qestgrup/rgstdeptnm",rgstdeptnm);
- model.setValue("/root/main/qestgrup/qestrgstid",qestrgstid);
- model.setValue("/root/main/qestgrup/qestrgstnm",qestrgstnm);
- model.setValue("/root/main/qestgrup/qestrgstdd",qestrgstdd);
- model.makeValue("/root/main/qestgrup/qestitemgrupseqno",qestitemgrupseqno);
- model.setValue("/root/main/qestgrup/savemode","U");
-
- // 버튼의 활성화 유무를 확인
- fSetButtons();
-
- // 선택한 설문문항 그룹 목록을 설문 목적 분류로 념거준다
- var goal_qestitemlrgnm = grd_qestitemgruplist.valueMatrix(row, grd_qestitemgruplist.colRef("qestitemlrgnm"));
- var goal_qestitemmdlnm = grd_qestitemgruplist.valueMatrix(row, grd_qestitemgruplist.colRef("qestitemmdlnm"));
- var goal_qestitemgrupnm = grd_qestitemgruplist.valueMatrix(row, grd_qestitemgruplist.colRef("qestitemgrupnm"));
- var goal_qestseqnocount = grd_qestitemgruplist.valueMatrix(row, grd_qestitemgruplist.colRef("qestseqnocount"));
-
- model.setValue("/root/main/qestgoalcls/qestitemlrgnm",goal_qestitemlrgnm);
- model.setValue("/root/main/qestgoalcls/qestitemmdlnm",goal_qestitemmdlnm);
- model.setValue("/root/main/qestgoalcls/qestitemlist/qestitemlrgcd",qestitemlrgcd);
- model.setValue("/root/main/qestgoalcls/qestitemlist/qestitemmdlcd",qestitemmdlcd);
- model.setValue("/root/main/qestgoalcls/qestitemlist/qestitemgrupseqno",qestitemgrupseqno);
- model.setValue("/root/main/qestgoalcls/qestitemlist/qestitemgrupnm",goal_qestitemgrupnm);
- model.setValue("/root/main/qestgoalcls/qestitemlist/qestseqnocount",goal_qestseqnocount);
-
- model.refresh();
-
- // 선택한 만족도관리 대분류에 따른 만족도관리 중분류를 가져온다.
- fGetQestItemMdlCd();
- //저장 수정버튼 활성화 구분
- //fGetMsgStatus();
-
- //model.setValue("/root/hidden/msgsmlcd",grd_msgtmpllist.valueMatrix(grd_msgtmpllist.row,grd_msgtmpllist.colRef("msgsmlcd")));
-
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:901; top:5; width:64; height:19; ">
- <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_qestitemgruplist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" style="left:0; top:386; width:520; height:374; ">
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- // // 선택한 리스트에 대한 내용을 가져온다.
- // var row = grd_qestitemgruplist.row;
- // var qestitemgrupseqno = grd_qestitemgruplist.valueMatrix( row, grd_qestitemgruplist.colRef("qestitemgrupseqno"));
- //
- // if (qestitemgrupseqno != "" && row > 0) {
- // model.setValue("/root/send/qestitemgrupseqno", qestitemgrupseqno);
- //
- // model.removenodeset("/root/main/qestgrup");
- // submit("TRCIT00102","TRCIT00103");
- // }
- // grd_qestitemlrglist.dispatch("onmouseup");
- // ]]>
- </script>
- <line id="line3" class="line_1" style="x1:5px; y1:25px; x2:510px; y2:25px; "/>
- <caption id="caption6" class="tit_2" style="left:5; top:10; width:100px; height:13; ">문항 그룹</caption>
- <button id="btn_del" class="btn5_letter2" style="left:468px; top:4px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TXCIT00102");
- model.resetInstanceNode("/root/main/qestgrup");
- submit("TRCIT00101");
- fNewMsg();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn5_letter2" style="left:423px; top:4px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fMsgValid()){
- model.setValue("/root/main/qestgrup/useyn","Y");
- var savemode = model.getValue("/root/main/qestgrup/savemode");
- fSaveMsg(); //문항그룹 속성 저장(I:등록, U:수정)
- fNewMsg();
- }
- ]]>
- </script>
- </button>
- <button id="btn_updt" class="btn5_letter2" style="left:378px; top:4px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fMsgValid()){
- model.setValue("/root/main/qestgrup/useyn","Y");
- model.setValue("/root/main/qestgrup/savemode","U");
- var savemode = model.getValue("/root/main/qestgrup/savemode");
- fSaveMsg(); //문항그룹 속성 저장(I:등록, U:수정)
- fNewMsg();
- }
- ]]>
- </script>
- </button>
- <button id="btn_new" class="btn2_letter2" style="left:333px; top:4px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/main/qestgrup/savemode","I");
-
- fNewMsg();
- fSetButtons();
- ]]>
- </script>
- </button>
- <button id="btn_grupqestprvw" class="btn2_letter8" style="left:222px; top:4px; width:108px; height:19px; ">
- <caption>그룹설문 미리보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var qestitemlrgcd = model.getValue("/root/main/qestgrup/qestitemlrgcd");
- var qestitemmdlcd = model.getValue("/root/main/qestgrup/qestitemmdlcd");
- var qestitemgrupseqno = model.getValue("/root/main/qestgoalcls/qestitemlist/qestitemgrupseqno");
-
- setParameter("qestseqno", "");
- setParameter("qestitemlrgcd", qestitemlrgcd);
- setParameter("qestitemmdlcd", qestitemmdlcd);
- setParameter("qestitemgrupseqno", qestitemgrupseqno);
-
- modal("SPCIT00200");
-
- clearParameter("qestitemlrgcd");
- clearParameter("qestitemmdlcd");
- clearParameter("qestitemgrupseqno");
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="btn_qestitmemngt" class="btn2_letter7" style="left:122px; top:4px; width:97px; height:19px; ">
- <caption>설문 문항 관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/qestgoalcls/qestitemlist/qestitemgrupnm", "");
- model.setValue("/root/main/qestgoalcls/qestitemlist/qestseqnocount", "");
- model.setValue("/root/main/qestgoalcls/qestitemlist/qestitemlrgcd", "");
- model.setValue("/root/main/qestgoalcls/qestitemlist/qestitemmdlcd", "");
- model.setValue("/root/main/qestgoalcls/qestitemlist/qestitemgrupseqno", "");
- model.setValue("/root/main/qestgoalcls/qestitemlist/qestcnts", "");
- model.setValue("/root/main/qestgoalcls/qestitemlist/setPoint", "B");
- navigate("SMCIT01400", "", "", "", "SMCIT01400", "/root/main/qestgoalcls/qestitemlist", "/root/send/srch");
- ]]>
- </script>
- </button>
- <line id="line4" class="line_2" style="x1:5px; y1:52px; x2:510px; y2:52px; "/>
- <caption id="caption7" class="cell_1" style="left:5; top:30; width:100px; height:23; ">설문 목적 분류</caption>
- <select1 id="cmb_qestitemlrgcd" ref="/root/main/qestgrup/qestitemlrgcd" class="combo_essential" appearance="minimal" style="left:108; top:31; width:130; height:19; ">
- <choices>
- <itemset nodeset="/root/init/qestitemlrglist/qestitemlrglist">
- <label ref="qestitemlrgnm"/>
- <value ref="qestitemlrgcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 기존에 선택된 중분류를 초기화한다.
- model.removenodeset("/root/init/qestitemmdllist/qestitemmdllist");
-
- // 선택한 만족도관리 대분류에 따른 만족도관리 중분류를 가져온다.
- fGetQestItemMdlCd();
- model.setFocus("cmb_msgmdlcd");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_qestitemmdlcd" ref="/root/main/qestgrup/qestitemmdlcd" class="combo_essential" appearance="minimal" style="left:241; top:31; width:150; height:19; ">
- <choices>
- <itemset nodeset="/root/init/qestitemmdllist/qestitemmdllist">
- <label ref="qestitemmdlnm"/>
- <value ref="qestitemmdlcd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line5" class="line_2" style="x1:5px; y1:76; x2:510px; y2:76; "/>
- <caption id="caption8" class="cell_1" style="left:5; top:54; width:100px; height:23; ">문항 그룹명</caption>
- <input id="ipt_qestitemgrupnm" ref="/root/main/qestgrup/qestitemgrupnm" class="input_essential" maxlength="30" style="left:108; top:55; width:400; height:19; "/>
- <line id="line6" class="line_2" style="x1:5px; y1:301px; x2:510px; y2:301px; "/>
- <caption id="caption9" class="cell_1" style="left:5px; top:78; width:100px; height:224; ">문항 그룹설명</caption>
- <textarea id="tar_qestitemgrupdesc" ref="/root/main/qestgrup/qestitemgrupdesc" class="input_essential" style="left:108; top:79; width:400; height:220; "/>
- <line id="line7" class="line_2" style="x1:5px; y1:325; x2:510px; y2:325; "/>
- <caption id="caption10" class="cell_1" style="left:5px; top:303px; width:100px; height:23px; ">등록 부서</caption>
- <input id="ipt_qestrgstdeptcd" ref="/root/main/qestgrup/rgstdeptnm" class="input_default" disabled="true" style="left:108px; top:304px; width:150px; height:19px; "/>
- <line id="line8" class="line_2" style="x1:5px; y1:349px; x2:510px; y2:349px; "/>
- <caption id="caption11" class="cell_1" style="left:5px; top:327px; width:100px; height:23px; ">등록자</caption>
- <input id="ipt_qestrgstid" ref="/root/main/qestgrup/qestrgstnm" class="input_default" disabled="true" style="left:108px; top:328px; width:150px; height:19px; "/>
- <line id="line2" class="line_3" style="x1:5px; y1:373px; x2:510px; y2:373px; "/>
- <caption id="caption12" class="cell_1" style="left:5px; top:351px; width:100px; height:23px; ">등록일자</caption>
- <input id="ipt_qestrgstdd" ref="/root/main/qestgrup/qestrgstdd" class="input_default" disabled="true" style="left:108px; top:352px; width:150px; height:19px; "/>
- </group>
- <group id="group6" style="left:520; top:386; width:450; height:374; ">
- <line id="line9" class="line_1" style="x1:5px; y1:25; x2:445; y2:25; "/>
- <caption id="caption13" class="tit_2" style="left:5; top:10px; width:120; height:13; ">설문 목적 분류 :</caption>
- <caption id="caption14" style="left:253px; top:6px; width:10px; height:20px; ">
- <![CDATA[>]]>
- </caption>
- <input id="ipt_goal_qestitemlrgcd" ref="/root/main/qestgoalcls/qestitemlrgnm" class="input_default" disabled="true" style="left:128; top:5; width:120; height:19px; "/>
- <input id="ipt_goal_qestitemmdlcd" ref="/root/main/qestgoalcls/qestitemmdlnm" class="input_default" disabled="true" style="left:268; top:5; width:177; height:19px; "/>
- <datagrid id="grd_qestgoalcls" nodeset="/root/main/qestgoalcls/qestitemlist" allowuserresize="false" caption="문항 그룹명^문항수^설문보기" colsep="^" colwidth="298, 60, 80, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:30px; width:440px; height:341px; ">
- <col ref="qestitemgrupnm"/>
- <col ref="qestseqnocount"/>
- <col ref="qestvw" type="output"/>
- <col ref="qestitemlrgcd" visibility="visible"/>
- <col ref="qestitemmdlcd" visibility="visible"/>
- <col ref="qestitemgrupseqno" visibility="visible"/>
- <col ref="setPoint" visibility="visible"/>
- <col ref="qestrgstdeptcd" visibility="visible"/>
- <col ref="qestrgstdeptnm" visibility="visible"/>
- <col ref="qestcnts" visibility="visible"/>
- </datagrid>
- <button id="btn_qestprvw" class="btn5_letter5" style="left:365px; top:55px; width:69px; height:19px; ">
- <caption>설문보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/qestgoalcls/qestitemlist/setPoint", "A");
-
- navigate("SMCIT01400", "", "", "", "SMCIT01400", "/root/main/qestgoalcls/qestitemlist", "/root/send/srch");
- ]]>
- </script>
- </button>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|