77 lines
3.5 KiB
Plaintext
77 lines
3.5 KiB
Plaintext
<%--
|
|
Class Name : researchList.jsp
|
|
Description : 만족도(조회,삭제) JSP
|
|
Modification Information
|
|
|
|
수정일 수정자 수정내용
|
|
------- -------- ---------------------------
|
|
2009.03.03 JJY 최초 생성
|
|
2011.08.31 JJY 경량환경 버전 생성
|
|
|
|
author : 공통서비스 개발팀 JJY
|
|
since : 2009.03.03
|
|
--%>
|
|
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
|
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
|
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
|
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
|
|
<meta http-equiv="content-language" content="ko">
|
|
<script type="text/javaScript" language="javascript" defer="defer">
|
|
function fn_research_insert(){
|
|
var research_val = $(":radio[name=sf_research]:checked").val();
|
|
var mcUrl = $("#mcUrl").val();
|
|
var mcTitle = $("#mcTitle").val();
|
|
var menuNo = $("#menuNo").val();
|
|
|
|
if(research_val == null || research_val == ""){
|
|
alert("평가항목중 1개를 선택하여 주십시오.")
|
|
return;
|
|
}
|
|
|
|
var _param = { "research_val" : research_val, "mcUrl" : mcUrl, "mcTitle" : mcTitle, "menuNo" : menuNo }
|
|
$.ajax({
|
|
type : "POST",
|
|
url : "/uss/ion/sat/insertSatis.do",
|
|
data: _param,
|
|
success : function(data){
|
|
alert("평가해주셔서 감사합니다.");
|
|
$("input:radio[name=sf_research]:input[value="+research_val+"]").attr("checked",false);
|
|
},
|
|
error: function(request, status, error){
|
|
alert("loading error:" + request.status);
|
|
console.log("code : " + request.statusText + "\r\nmessage : " + request.responseText);
|
|
}
|
|
});
|
|
}
|
|
</script>
|
|
<!-- 평가s -->
|
|
<c:if test="${resultVO.satisYn == 'Y'}">
|
|
<div class="pageRating">
|
|
<!-- <div class="tit">
|
|
<p class="titTxt">담당자안내</p>
|
|
<ul>
|
|
<li><p>담당부서 <span>경영기획부</span></p></li>
|
|
<li><p>담당자 <span>인사말 담당자</span></p></li>
|
|
</ul>
|
|
</div> -->
|
|
<div class="rating">
|
|
<p>현재 페이지에 대한 정보 만족도를 평가해주세요!</p>
|
|
<ul>
|
|
<li><input type="radio" id="rt1" value="1" name="sf_research"> <label for="rt1">매우만족</label><img src="/publish/image/common/rt5.png" alt="별 다섯개"></li>
|
|
<li><input type="radio" id="rt2" value="2" name="sf_research"> <label for="rt2">만족</label><img src="/publish/image/common/rt4.png" alt="별 네개"></li>
|
|
<li><input type="radio" id="rt3" value="3" name="sf_research"> <label for="rt3">보통</label><img src="/publish/image/common/rt3.png" alt="별 세개"></li>
|
|
<li><input type="radio" id="rt4" value="4" name="sf_research"> <label for="rt4">불만족</label><img src="/publish/image/common/rt2.png" alt="별 두개"></li>
|
|
<li><input type="radio" id="rt5" value="5" name="sf_research"> <label for="rt5">매우불만족</label><img src="/publish/image/common/rt1.png" alt="별 한개"></li>
|
|
</ul>
|
|
|
|
<button type="button" class="ap_btn" onclick="fn_research_insert(); return false;">평가하기</button>
|
|
</div>
|
|
</div>
|
|
<input type="hidden" id="mcTitle" name="mcTitle" value="${resultVO.menuNm}" />
|
|
<input type="hidden" id="menuNo" name="menuNo" value="${resultVO.menuNo}" />
|
|
<input type="hidden" id="mcUrl" name="mcUrl" value="${url}"/>
|
|
</c:if>
|
|
<!-- 평가e --> |