userFeedback.jsp
5.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html>
<head>
<jsp:include page="${ctx }/WEB-INF/view/meta.jsp"></jsp:include>
<script type="text/javascript" src="${ctx}/resource/js/user/userFeedback.js?r=${random}"></script>
</head>
<body>
<div class="easyui-panel" data-options="fit:true">
<div class="easyui-panel" style="padding:10px;"
data-options="title:'查询条件', collapsible:true, width:'100%', height:'20%'">
<form id="search-form" action="" method="post">
<table class="search-table">
<tr>
<td>
会员号:<input id="userId" name="userId" class="easyui-textbox search-input">
</td>
<td>
姓名:<input id="userName" name="userName" class="easyui-textbox search-input">
</td>
<td>反馈状态: <select name="feedbackStatus"
class="easyui-combobox search-input"
data-options="editable: false">
<option value="" selected="selected">全部</option>
<option value="0">有效</option>
<option value="1">无效</option>
</select>
</td>
<td>回访状态: <select name="returnStatus"
class="easyui-combobox search-input"
data-options="editable: false">
<option value="">全部</option>
<option value="1">已回访</option>
<option value="0">未回访</option>
</select>
</td>
</tr>
<tr>
<td>
反馈起始日期:<input name="startDate" data-options="formatter:App.formatDate" class="easyui-datebox search-input">
</td>
<td>
反馈结束日期:<input name="endDate" data-options="formatter:App.formatDate" class="easyui-datebox search-input">
</td>
<td>
<a href="javascript:feedback.search()" class="easyui-linkbutton search-button" data-options="iconCls:'icon-search'">搜索</a>
</td>
</tr>
</table>
</form>
</div>
<div class="easyui-panel" data-options="height:'80%',title:'查询结果'">
<div id="toolbar">
<a href="javascript:feedback.upReturn()" class="easyui-linkbutton">回访确认</a>
<a href="javascript:feedback.beforeFeedback()" class="easyui-linkbutton">查看内容</a>
<a href="javascript:feedback.upFeedback()" class="easyui-linkbutton">设定反馈状态</a>
</div>
<!-- DataGrid -->
<table id="data-grid" class="easyui-datagrid"
data-options="fitColumns:true, singleSelect: true, fit:true, pagination:true, idField: 'id',
rownumbers:true, toolbar:'#toolbar', selectOnCheck:true, pageSize:20">
<thead>
<tr>
<th data-options="field:'id', checkbox:true"></th>
<th data-options="field:'userId'">会员号</th>
<th data-options="field:'userName'">姓名</th>
<th data-options="field:'mobileTel'">手机号</th>
<th data-options="field:'feedbackTime'">反馈时间</th>
<th data-options="field:'content', formatter:feedback.formatterContent">内容查看</th>
<th data-options="field:'feedbackStatus', formatter:feedback.formatterFeedback">反馈状态</th>
<th data-options="field:'returnStatus', formatter:feedback.formatterStatus">回访状态</th>
<th data-options="field:'returnTime'">回访时间</th>
<th data-options="field:'remark'">备注</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<div id="content-dialog" class="easyui-dialog" style="padding: 10px; width: 450px;height:auto;"
data-options="closed:true, title:'查看内容', modal:true, buttons:'#content-dialog-buttons'">
<form id="content-form" method="post" data-options="novalidate: false">
<input type="hidden" id="id" name="id"/>
<table class="content-table">
<tr id="feedContent">
<td class="add-label">反馈内容:</td>
<td><input name="content" id="content" class="easyui-textbox add-input" data-options="required:true, multiline:true, readonly:true, height:100"></td>
</tr>
<tr>
<td class="add-label">反馈状态:</td>
<td><input name="feedbackStatus" id="feedbackStatus" type="radio" value="0"/>反馈有效 <input name="feedbackStatus" id="feedbackStatus" type="radio" value="1"/>反馈无效</td>
</tr>
</table>
</form>
</div>
<div id="content-dialog-buttons" style="text-align:center;">
<a href="javascript:feedback.feedbackUpdate()" class="easyui-linkbutton c6 search-button" data-options="iconCls:'icon-ok'">确认</a>
<a href="javascript:feedback.closeContent()" class="easyui-linkbutton search-button" data-options="iconCls:'icon-cancel'">取消</a>
</div>
<div id="return-dialog" class="easyui-dialog" style="padding: 10px; width: 450px;height:auto;"
data-options="closed:true, title:'查看内容', modal:true, buttons:'#return-dialog-buttons'">
<form id="return-form" method="post" data-options="novalidate: false">
<input type="hidden" id="id" name="id"/>
<table class="content-table">
<tr id="feedContent">
<td class="add-label">备注:</td>
<td><textarea name="remark" id="remark" class="add-input" style="height:100px; font-size:12px;"></textarea></td>
</tr>
</table>
</form>
</div>
<div id="return-dialog-buttons" style="text-align:center;">
<a href="javascript:feedback.returnUpdate()" class="easyui-linkbutton c6 search-button" data-options="iconCls:'icon-ok'">确认</a>
<a href="javascript:feedback.closeReturn()" class="easyui-linkbutton search-button" data-options="iconCls:'icon-cancel'">取消</a>
</div>
</body>
</html>