123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SPCIT01300_만족도결과입력
- * Summary : 만족도결과입력
- * Programmer : 신용준
- * Date Written : 2010.11.11
- * History :
- * Remark :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>만족도 설문입력</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <codes/>
- <main>
- <qestlistGrp>
- <qestitemgrupseqno/>
- <qestitemgrupnm/>
- <qestitemgrupdesc/>
- <qestuseyn/>
- <colgstinqestyn/>
- <colgstinqestseqno/>
- </qestlistGrp>
- <qestlist>
- <qestitemgrupseqno/>
- <qestitemgrupnm/>
- <qestitemgrupdesc/>
- <qestuseyn/>
- <colgstinqestyn/>
- <colgstinqestseqno/>
- <qestseqno/>
- <qpaprsortseq/>
- <itemkindcd/>
- <qestitemanswcnt/>
- <qestitemanswchoicolcnt/>
- <qestcnts/>
- <essnanswcnt/>
- <answseqno/>
- <qestitemanswcnts/>
- <divpnt/>
- <answaddcnts/>
- <figrinptyn/>
- <addinptyn/>
- <addflgrinptyn/>
- <essninptyn/>
- <norpaddyn/>
- <nextqestseqno/>
- <descinptyn/>
- </qestlist>
- <stinuser>
- <stintrgtflagcd/>
- <pidanduserid/>
- <pidandusernm/>
- </stinuser>
- </main>
- <send>
- <qpaprseqno/>
- <stinseqno/>
- <qestitemgrupseqno/>
- </send>
- <temp>
- <sendgrd>
- <qestitemgrupseqno/>
- <qestseqno/>
- <stintrgtflagcd/>
- <pid/>
- <homepgid/>
- <userid/>
- <emailaddr/>
- <connipaddr/>
- <qestanswno/>
- <qestmltlanswno/>
- <divpnt/>
- <descinptcnts/>
- <descinptaddcnts/>
- <qestrspsyn/>
- </sendgrd>
- </temp>
- <hidden>
- <itemcount/>
- <qpaprseqno/>
- <stinseqno/>
- <answprsncnt/>
- <stintrgtnopl/>
- <mode>A</mode>
- </hidden>
- <init>
- <C0109list/>
- </init>
- </root>
- </instance>
- <submission id="TRCIT00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/qestlistGrp"/>
- <submission id="TRCIT00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/qestlist"/>
- <submission id="TXCIT01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../crm/cssaweb/js/CSZ001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/main/stinuser/pidanduserid", getUserInfo("userid"));
- model.setValue("/root/main/stinuser/pidandusernm", getUserInfo("usernm"));
- model.refresh();
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-construct">
- <![CDATA[
- /*
- var nodeSet = new Array();
- for (var i = 0; i < 5; i++) {
- nodeSet[i] = {"label": "sdfasdfasfasfdasdfafasdf" + i , "value":"value" + i};
- }
- var top = 0;
- var radio = makeRadio(body, "rd1", "/root/example", "/root/codes", nodeSet, 1, 0, top);
- top = top + parseInt(radio.attribute("height") ,10);
- var check = makeCheckbox(body, "ck1", "/root/example", "/root/codes", nodeSet, 1, 0, top, 200);
- top = top + parseInt(check.attribute("height") ,10);
-
- var combo = makeCombo(body, "cb1", "/root/example", "/root/codes", nodeSet, 1, 0, top, 200);
- top = top + parseInt(combo.attribute("height") ,10);
-
- var input = makeInput(body, "ip1", "/root/example", 0, top, 200);
- top = top + parseInt(input.attribute("height") ,10);
-
- var textarea = makeTextarea(body, "ta1", "/root/example", 0, top);
- */
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- var arGroupTop = new Array(); //각각의 그룹에 시작할 위치를 미리 전역 배열에 넣어 놓는다.
- var arIsGroupClick = new Array(); // 0: 이면 NonCheck 1이면 Check 해당 그룹을 클릭해서 불러왔는가는 체크
- var arIsGroupContainer = new Array(); // 그룹 컨테이너
-
- // 만족도 설문지화면에 그리는 함수
- var elementName = Array("xforms:choices", "xforms:item", "xforms:label");
-
- function fSearch(){
- // 공통코드 C0109 : 만족도 대상구분,
- zbcfGetCodeList( new Array("C0109"), new Array("/root/init/C0109list"));
-
- model.removeNodeset("/root/temp/sendgrd");
-
- // 부모창의 설문지 일련번호를 가져온다.
- /* var qpaprseqno = opener.window.javascript.getParameter("qpaprseqno");
- model.setValue("/root/send/qpaprseqno", qpaprseqno);
- model.setValue("/root/hidden/qpaprseqno", qpaprseqno);
-
- var stinseqno = opener.window.javascript.getParameter("stinseqno");
- model.setValue("/root/send/stinseqno", stinseqno);
- model.setValue("/root/hidden/stinseqno", stinseqno);
-
- var itemcount = opener.window.javascript.getParameter("itemcount");
- model.setValue("/root/hidden/itemcount", itemcount);
-
- var stintrgtflagcd = opener.window.javascript.getParameter("stintrgtflagcd");
- model.setValue("/root/main/stinuser/stintrgtflagcd", stintrgtflagcd);
-
- var answprsncnt = opener.window.javascript.getParameter("answprsncnt"); // 답변자
- model.setValue("/root/hidden/answprsncnt", answprsncnt);
-
- var stintrgtnopl = opener.window.javascript.getParameter("stintrgtnopl"); // 설문인원수
- model.setValue("/root/hidden/stintrgtnopl", stintrgtnopl);
- */ model.setValue("/root/send/qpaprseqno", "3");
- model.setValue("/root/hidden/qpaprseqno", "3");
-
- var tempqestitemgrupseqno = 0;
- // 설문지 미리보기(먼저 그룹을 조회함)을 조회 한다.
- if (submit("TRCIT00402")){
- var nodeList = root.selectNodes("/root/main/qestlistGrp");
- // 그룹 정보
- var inLeft = 20;
- var inTop = 40;
- var groupContainer = body;
- var groupIndex = 0;
- var buttons = new Array();
- var selectIndex = 0;
-
- for (var i = 1; i <= nodeList.length; i ++ ) {
- var xPath = "/root/main/qestlistGrp[" + i + "]";
- var qestitemgrupseqno = model.getValue(xPath + "/qestitemgrupseqno");
- var qestseqno= model.getValue(xPath + "/qestseqno");
- var button = makeButton(body, model.getValue(xPath + "/qestitemgrupnm"), 0, 0);
- var sfuncall = "";
- button.attribute("group") = "answers";
- //첫번째 그룹 시퀀스를 저장해 놨다가 나중에 그 페이지만 먼저 화면에 뿌린다.
- if (i == 1) {
- tempqestitemgrupseqno = qestitemgrupseqno;
- }
- sfuncall = "fnQestItemPrint(" + groupIndex + ", " + qpaprseqno + ", " + qestitemgrupseqno + "); ";
- sfuncall = sfuncall + "groups.selectedIndex = " + groupIndex +";";
- button.attribute("onclick") = sfuncall;
- button.visible = false;
- var buttonWidth = parseInt(button.attribute("width"), 10);
-
- if (inLeft + buttonWidth > 800) {
- inTop += 20;
- inLeft = 20;
- } else {
- inLeft += buttonWidth;
- } // end if
- buttons[groupIndex] = button;
-
- groupContainer = makeCase(groups, "group_" + groupIndex, 0, 0, 800, 1000);
- var explOutput = makeOutput(groupContainer, model.getValue(xPath + "/qestitemgrupdesc"), 10, 20, 760);
-
- arIsGroupContainer[groupIndex] = groupContainer;
- arGroupTop[groupIndex] = 20 + parseInt(explOutput.attribute("height"), 10); // 각각의 그룹에 시작할 위치를 미리 전역 배열에 넣어 놓는다.
- arIsGroupClick[groupIndex] = "0" // 0: 이면 NonCheck 1이면 Check 해당 그룹을 클릭해서 불러왔는가는 체크
- groupIndex ++;
- } // end for
-
- buttons[selectIndex].selected = true;
- groups.selectedIndex = selectIndex;
- groups.attribute("top") = inTop + 20;
-
- // Tab버튼 위치 조정
- inLeft = 20;
- for (var i = 0; i< buttons.length; i ++) {
- var button = buttons[i];
- var buttonWidth = parseInt(button.attribute("width"), 10);
-
- if (inLeft + buttonWidth > 800) {
- inTop -= 20;
- inLeft = 20;
- }
- button.attribute("top") = inTop;
- button.attribute("left") = inLeft;
- button.visible = true;
- inLeft += buttonWidth;
- } // end for
- // groups.refresh();
- buttons = null;
- // 첫패이지는 일단 뿌린다.
- fnQestItemPrint(selectIndex, qpaprseqno, tempqestitemgrupseqno);
- }
-
- model.refresh();
- }
-
- function printChildrenEelementName (prnt) {
- var chld = prnt.children;
- textarea1.value = textarea1.value + prnt.elementName + "\n";
- for (var i = 0; i < chld.length; i ++) {
- var elementName = chld.item(i).elementName;
- if (elementName == "xforms:choices" || elementName == "xforms:item" || elementName == "xforms:label" ) {
- printChildrenEelementName(chld.item(i));
- } else {
- textarea1.value = textarea1.value + elementName + "\n";
- }
- }
- }
-
- //설문지 그룹별로 화면에 내용을 그리는 함수
- function fnQestItemPrint(pGroupIndex, pQpaprseqno, pQestitemgrupseqno) {
- if (arIsGroupClick[pGroupIndex] == "0") {
- model.setValue("/root/send/qpaprseqno", pQpaprseqno);
- model.setValue("/root/send/qestitemgrupseqno", pQestitemgrupseqno);
-
- var columns = new Array("qestitemgrupseqno", "qestitemgrupnm", "qestitemgrupdesc", "qestuseyn", "colgstinqestyn", "colgstinqestseqno", "qestseqno" , "qpaprsortseq",
- "itemkindcd", "qestitemanswcnt" ,"qestitemanswchoicolcnt" , "qestcnts", "essnanswcnt",
- "answseqno", "qestitemanswcnts", "divpnt", "answaddcnts", "figrinptyn",
- "addinptyn", "addflgrinptyn", "essninptyn", "norpaddyn", "nextqestseqno",
- "descinptyn");
-
- // 설문지 그룹별 미리보기
- if (submit("TRCIT00401")){
- var nodeList = root.selectNodes("/root/main/qestlist");
- // 설문 정보
- var poll;
- var pre_qestseqno = -1;
- var arPreDatas = null;
- var arDatas = new Array();
- var rowIndex = 0;
- var left = 10;
- var groupContainer = arIsGroupContainer[pGroupIndex]; // 컨테이너 위치
- var top = arGroupTop[pGroupIndex]; //기존에 각 그룹별 시작 위치
- var isContinuous = false; // 이전 척도연속 여부
- var pollHeight; //맨마지막 Row를 찍을때 시작위치
- var grupHeight; //그룹의 크기를 정한다.
- grupHeight = parseInt(groups.attribute("height"), 10);
- var totDataCnt = 0;
-
- for (var i = 1; i <= nodeList.length; i ++ ) {
- var xPath = "/root/main/qestlist[" + i + "]";
- var qestseqno= model.getValue(xPath + "/qestseqno");
-
- // 설문 문항 출력
- if (qestseqno != pre_qestseqno) {
- if( i != 1) {
- isContinuous = isIdentical(arPreDatas, arDatas);
- if(poll != undefined && poll != null) {
- top += parseInt(poll.attribute("height") ,10);
- if (!isContinuous) {
- top += 10;
- } // end if
- } // end if
- poll = createPoll(groupContainer, arDatas, "/root/value", left, top, !isContinuous);
- // Container 크기를 자동으로 늘리기
- if (top > grupHeight) {
- grupHeight = top;
- }
- }
- arPreDatas = arDatas;
- pre_qestseqno = qestseqno;
- arDatas = new Array();
- rowIndex = 0;
- isContinuous = false;
- totDataCnt++
- } // end i
-
- if(poll != undefined) {
- pollHeight = parseInt(poll.attribute("height"));
- }
-
- var obj = new Object();
-
- for(var j = 0; j < columns.length; j ++) {
- obj[columns[j]] = model.getValue(xPath + "/" + columns[j]);
- } // end for
- arDatas[rowIndex] = obj;
- rowIndex ++;
- } // end for
-
- // 맨 마지막 설문문항 찍기
- if (totDataCnt == 1 && arDatas.length >0 ) {
- top += 10
- poll = createPoll(groupContainer, arDatas, "/root/value", left, top, true);
- }else if (totDataCnt > 1 && arDatas.length >0 ) {
- top = top + parseInt(pollHeight ,10);
- var poll = createPoll(groupContainer, arDatas, "/root/value", left, top, false);
- if (top > grupHeight) {
- grupHeight = top;
- }
- }
-
- if ( grupHeight > parseInt(groups.attribute("height"), 10) ) {
- groups.attribute("height") = grupHeight + 32 + 20; // 마지막으로 Container 크기를 늘린다.
- }
- arDatas = null;
- arPreDatas = null;
- }
- model.refresh();
- arIsGroupClick[pGroupIndex] = "1"; // 한번 읽은 그룹은 다음에 읽지 않게 표시
- columns = null;
- }
- }
-
- function fSaveMode() {
- var answprsncnt = model.getValue("/root/hidden/answprsncnt");
- var stintrgtnopl = model.getValue("/root/hidden/stintrgtnopl");
- var itemcount = model.getValue("/root/hidden/itemcount");
- var cdid = model.getValue("/root/main/stinuser/stintrgtflagcd");
- var trgtid = model.getValue("/root/main/stinuser/pidanduserid");
- var stintrgtflagcd = model.getValue("/root/main/stinuser/stintrgtflagcd");
- var qestrspsyn = "";
- var savecount = 0;
- var itemsrch = 0;
- var srchcnt = 0;
-
- for (var i = 1; i <= itemcount; i++) {
- var qestitemgrupseqno = model.getValue("/root/value/row"+i+"/qestitemgrupseqno");
- var qestseqno = model.getValue("/root/value/row"+i+"/qestseqno");
- var qestanswno = model.getValue("/root/value/row"+i+"/qestanswno");
- var descinptcnts = model.getValue("/root/value/row"+i+"/descinptcnts");
- var descinptaddcnts = model.getValue("/root/value/row"+i+"/descinptaddcnts");
- var itemkindcd = model.getValue("/root/value/row"+i+"/itemkindcd");
- var qestrspsyn = model.getValue("/root/value/row"+i+"/qestrspsyn");
- var qestmltlanswno = model.getValue("/root/value/row"+i+"/qestmltlanswno");
- var answno_count = model.getValue("/root/value/row"+i+"/qestmltlanswno_count");
-
- if (itemkindcd == "2") {
- if (qestmltlanswno == "") {
- messageBox( i + " 번째 설문 답변이 입력되지", "E007");
- qestrspsyn = "N";
- qestmltlanswno = "99";
- // model.removeNodeset("/root/send/savedata");
- // model.removeNodeset("/root/temp/sendgrd");
- // break;
- } else {
- qestrspsyn = "Y";
- }
- } else if (itemkindcd == "4" || itemkindcd == "5") {
- if (descinptcnts == "") {
- messageBox( i + " 번째 설문 답변이 입력되지", "E007");
- qestrspsyn = "N";
- descinptcnts = "99";
- // model.removeNodeset("/root/send/savedata");
- // model.removeNodeset("/root/temp/sendgrd");
- // break;
- } else {
- qestrspsyn = "Y";
- }
- } else if (itemkindcd == "1" || itemkindcd == "6" || itemkindcd == "7" || itemkindcd == "8" || itemkindcd == "10"){
-
- if (qestanswno == "") {
- messageBox( i + " 번째 설문 답변이 입력되지", "E007");
- qestrspsyn = "N";
- qestanswno = "99";
- // model.removeNodeset("/root/send/savedata");
- // model.removeNodeset("/root/temp/sendgrd");
- // break;
- } else {
- qestrspsyn = "Y";
- }
- }
-
- // 입력하기 위해 그리드에 addRow
- grd_sendgrd.addRow(false);
-
- model.setValue("/root/temp/sendgrd["+i+"]/qestitemgrupseqno", qestitemgrupseqno);
- model.setValue("/root/temp/sendgrd["+i+"]/qestseqno", qestseqno);
- model.setValue("/root/temp/sendgrd["+i+"]/qestanswno", qestanswno);
- model.setValue("/root/temp/sendgrd["+i+"]/qestmltlanswno", qestmltlanswno);
- model.setValue("/root/temp/sendgrd["+i+"]/qestrspsyn", qestrspsyn);
- model.setValue("/root/temp/sendgrd["+i+"]/descinptcnts", descinptcnts);
- model.setValue("/root/temp/sendgrd["+i+"]/descinptaddcnts", descinptaddcnts);
- model.setValue("/root/temp/sendgrd["+i+"]/qestrspsyn", qestrspsyn);
- model.setValue("/root/temp/sendgrd["+i+"]/stintrgtflagcd", model.getValue("/root/main/stinuser/stintrgtflagcd"));
-
- if (stintrgtflagcd == "1" || stintrgtflagcd == "2" || stintrgtflagcd == "3") {
- model.setValue("/root/temp/sendgrd["+i+"]/pid", model.getValue("/root/main/stinuser/pidanduserid"));
- } else {
- model.setValue("/root/temp/sendgrd["+i+"]/userid", model.getValue("/root/main/stinuser/pidanduserid"));
- }
- savecount++;
-
- if (itemkindcd == "3") {
- for (var j=0; j<answno_count; j++) {
- var mltlanswno = model.getValue("/root/value/row"+i+"/qestmltlanswno"+j);
- if (mltlanswno != "") {
- if (j == 0) {
- model.setValue("/root/temp/sendgrd["+i+"]/qestmltlanswno", model.getValue("/root/value/row"+i+"/qestmltlanswno"+j));
- } else {
- model.setValue("/root/temp/sendgrd["+i+"]/qestmltlanswno", model.getValue("/root/temp/sendgrd["+i+"]/qestmltlanswno") + "," + model.getValue("/root/value/row"+i+"/qestmltlanswno"+j));
- }
- model.setValue("/root/temp/sendgrd["+i+"]/qestrspsyn", "Y");
- } else {
- messageBox(i +" 번 문항의 순위 선택이 입력되지", "E007");
- model.setValue("/root/temp/sendgrd["+i+"]/qestrspsyn", "N");
- break;
- }
- }
- itemsrch = i;
- srchcnt = answno_count;
-
- }
- }
-
- // 실제 저장되는 부분
- if (savecount == itemcount) {
- var rtn = messageBox("이대로 설문지 답변 입력을", "Q002");
-
- if (rtn == "6") {
- model.makeNode("/root/send/savedata");
- model.makeNode("/root/send/savedata/sendgrd");
- copyNodesetType("/root/send/savedata","/root/hidden");
- model.makeValue("/root/send/savedata/sendgrd", grd_sendgrd.getUpdateData());
-
- submit("TXCIT01301");
- var rtn2 = messageBox("다른 사용자로", "Q003");
- if (rtn2 != 6) {
- window.close();
- } else {
- // 연속 입력시 초기화
- model.removeNodeset("/root/send/savedata");
- model.removeNodeset("/root/temp/sendgrd");
- model.setValue("/root/main/stinuser/pidanduserid", "");
- for (var i = 1; i <= itemcount; i++) {
- model.setValue("/root/value/row"+i+"/qestanswno", "");
- model.setValue("/root/value/row"+i+"/qestmltlanswno", "");
- model.setValue("/root/value/row"+i+"/descinptcnts", "");
- model.setValue("/root/value/row"+i+"/descinptaddcnts", "");
-
- // 순위 선택일때만 나타다는 인스턴스때문에 이런 작업을 수행 필요한 값들은 입력시에 얻어옴.
- if (itemsrch != 0) {
- for (var k =0; k < srchcnt; k++) {
- var mltlanswno = model.getValue("/root/value/row"+itemsrch+"/qestmltlanswno"+k);
- if (mltlanswno != "") {
- model.setValue("/root/value/row"+itemsrch+"/qestmltlanswno"+k, "");
- } else {
- break;
- }
- }
- }
- }
- }
- } else {
- // 답변입력 초기화시
- model.removeNodeset("/root/send/savedata");
- model.removeNodeset("/root/temp/sendgrd");
- }
- }
- grd_sendgrd.rebuild();
- model.refresh();
- // else if (answprsncnt >= stintrgtnopl) {
- // messageBox("답변자가 초과되었기 때문에 더이상 입력", "E001");
- // window.close();
- // }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="860" pageheight="780" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <switch id="groups" style="left:5px; top:70px; width:800px; height:700px; border-width:1px; border-style:solid; "/>
- <group id="group1" style="left:5px; top:25px; width:800px; height:40px; ">
- <line id="line2" class="line_1" style="x1:0px; y1:5px; x2:800px; y2:5px; "/>
- <line id="line6" class="line_3" style="x1:0px; y1:32px; x2:800px; y2:32px; "/>
- <caption id="caption1" class="cell_1" style="left:0px; top:10px; width:70px; height:23px; text-align:center; ">설 문 자</caption>
- <select1 id="cmb_stintrgtflagcd" ref="/root/main/stinuser/stintrgtflagcd" visibility="hidden" appearance="minimal" style="left:263px; top:11px; width:60px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0109list/C0109">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_user" ref="/root/main/stinuser/pidanduserid" class="input_essential" style="left:71px; top:11px; width:80px; height:19px; "/>
- <caption id="caption2" class="cell_1" style="left:351px; top:11px; width:75px; height:19px; text-align:center; ">설 문 지</caption>
- <button id="button2" class="btn4_letter2" style="left:744px; top:10px; width:56px; height:22px; ">
- <caption>취소</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <button id="button3" class="btn4_letter2" style="left:686px; top:10px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pidanduserid = model.getValue("/root/main/stinuser/pidanduserid");
- if (pidanduserid != "") {
- fSaveMode();
- } else {
- messageBox("설문지 일련번호를","C001");
- model.setFocus("ipt_user");
- }
-
- ]]>
- </script>
- </button>
- <button id="button1" class="btn1_letter4" style="left:545px; top:10px; width:56px; height:22px; ">
- <caption>설문조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/send/qpaprseqno" class="input_essential" style="left:428px; top:11px; width:115px; height:19px; "/>
- <input id="input2" ref="/root/main/stinuser/pidandusernm" class="input_essential" style="left:153px; top:11px; width:105px; height:19px; "/>
- </group>
- <datagrid id="grd_sendgrd" nodeset="/root/temp/sendgrd" visibility="hidden" caption="qestitemgrupseqno^qestseqno^stintrgtflagcd^pid^homepgid^userid^emailaddr^connipaddr^qestanswno^qestmltlanswno^divpnt^descinptcnts^descinptaddcnts^qestrspsyn" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:15px; top:565px; width:785px; height:140px; ">
- <col ref="qestitemgrupseqno"/>
- <col ref="qestseqno"/>
- <col ref="stintrgtflagcd"/>
- <col ref="pid"/>
- <col ref="homepgid"/>
- <col ref="userid"/>
- <col ref="emailaddr"/>
- <col ref="connipaddr"/>
- <col ref="qestanswno"/>
- <col ref="qestmltlanswno"/>
- <col ref="divpnt"/>
- <col ref="descinptcnts"/>
- <col ref="descinptaddcnts"/>
- <col ref="qestrspsyn"/>
- </datagrid>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">만족도 설문입력</caption>
- </xhtml:body>
- </xhtml:html>
|