123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SPCIT00700_설문지가져오기
- * Summary : 설문지 가져오기
- * Programmer : 황현석
- * Date Written : 2010.06.28
- * History :
- * Remark :
- -->
- <?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>
- <satsfctqestlist>
- <qpaprtitlcnts/>
- <qpaprgoalcd/>
- <itemgrupkindcd/>
- <stinqestcnt/>
- <wrtestatcd/>
- <rgstdeptcd/>
- <rgstid/>
- <wrteenddd/>
- <qpaprseqno/>
- <qpaprdesccnts/>
- <startgidewrdncnts/>
- <hstndeptcnts/>
- <endgidewrndcnts/>
- <rgstdeptnm/>
- <rgstnm/>
- <qestitemgrupcnt/>
- <humtrafactposcd/>
- </satsfctqestlist>
- <qestbasesetup>
- <qpaprtitlcnts/>
- <qpaprgoalcd/>
- <qpaprdesccnts/>
- <startgidewrdncnts/>
- <hstndeptcnts/>
- <endgidewrndcnts/>
- <wrtestatcd/>
- <wrteenddd/>
- <rgstdeptcd/>
- <rgstid/>
- <savemode>I</savemode>
- <rgstdeptnm/>
- <rgstnm/>
- <qpaprseqno/>
- <qestcomps>
- <qestitemgrupcnt/>
- <humtrafactposcd/>
- <qestgruplist>
- <qestitemgrupnm/>
- <qestitemcnt/>
- <qpaprseqno/>
- </qestgruplist>
- <stinqestcnt/>
- </qestcomps>
- </qestbasesetup>
- </main>
- <send>
- <rgstfromdd/>
- <rgsttodd/>
- <qpaprtitlcnts/>
- <wrtestatcd/>
- <qpaprgoalcd/>
- <qpaprseqno/>
- <srch_qpaprseqno/>
- </send>
- <temp>
- <satsfctqestlist>
- <qestitemgrupcnt/>
- <humtrafactposcd/>
- </satsfctqestlist>
- </temp>
- <init>
- <C0106list>
- </C0106list>
- <C0107list/>
- <C0108list/>
- </init>
- <hidden>
- <kindcd/>
- <buttonmode/>
- </hidden>
- </root>
- </instance>
- <submission id="TRCIT00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/satsfctqestlist"/>
- <submission id="TRCIT00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/qestbasesetup/qestcomps/qestgruplist"/>
- <submission id="TXCIT00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- // 공통코드 C0107 : 작성상태, C0106 : 설문목적, C0108 : 기초설문위치
- zbcfGetCodeList( new Array("C0107", "C0106", "C0108"), new Array("/root/init/C0107list", "/root/init/C0106list", "/root/init/C0108list"));
-
- // 부모창의 파람값을 가져온다.
- var kindcd = opener.window.javascript.getParameter("kindcd");
-
- model.setValue("/root/hidden/kindcd", kindcd);
-
- // 시작 화면에 오늘 날짜 & 1년 전 보여주기
- model.setValue("/root/send/rgstfromdd", getCurrentDate().toDate().getAddDate(-1,"Y").getDateFormat());
- model.setValue("/root/send/rgsttodd", getCurrentDate());
-
- // 시작시 화면에 보여주는 값
- model.setValue("/root/send/wrtestatcd", "1");
-
- // 그리드 초기화
- model.removeNodeset("/root/main/satsfctqestlist");
- model.removeNodeset("/root/main/qestbasesetup/qestcomps/qestgruplist");
-
- model.setValue("/root/hidden/buttonmode", "I");
-
- fSetButtons();
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- function fSetButtons() {
- var mode = model.getValue("/root/hidden/buttonmode");
-
- if (mode == "I") {
- btn_qestprvw.disabled = true;
- } else {
- btn_qestprvw.disabled = false;
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="960" pageheight="730" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:10px; width:930px; height:59px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:930; height:59; "/>
- <caption id="caption2" class="search_name" style="left:15; top:9; width:80; height:17; ">등록기간</caption>
- <input id="ipt_rgstformdd" ref="/root/send/rgstfromdd" class="input_search" inputtype="date" style="left:98; top:8; width:100; height:19; "/>
- <caption id="caption3" style="left:203; top:8; width:12; height:19; ">~</caption>
- <input id="ipt_rgsttodd" ref="/root/send/rgsttodd" class="input_search" inputtype="date" style="left:220; top:8; width:100; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:332; top:9; width:100px; height:17; ">설문지 제목</caption>
- <input id="ipt_srch_qpaprtitlcnts" ref="/root/send/qpaprtitlcnts" class="input_search" style="left:437px; top:8px; width:180px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption5" class="search_name" style="left:629px; top:9px; width:80px; height:17px; ">작성상태</caption>
- <select1 id="cmb_wrtestatcd" ref="/root/send/wrtestatcd" class="combo_search" disabled="true" appearance="minimal" style="left:714px; top:8px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0107list/C0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption6" class="search_name" style="left:15px; top:33; width:100px; height:17px; ">설문지 목적</caption>
- <select1 id="cmb_srch_qpaprgoalcd" ref="/root/send/qpaprgoalcd" class="combo_search" appearance="minimal" style="left:120px; top:34px; width:200; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0106list/C0106">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line1" class="line_4" style="x1:843px; y1:7px; x2:843px; y2:53px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:858px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_condition = model.getValue("/root/send/srch/qpaprtitlcnts");
- submit("TRCIT00301");
- /*
- if (ipt_srch_qpaprtitlcnts.value.length < 2) {
- messageBox("설문지 제목은 최소 2글자 이상 ", "C001");
- model.setFocus("ipt_srch_qpaprtitlcnts");
- } else {
- //fGetMsgTmplList();
-
- } */
- ]]>
- </script>
- </button>
- </group>
- <line id="line21" class="line_1" style="x1:0px; y1:99px; x2:930px; y2:99px; "/>
- <caption id="caption7" class="tit_2" style="left:0px; top:84px; width:140px; height:13px; ">만족도 설문지 목록</caption>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:866px; top:78px; 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_patlist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_satsfctqestlist" nodeset="/root/main/satsfctqestlist" caption="설문지 제목^설문지 목적^설문지 구성^설문 총 문항수^작성상태^등록부서^등록자^작성완료일자" colsep="^" colwidth="300, 150, 150, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:104px; width:930px; height:220px; ">
- <col ref="qpaprtitlcnts"/>
- <col disabled="true" ref="qpaprgoalcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/C0106list/C0106">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="itemgrupkindcd"/>
- <col ref="stinqestcnt"/>
- <col disabled="true" ref="wrtestatcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/C0107list/C0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rgstdeptnm"/>
- <col ref="rgstnm" style="text-align:center; "/>
- <col ref="wrteenddd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="rgstdeptcd" visibility="hidden"/>
- <col ref="rgstid" visibility="hidden"/>
- <col ref="qpaprseqno" visibility="hidden"/>
- <col ref="qpaprdesccnts" visibility="hidden"/>
- <col ref="startgidewrdncnts" visibility="hidden"/>
- <col ref="hstndeptcnts" visibility="hidden"/>
- <col ref="endgidewrndcnts" visibility="hidden"/>
- <col ref="qestitemgrupcnt" visibility="hidden"/>
- <col ref="humtrafactposcd" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // fNewMsg(); // 문항보기 내용 초기화
- model.removeNodeset("/root/main/qestcntattr/qestitemchoilist");
- model.removeNodeset("/root/main/qestbasesetup/qestcomps/qestgruplist");
-
- if( grd_satsfctqestlist.isCell(event.target) && grd_satsfctqestlist.row >= grd_satsfctqestlist.fixedRows ){
- var row = grd_satsfctqestlist.row;
-
- // 선택한 설문지 목록을 설문기 기본설정과 구성으로 넘겨준다.
- var qpaprtitlcnts = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("qpaprtitlcnts"));
- var qpaprgoalcd = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("qpaprgoalcd"));
- var itemgrupkindcd = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("itemgrupkindcd"));
- var stinqestcnt = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("stinqestcnt"));
- var wrtestatcd = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("wrtestatcd"));
- var rgstdeptnm = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("rgstdeptnm"));
- var rgstnm = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("rgstnm"));
- var wrteenddd = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("wrteenddd"));
- var rgstdeptcd = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("rgstdeptcd"));
- var rgstid = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("rgstid"));
- var qpaprseqno = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("qpaprseqno"));
- var qpaprdesccnts = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("qpaprdesccnts"));
- var startgidewrdncnts = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("startgidewrdncnts"));
- var hstndeptcnts = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("hstndeptcnts"));
- var endgidewrndcnts = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("endgidewrndcnts"));
- var qestitemgrupcnt = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("qestitemgrupcnt"));
- var humtrafactposcd = grd_satsfctqestlist.valueMatrix(row, grd_satsfctqestlist.colRef("humtrafactposcd"));
-
- model.setValue("/root/main/qestbasesetup/qpaprtitlcnts",qpaprtitlcnts);
- model.setValue("/root/main/qestbasesetup/qpaprgoalcd",qpaprgoalcd);
- model.setValue("/root/main/qestbasesetup/qpaprdesccnts",qpaprdesccnts);
- model.setValue("/root/main/qestbasesetup/startgidewrdncnts",startgidewrdncnts);
- model.setValue("/root/main/qestbasesetup/hstndeptcnts",hstndeptcnts);
- model.setValue("/root/main/qestbasesetup/wrtestatcd",wrtestatcd);
- model.setValue("/root/main/qestbasesetup/wrteenddd",wrteenddd);
- model.setValue("/root/main/qestbasesetup/endgidewrndcnts",endgidewrndcnts);
- model.setValue("/root/main/qestbasesetup/rgstdeptnm",rgstdeptnm);
- model.setValue("/root/main/qestbasesetup/rgstnm",rgstnm);
- model.setValue("/root/main/qestbasesetup/rgstdeptcd",rgstdeptcd);
- model.setValue("/root/main/qestbasesetup/rgstid",rgstid);
- model.setValue("/root/main/qestbasesetup/qpaprseqno",qpaprseqno);
-
- // 설문지 구성 그리드
- model.setValue("/root/main/qestbasesetup/qestcomps/qestitemgrupcnt",qestitemgrupcnt);
- model.setValue("/root/main/qestbasesetup/qestcomps/humtrafactposcd",humtrafactposcd);
- model.setValue("/root/main/qestbasesetup/qestcomps/stinqestcnt",stinqestcnt);
-
- model.setValue("/root/hidden/buttonmode", "U");
-
- // 설문지 구성에대한 값을 조회한다.
- model.setValue("/root/send/qpaprseqno", qpaprseqno);
- submit("TRCIT00302");
-
- // 다른 곳의 내용을 안바꾸기위해 여기서 값을 바꿔준다.
- model.setValue("/root/send/srch_qpaprseqno", qpaprseqno); // 새로운 설문지번호
- var seqno = opener.window.javascript.getParameter("qpaprseqno");
- model.setValue("/root/send/qpaprseqno", seqno); // 기존 설문지번호
-
- // 기초설문을 사용하지 않을때 1번에 글을 입력시킨다.
- var humtafactposcd = model.getValue("/root/main/qestbasesetup/qestcomps/humtrafactposcd");
- var qestitemgrupcnt = model.getValue("/root/main/qestbasesetup/qestcomps/qestitemgrupcnt");
- if (humtafactposcd == 0 && qestitemgrupcnt != 0) {
- model.setValue("/root/main/qestbasesetup/qestcomps/qestgruplist[" + 1 + "]/qestitemgrupnm", "기초설문을 사용하지 않습니다.");
- } else if (humtafactposcd == 0 && qestitemgrupcnt == 0) {
- alert("등록된 설문지가 없습니다.");
- }
-
- // 버튼의 활성화 유무를 확인
- fSetButtons();
- model.refresh();
-
- }
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_3" style="x1:0px; y1:350px; x2:930px; y2:350px; "/>
- <button id="btn_qestprvw" class="btn2_letter7" style="left:833px; top:329px; width:97px; height:19px; ">
- <caption>설문지 미리보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var qpaprseqno = model.getValue("/root/main/qestbasesetup/qpaprseqno");
- setParameter("qpaprseqno", qpaprseqno);
-
- modal("SPCIT00400");
-
- clearParameter("qpaprseqno");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:0px; y1:375px; x2:510px; y2:375px; "/>
- <caption id="caption8" class="tit_2" style="left:0px; top:360px; width:120px; height:13px; ">설문지 기본설정</caption>
- <line id="line4" class="line_2" style="x1:0px; y1:402px; x2:510px; y2:402px; "/>
- <caption id="caption9" class="cell_1" style="left:0px; top:380px; width:110px; height:23px; ">설문지 제목</caption>
- <input id="ipt_qpaprtitlcnts" ref="/root/main/qestbasesetup/qpaprtitlcnts" disabled="true" style="left:113px; top:381px; width:397px; height:19px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:426px; x2:510px; y2:426px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:404px; width:110px; height:23px; ">설문지 목적</caption>
- <select1 id="ipt_qpaprgoalcd" ref="/root/main/qestbasesetup/qpaprgoalcd" disabled="true" appearance="minimal" style="left:113px; top:405px; width:240px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0106list/C0106">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line6" class="line_2" style="x1:0px; y1:477px; x2:510px; y2:477px; "/>
- <caption id="caption11" class="cell_1" style="left:0px; top:428px; width:110px; height:50px; ">설문지 설명</caption>
- <textarea id="tar_qpaprdesccnts" ref="/root/main/qestbasesetup/qpaprdesccnts" disabled="true" style="left:113px; top:429px; width:397px; height:46px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:529px; x2:510px; y2:529px; "/>
- <caption id="caption12" class="cell_1" style="left:0px; top:480px; width:110px; height:50px; ">설문시작 안내문구</caption>
- <textarea id="tar_startgidewrdncnts" ref="/root/main/qestbasesetup/startgidewrdncnts" disabled="true" style="left:113px; top:481px; width:397px; height:46px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:580px; x2:510px; y2:580px; "/>
- <caption id="caption13" class="cell_1" style="left:0px; top:531px; width:110px; height:50px; ">주최부서내용</caption>
- <textarea id="tar_hstndeptcnts" ref="/root/main/qestbasesetup/hstndeptcnts" disabled="true" style="left:113px; top:532px; width:397px; height:46px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:631px; x2:510px; y2:631px; "/>
- <caption id="caption14" class="cell_1" style="left:0px; top:582px; width:110px; height:50px; ">설문종료 안내문구</caption>
- <textarea id="tar_endgidewrndcnts" ref="/root/main/qestbasesetup/endgidewrndcnts" disabled="true" style="left:113px; top:583px; width:397px; height:46px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:655px; x2:510px; y2:655px; "/>
- <caption id="caption15" class="cell_1" style="left:0px; top:633px; width:110px; height:23px; ">작성상태</caption>
- <select1 id="ipt_wrtestatcd" ref="/root/main/qestbasesetup/wrtestatcd" disabled="true" appearance="minimal" style="left:113px; top:634px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0107list/C0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption16" class="cell_1" style="left:266px; top:633px; width:110px; height:23px; ">작성완료일자</caption>
- <input id="ipt_wrteenddd" ref="/root/main/qestbasesetup/wrteenddd" disabled="true" style="left:379px; top:634px; width:131px; height:19px; "/>
- <line id="line11" class="line_3" style="x1:0px; y1:679px; x2:510px; y2:679px; "/>
- <caption id="caption17" class="cell_1" style="left:0px; top:657px; width:110px; height:23px; ">등록부서</caption>
- <input id="ipt_rgstdeptcd" ref="/root/main/qestbasesetup/rgstdeptnm" disabled="true" style="left:113px; top:658px; width:150px; height:19px; "/>
- <caption id="caption18" class="cell_1" style="left:266px; top:657px; width:110px; height:23px; ">등록자</caption>
- <input id="ipt_rgstid" ref="/root/main/qestbasesetup/rgstnm" disabled="true" style="left:379px; top:658px; width:131px; height:19px; "/>
- <line id="line12" class="line_1" style="x1:520px; y1:375px; x2:930px; y2:375px; "/>
- <caption id="caption19" class="tit_2" style="left:520px; top:360px; width:100px; height:13px; ">설문지 구성</caption>
- <line id="line13" class="line_2" style="x1:520px; y1:402px; x2:930px; y2:402px; "/>
- <caption id="caption20" class="cell_1" style="left:520px; top:380px; width:90px; height:23px; ">문항 그룹수</caption>
- <caption id="caption21" class="cell_1" style="left:726px; top:380px; width:90px; height:23px; ">기초설문 위치</caption>
- <input id="ipt_qestitemgrupcnt" ref="/root/main/qestbasesetup/qestcomps/qestitemgrupcnt" disabled="true" appearance="minimal" style="left:613px; top:381px; width:110px; height:19px; "/>
- <select1 id="ipt_baseqestgrupyn" ref="/root/main/qestbasesetup/qestcomps/humtrafactposcd" disabled="true" appearance="minimal" style="left:819px; top:381px; width:111px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0108list/C0108">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <datagrid id="grd_qestgruplist" nodeset="/root/main/qestbasesetup/qestcomps/qestgruplist" allowuserresize="false" caption="그룹 명^설문 문항수" colsep="^" colwidth="313, 75" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:520px; top:404px; width:410px; height:252px; ">
- <col ref="qestitemgrupnm"/>
- <col ref="qestitemcnt"/>
- </datagrid>
- <line id="line14" class="line_3" style="x1:540px; y1:679px; x2:930px; y2:679px; "/>
- <caption id="caption22" class="cell_1" style="left:520px; top:657px; width:90px; height:23px; ">설문 총 문항수</caption>
- <output id="opt_stinqestcnt" ref="/root/main/qestbasesetup/qestcomps/stinqestcnt" style="left:623px; top:658px; width:20px; height:19px; "/>
- <caption id="caption23" style="left:646px; top:657px; width:15px; height:23px; ">건</caption>
- <group id="group2" style="left:0px; top:680px; width:930px; height:27px; ">
- <button id="button1" class="btn4_letter2" style="left:456px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var qpaprtitlcnts = model.getValue("/root/main/qestbasesetup/qpaprtitlcnts");
- var kindcd = model.getValue("/root/hidden/kindcd");
-
- if (qpaprtitlcnts == "") {
- messageBox("설문지를 선택 하지", "E007");
- } else {
- if (kindcd == "B") {
- var rtn = messageBox("기존의 설문이 삭제되고 선택하실 설문으로 입력됩니다.", "Q003");
-
- if (rtn == "6") {
- if (submit("TXCIT00701")) {
- messageBox("설문지 변경이", "I002");
- var receive_qestitemgrupcnt_path = opener.window.javascript.getParameter("receive_qestitemgrupcnt_path");
- var receive_humtrafactposcd_path = opener.window.javascript.getParameter("receive_humtrafactposcd_path");
-
- var qestitemgrupcnt = model.getValue("/root/main/qestbasesetup/qestcomps/qestitemgrupcnt");
- var humtrafactposcd = model.getValue("/root/main/qestbasesetup/qestcomps/humtrafactposcd");
-
-
- window.opener.model.setValue(receive_qestitemgrupcnt_path, qestitemgrupcnt);
- window.opener.model.setValue(receive_humtrafactposcd_path, humtrafactposcd);
- opener.model.refresh();
-
- opener.javascript.fSetRelod();
- window.close();
- }
- } else {
- messageBox("설문지 변경을 하지", "E007");
- }
- } else if (kindcd == "F") {
-
- // 실행목록에서 넘어온 설문지 제목 & 일련번호의 경로
- var receive_qpaprtitlcnts_path = opener.window.javascript.getParameter("receive_qpaprtitlcnts_path");
- var receive_qpaprseqno_path = opener.window.javascript.getParameter("receive_qpaprseqno_path");
-
- // 실행목록에 넘겨줄 설문지 제목 & 일련번호
- var qpaprtitlcnts = model.getValue("/root/main/qestbasesetup/qpaprtitlcnts");
- var qpaprseqno = model.getValue("/root/main/qestbasesetup/qpaprseqno");
-
- if (qpaprtitlcnts == "") {
- messageBox("설문지를 선택 하지", "E007");
- } else {
- window.opener.model.setValue(receive_qpaprtitlcnts_path, qpaprtitlcnts);
- window.opener.model.setValue(receive_qpaprseqno_path, qpaprseqno);
- opener.model.refresh();
- }
-
- window.close();
- }
- }
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:520px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|