|
|
@@ -0,0 +1,376 @@
|
|
|
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="../css/WorkOrder/Search.css" rel="stylesheet">
|
|
|
11
|
+ <link rel="stylesheet" href="../js/comboSelect/combo.select.css" />
|
|
|
12
|
+ <link href="../css/init.css" rel="stylesheet" />
|
|
|
13
|
+ <style>
|
|
|
14
|
+ .toolBox{
|
|
|
15
|
+ height: 95px;
|
|
|
16
|
+ }
|
|
|
17
|
+ .form-inline{
|
|
|
18
|
+ margin-bottom: 10px;
|
|
|
19
|
+ }
|
|
|
20
|
+ .W60margin .th-inner {
|
|
|
21
|
+ width:160px !important;
|
|
|
22
|
+ margin-right: 220px !important;
|
|
|
23
|
+ }
|
|
|
24
|
+ .W60margin{
|
|
|
25
|
+ width:160px !important;
|
|
|
26
|
+ text-align: left !important;
|
|
|
27
|
+ }
|
|
|
28
|
+ .W100 .th-inner {
|
|
|
29
|
+ width:100px !important;
|
|
|
30
|
+ }
|
|
|
31
|
+ .W160 .th-inner {
|
|
|
32
|
+ width:160px !important;
|
|
|
33
|
+ }
|
|
|
34
|
+ .W220 .th-inner {
|
|
|
35
|
+ width:220px !important;
|
|
|
36
|
+ }
|
|
|
37
|
+ .W220{
|
|
|
38
|
+ width:220px !important;
|
|
|
39
|
+ }
|
|
|
40
|
+ </style>
|
|
|
41
|
+</head>
|
|
|
42
|
+<body class="gray-bg">
|
|
|
43
|
+ <div class="wrapper wrapper-content animated fadeInRight">
|
|
|
44
|
+ <div class="daoHang clearfix">
|
|
|
45
|
+ <div class="dhLeft">
|
|
|
46
|
+ <sapn><i class="syIcon"></i>位置:<a href="javaScript:;" id="ReIndex">首页</a>><a href="javaScript:;">工单管理</a>><a href=""class="nowPosition">退回待提交</a></sapn>
|
|
|
47
|
+ </div>
|
|
|
48
|
+ <div class="dhRight">
|
|
|
49
|
+ <a href="#" title="刷新"><i class="fa fa-refresh"></i></a>
|
|
|
50
|
+ </div>
|
|
|
51
|
+ </div>
|
|
|
52
|
+ <div class="wrapper wrapper-content animated fadeInRight">
|
|
|
53
|
+ <div class="toolBox">
|
|
|
54
|
+ <div class="th-bar clearfix">
|
|
|
55
|
+ <div class="pull-left">
|
|
|
56
|
+ <div class="form-inline">
|
|
|
57
|
+ <div class="form-group">
|
|
|
58
|
+ <select class="form-control" id="searchOrderSource">
|
|
|
59
|
+ <option value="">请选择工单来源</option>
|
|
|
60
|
+ <option value="1">PC</option>
|
|
|
61
|
+ <option value="2">APP</option>
|
|
|
62
|
+ <option value="3">微信</option>
|
|
|
63
|
+ </select>
|
|
|
64
|
+ </div>
|
|
|
65
|
+ <div class="form-group">
|
|
|
66
|
+ <select class="form-control" id="searchOrderType">
|
|
|
67
|
+ <option value="">请选择工单类型</option>
|
|
|
68
|
+ <option value="1">咨询</option>
|
|
|
69
|
+ <option value="2">投诉</option>
|
|
|
70
|
+ </select>
|
|
|
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="请选择时间">
|
|
|
75
|
+ </div>
|
|
|
76
|
+ <div class="time-box form-group">
|
|
|
77
|
+ <select class="form-control" id="searchSee">
|
|
|
78
|
+ <option value="">选择只查看负责区域单子</option>
|
|
|
79
|
+ <option value="0">所有</option>
|
|
|
80
|
+ <option value="1">管理区域</option>
|
|
|
81
|
+ </select>
|
|
|
82
|
+ </div>
|
|
|
83
|
+ <div class="time-box form-group">
|
|
|
84
|
+ <input class="form-control" type="text" id="searchCode" placeholder="请输入工单号">
|
|
|
85
|
+ </div>
|
|
|
86
|
+ </div>
|
|
|
87
|
+ <div class="form-inline">
|
|
|
88
|
+ <div class="time-box form-group">
|
|
|
89
|
+ <input class="form-control" type="text" id="searchCusName" placeholder="请输入来电人姓名">
|
|
|
90
|
+ </div>
|
|
|
91
|
+ <div class="time-box form-group">
|
|
|
92
|
+ <input class="form-control" type="text" id="searchCusPhone" placeholder="请输入来电人电话">
|
|
|
93
|
+ </div>
|
|
|
94
|
+ <div class="time-box form-group">
|
|
|
95
|
+ <input class="form-control" type="text" id="searchCreateBy" placeholder="请输入创建人">
|
|
|
96
|
+ </div>
|
|
|
97
|
+ <div class="time-box form-group">
|
|
|
98
|
+ <select class="form-control" id="searchDealTimely">
|
|
|
99
|
+ <option value="">请选择重要级别</option>
|
|
|
100
|
+ </select>
|
|
|
101
|
+ </div>
|
|
|
102
|
+ </div>
|
|
|
103
|
+ </div>
|
|
|
104
|
+
|
|
|
105
|
+ <div class="pull-right">
|
|
|
106
|
+ <button class="btns ss">搜索</button>
|
|
|
107
|
+ </div>
|
|
|
108
|
+ </div>
|
|
|
109
|
+ </div>
|
|
|
110
|
+ <div style="width: 100%;padding: 10px;">
|
|
|
111
|
+ <table id="workorderlist" class="market" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
|
|
|
112
|
+ <thead>
|
|
|
113
|
+ <tr>
|
|
|
114
|
+ <th data-field="F_SerialNumber" data-class="W100" data-align="center">序号</th>
|
|
|
115
|
+ <th data-field="F_WorkOrderId" data-class="W160" data-formatter="View" data-align="center">工单编号</th>
|
|
|
116
|
+ <th data-field="F_Source" data-class="W100" data-formatter="workOrderSourceJudge" data-align="center">工单来源</th>
|
|
|
117
|
+ <th data-field="F_Type" data-class="W100" data-formatter="workOrderTypeJudge" data-align="center">工单类别</th>
|
|
|
118
|
+ <th data-field="F_State" data-class="W100" data-formatter="workOrderStateJudge" data-align="center">工单状态</th>
|
|
|
119
|
+ <th data-field="F_AreaName" data-class="W100" data-align="center">大区</th>
|
|
|
120
|
+ <th data-field="F_OfficName" data-class="W100" data-align="center">办事处</th>
|
|
|
121
|
+ <th data-field="F_CreateTime" data-class="W100" data-align="center">投诉时间</th>
|
|
|
122
|
+ <th data-field="F_DealTimely" data-class="W100" data-formatter="workOrderDealTimelyJudge" data-align="center">重要级别</th>
|
|
|
123
|
+ <th data-field="F_Reason" data-class="W100" data-formatter="workOrderReasonJudge" data-align="center">原因</th>
|
|
|
124
|
+ <th data-field="F_CusName" data-class="W100" data-align="center">姓名</th>
|
|
|
125
|
+ <th data-field="F_CusPhone" data-class="W100" data-align="center">联系电话</th>
|
|
|
126
|
+ <th data-field="F_AddRess" data-class="W100" data-align="center">地址</th>
|
|
|
127
|
+ <th data-field="F_ProductType" data-class="W100" data-align="center">产品代码</th>
|
|
|
128
|
+ <th data-field="F_ProductName" data-class="W100" data-align="center">产品名称</th>
|
|
|
129
|
+ <th data-field="F_Specifications" data-class="W100" data-align="center">规格</th>
|
|
|
130
|
+ <th data-field="F_ProductDate" data-class="W100" data-align="center">生产日期</th>
|
|
|
131
|
+ <th data-field="F_BatchNumber" data-class="W100" data-align="center">产品编码</th>
|
|
|
132
|
+ <th data-field="F_Manufacturer" data-class="W100" data-align="center">生产厂家</th>
|
|
|
133
|
+ <th data-field="F_ProblemCode" data-class="W100" data-align="center">问题代码</th>
|
|
|
134
|
+ <th data-field="F_QualityProblem" data-class="W100" data-align="center">质量问题</th>
|
|
|
135
|
+ <th data-field="F_Notifications" data-class="W100" data-align="center">通知人</th>
|
|
|
136
|
+ <th data-field="F_ReceivingPerson" data-class="W100" data-align="center">接听人</th>
|
|
|
137
|
+ <th data-field="F_Duplicate" data-class="W100" data-formatter="workOrderDuplicateJudge" data-align="center">重复工单</th>
|
|
|
138
|
+ <th data-field="F_Returnnote" data-class="W100" data-align="center">退回说明</th>
|
|
|
139
|
+ <th data-field="F_Content" data-class="W160" data-align="center">备注</th>
|
|
|
140
|
+ <th data-field="F_WorkOrderId" data-class="workOprate workOprate1 W220" data-formatter="formatterSubmit" data-align="center">操作</th>
|
|
|
141
|
+ </tr>
|
|
|
142
|
+ </thead>
|
|
|
143
|
+ </table>
|
|
|
144
|
+ </div>
|
|
|
145
|
+ <!--查看详情-->
|
|
|
146
|
+ <div class="ckxq Hidens">
|
|
|
147
|
+ <ul class="clearfix ckxq_ul">
|
|
|
148
|
+ <li class="Active">工单详情</li>
|
|
|
149
|
+ <li>工单记录</li>
|
|
|
150
|
+ <span class="Closed">×</span>
|
|
|
151
|
+ </ul>
|
|
|
152
|
+ <div class="gdxq">
|
|
|
153
|
+ <div class="">
|
|
|
154
|
+ <table id="gdxq_table" border="0" class="table table-bordered table-hover " style="width: 100%;">
|
|
|
155
|
+ <tbody class="tbodys">
|
|
|
156
|
+ <tr>
|
|
|
157
|
+ <th>工单编号:</th>
|
|
|
158
|
+ <td>
|
|
|
159
|
+ <span id="detailWorkOrderId"></span>
|
|
|
160
|
+ </td>
|
|
|
161
|
+ <th>工单来源:</th>
|
|
|
162
|
+ <td>
|
|
|
163
|
+ <span id="detailSource"></span>
|
|
|
164
|
+ </td>
|
|
|
165
|
+ <th>工单类型:</th>
|
|
|
166
|
+ <td>
|
|
|
167
|
+ <span id="detailType"></span>
|
|
|
168
|
+ </td>
|
|
|
169
|
+ </tr>
|
|
|
170
|
+ <tr>
|
|
|
171
|
+ <th>大区:</th>
|
|
|
172
|
+ <td>
|
|
|
173
|
+ <span id="detailAreaName"></span>
|
|
|
174
|
+ </td>
|
|
|
175
|
+ <th>办事处:</th>
|
|
|
176
|
+ <td>
|
|
|
177
|
+ <span id="detailOfficeName"></span>
|
|
|
178
|
+ </td>
|
|
|
179
|
+ <th>投诉时间:</th>
|
|
|
180
|
+ <td>
|
|
|
181
|
+ <span id="detailCreateTime"></span>
|
|
|
182
|
+ </td>
|
|
|
183
|
+ </tr>
|
|
|
184
|
+ <tr>
|
|
|
185
|
+ <th>重要级别:</th>
|
|
|
186
|
+ <td>
|
|
|
187
|
+ <span id="detailDealTimely"></span>
|
|
|
188
|
+ </td>
|
|
|
189
|
+ <th>原因:</th>
|
|
|
190
|
+ <td>
|
|
|
191
|
+ <span id="detailReason"></span>
|
|
|
192
|
+ </td>
|
|
|
193
|
+ <th>通知人:</th>
|
|
|
194
|
+ <td>
|
|
|
195
|
+ <span id="detailNotifications"></span>
|
|
|
196
|
+ </td>
|
|
|
197
|
+ </tr>
|
|
|
198
|
+ <tr>
|
|
|
199
|
+ <th>姓名:</th>
|
|
|
200
|
+ <td>
|
|
|
201
|
+ <span id="detailCusName"></span>
|
|
|
202
|
+ </td>
|
|
|
203
|
+ <th>联系电话:</th>
|
|
|
204
|
+ <td>
|
|
|
205
|
+ <span id="detailCusPhone"></span>
|
|
|
206
|
+ </td>
|
|
|
207
|
+ <th>接听人:</th>
|
|
|
208
|
+ <td>
|
|
|
209
|
+ <span id="detailReceivingPerson"></span>
|
|
|
210
|
+ </td>
|
|
|
211
|
+ </tr>
|
|
|
212
|
+ <tr>
|
|
|
213
|
+ <th>地址:</th>
|
|
|
214
|
+ <td>
|
|
|
215
|
+ <span id="detailAddress"></span>
|
|
|
216
|
+ </td>
|
|
|
217
|
+ <th>产品代码:</th>
|
|
|
218
|
+ <td>
|
|
|
219
|
+ <span id="detailProductType"></span>
|
|
|
220
|
+ </td>
|
|
|
221
|
+ <th>产品名称:</th>
|
|
|
222
|
+ <td>
|
|
|
223
|
+ <span id="detailProductName"></span>
|
|
|
224
|
+ </td>
|
|
|
225
|
+ </tr>
|
|
|
226
|
+ <tr>
|
|
|
227
|
+ <th>规格:</th>
|
|
|
228
|
+ <td>
|
|
|
229
|
+ <span id="detailSpecifications"></span>
|
|
|
230
|
+ </td>
|
|
|
231
|
+ <th>生产日期:</th>
|
|
|
232
|
+ <td>
|
|
|
233
|
+ <span id="detailPRoductDate"></span>
|
|
|
234
|
+ </td>
|
|
|
235
|
+ <th>产品编码:</th>
|
|
|
236
|
+ <td>
|
|
|
237
|
+ <span id="detailBatchNumber"></span>
|
|
|
238
|
+ </td>
|
|
|
239
|
+ </tr>
|
|
|
240
|
+ <tr>
|
|
|
241
|
+ <th>生产厂家:</th>
|
|
|
242
|
+ <td>
|
|
|
243
|
+ <span id="detailManufacturer"></span>
|
|
|
244
|
+ </td>
|
|
|
245
|
+ <th>问题代码:</th>
|
|
|
246
|
+ <td>
|
|
|
247
|
+ <span id="detailProblemCode"></span>
|
|
|
248
|
+ </td>
|
|
|
249
|
+ <th>质量问题:</th>
|
|
|
250
|
+ <td>
|
|
|
251
|
+ <span id="detailQualityProblem"></span>
|
|
|
252
|
+ </td>
|
|
|
253
|
+ </tr>
|
|
|
254
|
+ <tr>
|
|
|
255
|
+ <th>序号:</th>
|
|
|
256
|
+ <td>
|
|
|
257
|
+ <span id="detailSerialNumber"></span>
|
|
|
258
|
+ </td>
|
|
|
259
|
+ <th>工单状态:</th>
|
|
|
260
|
+ <td>
|
|
|
261
|
+ <span id="detailState"></span>
|
|
|
262
|
+ </td>
|
|
|
263
|
+ <th>重复工单:</th>
|
|
|
264
|
+ <td>
|
|
|
265
|
+ <span id="detailDuplicate"></span>
|
|
|
266
|
+ </td>
|
|
|
267
|
+ </tr>
|
|
|
268
|
+ <tr>
|
|
|
269
|
+ <th>落实情况:</th>
|
|
|
270
|
+ <td>
|
|
|
271
|
+ <span id="detailDealResult"></span>
|
|
|
272
|
+ </td>
|
|
|
273
|
+ <th>处理人:</th>
|
|
|
274
|
+ <td>
|
|
|
275
|
+ <span id="detailDealUser"></span>
|
|
|
276
|
+ </td>
|
|
|
277
|
+ <th>处理时间:</th>
|
|
|
278
|
+ <td>
|
|
|
279
|
+ <span id="detailDealTime"></span>
|
|
|
280
|
+ </td>
|
|
|
281
|
+ </tr>
|
|
|
282
|
+ <tr>
|
|
|
283
|
+ <tr>
|
|
|
284
|
+ <th>备注:</th>
|
|
|
285
|
+ <td colspan="5" id="detailContent">
|
|
|
286
|
+ </td>
|
|
|
287
|
+ </tr>
|
|
|
288
|
+ </tbody>
|
|
|
289
|
+ </table>
|
|
|
290
|
+ </div>
|
|
|
291
|
+ </div>
|
|
|
292
|
+ <div class="gdxq" style="display:none;">
|
|
|
293
|
+ <div class="">
|
|
|
294
|
+ <table id="workOrderRecord" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
|
|
|
295
|
+ <thead>
|
|
|
296
|
+ <tr>
|
|
|
297
|
+ <th data-field="F_WoState" data-width="20%" data-align="left" data-formatter="formatterWorkOrderRecordStatus">工单状态</th>
|
|
|
298
|
+ <th data-field="F_OptContent" data-align="left">内容</th>
|
|
|
299
|
+ <th data-field="F_CreateTime" data-width="10%" data-align="center">创建时间</th>
|
|
|
300
|
+ </tr>
|
|
|
301
|
+ </thead>
|
|
|
302
|
+ </table>
|
|
|
303
|
+ </div>
|
|
|
304
|
+ </div>
|
|
|
305
|
+ </div>
|
|
|
306
|
+ <script src="../js/laydate/laydate.js"></script>
|
|
|
307
|
+ <script src="../js/comboSelect/jquery.combo.select.js"></script>
|
|
|
308
|
+ <script src="../js/kindeditor/kindeditor.js"></script>
|
|
|
309
|
+ <script src="../js/kindeditor/lang/zh_CN.js"></script>
|
|
|
310
|
+ <script src="../js/WorkOrder/WorkOrder.js"></script>
|
|
|
311
|
+ <script>
|
|
|
312
|
+ $(document).ready(function () {
|
|
|
313
|
+ // 时间组件
|
|
|
314
|
+ laydate.render({
|
|
|
315
|
+ elem: '#greetingTimes',
|
|
|
316
|
+ range: '~',
|
|
|
317
|
+ theme: '#1ab394',
|
|
|
318
|
+ calendar: 'true'
|
|
|
319
|
+ //type: 'datetime',
|
|
|
320
|
+ //max : 31,
|
|
|
321
|
+ //min: 0,
|
|
|
322
|
+ });
|
|
|
323
|
+ })
|
|
|
324
|
+ function initTable() {
|
|
|
325
|
+ //先销毁表格
|
|
|
326
|
+ $('#workorderlist').bootstrapTable('destroy');
|
|
|
327
|
+ //初始化表格,动态从服务器加载数据
|
|
|
328
|
+ $("#workorderlist").bootstrapTable({
|
|
|
329
|
+ method: "get", //使用get请求到服务器获取数据
|
|
|
330
|
+ url: huayi.config.callcenter_url + "WorkOrder/GetList", //获取数据的Servlet地址
|
|
|
331
|
+ contentType: 'application/x-www-form-urlencoded',
|
|
|
332
|
+ striped: true, //表格显示条纹
|
|
|
333
|
+ pagination: true, //启动分页
|
|
|
334
|
+ pageSize: 10, //每页显示的记录数
|
|
|
335
|
+ pageNumber: 1, //当前第几页
|
|
|
336
|
+ pageList: [10, 20, 50, 100], //记录数可选列表
|
|
|
337
|
+ search: false, //是否启用查询
|
|
|
338
|
+ showColumns: false, //显示下拉框勾选要显示的列
|
|
|
339
|
+ showRefresh: false, //显示刷新按钮
|
|
|
340
|
+ sidePagination: "server", //表示服务端请求
|
|
|
341
|
+ //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
|
|
|
342
|
+ //设置为limit可以获取limit, offset, search, sort, order
|
|
|
343
|
+ queryParamsType: "undefined",
|
|
|
344
|
+ queryParams: function queryParams(params) { //设置查询参数
|
|
|
345
|
+ var param = {
|
|
|
346
|
+ state: 6,
|
|
|
347
|
+ token: $.cookie("token"),
|
|
|
348
|
+ code: $("#searchCode").val(), //工单编号
|
|
|
349
|
+ cusname: $("#searchCusName").val(), // 来电人姓名
|
|
|
350
|
+ cusphone: $("#searchCusPhone").val(), //来电人电话
|
|
|
351
|
+ createby: $("#searchCreateBy").val(),// 创建人
|
|
|
352
|
+ dealTimely: $("#searchDealTimely").val(), // 重要级别
|
|
|
353
|
+ starttime: $('#greetingTimes').val() && $('#greetingTimes').val().split(' ~ ')[0], //开始时间
|
|
|
354
|
+ endtime: $('#greetingTimes').val() && $('#greetingTimes').val().split(' ~ ')[1], //结束时间
|
|
|
355
|
+ keywords: $("#searchKeyWords").val(), // 模糊搜索
|
|
|
356
|
+ touser: "", // 处理人
|
|
|
357
|
+ see: $("#searchSee").val(), // 处理专员是否只查看负责区域单子
|
|
|
358
|
+ source: $("#searchOrderSource").val(), //工单来源
|
|
|
359
|
+ type: $("#searchOrderType").val(), //工单类型
|
|
|
360
|
+ pageindex: params.pageNumber, //页码
|
|
|
361
|
+ pagesize: params.pageSize, //条数
|
|
|
362
|
+ };
|
|
|
363
|
+ return param;
|
|
|
364
|
+ },
|
|
|
365
|
+ onLoadSuccess: function () { //加载成功时执行
|
|
|
366
|
+ //layer.msg("加载成功");
|
|
|
367
|
+ getLoginPersonNow();
|
|
|
368
|
+ },
|
|
|
369
|
+ onLoadError: function () { //加载失败时执行
|
|
|
370
|
+ //layer.msg("加载数据失败", { time: 1500, icon: 2 });
|
|
|
371
|
+ }
|
|
|
372
|
+ });
|
|
|
373
|
+ }
|
|
|
374
|
+ </script>
|
|
|
375
|
+</body>
|
|
|
376
|
+</html>
|