📄 custservedit.jsp
字号:
<%@ page language="java" pageEncoding="gbk"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath %>"/>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>客服记录增加</title>
<link href="<%=basePath %>skin/default/default.css" rel="stylesheet" type="text/css" />
<script src="<%=basePath %>js/util.js" language="javascript" type="text/javascript"></script>
</head>
<script type="text/javascript">
<!--
function funcOnSubmit(){
var oContent = document.getElementById('content');
if(''==oContent.value){
alert('服务内容不能输入为空!');
return false;
}
var oFile_name = document.getElementById('file_name');
if(''==oFile_name.value){
return window.confirm('没有上传语音文件,确认不上传语音文件?');
}
}
//-->
</script>
<body class="mainbody">
<table width="100%" border="0" cellspacing="2" cellpadding="0">
<tr>
<td class="tdgriud">
首页 >>
客服管理 >>
客服信息<logic:equal property="paramtype" name="custServiceForm" value="initinsert">添加</logic:equal>
<logic:equal property="paramtype" name="custServiceForm" value="initupdate">修改</logic:equal>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tdborder">
<html:form action="/manage/custinfo">
<tr>
<td colspan="6" class="tdtitle">客户资料以及历史客服记录</td>
</tr>
<tr>
<td class="tdlbg" width="10%">姓名:</td>
<td class="tdrbg" width="23%">
<html:text property="cust_name" disabled="true"/></td>
<td class="tdlbg" width="10%">客服人员:</td>
<td class="tdrbg" width="23%">
<html:select property="employee_id" disabled="true">
<html:option value="">无</html:option>
<html:options collection="userlist" property="id" labelProperty="employee_name"/>
</html:select>
</td>
<td class="tdlbg" width="10%">性别:</td>
<td class="tdrbg" width="23%">
<html:select property="sex" disabled="true">
<html:option value="0">女</html:option>
<html:option value="1">男</html:option>
</html:select>
</td>
</tr>
<tr>
<td class="tdlbg">地址:</td>
<td class="tdrbg">
<html:text property="address" disabled="true"/>
</td>
<td class="tdlbg">来电电话:</td>
<td class="tdrbg"><html:text property="telephone" disabled="true"></html:text></td>
<td class="tdlbg">其他电话:</td>
<td class="tdrbg"><html:text property="elesephone" disabled="true"></html:text></td>
</tr>
<tr>
<td class="tdlbg">手机号码:</td>
<td class="tdrbg"><html:text property="mobile" disabled="true"></html:text></td>
<td class="tdlbg">定价:</td>
<td class="tdrbg"><html:text property="pay" disabled="true"></html:text></td>
<td class="tdlbg">传真:</td>
<td class="tdrbg">
<html:text property="fax" disabled="true"/>
</td>
</tr>
<tr>
<td class="tdlbg">邮编:</td>
<td class="tdrbg"><html:text property="zip" disabled="true"/></td>
<td class="tdlbg">电子邮件:</td>
<td class="tdrbg"><html:text property="email" disabled="true"/></td>
<td class="tdlbg">交款方式:</td>
<td class="tdrbg">
<html:select property="pay_method" disabled="true">
<html:options collection="paytypelist" labelProperty="fieldname" property="fieldcode"/>
</html:select>
</td>
</tr>
<tr>
<td class="tdlbg">资金:</td>
<td class="tdrbg"><html:text property="funds" disabled="true"/></td>
<td class="tdlbg">客户级别:</td>
<td class="tdrbg">
<html:select property="level" disabled="true">
<html:options collection="custlevellist" labelProperty="fieldname" property="fieldcode"/>
</html:select>
</td>
<td class="tdlbg">历史级别:</td>
<td class="tdrbg">
<bean:write name="custInfoForm" property="level_history"/>
</td>
</tr>
<tr>
<td class="tdlbg">职业:</td>
<td class="tdrbg"><html:text property="occupational" disabled="true"></html:text></td>
<td class="tdlbg">客户状态:</td>
<td class="tdrbg">
<html:select property="state" disabled="true">
<html:options collection="custstatelist" labelProperty="fieldname" property="fieldcode"/>
</html:select>
</td>
<td class="tdlbg">客户类别:</td>
<td class="tdrbg">
<html:select property="type" disabled="true">
<html:options collection="custtypelist" labelProperty="fieldname" property="fieldcode"/>
</html:select>
</td>
</tr>
<tr>
<td class="tdlbg">客户来源:</td>
<td class="tdrbg">
<html:select property="source" disabled="true">
<html:options collection="custsourcelist" labelProperty="fieldname" property="fieldcode"/>
</html:select>
</td>
<td class="tdlbg">登记日期:</td>
<td class="tdrbg"><html:text property="create_date" disabled="true"></html:text>
<a href="javascript:void(0)" onclick="if(self.gfPop)gfPop.fPopCalendar(document.custInfoForm.create_date);return false;">
<html:img align="absmiddle" page="/include/calendar/calbtn.gif" width="34" height="22" border="0" alt=""/>
</a></td>
<td class="tdlbg">开始日期:</td>
<td class="tdrbg"><html:text property="start_date" disabled="true"></html:text>
<a href="javascript:void(0)" onclick="if(self.gfPop)gfPop.fPopCalendar(document.custInfoForm.start_date);return false;">
<html:img align="absmiddle" page="/include/calendar/calbtn.gif" width="34" height="22" border="0" alt=""/>
</a></td>
</tr>
<tr>
<td class="tdlbg">结束日期:</td>
<td class="tdrbg"><html:text property="end_date" disabled="true"></html:text>
<a href="javascript:void(0)" onclick="if(self.gfPop)gfPop.fPopCalendar(document.custInfoForm.end_date);return false;">
<html:img align="absmiddle" page="/include/calendar/calbtn.gif" width="34" height="22" border="0" alt=""/>
</a></td>
<td class="tdlbg"> </td>
<td class="tdrbg"> </td>
<td class="tdlbg"> </td>
<td class="tdrbg"> </td>
</tr>
<!--
<tr>
<td class="tdlbg">持股结构:</td>
<td class="tdrbg" colspan="2">
<html:textarea property="share_hold_struct" cols="30" rows="5" disabled="true"></html:textarea>
</td>
<td class="tdrbg">持股情况:</td>
<td class="tdrbg" colspan="2">
<html:textarea property="share_hold" cols="30" rows="5" disabled="true"></html:textarea>
</td>
</tr>
-->
<tr>
<td class="tdlbg">客户产品、帐号以及密码:</td>
<td class="tdrbg" colspan="3">
<html:textarea property="product" cols="30" rows="10"></html:textarea>
</td>
</tr>
</html:form>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tdborder">
<tr>
<td width="8%" class="tdtitle">编号</td>
<td width="8%" class="tdtitle">服务客户</td>
<td width="8%" class="tdtitle">客服人员</td>
<td width="40%" class="tdtitle">客服记录</td>
<td width="8%" class="tdtitle">录音文件</td>
<td width="16%" class="tdtitle">创建日期</td>
</tr>
<logic:notEmpty name="custservlist">
<logic:iterate id="custserv" name="custservlist" indexId="index">
<tr onmouseover="TdMouseOver(this);" onmouseout="TdMouseOver(this);">
<td align="center" class="tdbg">
<bean:write name="custserv" property="complaint_id" />
</td>
<td class="tdbg"><bean:write name="custserv" property="cust_name" /></td>
<td class="tdbg"><bean:write name="custserv" property="employee_name" /></td>
<td class="tdbg"><bean:write name="custserv" property="content" /></td>
<td class="tdbg">
<html:link page="/upload/${custserv.file_name}">
<bean:write name="custserv" property="file_name" />
</html:link>
</td>
<td class="tdbg"><bean:write name="custserv" property="create_date" /></td>
</tr>
</logic:iterate>
</logic:notEmpty>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tdborder">
<html:form action="/manage/custserv" enctype="multipart/form-data" onsubmit="return funcOnSubmit()">
<html:hidden property="paramtype" value="update"/>
<html:hidden property="service_type"/>
<html:hidden property="complaint_id"/>
<tr>
<td colspan="6" class="tdtitle">
增加<Font color="red"><logic:equal property="service_type" name="custServiceForm" value="1">客服</logic:equal>
<logic:equal property="service_type" name="custServiceForm" value="2">投诉</logic:equal>
</Font>
信息
</td>
</tr>
<tr>
<td class="tdlbg">服务客户:</td>
<td class="tdrbg">
<bean:write name="custServiceForm" property="cust_name"/>
<html:hidden property="cust_id"/>
</td>
<td class="tdlbg">客服人员:</td>
<td class="tdrbg" colspan="3">
<html:text property="employee_name" readonly="true"/>
<html:hidden property="employee_id"/>
</td>
</tr>
<tr>
<td class="tdlbg">客服服务内容:</td>
<td class="tdrbg" colspan="2">
<html:textarea property="serv_content" cols="30" rows="5"></html:textarea>
</td>
<td class="tdlbg">客服投诉内容:</td>
<td class="tdrbg" colspan="2">
<html:textarea property="content" cols="30" rows="5" readonly="true"></html:textarea>
</td>
</tr>
<tr>
<td class="tdlbg">文件上传:</td>
<td class="tdrbg" colspan="2">
<html:file property="serv_file_name"></html:file>
</td>
<td class="tdlbg">投诉录音文件:</td>
<td class="tdrbg" colspan="2">
<html:link page="/upload/${custServiceForm.file_name}">
<bean:write name="custServiceForm" property="file_name" />
</html:link>
</td>
</tr>
<tr>
<td class="tdrbg" colspan="4" align="center">
<input type="submit" name="Submit" class="btn_save" value="添加服务反馈" />
<input type="button" name="Submit2" class="btn_back" value="返 回" onclick="location.href='<%=basePath %>/manage/custserv.do?paramtype=list&service_type=3'"/>
</td>
</tr>
</table>
</html:form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -