<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<html>
|
<head>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<title>响应支持类满意度调查</title>
|
<meta name="keywords" content="此页面关键词">
|
<meta name="description" content="网站描述">
|
[#include "/business/pages/include/static.html" /]
|
<style type="text/css" >
|
|
.reportTable_txt{
|
background:#e9f1f5;
|
width:96%;
|
padding-left:2%;
|
height:20px;
|
border:1px solid #d6e6ee;
|
}
|
.calendarimg{
|
float:left;
|
margin:3px 0px 0px 5px;
|
}
|
.reportTable_rad{
|
margin:0px 3px 0px 7px;
|
vertical-align:text-top;
|
}
|
}
|
</style>
|
<script type="text/javascript">
|
var nowdate = '${nowdate}';
|
$(document).ready(function() {
|
$.formValidator.initConfig({formID:"myform",onError:function(msg){popupTips(msg)},onSuccess:function(){
|
document.getElementById("myform").target = window.top.openDialog("0","操作",
|
{},
|
{"width":40,"height":40,"noclose":true},
|
[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
return true;
|
}});
|
});
|
|
|
|
function save(){
|
$(".second").css("background","none");
|
var b = false;
|
var check = $(".item:checked");
|
if(check.length == 0) {
|
popupTips("没有调查结果");
|
return;
|
}
|
$(".second").each(function() {
|
var secondId = $(this).attr("itemid");
|
var thirdTr = $(".third"+secondId+":checked");
|
if(thirdTr.length == 0) {
|
$(this).css("background","#ccc");
|
b = true;
|
return false;
|
}
|
});
|
|
if(b) {
|
popupTips("请至少选择一项");
|
return;
|
}
|
var customer_note = $("#customer_note").val();
|
var customer_person_name = $("#customer_person_name").val();
|
var telphone = $("#customer_person_telphone").val();
|
var upload_time = $("#uploadtime").val();
|
if($.util.isEmpty(customer_note)){
|
popupTips("请填写${Constants.CUSTOMER_CONSTANTS}评价");
|
return;
|
}
|
if($.util.isEmpty(customer_person_name)){
|
popupTips("请填写${Constants.CUSTOMER_CONSTANTS}联系人");
|
return;
|
}
|
if($.util.isEmpty(telphone)){
|
popupTips("请填写联系方式");
|
return;
|
}
|
if(!$.util.isNumber(telphone)){
|
popupTips("请填写正确的联系方式");
|
return;
|
}
|
if($.util.isEmpty(upload_time)){
|
popupTips("请选择调查时间");
|
return;
|
}
|
$('.item:checked').each(function() {
|
var typeValue = $(this).val();
|
var name = $(this).attr("name");
|
$("#"+name).val(typeValue);
|
});
|
$("#myform").submit();
|
|
}
|
function showdate(dateFormat){
|
if(!dateFormat)dateFormat="yyyy-MM-dd";
|
WdatePicker({
|
lang:'zh-cn',
|
dateFmt:dateFormat,
|
isShowOthers: false,
|
isShowToday:false,
|
isShowClear:false,
|
minDate:"1900年01月",
|
maxDate:nowdate
|
});
|
}
|
</script>
|
</head>
|
|
<body>
|
[#include "/business/pages/include/header.html" /]
|
<script type="text/javascript" src="${common_static}/static/plugins/My97DatePicker/WdatePicker.js"></script>
|
[#include "/component/webupload.html" /]
|
<div class="fs_navpath">
|
<h3>当前位置</h3>
|
<span></span>
|
<a>满意度管理 </a>
|
<span></span>
|
<a>响应支持类满意度 </a>
|
</div>
|
<div class="fs_navtitle" id="fsNavtitle">
|
<div class="fs_navtitle_con">
|
<div class="fsnt_btn">
|
<a class="fb_submit" href="javascript:save();"><span>提交</span></a>
|
</div>
|
</div>
|
</div>
|
<div class="device" id="printDiv" style="padding:0;border:0;">
|
<form id="myform" action="" method="post">
|
<input type="hidden" value="${orderitem.TEMPLATE_ID}" name="template_id" id="template_id"/>
|
<table border="0" class="reportTable" >
|
<tr class="titleTr">
|
<td colspan="8">响应支持类满意度调查表</td>
|
</tr>
|
<tr class="nameTr">
|
<td colspan="4" align="left">${Constants.CUSTOMER_CONSTANTS}:${customerMap.CUSTOMER_NAME}</td>
|
|
<td colspan="4" nowrap="nowrap" style="text-align:right;">
|
<input type="hidden" value="${customerMap.CUSTOMER_CODE}-${DateUtil.getCurrentDate14()}-${numbh}" name="reportcode" id="reportcode" />
|
编号:${customerMap.CUSTOMER_CODE}-${DateUtil.getCurrentDate14()}-${numbh}</td>
|
</tr>
|
<tr>
|
<td align="center" colspan="1" >工单名称:</td>
|
<td align="left" colspan="7" >
|
<a href="${base}/business/pages/order/orderInfo.html?orderId=${customerMap.BUSINESS_ID}&flowId=${customerMap.ID}&orderType=${customerMap.BUSINESSTYPE}" target="_blank">${customerMap.WFNAME}</a>
|
</td>
|
</tr>
|
<tr>
|
<td align="center" colspan="1" >工单编号:</td>
|
<td align="left" colspan="3" >
|
<a href="${base}/business/pages/order/orderInfo.html?orderId=${customerMap.BUSINESS_ID}&flowId=${customerMap.ID}&orderType=${customerMap.BUSINESSTYPE}" target="_blank">${customerMap.ORDER_CODE}</a>
|
</td>
|
<td align="center" colspan="1" >工单类型:</td>
|
<td align="left" colspan="3" >${customerMap.BUSINESSTYPE_TEXT}</td>
|
</tr>
|
[#list orderitem.itemYjList as card]
|
<tr>
|
[#if card_index == 0]
|
<td align="center" rowspan="${orderitem.count}" colspan="1" >调查内容:</td>
|
[/#if]
|
<td align="left" colspan="7" class="device_mtable_tdbg reportTd second" itemid="${card.ID}">${card.ITEM_NAME}</td>
|
</tr>
|
[#list card.itemList as item]
|
<tr>
|
<td align="left" colspan="4" class="device_mtable_tdbg reportTd">${item.ITEM_NAME}</td>
|
<td align="center" colspan="3" class="device_mtable_tdbg reportTd">
|
<input type="hidden" value="${item.ID}" name="item_id"/>
|
<input type="hidden" value="${item.ITEM_NAME}" name="item_name"/>
|
<input type="hidden" value="${item.TEMPLATE_WEIGHT}" name="template_weight"/>
|
<input type="hidden" value="${item.BIG_WEIGHT}" name="big_weight"/>
|
<input type="hidden" name="score" id="${item.ID}" value="nocheck" />
|
[#list item.EVALUATION as eva]
|
<input type="radio" value="${eva.SCORE}&${eva.EVA_NAME}&${eva.ID}" [#if eva.IS_DEFAULT == 1]checked="checked"[/#if] class="item reportTable_rad third${card.ID}" name="${item.ID}"/>${eva.EVA_NAME}
|
[/#list]
|
</td>
|
</tr>
|
[/#list]
|
[/#list]
|
<tr>
|
<td height="80" align="left" colspan="8" width="15%" style="vertical-align:top;" >客户评价:
|
<textarea class="reportTable_txt" style="height:50px;margin:5px 6px 8px;" id="customer_note" name="customer_note" ></textarea></td>
|
</tr>
|
<tr>
|
<td align="center" colspan="2" width="15%">${Constants.CUSTOMER_CONSTANTS}联系人:</td>
|
<td align="center" colspan="2" width="35%"><input class="reportTable_txt" type="text" id="customer_person_name" name="customer_person_name" value="${baseMsg.CONTACT_NAME}"/></td>
|
<td align="center" colspan="2" width="15%">联系方式:</td>
|
<td align="center" colspan="2" width="35%"><input class="reportTable_txt" type="text" id="customer_person_telphone" name="customer_person_telphone" value="${baseMsg.CONTACT_PHONE}"/></td>
|
</tr>
|
<tr>
|
<td align="center" colspan="2" >调查人:</td>
|
<td align="center" colspan="2" ><input style="width:98%;border-style:none;" type="text" id="invest_user_name" name="invest_user_name" value="${userMap.ZSXM}" readOnly/>
|
<td align="center" colspan="2" >调查日期:</td>
|
<td align="center" colspan="2" ><input class="reportTable_txt" type="text" onclick="showdate('yyyy-MM-dd');" value="${format(DateUtil.getCurrentDate8(),'yyyy-MM-dd')}" readOnly id="uploadtime" name="uploadtime" /></td>
|
</tr>
|
<tr class="nameTr">
|
<td height="80" align="left" colspan="6" width="15%" >
|
<div class="edit_txt">
|
<div class="edit_btn clearfix">
|
<div class="upload_file" style="position:relative">
|
[@webupload id="files" multiple="true" extensions="*" /]
|
</div>
|
</div>
|
</div>
|
</td>
|
</tr>
|
</table>
|
</form>
|
</div>
|
[#include "/business/pages/include/footer.html" /]
|
|
|
</body>
|
</html>
|
|