|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+<!DOCTYPE html>
|
|
|
2
|
+<html>
|
|
|
3
|
+ <head>
|
|
|
4
|
+ <meta charset="UTF-8">
|
|
|
5
|
+ <title>投诉情况跟踪表</title>
|
|
|
6
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
7
|
+ <script src="../Script/Common/huayi.load.js"></script>
|
|
|
8
|
+ <script src="../Script/Common/huayi.config.js"></script>
|
|
|
9
|
+ <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
|
|
|
10
|
+ <link href="../js/bootstrap-select/css/bootstrap-select.css" rel="stylesheet" />
|
|
|
11
|
+ <link rel="stylesheet" href="../js/comboSelect/combo.select.css" />
|
|
|
12
|
+ <link href="../css/init.css" rel="stylesheet" />
|
|
|
13
|
+ <link href="../css/WorkOrder/Search.css" rel="stylesheet">
|
|
|
14
|
+ <style>
|
|
|
15
|
+ .toolBox{
|
|
|
16
|
+ padding-top: 15px;
|
|
|
17
|
+ }
|
|
|
18
|
+
|
|
|
19
|
+ .toolBox .form-inline .form-group{
|
|
|
20
|
+ margin-bottom: 10px;
|
|
|
21
|
+ }
|
|
|
22
|
+
|
|
|
23
|
+ .time-box {
|
|
|
24
|
+ display: inline-block;
|
|
|
25
|
+ position: relative;
|
|
|
26
|
+ }
|
|
|
27
|
+
|
|
|
28
|
+ i.tub {
|
|
|
29
|
+ position: absolute;
|
|
|
30
|
+ right: 8px;
|
|
|
31
|
+ top: 8px;
|
|
|
32
|
+ font-size: 18px;
|
|
|
33
|
+ color: #1ab394;
|
|
|
34
|
+ }
|
|
|
35
|
+ </style>
|
|
|
36
|
+ </head>
|
|
|
37
|
+
|
|
|
38
|
+ <body class="gray-bg">
|
|
|
39
|
+ <div class="daoHang clearfix">
|
|
|
40
|
+ <div class="dhLeft">
|
|
|
41
|
+ <sapn><i class="syIcon"></i>位置:
|
|
|
42
|
+ <a href="javaScript:;" id="ReIndex">首页</a>>
|
|
|
43
|
+ <a href="javaScript:;">工单管理</a>>
|
|
|
44
|
+ <a href="" class="nowPosition">投诉情况跟踪表</a>
|
|
|
45
|
+ </sapn>
|
|
|
46
|
+ </div>
|
|
|
47
|
+ <div class="dhRight">
|
|
|
48
|
+ <a href="#" title="刷新"><i class="fa fa-refresh"></i></a>
|
|
|
49
|
+ </div>
|
|
|
50
|
+ </div>
|
|
|
51
|
+ <div class="wrapper wrapper-content animated fadeInRight">
|
|
|
52
|
+ <div class="toolBox clearfix">
|
|
|
53
|
+ <div class="pull-left">
|
|
|
54
|
+ <div class="form-inline clearfix">
|
|
|
55
|
+ <div class="form-group">
|
|
|
56
|
+ <input class="form-control" type="text" id="searchCode" placeholder="请输入工单编号">
|
|
|
57
|
+ </div>
|
|
|
58
|
+ <div class="form-group" style="position: relative;">
|
|
|
59
|
+ <input class="form-control inps search-region-name" id="searchRegionName" type="text" autocomplete="off" readonly="readonly" placeholder="请选择大区办事处" />
|
|
|
60
|
+ <input id="searchRegionId" type="hidden" />
|
|
|
61
|
+ <input id="searchOfficeId" type="hidden" />
|
|
|
62
|
+ <i class="xl"></i>
|
|
|
63
|
+ <!-- <b class="delect-icon">X</b> -->
|
|
|
64
|
+ <div class="addTree">
|
|
|
65
|
+ <ul id="selectRegionZtree" class="ztree">
|
|
|
66
|
+ </ul>
|
|
|
67
|
+ </div>
|
|
|
68
|
+ </div>
|
|
|
69
|
+ <div class="form-group">
|
|
|
70
|
+ <input class="form-control" type="text" id="searchOfficeName" placeholder="请输入办事处">
|
|
|
71
|
+ </div>
|
|
|
72
|
+ <div class="time-box form-group">
|
|
|
73
|
+ <i class="tub fa fa-calendar"></i>
|
|
|
74
|
+ <input class="form-control search_time" type="text" id="greetingTimes" placeholder="请选择投诉时间" autocomplete="off">
|
|
|
75
|
+ </div>
|
|
|
76
|
+ <div class="form-group">
|
|
|
77
|
+ <input class="form-control" type="text" id="searchKeywords" placeholder="关键字">
|
|
|
78
|
+ </div>
|
|
|
79
|
+ <div class="form-group">
|
|
|
80
|
+ <select class="form-control" id="searchProductType">
|
|
|
81
|
+ <option value="">请选择产品代码</option>
|
|
|
82
|
+ </select>
|
|
|
83
|
+ </div>
|
|
|
84
|
+ <div class="form-group">
|
|
|
85
|
+ <input class="form-control" type="text" id="searchProductName" placeholder="产品名称">
|
|
|
86
|
+ </div>
|
|
|
87
|
+ <div class="form-group">
|
|
|
88
|
+ <input class="form-control" type="text" id="searchProductDate" placeholder="生产日期(YYYY.MM.DD)">
|
|
|
89
|
+ </div>
|
|
|
90
|
+ <div class="form-group">
|
|
|
91
|
+ <input class="form-control" type="text" id="searchBatchNumber" placeholder="产品编码">
|
|
|
92
|
+ </div>
|
|
|
93
|
+ <div class="form-group">
|
|
|
94
|
+ <input type="text" class="form-control" id="searchManufacturer" list="searchManufacturerDataList" placeholder="生产厂家"/>
|
|
|
95
|
+ <datalist id="searchManufacturerDataList">
|
|
|
96
|
+ </datalist>
|
|
|
97
|
+ </div>
|
|
|
98
|
+ <div class="form-group">
|
|
|
99
|
+ <select class="form-control" id="searchProblemCode">
|
|
|
100
|
+ <option value="">请选择问题代码</option>
|
|
|
101
|
+ </select>
|
|
|
102
|
+ </div>
|
|
|
103
|
+<!-- <div class="form-group">
|
|
|
104
|
+ <select class="form-control" id="searchNotifications">
|
|
|
105
|
+ <option value="">请选择业务员</option>
|
|
|
106
|
+ </select>
|
|
|
107
|
+ </div>
|
|
|
108
|
+ --> <div class="time-box form-group">
|
|
|
109
|
+ <select class="form-control" id="searchState">
|
|
|
110
|
+ <option value="">请选择处理进度</option>
|
|
|
111
|
+ <option value="0">待提交</option>
|
|
|
112
|
+ <option value="1">待分派</option>
|
|
|
113
|
+ <option value="3">待处理</option>
|
|
|
114
|
+ <option value="4">处理中</option>
|
|
|
115
|
+ <option value="5">退回待指派</option>
|
|
|
116
|
+ <option value="6">退回待提交</option>
|
|
|
117
|
+ <option value="10">已完成</option>
|
|
|
118
|
+ </select>
|
|
|
119
|
+ </div>
|
|
|
120
|
+ <div class="form-group">
|
|
|
121
|
+ <select class="form-control" id="searchOrderType">
|
|
|
122
|
+ <option value="">请选择工单类别</option>
|
|
|
123
|
+ <option value="1">咨询</option>
|
|
|
124
|
+ <option value="2">投诉</option>
|
|
|
125
|
+ <option value="3">重复</option>
|
|
|
126
|
+ </select>
|
|
|
127
|
+ </div>
|
|
|
128
|
+ <div class="form-group">
|
|
|
129
|
+ <select class="form-control" id="searchDealTimely">
|
|
|
130
|
+ <option value="">请选择工单级别</option>
|
|
|
131
|
+ </select>
|
|
|
132
|
+ </div>
|
|
|
133
|
+ <!--<div class="form-group">
|
|
|
134
|
+ <select class="form-control" id="searchOrderSource">
|
|
|
135
|
+ <option value="">请选择工单来源</option>
|
|
|
136
|
+ <option value="1">PC</option>
|
|
|
137
|
+ <option value="2">APP</option>
|
|
|
138
|
+ <option value="3">微信</option>
|
|
|
139
|
+ </select>
|
|
|
140
|
+ </div>-->
|
|
|
141
|
+ <div class="form-group">
|
|
|
142
|
+ <select class="form-control" id="searchSee">
|
|
|
143
|
+ <option value="">查看负责区域单子</option>
|
|
|
144
|
+ <option value="0">所有</option>
|
|
|
145
|
+ <option value="1">管理区域</option>
|
|
|
146
|
+ </select>
|
|
|
147
|
+ </div>
|
|
|
148
|
+ <div class="time-box form-group">
|
|
|
149
|
+ <i class="tub fa fa-calendar"></i>
|
|
|
150
|
+ <input class="form-control search_time" type="text" id="duplicateTime" placeholder="请选择重复投诉时间" autocomplete="off">
|
|
|
151
|
+ </div>
|
|
|
152
|
+ <div class="form-group btn-position">
|
|
|
153
|
+ <button class="btns ss">搜索</button>
|
|
|
154
|
+ <button class="btns export">导出</button>
|
|
|
155
|
+ </div>
|
|
|
156
|
+ </div>
|
|
|
157
|
+ </div>
|
|
|
158
|
+ </div>
|
|
|
159
|
+ <div style="width: 100%;padding: 10px;" id="ces">
|
|
|
160
|
+ <table id="workorderlist" class="market" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
|
|
|
161
|
+ <thead>
|
|
|
162
|
+ <tr>
|
|
|
163
|
+ <th data-field="F_WorkOrderId" data-class="W160" data-formatter="View" data-align="center">工单编号</th>
|
|
|
164
|
+ <th data-field="F_AreaName" data-class="W60" data-align="center">大区</th>
|
|
|
165
|
+ <th data-field="F_OfficName" data-class="W80" data-align="center">办事处</th>
|
|
|
166
|
+ <th data-field="F_CreateTime" data-class="W190" data-formatter="formatterAddressResult" data-align="center">投诉时间</th>
|
|
|
167
|
+ <th data-field="F_SerialNumber" data-class="W60" data-align="center">序号</th>
|
|
|
168
|
+ <th data-field="F_CusName" data-class="W100" data-align="center">姓名</th>
|
|
|
169
|
+ <th data-field="F_AddRess" data-class="W380" data-formatter="formatterAddressResult" data-align="center">地址</th>
|
|
|
170
|
+ <th data-field="F_CusPhone" data-class="W220" data-formatter="formatterAddressResult" data-align="center">联系电话</th>
|
|
|
171
|
+ <th data-field="F_ProductType" data-class="W80" data-align="center">产品代码</th>
|
|
|
172
|
+ <th data-field="F_ProductName" data-class="W380" data-formatter="formatterAddressResult" data-align="center">产品名称</th>
|
|
|
173
|
+ <th data-field="F_Specifications" data-class="W80" data-formatter="formatterCharacterLength" data-align="center">规格</th>
|
|
|
174
|
+ <th data-field="F_ProductDate" data-class="W100" data-align="center">生产日期</th>
|
|
|
175
|
+ <th data-field="F_BatchNumber" data-class="W380" data-formatter="formatterAddressResult" data-align="center">产品编码</th>
|
|
|
176
|
+ <th data-field="F_Manufacturer" data-class="W100" data-formatter="formatterCharacterLength" data-align="center">生产厂家</th>
|
|
|
177
|
+ <th data-field="F_ProblemCode" data-class="W80" data-align="center">问题代码</th>
|
|
|
178
|
+ <th data-field="F_QualityProblem" data-class="W380" data-align="center">质量问题</th>
|
|
|
179
|
+ <th data-field="F_DealUser" data-class="W80" data-align="center">业务员</th>
|
|
|
180
|
+ <th data-field="F_ReceivingPerson" data-class="W80" data-align="center">接听人</th>
|
|
|
181
|
+ <th data-field="F_DealResult" data-class="W380" data-formatter="formatterAddressResult" data-align="center">落实情况</th>
|
|
|
182
|
+ <th data-field="F_State" data-class="W100" data-formatter="workOrderStateJudge" data-align="center">处理进度</th>
|
|
|
183
|
+ <th data-field="F_Type" data-class="W80" data-align="center" data-formatter="workOrderTypeJudge">工单类别</th>
|
|
|
184
|
+ </tr>
|
|
|
185
|
+ </thead>
|
|
|
186
|
+ </table>
|
|
|
187
|
+ </div>
|
|
|
188
|
+ </div>
|
|
|
189
|
+
|
|
|
190
|
+ <script src="../js/zTree/jquery.ztree.core.js"></script>
|
|
|
191
|
+ <script src="../js/zTree/jquery.ztree.excheck.min.js"></script>
|
|
|
192
|
+ <script src="../js/kindeditor/kindeditor.js"></script>
|
|
|
193
|
+ <script src="../js/kindeditor/lang/zh_CN.js"></script>
|
|
|
194
|
+ <script src="../js/laydate/laydate.js"></script>
|
|
|
195
|
+ <script src="../js/bootstrap-select/js/bootstrap-select.js"></script>
|
|
|
196
|
+ <script src="../js/comboSelect/jquery.combo.select.js"></script>
|
|
|
197
|
+ <script src="../js/WorkOrder/WorkOrder.js"></script>
|
|
|
198
|
+ <script>
|
|
|
199
|
+ $(document).ready(function() {
|
|
|
200
|
+ laydate.render({
|
|
|
201
|
+ elem: '#greetingTimes',
|
|
|
202
|
+ range: '~',
|
|
|
203
|
+ theme: '#1ab394',
|
|
|
204
|
+ });
|
|
|
205
|
+ laydate.render({
|
|
|
206
|
+ elem: '#duplicateTime',
|
|
|
207
|
+ range: '~',
|
|
|
208
|
+ theme: '#1ab394',
|
|
|
209
|
+ });
|
|
|
210
|
+ // 导出
|
|
|
211
|
+ $('.export').click(function() {
|
|
|
212
|
+ var state = 11; //处理进度
|
|
|
213
|
+ dcexcel(state);
|
|
|
214
|
+ });
|
|
|
215
|
+ })
|
|
|
216
|
+
|
|
|
217
|
+ function initTable() {
|
|
|
218
|
+ //先销毁表格
|
|
|
219
|
+ $('#workorderlist').bootstrapTable('destroy');
|
|
|
220
|
+ //初始化表格,动态从服务器加载数据
|
|
|
221
|
+ $("#workorderlist").bootstrapTable({
|
|
|
222
|
+ method: "get", //使用get请求到服务器获取数据
|
|
|
223
|
+ url: huayi.config.callcenter_url + "WorkOrder/GetList", //获取数据的Servlet地址
|
|
|
224
|
+ contentType: 'application/x-www-form-urlencoded',
|
|
|
225
|
+ striped: true, //表格显示条纹
|
|
|
226
|
+ pagination: true, //启动分页
|
|
|
227
|
+ pageSize: 10, //每页显示的记录数
|
|
|
228
|
+ pageNumber: 1, //当前第几页
|
|
|
229
|
+ pageList: [10, 20, 50, 100], //记录数可选列表
|
|
|
230
|
+ search: false, //是否启用查询
|
|
|
231
|
+ showColumns: false, //显示下拉框勾选要显示的列
|
|
|
232
|
+ showRefresh: false, //显示刷新按钮
|
|
|
233
|
+ sidePagination: "server", //表示服务端请求
|
|
|
234
|
+ fixedColumns: true,
|
|
|
235
|
+ fixedNumber: 14,
|
|
|
236
|
+ //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
|
|
|
237
|
+ //设置为limit可以获取limit, offset, search, sort, order
|
|
|
238
|
+ queryParamsType: "undefined",
|
|
|
239
|
+ queryParams: function queryParams(params) { //设置查询参数
|
|
|
240
|
+ var param = {
|
|
|
241
|
+ state: 11, //处理进度
|
|
|
242
|
+ token: $.cookie("token"),
|
|
|
243
|
+ code: $("#searchCode").val(), //工单编号
|
|
|
244
|
+ area: $("#searchRegionId").val(), //大区
|
|
|
245
|
+ office: $("#searchOfficeId").val(), //办事处
|
|
|
246
|
+ officename: $("#searchOfficeName").val(), //办事处
|
|
|
247
|
+ starttime: $('#greetingTimes').val() && $('#greetingTimes').val().split(' ~ ')[0], //开始时间
|
|
|
248
|
+ endtime: $('#greetingTimes').val() && $('#greetingTimes').val().split(' ~ ')[1], //结束时间
|
|
|
249
|
+ keywords: $("#searchKeywords").val(),//关键字
|
|
|
250
|
+ productType: $("#searchProductType").val(), //产品代码
|
|
|
251
|
+ productName: $("#searchProductName").val(), //产品名称
|
|
|
252
|
+ productDate: $("#searchProductDate").val(), //生产日期
|
|
|
253
|
+ batchNumber: $("#searchBatchNumber").val(), //产品编码
|
|
|
254
|
+ manufacturer: $("#searchManufacturer").val(), //生产厂家
|
|
|
255
|
+ problemCode: $("#searchProblemCode").val(), //问题代码
|
|
|
256
|
+ notifications: $("#searchNotifications").val(), //通知人
|
|
|
257
|
+ type: $("#searchOrderType").val(), //工单类别
|
|
|
258
|
+ dealTimely: $("#searchDealTimely").val(), // 工单级别
|
|
|
259
|
+ see: $("#searchSee").val(), // 处理专员是否只查看负责区域单子
|
|
|
260
|
+ duplicatetime: $('#duplicateTime').val() && $('#duplicateTime').val().split(' ~ ')[0], //重复投诉开始时间
|
|
|
261
|
+ endduplicatetime: $('#duplicateTime').val() && $('#duplicateTime').val().split(' ~ ')[1], //重复投诉结束时间
|
|
|
262
|
+// source: $("#searchOrderSource").val(), //工单来源
|
|
|
263
|
+ pageindex: params.pageNumber, //页码
|
|
|
264
|
+ pagesize: params.pageSize, //条数
|
|
|
265
|
+ };
|
|
|
266
|
+ return param;
|
|
|
267
|
+ },
|
|
|
268
|
+ onLoadSuccess: function() { //加载成功时执行
|
|
|
269
|
+ //layer.msg("加载成功");
|
|
|
270
|
+ getLoginPersonNow();
|
|
|
271
|
+ },
|
|
|
272
|
+ onLoadError: function() { //加载失败时执行
|
|
|
273
|
+ //layer.msg("加载数据失败", { time: 1500, icon: 2 });
|
|
|
274
|
+ }
|
|
|
275
|
+ });
|
|
|
276
|
+ }
|
|
|
277
|
+ </script>
|
|
|
278
|
+ </body>
|
|
|
279
|
+
|
|
|
280
|
+</html>
|