Просмотр исходного кода

商丘反映类别,首页来电弹屏历史工单问题修复

miaofuhao лет назад: 3
Родитель
Сommit
8b523f5e37

BIN
WebUI/05311050CallCenterWeb.UI.zip


+ 7 - 0
WebUI/CallCenterWeb.UI/Appeal/AddAppeal.html

@@ -60,6 +60,13 @@
60 60
         #reflectCategoryList li:hover {
61 61
             background: #00a1cb;
62 62
         }
63
+        .layui-menu li {
64
+		    margin: 0 !important;
65
+		    padding: 2px 15px !important;
66
+		    height: 16px;
67
+		    line-height: 12px !important;
68
+		    font-size: 12px !important;
69
+		}
63 70
     </style>
64 71
 </head>
65 72
 

+ 7 - 0
WebUI/CallCenterWeb.UI/CommonHtml/AddAppeal.html

@@ -61,6 +61,13 @@
61 61
         #reflectCategoryList li:hover {
62 62
             background: #00a1cb;
63 63
         }
64
+        .layui-menu li {
65
+		    margin: 0 !important;
66
+		    padding: 2px 15px !important;
67
+		    height: 16px;
68
+		    line-height: 12px !important;
69
+		    font-size: 12px !important;
70
+		}
64 71
     </style>
65 72
 </head>
66 73
 

+ 0 - 32
WebUI/CallCenterWeb.UI/Web.Debug.config

@@ -1,32 +0,0 @@
1
-<?xml version="1.0" encoding="utf-8"?>
2
-
3
-<!-- 有关使用 web.config 转换的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=125889 -->
4
-
5
-<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
6
-  <!--
7
-    在下例中,“SetAttributes”转换将更改 
8
-    “connectionString”的值,以仅在“Match”定位器 
9
-    找到值为“MyDB”的特性“name”时使用“ReleaseSQLServer”。
10
-    
11
-    <connectionStrings>
12
-      <add name="MyDB" 
13
-        connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" 
14
-        xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
15
-    </connectionStrings>
16
-  -->
17
-  <system.web>
18
-    <compilation xdt:Transform="RemoveAttributes(debug)" />
19
-    <!--
20
-      
21
-      在下例中,“Replace”转换将替换 
22
-      web.config 文件的整个 <customErrors> 节。
23
-      请注意,由于 
24
-      在 <system.web> 节点下仅有一个 customErrors 节,因此不需要使用“xdt:Locator”特性。
25
-      
26
-      <customErrors defaultRedirect="GenericError.htm"
27
-        mode="RemoteOnly" xdt:Transform="Replace">
28
-        <error statusCode="500" redirect="InternalError.htm"/>
29
-      </customErrors>
30
-    -->
31
-  </system.web>
32
-</configuration>

+ 0 - 22
WebUI/CallCenterWeb.UI/Web.config

@@ -1,22 +0,0 @@
1
-<?xml version="1.0"?>
2
-
3
-<!--
4
-  For more information on how to configure your ASP.NET application, please visit
5
-  http://go.microsoft.com/fwlink/?LinkId=169433
6
-  -->
7
-
8
-<configuration>
9
-
10
-    <system.web>
11
-      <compilation debug="true" targetFramework="4.5" />
12
-      <!--<httpRuntime targetFramework="4.5" />-->
13
-      <httpRuntime maxRequestLength="10485760" executionTimeout="3600" />
14
-      <webServices>
15
-        <protocols>
16
-          <add name="HttpGet" />
17
-          <add name="HttpPost" />
18
-        </protocols>
19
-      </webServices>
20
-    </system.web>
21
-
22
-</configuration>

+ 42 - 18
WebUI/CallCenterWeb.UI/css/call.css

@@ -18,9 +18,9 @@ a {
18 18
 
19 19
 
20 20
 .ldtp-con {
21
-    width: 1200px;
21
+    width: 80%;
22 22
     margin: 0 auto;
23
-    height: 650px;
23
+    height: 88%;
24 24
     overflow: hidden;
25 25
     position: absolute;
26 26
     top: 77px;
@@ -179,12 +179,13 @@ a {
179 179
 }
180 180
 
181 181
     .ld-sercon .Ps-chaxun span {
182
-        margin-right: 1.2em;
182
+        margin-left: 20px;
183
+        /* margin-right: 1.2em; */
183 184
     }
184 185
 
185 186
 .ld-sercon input {
186
-    padding-left: 5px;
187
-    padding-right: 0;
187
+    padding-left: 8px;
188
+    padding-right: 8px;
188 189
 }
189 190
 
190 191
 .ld-sercon span p {
@@ -205,11 +206,6 @@ a {
205 206
 			top: 0;
206 207
 			right: 0;
207 208
 		}*/
208
-.ld-sercon select {
209
-    height: 22px;
210
-    width: 128px;
211
-    padding-left: 20px;
212
-}
213 209
 
214 210
 .ld-sercon textarea {
215 211
     width: 70%;
@@ -233,10 +229,6 @@ a {
233 229
     text-align: center;
234 230
 }
235 231
 
236
-.second-con {
237
-    padding: 20px 0;
238
-}
239
-
240 232
 .ld-sercon .addjl {
241 233
     display: inline-block;
242 234
     width: 84px;
@@ -263,9 +255,9 @@ a {
263 255
     color: #1ab394;
264 256
 }
265 257
 
266
-.ld-sercon > div {
258
+/* .ld-sercon > div {
267 259
     display: none;
268
-}
260
+} */
269 261
 
270 262
 .ldcr-bottom .ldcrb-top > ul {
271 263
     float: left;
@@ -274,7 +266,7 @@ a {
274 266
     .ldcr-bottom .ldcrb-top > ul li {
275 267
         float: left;
276 268
         font-size: 14px;
277
-        width: 90px;
269
+        width: 120px;
278 270
         text-align: center;
279 271
         height: 30px;
280 272
         line-height: 30px;
@@ -367,7 +359,9 @@ a {
367 359
     -webkit-border-radius: 5px;
368 360
     -moz-border-radius: 5px;
369 361
     border-radius: 5px;
370
-    margin: 15px 0;
362
+    margin: 10px 0 0 0;
363
+    padding: 20px 0 0 0;
364
+
371 365
 }
372 366
 
373 367
 .shows {
@@ -390,3 +384,33 @@ a {
390 384
 .hindeDiv {
391 385
     display: none;
392 386
 }
387
+
388
+.radioStyle {
389
+    vertical-align: -2px;
390
+    margin-right: 3px !important;
391
+}
392
+
393
+.callPopupTitle {
394
+    margin-left: 10px;
395
+    font-size: 16px;
396
+    font-weight: 700;
397
+}
398
+
399
+.layui-menu-body-panel {
400
+    margin: 0 !important;
401
+}
402
+.layui-menu li:hover {
403
+    background-color: #00a1cb !important;
404
+}
405
+.layui-menu li {
406
+    margin: 0 !important;
407
+    padding: 2px 15px !important;
408
+    height: 16px;
409
+    line-height: 12px !important;
410
+    font-size: 12px !important;
411
+}
412
+
413
+.ldcrb-top ul .activity {
414
+    background: #000;
415
+    color: #fff;
416
+}

+ 392 - 0
WebUI/CallCenterWeb.UI/css/callbf.css

@@ -0,0 +1,392 @@
1
+ul,
2
+li,
3
+ol {
4
+    list-style: none;
5
+    margin: 0;
6
+    padding: 0;
7
+}
8
+
9
+a {
10
+    text-decoration: none;
11
+}
12
+
13
+.clearfix:after {
14
+    content: "";
15
+    display: block;
16
+    clear: both;
17
+}
18
+
19
+
20
+.ldtp-con {
21
+    width: 1200px;
22
+    margin: 0 auto;
23
+    height: 650px;
24
+    overflow: hidden;
25
+    position: absolute;
26
+    top: 77px;
27
+    left: 220px;
28
+    background: #fff;
29
+    border-left: 4px solid #1ab395;
30
+    display: none;
31
+}
32
+
33
+    .ldtp-con .hei-list {
34
+        position: absolute;
35
+        top: 20%;
36
+        left: 40%;
37
+        z-index: 10;
38
+        display: none;
39
+    }
40
+
41
+        .ldtp-con .hei-list input {
42
+            margin-top: 3px;
43
+        }
44
+/*.minClosed{
45
+			position: absolute;
46
+		    top: 0px;
47
+		    right: 80px;
48
+		    height: 35px;
49
+		    width: 35px;
50
+		    z-index: 10;
51
+		}
52
+		.minClosed a{
53
+		    display: block;
54
+		    height: 1px;
55
+		    background: #000;
56
+		    width: 15px;
57
+		    position: absolute;
58
+		    top: 15px;
59
+		    left: 10px;
60
+		}
61
+		.minClosed:hover{
62
+			background: #ccc;
63
+		}*/
64
+.ldtp-cl {
65
+    background: #243747;
66
+    font-family: "宋体";
67
+    height: 100%;
68
+}
69
+
70
+    .ldtp-cl .head-pic > div {
71
+        height: 90px;
72
+        width: 90px;
73
+        -webkit-border-radius: 50%;
74
+        -moz-border-radius: 50%;
75
+        border-radius: 50%;
76
+        overflow: hidden;
77
+        margin: 20px auto;
78
+        border-width: 2px;
79
+        border-style: solid;
80
+        border-color: #ffb400 #fc3c04 #fdfc01 #00e3c0;
81
+    }
82
+
83
+    .ldtp-cl .head-pic ul li {
84
+        font-size: 12px;
85
+        color: #dfe4ed;
86
+        text-align: center;
87
+    }
88
+
89
+        .ldtp-cl .head-pic ul li.nikeName i {
90
+            display: inline-block;
91
+            width: 20px;
92
+            height: 1px;
93
+            background: #dfe4ed;
94
+        }
95
+
96
+        .ldtp-cl .head-pic ul li.nikeName span {
97
+            margin: 0 10px;
98
+        }
99
+
100
+        .ldtp-cl .head-pic ul li.lahei {
101
+            color: #ce2114;
102
+            margin: 10px 0;
103
+            cursor: pointer;
104
+        }
105
+
106
+            .ldtp-cl .head-pic ul li.lahei i {
107
+                display: inline-block;
108
+                height: 16px;
109
+                width: 16px;
110
+                vertical-align: middle;
111
+            }
112
+
113
+            .ldtp-cl .head-pic ul li.lahei .push {
114
+                background: url(../img/lahei.png) no-repeat;
115
+            }
116
+
117
+            .ldtp-cl .head-pic ul li.lahei .qxlh {
118
+                background: url(../img/retur.png) no-repeat;
119
+            }
120
+
121
+        .ldtp-cl .head-pic ul li.td-call {
122
+            padding: 1em 6em;
123
+        }
124
+
125
+        .ldtp-cl .head-pic ul li > a {
126
+            display: inline-block;
127
+        }
128
+
129
+            .ldtp-cl .head-pic ul li > a.drop {
130
+                float: right;
131
+            }
132
+
133
+            .ldtp-cl .head-pic ul li > a.take {
134
+                float: left;
135
+            }
136
+
137
+            .ldtp-cl .head-pic ul li > a > i {
138
+                display: inline-block;
139
+                height: 36px;
140
+                width: 36px;
141
+            }
142
+
143
+            .ldtp-cl .head-pic ul li > a.take > i {
144
+                background: url(../img/drop1.png) no-repeat;
145
+            }
146
+
147
+            .ldtp-cl .head-pic ul li > a.drop > i {
148
+                background: url(../img/take.png) no-repeat;
149
+            }
150
+
151
+    .ldtp-cl .come-detail {
152
+        color: #fcf9f9;
153
+        padding-left: 5em;
154
+        line-height: 2em;
155
+        margin-top: 35px;
156
+    }
157
+
158
+.ldtp-cr {
159
+    height: 100%;
160
+    overflow: hidden;
161
+    overflow-y: auto;
162
+}
163
+
164
+    .ldtp-cr .ld-service li {
165
+        float: left;
166
+        font-size: 14px;
167
+        color: #000;
168
+        padding: 5px 15px;
169
+        cursor: pointer;
170
+    }
171
+
172
+    .ldtp-cr ul.ld-service li.cr-click {
173
+        background: #000;
174
+        color: #fff;
175
+    }
176
+
177
+.ld-sercon .Ps-chaxun {
178
+    padding: 15px 0;
179
+}
180
+
181
+    .ld-sercon .Ps-chaxun span {
182
+        margin-right: 1.2em;
183
+    }
184
+
185
+.ld-sercon input {
186
+    padding-left: 5px;
187
+    padding-right: 0;
188
+}
189
+
190
+.ld-sercon span p {
191
+    display: inline-block;
192
+    margin: 0;
193
+    width: 128px;
194
+    overflow: hidden;
195
+    vertical-align: middle;
196
+    border: 1px solid #ccc;
197
+    position: relative;
198
+}
199
+/*.ld-sercon span p i{
200
+			display: block;
201
+			height: 18px;
202
+			width: 18px;
203
+			background: url(../img/select_03.png) no-repeat;
204
+			position: absolute;
205
+			top: 0;
206
+			right: 0;
207
+		}*/
208
+.ld-sercon select {
209
+    height: 22px;
210
+    width: 128px;
211
+    padding-left: 20px;
212
+}
213
+
214
+.ld-sercon textarea {
215
+    width: 70%;
216
+    vertical-align: middle;
217
+    -webkit-border-radius: 5px;
218
+    -moz-border-radius: 5px;
219
+    border-radius: 5px;
220
+    resize: none;
221
+}
222
+
223
+.ld-sercon div.bton {
224
+    width: 70px;
225
+    height: 27px;
226
+    line-height: 27px;
227
+    background: #2f4050;
228
+    -webkit-border-radius: 5px;
229
+    -moz-border-radius: 5px;
230
+    border-radius: 5px;
231
+    margin: 0 auto;
232
+    color: #fff;
233
+    text-align: center;
234
+}
235
+
236
+.second-con {
237
+    padding: 20px 0;
238
+}
239
+
240
+.ld-sercon .addjl {
241
+    display: inline-block;
242
+    width: 84px;
243
+    -webkit-border-radius: 5px;
244
+    -moz-border-radius: 5px;
245
+    border-radius: 5px;
246
+    text-align: center;
247
+    padding: 0px;
248
+    font-size: 12px;
249
+    height: 24px;
250
+    line-height: 24px;
251
+    cursor: pointer;
252
+    background: #01a1cb;
253
+    color: #fff;
254
+    border: aliceblue;
255
+    outline: none;
256
+}
257
+
258
+.tbth {
259
+    background: #1ab394;
260
+}
261
+
262
+.dealw {
263
+    color: #1ab394;
264
+}
265
+
266
+.ld-sercon > div {
267
+    display: none;
268
+}
269
+
270
+.ldcr-bottom .ldcrb-top > ul {
271
+    float: left;
272
+}
273
+
274
+    .ldcr-bottom .ldcrb-top > ul li {
275
+        float: left;
276
+        font-size: 14px;
277
+        width: 90px;
278
+        text-align: center;
279
+        height: 30px;
280
+        line-height: 30px;
281
+        cursor: pointer;
282
+    }
283
+
284
+.ldcr-bottom .ldcrb-top > div {
285
+    float: right;
286
+    width: 285px;
287
+    height: 30px;
288
+    position: relative;
289
+}
290
+
291
+    .ldcr-bottom .ldcrb-top > div .sear-inp {
292
+        width: 100%;
293
+        height: 100%;
294
+        border: 1px solid #ccc;
295
+        overflow: hidden;
296
+    }
297
+
298
+        .ldcr-bottom .ldcrb-top > div .sear-inp input {
299
+            display: block;
300
+            height: 100%;
301
+            width: 88%;
302
+            border: 0;
303
+            outline: none;
304
+            padding: 10px;
305
+        }
306
+
307
+.searIcon {
308
+    position: absolute;
309
+    width: 12%;
310
+    height: 100%;
311
+    right: 0;
312
+    top: 0;
313
+    background-color: #01a1cb;
314
+    background-image: url(../img/searIcon.png);
315
+    background-repeat: no-repeat;
316
+    background-position: center center;
317
+    cursor: pointer;
318
+}
319
+
320
+.ldcr-bottom .detail-con {
321
+    padding: 15px;
322
+    border: 1px solid #ebebeb;
323
+    -webkit-border-radius: 5px;
324
+    -moz-border-radius: 5px;
325
+    border-radius: 5px;
326
+    margin-top: 15px;
327
+}
328
+
329
+    .ldcr-bottom .detail-con ul li {
330
+        margin-bottom: 10px;
331
+    }
332
+
333
+        .ldcr-bottom .detail-con ul li .zhishi-title {
334
+            border-bottom: 1px solid #ccc;
335
+        }
336
+
337
+            .ldcr-bottom .detail-con ul li .zhishi-title a {
338
+                display: block;
339
+                float: left;
340
+                width: 55%;
341
+                white-space: nowrap;
342
+                overflow: hidden;
343
+                text-overflow: ellipsis;
344
+                color: #000;
345
+            }
346
+
347
+            .ldcr-bottom .detail-con ul li .zhishi-title em {
348
+                display: block;
349
+                float: right;
350
+                font-style: normal;
351
+                font-family: Verdana;
352
+                float: right;
353
+                color: #000;
354
+            }
355
+
356
+        .ldcr-bottom .detail-con ul li .explancon {
357
+            padding: 30px 10px;
358
+            text-indent: 24px;
359
+            line-height: 24px;
360
+            color: #999;
361
+            background: #f5f5f5;
362
+            display: none;
363
+        }
364
+
365
+.second-con {
366
+    border: 1px solid #e6e6e6;
367
+    -webkit-border-radius: 5px;
368
+    -moz-border-radius: 5px;
369
+    border-radius: 5px;
370
+    margin: 15px 0;
371
+}
372
+
373
+.shows {
374
+    display: block;
375
+}
376
+
377
+.hides {
378
+    display: none !important;
379
+}
380
+
381
+.hei-list .bacha:hover {
382
+    color: #ccc;
383
+}
384
+
385
+.min_select {
386
+    width: 40px !important;
387
+    padding: 0px !important;
388
+}
389
+
390
+.hindeDiv {
391
+    display: none;
392
+}

Разница между файлами не показана из-за своего большого размера
+ 1496 - 0
WebUI/CallCenterWeb.UI/css/home.css


Разница между файлами не показана из-за своего большого размера
+ 1319 - 0
WebUI/CallCenterWeb.UI/css/homebf.css


Разница между файлами не показана из-за своего большого размера
+ 29 - 1236
WebUI/CallCenterWeb.UI/home.html


+ 3 - 3
WebUI/CallCenterWeb.UI/index.html

@@ -6,9 +6,9 @@
6 6
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 7
     <meta name="renderer" content="webkit">
8 8
     <meta http-equiv="Cache-Control" content="no-siteapp" />
9
-		<title>商丘政务服务热线后台业务管理系统</title>
10
-		<script src="./Script/Common/huayi.load.js"></script>
11
-		<script src="./Script/Common/huayi.config.js"></script>
9
+	<title>商丘政务服务热线后台业务管理系统</title>
10
+	<script src="./Script/Common/huayi.load.js"></script>
11
+	<script src="./Script/Common/huayi.config.js"></script>
12 12
     <script src="./js/jquery.min.js"></script>
13 13
     <script src="./js/jquery.cookie.js"></script>
14 14
 </head>

+ 0 - 3
WebUI/CallCenterWeb.UI/js/commonJS/index.js

@@ -1,7 +1,6 @@
1 1
 getReactionCategory()
2 2
 $("#reflectCategory").bind("input propertychange", function() {
3 3
 	
4
-	debugger
5 4
 	
6 5
 	$(".layui-dropdown").hide();
7 6
 	if($("#reflectCategory").val() == "") {
@@ -16,7 +15,6 @@ $("#reflectCategory").bind("input propertychange", function() {
16 15
 $("#reflectCategoryList").on("click", "li", function() {
17 16
 	$(".reflectCategoryList-wrapper").hide();
18 17
 	$("#reflectCategory").val($(this).attr("indexName"));
19
-	debugger
20 18
 	$("#keyvalue").val($(this).attr("index"));
21 19
 });
22 20
 // 获取反映类别数据,多级下拉选项
@@ -50,7 +48,6 @@ function getReactionCategory(pid = 38) {
50 48
 }
51 49
 // 搜索获取反映类别数据
52 50
 function getSearchReactionCategory(key) {
53
-	debugger
54 51
     $("#reflectCategoryList").empty();
55 52
     $.get(
56 53
         huayi.config.callcenter_url + "KeyValue/GetKeyListNew",

+ 13 - 12
WebUI/CallCenterWeb.UI/js/index.js

@@ -505,6 +505,8 @@ $(document).ready(function () {
505 505
             layer.msg("请输入标题");
506 506
         } else if (!$("#content").val()) {
507 507
             layer.msg("请输入内容");
508
+        } else if (!$("#keyvalue").val()) {
509
+            layer.msg("请选择反应类别");
508 510
         } else if (!$("#keys").val()) {
509 511
             layer.msg("请选择主题词");
510 512
         } else if ($("#sourcearea").val()=="0") {
@@ -530,6 +532,8 @@ $(document).ready(function () {
530 532
             layer.msg("请输入标题");
531 533
         } else if (!$("#content").val()) {
532 534
             layer.msg("请输入内容");
535
+        } else if (!$("#keyvalue").val()) {
536
+            layer.msg("请选择反应类别");
533 537
         } else if (!$("#keys").val()) {
534 538
             layer.msg("请选择主题词");
535 539
         } else if ($("#sourcearea").val()=="0") {
@@ -877,7 +881,7 @@ function Adds() {
877 881
 	if (callid ==curcallid) {
878 882
 		return
879 883
 	}
880
-    curcallid = callid
884
+	curcallid = callid
881 885
     
882 886
     
883 887
     $.ajax({
@@ -907,6 +911,7 @@ function Adds() {
907 911
             sourcearea: $("#sourcearea").val(), //=事发地域id
908 912
             sourceaddress: $('#sourceaddress').val(), //=事发详细地址
909 913
             source: 1, //=来源
914
+            keyvalue:$("#keyvalue").val(), //反映类别
910 915
             isresult: $(' input[name="banli"]:checked ').val(), //=(0转办1直办)
911 916
             result: $('#result').val(),
912 917
             longitude: $('.store_Lng').val(),
@@ -965,6 +970,8 @@ function Clean() {
965 970
     $("#level option:first").prop("selected", 'selected');
966 971
     $("#keys option:first").prop("selected", 'selected');
967 972
     $("#sourcearea option:first").prop("selected", 'selected');
973
+    $("#reflectCategory").val('')
974
+    $("#keyvalue").val('')
968 975
     $('#result').val('');
969 976
 
970 977
 }
@@ -1100,19 +1107,21 @@ function setCode(val) {
1100 1107
 
1101 1108
 function GetLink(val) {
1102 1109
     if (val) {
1103
-        return '<a onclick="ckxq(' + val + ')">' + val + '</a>';
1110
+        return '<a onclick="ckxq(\''+val+'\')">' + val + '</a>';
1104 1111
     } else {
1105 1112
         return '';
1106 1113
     }
1107 1114
 }
1108 1115
 //查看详情
1109 1116
 function ckxq(str) {
1110
-    layer.open({
1117
+
1118
+   layer.open({
1111 1119
         type: 2,
1112 1120
         content: "CommonHtml/WorkDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
1113 1121
         title: '工单详情',
1114 1122
         area: ['85%', '80%'], //宽高
1115 1123
     });
1124
+    
1116 1125
 }
1117 1126
 //截取字符串
1118 1127
 function GetCont(val) {
@@ -1583,7 +1592,7 @@ $(document).on('click', '#dicValueList li label', function () {
1583 1592
 //催单操作
1584 1593
 function setReminder(val, row) {
1585 1594
     if (dicTypeid == 50 && row.F_WorkState !== 9) {
1586
-        return '<a class="xg" onclick="reminder(' + row.F_WorkOrderId + ','+row.F_MainDeptId+')" title="催单">催单</a>';
1595
+        return '<a class="xg" onclick="reminder(\'' + row.F_WorkOrderId + '\',\''+row.F_MainDeptId+'\')" title="催单">催单</a>';
1587 1596
     } else {
1588 1597
         return '';
1589 1598
     }
@@ -1656,14 +1665,6 @@ function rightUp() {
1656 1665
 function goDC() {
1657 1666
     top.$("iframe:visible")[0].src = "Business/WorkDC.html";
1658 1667
 }
1659
-function ckxq(str) {
1660
-    layer.open({
1661
-        type: 2,
1662
-        content: "CommonHtml/WorkDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
1663
-        title: '工单详情',
1664
-        area: ['85%', '80%'], //宽高
1665
-    });
1666
-}
1667 1668
 
1668 1669
 //右下角消息弹框
1669 1670
 function rightDown() {

+ 0 - 2
WebUI/CallCenterWeb.UI/js/main.js

@@ -359,8 +359,6 @@ function LineStateAgentBack(data) {
359 359
         $(".td-call").hide();
360 360
         $(".Bacha").show();
361 361
 
362
-        //$(".hidTel").val("");
363
-        //$(".hidCallID").val("");
364 362
     }
365 363
     if (data.State == '2') {
366 364
         $(".hwzt").text('摘机等待拨号'); //左下角状态显示

+ 240 - 0
WebUI/CallCenterWeb.UI/templateOrderList/css/WorkOrderList.css

@@ -0,0 +1,240 @@
1
+#sqzx th {
2
+    padding: 5px 8px 5px 0;
3
+    text-align: right;
4
+}
5
+
6
+#sqzx td {
7
+    padding: 6px 0 5px 10px;
8
+}
9
+
10
+
11
+
12
+.clearFix:after {
13
+    content: "";
14
+    display: block;
15
+    clear: both;
16
+}
17
+
18
+
19
+.box_content {
20
+    border-bottom: 1px solid #ccc;
21
+}
22
+
23
+.tj_content {
24
+    border: 1px solid #e6e6e6;
25
+    border-radius: 5px;
26
+}
27
+
28
+.t-shade {
29
+    position: fixed;
30
+    top: 0;
31
+    left: 0;
32
+    width: 100%;
33
+    background: rgba(0, 0, 0, 0.48);
34
+    z-index: 10004;
35
+    display: none;
36
+}
37
+
38
+.lyxz .shade_k {
39
+    position: fixed;
40
+    width: 40%;
41
+    left: 30%;
42
+    top: 30%;
43
+    z-index: 10005;
44
+    background-color: rgb(255, 255, 255);
45
+    box-shadow: rgba(0, 0, 0, 0.298039) 1px 1px 50px;
46
+    border-radius: 5px;
47
+    /* margin: 20% auto; */
48
+}
49
+
50
+.shade_title {
51
+    padding: 0 80px 0 20px;
52
+    height: 42px;
53
+    line-height: 42px;
54
+    border-bottom: 1px solid #eee;
55
+    font-size: 16px;
56
+    color: #ffffff;
57
+    overflow: hidden;
58
+    background-color: #00a1cb;
59
+    border-radius: 2px 2px 0 0;
60
+    position: relative;
61
+    border-top-left-radius: 5px;
62
+    border-top-right-radius: 5px;
63
+}
64
+
65
+.cx {
66
+    display: block;
67
+}
68
+
69
+.setwin {
70
+    position: absolute;
71
+    right: 15px;
72
+    top: 5px;
73
+    font-size: 0;
74
+    line-height: initial;
75
+}
76
+
77
+.setwin a {
78
+    position: relative;
79
+    width: 16px;
80
+    height: 16px;
81
+    font-size: 20px;
82
+    color: #fff;
83
+}
84
+
85
+.xg i {
86
+    font-size: 16px;
87
+}
88
+
89
+.inpBox {
90
+    /* border: 1px solid #cccccc; */
91
+    width: 100%;
92
+    display: inline-block;
93
+    position: relative;
94
+    vertical-align: middle;
95
+    position: absolute;
96
+    padding: 6px 0 5px 10px;
97
+    left: 0px;
98
+    top: 0px;
99
+    z-index: 111;
100
+}
101
+
102
+.selDpart1 {
103
+    position: absolute;
104
+    left: 10px;
105
+    top: 36px;
106
+    z-index: 11111;
107
+    width: 220px;
108
+    line-height: 30px;
109
+    background: #ffffff;
110
+    display: none;
111
+}
112
+
113
+#sponsor {
114
+    width: 218px;
115
+    border: 1px solid #00a1cb;
116
+    margin: 0;
117
+    padding: 0;
118
+    max-height: 212px;
119
+    overflow-y: scroll;
120
+}
121
+
122
+#sponsor li {
123
+    margin: 0;
124
+    padding-left: 10px;
125
+    width: 100%;
126
+    height: 30px;
127
+    line-height: 30px;
128
+    list-style: none;
129
+}
130
+
131
+#sponsor li:hover {
132
+    background: #00a1cb;
133
+}
134
+
135
+.addTree,
136
+.addTreeReactionCategory {
137
+    background: #fff;
138
+    position: absolute;
139
+    width: 95%;
140
+    border: 1px solid darkgrey;
141
+    left: 10px;
142
+    top: 33px;
143
+    display: none;
144
+    z-index: 222;
145
+}
146
+
147
+.ztree li span {
148
+    border: none;
149
+    padding: 0;
150
+}
151
+
152
+.inps,
153
+.inpsReactionCategory {
154
+    width: 100%;
155
+    height: 33px;
156
+    outline: none;
157
+    border: 0;
158
+    border-image-width: 0;
159
+    padding: 0;
160
+    padding-left: 3px;
161
+}
162
+
163
+.xl,
164
+.xlReactionCategory {
165
+    display: inline-block;
166
+    background: url(../../img/dropDown.png) no-repeat;
167
+    height: 100%;
168
+    background-position: center center;
169
+    width: 20px;
170
+    position: absolute;
171
+    right: 0;
172
+    top: 0px;
173
+    /* background-color: #f7bc8b; */
174
+    cursor: pointer;
175
+}
176
+
177
+.Cleans,
178
+.CleansReactionCategory {
179
+    width: 20px;
180
+    position: absolute;
181
+    right: 15px;
182
+    top: 15.5px;
183
+    display: none;
184
+}
185
+
186
+.Min-width {
187
+    display: inline-block;
188
+    width: 50%;
189
+    margin-right: 30px;
190
+}
191
+
192
+.btn-default {
193
+    background: #ffffff;
194
+    color: #000000;
195
+}
196
+.nameJustified {
197
+    width: 5em;
198
+    display: inline-block;
199
+    text-align: justify;
200
+    text-align-last: justify;
201
+}
202
+
203
+.reflectCategory-wrapper {
204
+    position: relative;
205
+}
206
+
207
+.reflectCategoryList-wrapper {
208
+    display: none;
209
+    position: absolute;
210
+    top: 38px;
211
+    z-index: 9999;
212
+    line-height: 32px;
213
+    background: #FFF;
214
+}
215
+
216
+#reflectCategoryList {
217
+    height: 240px;
218
+    background: #FFF;
219
+    border: 1px solid #e5e6e7;
220
+    overflow: auto;
221
+}
222
+
223
+#reflectCategoryList li {
224
+    padding: 0 10px;
225
+    width: 100%;
226
+    line-height: 32px;
227
+}
228
+
229
+#reflectCategoryList li:hover {
230
+    background: #00a1cb;
231
+}
232
+
233
+.reflectCategoryImg {
234
+    position: absolute;
235
+    right: 10px;
236
+}
237
+
238
+.tool_downs a {
239
+    margin-right: 5px;
240
+}

+ 0 - 0
WebUI/CallCenterWeb.UI/templateOrderList/js/otherOrderOperation.js


+ 151 - 0
WebUI/CallCenterWeb.UI/templateOrderList/js/search.js

@@ -0,0 +1,151 @@
1
+
2
+$(document).ready(function () {
3
+	laydate.render({
4
+	    elem: '#starttime' //指定元素
5
+	    ,range:'~'
6
+	});
7
+	getDicValueList($("#source"),1); //工单来源
8
+	getDicValueList($("#type"),2)  //工单类别
9
+	getDicValueList($("#keyid"),3)  //主题词
10
+	helper.getDropList.getOrderAreas($('#sourceAreas'))  //区域
11
+	getMultipleChoice($("#ZX"),"UserAccount/GetSeatList"); //受话坐席
12
+	getMultipleChoice($("#yardman"),"UserAccount/GetUsersList","ZXLD")//审核员
13
+	tree(); 
14
+});
15
+//键盘登录事件
16
+$('input').bind('keypress', function(event) {
17
+	if(event.keyCode == "13") {
18
+		$('.Seach').trigger("click");
19
+	}
20
+});
21
+///搜素
22
+$(".Seach").click(function() {
23
+	load();
24
+})
25
+//承办单位下拉事件开始
26
+$(".inps").focus(function() {
27
+	$(".xlAdd").css("display", "block");
28
+});
29
+$(".xl").click(function() {
30
+	if($(".xlAdd").css("display") == "block") {
31
+		$(".xlAdd").css("display", "none");
32
+	} else {
33
+		$(".xlAdd").css("display", "block");
34
+	}
35
+});
36
+$(".addTree").mouseleave(function() {
37
+	$(this).css("display", "none");
38
+});
39
+//清除
40
+$(".Cleans ").click(function() {
41
+	$(".inps").val("");
42
+	$("#PID").val("");
43
+	$("#Dpment").val("");
44
+});
45
+//承办单位下拉事件结束
46
+
47
+
48
+//下拉框多选开始
49
+function selectMultiple(obj) {
50
+	var maindeptId = "";
51
+	var maindeptId_ = obj.val(); //坐席
52
+	if(maindeptId_ != null) {
53
+		$(maindeptId_).each(function(i, n) {
54
+			var obj2 = '';
55
+			obj2 = n + ",";
56
+			maindeptId += obj2;
57
+		})
58
+		maindeptId = maindeptId.substring(0, maindeptId.length - 1)
59
+	} else {
60
+		maindeptId = ""
61
+	}
62
+	return maindeptId
63
+}
64
+
65
+function getMultipleChoice(obj,urlParame,rolecode) {
66
+	obj.empty();
67
+	var parameData = {
68
+		token: $.cookie("token"),
69
+	}
70
+	if (rolecode) {
71
+		parameData.rolecode = rolecode
72
+	}
73
+	
74
+	$.getJSON(
75
+		huayi.config.callcenter_url + urlParame, parameData,
76
+		function(data) {
77
+			if(data.state.toLowerCase() == "success") {
78
+				var content = data.data;
79
+				$(content).each(function(i, n) {
80
+					$("<option value='" + n.F_UserCode + "'>" + n.F_UserName + "</option>").appendTo(obj);
81
+				});
82
+				obj.selectpicker({ noneSelectedText: "请选择",}); //默认显示内容
83
+				obj.selectpicker("refresh");
84
+			}
85
+		}
86
+	);
87
+}
88
+//下拉框多选结束
89
+
90
+
91
+//数据字典获取开始
92
+function getDicValueList(obj,id) {
93
+	obj.empty();
94
+	obj.append('<option selected="selected" value="">请选择</option>');
95
+	$.getJSON(
96
+		huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
97
+			token: $.cookie("token"),
98
+			id: id,
99
+		},
100
+		function(data) {
101
+			if(data.state.toLowerCase() == "success") {
102
+				var content = data.data;
103
+				$(content).each(function(i, n) {
104
+					$("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
105
+				});
106
+			}
107
+		}
108
+	);
109
+}
110
+//数据字典获取结束
111
+
112
+
113
+
114
+//树形下拉开始
115
+function tree() {
116
+	$.get(
117
+		huayi.config.callcenter_url + "Department/GetDeptList", {
118
+			token: $.cookie("token"),
119
+		},
120
+		function(result) {
121
+			result = $.parseJSON(result);
122
+			$.fn.zTree.init( $("#addTreeDemo"),setting1, result.data); //实例化树形图
123
+		}
124
+	);
125
+}
126
+var setting1 = {
127
+	data: {
128
+		key: {
129
+			name: "F_DeptName",
130
+		},
131
+		simpleData: {
132
+			enable: true,
133
+			idKey: "F_DeptId",
134
+			pIdKey: "F_PartentId",
135
+			rootPId: 0,
136
+		},
137
+	},
138
+	callback: {
139
+		onClick: zTreeOnClick,
140
+	},
141
+};
142
+
143
+function zTreeOnClick(event, treeId, treeNode) {
144
+	if(treeNode.level >= 1) {
145
+		$(".inps").val(treeNode.F_DeptName);
146
+		$("#PID").val(treeNode.F_DeptId);
147
+		$("#Dpment").val(treeNode.F_DeptId);
148
+		$(".Cleans").show();
149
+	}
150
+}
151
+//树形下拉开始

+ 491 - 0
WebUI/CallCenterWeb.UI/templateOrderList/js/workCommon.js

@@ -0,0 +1,491 @@
1
+//查看详情1
2
+function ckxq(str) {
3
+	layer.open({
4
+		type: 2,
5
+		content: "../CommonHtml/WorkDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
6
+		title: '工单详情',
7
+		area: ['87%', '80%'], //宽高
8
+	});
9
+}
10
+
11
+//编辑2
12
+function bj(str) {
13
+	layer.open({
14
+		type: 2,
15
+		content: "../CommonHtml/AddAppeal.html?wid=" + str, //iframe的url,no代表不显示滚动条
16
+		title: '编辑工单',
17
+		area: ['96%', '80%'], //宽高
18
+	});
19
+}
20
+
21
+//删除3
22
+function move(str) {
23
+	layer.confirm('确定删除工单?', {
24
+		btn: ['是', '否'] //按钮
25
+	}, function() {
26
+		$.post(huayi.config.callcenter_url + "WorkOrder/DelWorkOrder", {
27
+			ids: str,
28
+			token: $.cookie("token")
29
+		}, function(result) {
30
+			result = JSON.parse(result);
31
+			if(result.state.toLowerCase() == "success") {
32
+				debugger
33
+				layer.msg("删除成功");
34
+				$("#orderlist").bootstrapTable('refresh');
35
+			}
36
+		})
37
+	});
38
+}
39
+
40
+//提交4
41
+function tj(str) {
42
+	layer.confirm('确定要提交工单么?', {
43
+		btn: ['确定', '取消'] //按钮
44
+	}, function() {
45
+		//请求后台数据
46
+		/*发送请求*/
47
+		$.post(huayi.config.callcenter_url + "WorkOrder/SubmitWorkOrder", {
48
+			ids: str,
49
+			token: $.cookie("token")
50
+		}, function(result) {
51
+			result = JSON.parse(result);
52
+			if(result.state.toLowerCase() == "success") {
53
+				layer.msg("提交成功");
54
+				$("#orderlist").bootstrapTable('refresh');
55
+				//load();
56
+			}
57
+		})
58
+	});
59
+}
60
+
61
+//交办5
62
+function jb(str) {
63
+	layer.open({
64
+		type: 2,
65
+		content: "../CommonHtml/jiaoban.html?wid=" + str, //iframe的url,no代表不显示滚动条
66
+		title: '工单交办',
67
+		area: ['87%', '80%'], //宽高
68
+	});
69
+}
70
+
71
+//领导批示6
72
+function lader(str) {
73
+	layer.open({
74
+		type: 2,
75
+		content: "../CommonHtml/Leader.html?wid=" + str, //iframe的url,no代表不显示滚动条
76
+		title: '领导批示',
77
+		area: ['60%', '80%'], //宽高
78
+	});
79
+}
80
+
81
+//市长批示7
82
+function city(str) {
83
+	layer.open({
84
+		type: 2,
85
+		content: "../CommonHtml/shizhang.html?wid=" + str, //iframe的url,no代表不显示滚动条
86
+		title: '市长批示',
87
+		area: ['60%', '80%'], //宽高
88
+	});
89
+}
90
+
91
+//督办8
92
+function Supervision(str) {
93
+	layer.open({
94
+		type: 2,
95
+		content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=1', //iframe的url,no代表不显示滚动条
96
+		title: '督办',
97
+		area: ['60%', '80%'], //宽高
98
+	});
99
+}
100
+
101
+//督查9
102
+function Supervision_(str) {
103
+	layer.open({
104
+		type: 2,
105
+		content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=2', //iframe的url,no代表不显示滚动条
106
+		title: '监察',
107
+		area: ['60%', '80%'], //宽高
108
+	});
109
+}
110
+
111
+//收回10
112
+function sh(str) {
113
+	layer.confirm('确定要回收?', {
114
+		btn: ['是', '否'] //按钮
115
+	}, function() {
116
+		$.post(huayi.config.callcenter_url + "WorkOrder/TakeBackWorkOrder", {
117
+			workorderid: str,
118
+			token: $.cookie("token")
119
+		}, function(result) {
120
+			result = JSON.parse(result);
121
+			if(result.state.toLowerCase() == "success") {
122
+				layer.msg("回收");
123
+				//load();
124
+				$("#orderlist").bootstrapTable('refresh');
125
+			}
126
+		})
127
+	});
128
+}
129
+
130
+//查收11
131
+function cs(str) {
132
+	layer.confirm('确定要查收?', {
133
+		btn: ['是', '否'] //按钮
134
+	}, function() {
135
+		$.post(huayi.config.callcenter_url + "WorkOrder/ReceiveWorkOrder", {
136
+			workorderid: str,
137
+			token: $.cookie("token")
138
+		}, function(result) {
139
+			result = JSON.parse(result);
140
+			if(result.state.toLowerCase() == "success") {
141
+				layer.msg("查收成功");
142
+				$("#orderlist").bootstrapTable('refresh');
143
+			}
144
+		})
145
+	});
146
+}
147
+
148
+//退回申请12
149
+function th(str) {
150
+	layer.open({
151
+		type: 2,
152
+		content: "../CommonHtml/tuihuisq.html?wid=" + str, //iframe的url,no代表不显示滚动条
153
+		title: '申请退回工单',
154
+		area: ['60%', '80%'], //宽高
155
+	});
156
+}
157
+
158
+//办理13
159
+function bl(str, isProtect) {
160
+	console.log("isProtect2222", isProtect)
161
+	layer.open({
162
+		type: 2,
163
+		content: "../CommonHtml/banli.html?wid=" + str + "&isProtect=" + isProtect, //iframe的url,no代表不显示滚动条
164
+		title: '办理工单',
165
+		area: ['60%', '80%'], //宽高
166
+	});
167
+}
168
+
169
+//申请延时14
170
+function ys(str) {
171
+	layer.open({
172
+		type: 2,
173
+		content: "../CommonHtml/Timesq.html?wid=" + str, //iframe的url,no代表不显示滚动条
174
+		title: '申请延时',
175
+		area: ['60%', '80%'], //宽高
176
+	});
177
+}
178
+
179
+//审核退回申请15
180
+function shth(str) {
181
+	layer.open({
182
+		type: 2,
183
+		content: "../CommonHtml/shth.html?wid=" + str, //iframe的url,no代表不显示滚动条
184
+		title: '审核退回申请',
185
+		area: ['60%', '80%'], //宽高
186
+	});
187
+}
188
+
189
+//诉求回访16
190
+function hf(str) {
191
+	layer.open({
192
+		type: 2,
193
+		content: "../CommonHtml/Back.html?wid=" + str, //iframe的url,no代表不显示滚动条
194
+		title: '工单回访',
195
+		area: ['60%', '80%'], //宽高
196
+	});
197
+}
198
+
199
+//审核申请延时17
200
+function shys(str) {
201
+	layer.open({
202
+		type: 2,
203
+		content: "../CommonHtml/shTime.html?wid=" + str, //iframe的url,no代表不显示滚动条
204
+		title: '审核延时申请',
205
+		area: ['60%', '80%'], //宽高
206
+	});
207
+}
208
+
209
+//重办工单18
210
+function cb(str) {
211
+	layer.open({
212
+		type: 2,
213
+		content: "../CommonHtml/Cb.html?wid=" + str, //iframe的url,no代表不显示滚动条
214
+		title: '重办工单',
215
+		area: ['60%', '80%'], //宽高
216
+	});
217
+}
218
+
219
+//结案19
220
+function Lawsuit(str) {
221
+	layer.open({
222
+		type: 2,
223
+		content: "../CommonHtml/lawsuits.html?wid=" + str, //iframe的url,no代表不显示滚动条
224
+		title: '诉求单结案',
225
+		area: ['60%', '80%'], //宽高
226
+	});
227
+}
228
+
229
+//导出20
230
+
231
+//回退BackDtail 21
232
+function BackDtail(str) {
233
+	layer.open({
234
+		type: 2,
235
+		content: "../CommonHtml/BackDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
236
+		title: '工单督办',
237
+		area: ['60%', '80%'], //宽高
238
+	});
239
+}
240
+
241
+//强制结案 22
242
+function StrongLawsuit(str) {
243
+	layer.open({
244
+		type: 2,
245
+		content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条
246
+		title: '强制结案',
247
+		area: ['60%', '80%'], //宽高
248
+	});
249
+}
250
+
251
+//派单 23
252
+function pd(str) {
253
+	layer.open({
254
+		type: 2,
255
+		content: "../CommonHtml/handle.html?wid=" + str, //iframe的url,no代表不显示滚动条
256
+		title: '办理工单',
257
+		area: ['87%', '80%'], //宽高
258
+	});
259
+}
260
+
261
+//处理审核 24
262
+function auditdeal(str) {
263
+	layer.open({
264
+		type: 2,
265
+		content: "../CommonHtml/processing_audit.html?wid=" + str, //iframe的url,no代表不显示滚动条
266
+		title: '处理审核',
267
+		area: ['80%', '80%'], //宽高
268
+	});
269
+}
270
+
271
+ //签收 25
272
+function sign(str) {
273
+    layer.confirm('确定要签收?', {
274
+        btn: ['是', '否'] //按钮
275
+    }, function () {
276
+        $.post(huayi.config.callcenter_url + "WorkOrder/SignWorkOrder", {
277
+            workorderid: str,
278
+            token: $.cookie("token")
279
+        }, function (result) {
280
+            result = JSON.parse(result);
281
+            if (result.state.toLowerCase() == "success") {
282
+                layer.msg("签收成功");
283
+                load();
284
+            }
285
+        })
286
+    });
287
+}
288
+
289
+//拒收  26
290
+function refuse(str) {
291
+	layer.open({
292
+        type: 2,
293
+        content: "../CommonHtml/rejection.html?wid=" + str, //iframe的url,no代表不显示滚动条
294
+        title: '拒收',
295
+        area: ['60%', '80%'], //宽高
296
+   });
297
+}
298
+
299
+//撤回  27
300
+function withDraw(str){
301
+	layer.open({
302
+		content: '是否要撤回?',
303
+	  	btn: ['是', '否'],
304
+	  	yes: function(index, layero){
305
+	    	$.post(huayi.config.callcenter_url + "WorkOrder/NoticeWorkOrder", {
306
+				workorderid: str,//工单编号
307
+				isnotice: 0,//(0撤回,1通告)
308
+				//deptids: '',
309
+				token: $.cookie("token")
310
+			}, function(result) {
311
+				var data = JSON.parse(result);		
312
+				if(data.state == "success") {
313
+					$(".withDrawBtn").hide();
314
+					layer.close();
315
+					load();
316
+					layer.msg("撤回成功");
317
+				}
318
+			})
319
+		}
320
+	})
321
+}
322
+
323
+//审核 28
324
+function audit(str) {
325
+	layer.open({
326
+		type: 2,
327
+		content: "../CommonHtml/AuditDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
328
+		title: '审核',
329
+		area: ['60%', '80%'], //宽高
330
+	});
331
+}
332
+
333
+//转督办 29
334
+function zdb(str, row) {
335
+	layer.open({
336
+		type: 2,
337
+		content: "../CommonHtml/superTrunl.html?wid=" + str + "&depId=" + row, //iframe的url,no代表不显示滚动条
338
+		title: '督办工单',
339
+		area: ['60%', '80%'], //宽高
340
+	});
341
+
342
+}
343
+
344
+//不督办 30
345
+function ndb(str) {
346
+	layer.confirm('确定督办吗?', {
347
+		btn: ['是', '否'] //按钮
348
+	}, function() {
349
+		$.post(huayi.config.callcenter_url + 'WorkOrder/RemindWorkOrder', {
350
+			workorderid: str,
351
+			type: 1,
352
+			state: 2,
353
+			"token": $.cookie("token")
354
+		}, function(result) {
355
+			result = JSON.parse(result);
356
+			if(result.state.toLowerCase() == "success") {
357
+				layer.msg("操作成功");
358
+				//load();
359
+				$("#orderlist").bootstrapTable('refresh');
360
+			}
361
+		})
362
+	});
363
+}
364
+
365
+//提交重办31
366
+function tjcb(str) {
367
+	layer.open({
368
+		type: 2,
369
+		content: "../CommonHtml/reasonCB.html?wid=" + str, //iframe的url,no代表不显示滚动条
370
+		title: '提交重办',
371
+		area: ['50%', '40%'], //宽高
372
+	});
373
+}
374
+
375
+//驳回重办 32
376
+function bhcb(str) {
377
+	layer.open({
378
+		type: 2,
379
+		content: "../CommonHtml/rejectionCB.html?wid=" + str, //iframe的url,no代表不显示滚动条
380
+		title: '驳回重办',
381
+		area: ['60%', '80%'], //宽高
382
+	});
383
+}
384
+
385
+//履职界定 33
386
+function lzjd(str) {
387
+	layer.open({
388
+		type: 2,
389
+		content: "../CommonHtml/ResumptionDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
390
+		title: '履职界定',
391
+		area: ['85%', '80%'], //宽高
392
+	})
393
+}
394
+
395
+//界定审核34
396
+function jdsh(str) {
397
+	layer.open({
398
+		type: 2,
399
+		content: "../CommonHtml/Define_audit.html?wid=" + str, //iframe的url,no代表不显示滚动条
400
+		title: '界定审核',
401
+		area: ['85%', '60%'], //宽高
402
+	})
403
+}
404
+
405
+// 省平台签收35
406
+function provincialPlatformSignup(str) {
407
+    layer.confirm(
408
+        "确定签收吗?",
409
+        {
410
+            btn: ["是", "否"], //按钮
411
+        },
412
+        function () {
413
+            $.post(
414
+                huayi.config.callcenter_url + "Affairs/SubmitWorkOrder",
415
+                {
416
+                    ids: str,
417
+                    token: $.cookie("token"),
418
+                },
419
+                function (result) {
420
+                    result = JSON.parse(result);
421
+                    if (result.state.toLowerCase() == "success") {
422
+                        layer.msg("操作成功");
423
+                        load();
424
+                    }
425
+                }
426
+            );
427
+        }
428
+    );
429
+}
430
+
431
+// 省平台退回36
432
+function provincialPlatformReturn(str) {
433
+    layer.open({
434
+        type: 2,
435
+        content: "../CommonHtml/provincialPlatformReturn.html?wid=" + str, //iframe的url,no代表不显示滚动条
436
+        title: "省平台退回",
437
+        area: ["70%", "70%"], //宽高
438
+        shade: 0,
439
+    });
440
+}
441
+
442
+// 省平台申请延时37
443
+function provincialPlatformApplicationDelay(str,type) {
444
+    layer.open({
445
+        type: 2,
446
+        content:
447
+            "../CommonHtml/provincialPlatformApplicationDelay.html?wid=" + str+"&type="+type, //iframe的url,no代表不显示滚动条
448
+        title: "省平台申请延时",
449
+        area: ["70%", "70%"], //宽高
450
+        shade: 0,
451
+    });
452
+    
453
+}
454
+
455
+// 省平台申请延时38
456
+function provincialPlatformApplicationDelay(str,type) {
457
+    layer.open({
458
+        type: 2,
459
+        content:
460
+            "../CommonHtml/provincialPlatformApplicationDelay.html?wid=" + str+"&type="+type, //iframe的url,no代表不显示滚动条
461
+        title: "省平台申请延时",
462
+        area: ["70%", "70%"], //宽高
463
+        shade: 0,
464
+    });
465
+    
466
+}
467
+
468
+// 省平台反馈39
469
+function provincialPlatformFeedback(str) {
470
+    layer.open({
471
+        type: 2,
472
+        content: "../CommonHtml/provincialPlatformFeedback.html?wid=" + str, //iframe的url,no代表不显示滚动条
473
+        title: "省平台反馈",
474
+        area: ["70%", "70%"], //宽高
475
+        shade: 0,
476
+    });
477
+}
478
+
479
+// 服务工单上报39
480
+function reportServiceWorkOrder(str) {
481
+    layer.open({
482
+        type: 2,
483
+        content: "../CommonHtml/provincialPlatformReport.html?wid=" + str, //iframe的url,no代表不显示滚动条
484
+        title: "省平台上报",
485
+        area: ["70%", "70%"], //宽高
486
+        shade: 0,
487
+    });
488
+}
489
+
490
+
491
+

+ 120 - 0
WebUI/CallCenterWeb.UI/templateOrderList/js/workOrderListOperation.js

@@ -0,0 +1,120 @@
1
+$("#orderlist").on("click-row.bs.table", function(e, row, ele) {
2
+	$(".success").removeClass("success"); //去除之前选中的行的,选中样式
3
+	$(ele).addClass("success"); //添加当前选中的 success样式用于区别
4
+});
5
+
6
+//工单内容
7
+function GetCont(val) {
8
+	if(val) {
9
+		var str = "<div ";
10
+		if(val.length > 10) {
11
+			str = str + ' title="' + val + '" ';
12
+			val = val.substr(0, 10) + "...";
13
+		}
14
+		return str + ">" + val + "</div>";
15
+	} else {
16
+		return "";
17
+	}
18
+}
19
+//状态
20
+function States(val, row) {
21
+	var html = '';
22
+	switch(val + '') {
23
+		case '0':
24
+			html = '新工单';
25
+			if(row.F_IsReturn == 1) {
26
+				html = '新工单(回退)';
27
+			}
28
+			break;
29
+		case '1':
30
+			html = '待交办';
31
+			break;
32
+		case '2':
33
+			html = '待查收';
34
+			break;
35
+		case '3':
36
+			html = '退回审核中';
37
+			break;
38
+		case '4':
39
+			html = '办理中';
40
+			break;
41
+		case '5':
42
+			html = '延时审核';
43
+			break;
44
+		case '6':
45
+			html = '已办理';
46
+			break;
47
+		case '7':
48
+			html = '已回访';
49
+			break;
50
+		case '8':
51
+			html = '重办中';
52
+			break;
53
+		case '9':
54
+			html = '已结案';
55
+			break;
56
+		case '10':
57
+			html = '待审核';
58
+			break;
59
+		case '11':
60
+			html = '重办待交办';
61
+			break;
62
+		case '13':
63
+			html = '重办驳回';
64
+			break;
65
+	}
66
+	return html;
67
+}
68
+//时限
69
+function OverTime(val, row) {
70
+    if (val == 1) {
71
+        return '<div class="" style="cursor: pointer;">' +
72
+            '<span class="Greens">' + row.GapTime + '</span>' +
73
+            '</div>';
74
+    } else if (val == 2) {
75
+        return '<div class="" style="cursor: pointer;">' +
76
+            '<span class="Yellows">' + row.GapTime + '</span>' +
77
+            '</div>';
78
+    } else if (val == 3) {
79
+        return '<div class="" style="cursor: pointer;">' +
80
+            '<span class="Reds">' + row.GapTime + '</span>' +
81
+            '</div>';
82
+    }
83
+}
84
+//办理时限
85
+function BanTime(val) {
86
+    if (val) {
87
+        var time = val.substring(0, val.indexOf(' '));
88
+        return '<div class="" style="cursor: pointer;">' +
89
+            '<span>' + time + '</span>' +
90
+            '</div>';
91
+    }
92
+}
93
+
94
+//音频
95
+function setCode(val) {
96
+    if (val) {
97
+        return '<div class="imgs" style="cursor: pointer;">' +
98
+            '<img src="../img/vice.png" alt="" onclick= "helper.luyin.view(this)" item="' + val + '" />' +
99
+            '</div>';
100
+    } else {
101
+        return '';
102
+    }
103
+}
104
+
105
+//操作
106
+function Dispose(val, row) {
107
+    var Rows = row.Buttons;
108
+    var html = '';
109
+    for (var i = 0; i < Rows.length; i++) {
110
+        var html1 = huayi.config.arr[Rows[i].key * 1 - 1];
111
+        if (html1) {
112
+            html1 = html1.replace("data", val);
113
+            html1 = html1.replace("isProtect", row.F_IsProtect);
114
+            html1 = html1.replace("row", row.F_MainDeptId);
115
+        }
116
+        html += html1;
117
+
118
+    }
119
+    return html;
120
+}

+ 276 - 0
WebUI/CallCenterWeb.UI/templateOrderList/list.html

@@ -0,0 +1,276 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8" />
6
+    <title>工单列表</title>
7
+    <script src="../Script/Common/huayi.load.js"></script>
8
+    <script src="../Script/Common/huayi.config.js"></script>
9
+    <link rel="stylesheet" href="../css/bootstrap-select.css" />
10
+    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
11
+    <link rel="stylesheet" href="../css/init.css" />
12
+    <link rel="stylesheet" href="./css/WorkOrderList.css">
13
+</head>
14
+
15
+<body class="gray-bg">
16
+    <div class="wrapper wrapper-content animated fadeInRight">
17
+        <div class="daoHang clearfix">
18
+            <div class="dhLeft">
19
+                <sapn>
20
+                    <i class="syIcon"></i>位置:
21
+                    <a href="javaScript:;" id="ReIndex">首页</a>&gt;
22
+                    
23
+                    <a href="" class="nowPosition">查询工单</a>
24
+                </sapn>
25
+            </div>
26
+            <div class="dhRight">
27
+                <a href="" title="刷新"><i class="fa fa-refresh"></i></a>
28
+            </div>
29
+        </div>
30
+        <div style="padding: 10px" class="tj_content clearFix">
31
+            <div style="padding: 10px" class="tj_content clearFix">
32
+                <div>
33
+                    <span>【搜索信息】</span>
34
+                    <div class="box_content">
35
+                        <table id="sqzx" style="width: 100%" border="0" cellspacing="0" cellpadding="0">
36
+                            <tr>
37
+                            	<th>关键字:</th>
38
+                                <td>
39
+                                    <input type="text" class="form-control" placeholder="输入关键字" id="key" class="Min-width" />
40
+                                </td>
41
+                                <th>工单号:</th>
42
+                                <td>
43
+                                    <input type="text" class="form-control" placeholder="输入工单号" id="wids" class="Min-width" />
44
+                                </td>
45
+                                <th>时间:</th>
46
+                                <td >
47
+                                    <input type="text" id="starttime" class="form-control" placeholder="请选择时间" style="height: 32px;" />
48
+                                </td>
49
+                                <th>工单状态:</th>
50
+                                <td>
51
+                                	<select class="form-control" id="state">
52
+                                		<option selected="selected" value="">请选择</option>
53
+                                        <option value="0">新工单</option>
54
+                                        <option value="1">待交办</option>
55
+                                        <option value="10">待审核</option>
56
+                                        <option value="2">待查收</option>
57
+                                        <option value="3">退回审核中</option>
58
+                                        <option value="4">办理中</option>
59
+                                        <option value="5">延时审核中</option>
60
+                                        <option value="6">已办理</option>
61
+                                        <option value="7">已回访</option>
62
+                                        <option value="11">重办待交办</option>
63
+                                        <option value="13">重办驳回 </option>
64
+                                        <option value="8">重办中</option>
65
+                                        <option value="9">已结案</option>
66
+                                	</select>
67
+                                </td>
68
+                            </tr>
69
+                            
70
+                            <tr>
71
+                            	<th>工单来源:</th>
72
+                                <td>
73
+                                    <select class="form-control" id="source"></select>
74
+                                </td>
75
+                                <th>主题词:</th>
76
+                                <td>
77
+                                    <select id="keyid" name="" class="form-control"></select>
78
+                                </td>
79
+                                 <th>投诉电话:</th>
80
+                                <td>
81
+                                    <input class="form-control" type="text" id="tel" placeholder="请输入投诉电话" />
82
+                                </td>
83
+                                <th>投诉人:</th>
84
+                                <td>
85
+                                    <input class="form-control" type="text" id="name" class="Min-width" autocomplete="off" />
86
+                                </td>
87
+                            </tr>
88
+                            
89
+                            <tr>
90
+                                <th>处理类型:</th>
91
+                                <td>
92
+                                    <select class="form-control" id="dealtype">
93
+                                        <option value="">请选择</option>
94
+                                        <option value="0">网络转派</option>
95
+                                        <option value="1">当即办理</option>
96
+                                    </select>
97
+                                </td>
98
+                                <th>类型:</th>
99
+                                <td>
100
+                                    <select class="form-control" id="type"></select>
101
+                                </td>
102
+                                <th>区域:</th>
103
+                                <td>
104
+                                    <select class="form-control" id="sourceAreas"></select>
105
+                                </td>
106
+                                <th>主办单位:</th>
107
+                                <td style="position: relative;">
108
+                                    <div class="inpBox">
109
+                                        <input  class="form-control inps"  onkeyup="darptSearch()"/>
110
+                                        <i class="Cleans  fa fa-close"></i>
111
+                                        <i class="xl xl_one"></i>
112
+                                        <div class="addTree xlAdd">
113
+                                            <ul id="addTreeDemo" class="ztree"></ul>
114
+                                        </div>
115
+                                    </div>
116
+                                    <div class="selDpart1">
117
+                                    	<ul id="sponsor">
118
+										</ul>
119
+                                    </div>
120
+                                </td>
121
+                            </tr>
122
+                            <tr>
123
+                            	<th>坐席:</th>
124
+                                <td>
125
+                                	<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
126
+										<option value="">请选择坐席</option>
127
+									</select>
128
+                                </td>
129
+                                <th>调度员:</th>
130
+                                <td>
131
+                                	<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
132
+										<option value="">请选择调度员</option>
133
+									</select>
134
+                                </td>
135
+                                <td colspan="7" style="text-align: center;" >
136
+                                    <botton class="btns Seach">搜索</botton>
137
+                                    <botton class="btns Export">导出</botton>
138
+                                </td>
139
+                            </tr>
140
+                            
141
+                        </table>
142
+                    </div>
143
+                </div>
144
+                <div>
145
+                    <div style="width: 100%; padding: 10px">
146
+                        <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
147
+                            <thead>
148
+                                <tr>
149
+                                    <th data-field="F_WorkOrderId" data-align="center">工单单号</th>
150
+                                    <th data-field="F_ComTitle" data-formatter="GetCont" data-align="center">诉求标题</th>
151
+                                    <th data-field="DeptName" data-align="center">主办单位</th>
152
+                                    <th data-field="OtherDeptName" data-align="center">协办单位</th>
153
+                                    <th data-field="UserName" data-align="center">受理人</th>
154
+                                    <th data-field="F_WorkState" data-align="center" data-formatter="States">办理状态</th>
155
+                                    <th data-field="OverState" data-formatter="OverTime" data-align="center">时限</th>
156
+                                    <th data-field="LimitTime" data-formatter="BanTime" data-align="center">办理时限</th>
157
+                                    <th data-field="FilePath" data-formatter="setCode" data-align="center">录音</th>
158
+                                    <th data-field="F_WorkOrderId" data-formatter="Dispose" data-align="center">操作</th>
159
+                                </tr>
160
+                            </thead>
161
+                            <tbody class="list"></tbody>
162
+                        </table>
163
+                    </div>
164
+                </div>
165
+            </div>
166
+        </div>
167
+
168
+        <!--下载框-->
169
+        <div class="t-shade lyxz">
170
+            <div class="shade_k">
171
+                <div class="shade_title">
172
+                    <span>录音播放与下载<srong class="cknum"></srong></span>
173
+                    <span class="setwin gbly"><a>x</a></span>
174
+                </div>
175
+                <div class="shade_content">
176
+                    <div class="Ly_box audiojs"></div>
177
+                </div>
178
+            </div>
179
+        </div>
180
+        <input type="hidden" id="PID" />
181
+        <input type="hidden" id="Dpment" />
182
+        <input type="hidden" id="jianhang" value="4" />
183
+    </div>
184
+    <script src="../js/bootstrap-select.js"></script>
185
+    <script src="../js/laydate/laydate.js"></script>
186
+    <script src="../My97DatePicker/WdatePicker.js"></script>
187
+    <script src="../js/zTree/jquery.ztree.core.js"></script>
188
+   	<script src="./js/search.js"></script>
189
+	<script src="./js/workOrderListOperation.js"></script>
190
+	<script src="./js/workCommon.js"></script>
191
+    <script>
192
+        var exportParams; // 导出参数
193
+        $(document).ready(function () {
194
+            load();
195
+        });
196
+        //关闭录音弹出
197
+        $(".gbly").click(function () {
198
+            $(".lyxz").removeClass("cx");
199
+            $("audio")[0].pause();
200
+        });
201
+        function Close() {
202
+            $(".lyxz").removeClass("cx");
203
+            if ($("audio").length > 0) {
204
+                $("audio")[0].pause();
205
+            }
206
+        }
207
+        //导出
208
+		$('.Export').click(function() {
209
+			exportParams.isdc = 1;
210
+			helper.methods.exportFileFun("WorkOrder/GetList", exportParams)
211
+		})
212
+		
213
+        //获取查询信息
214
+        function load() {
215
+            //先销毁表格
216
+            $("#orderlist").bootstrapTable("destroy");
217
+            //初始化表格,动态从服务器加载数据
218
+            $("#orderlist").bootstrapTable({
219
+                method: "get", //使用get请求到服务器获取数据
220
+                url: huayi.config.callcenter_url + "WorkOrder/GetList", //获取数据的Servlet地址
221
+                contentType: "application/x-www-form-urlencoded",
222
+                striped: true, //表格显示条纹
223
+                pagination: true, //启动分页
224
+                pageSize: 10, //每页显示的记录数
225
+                pageNumber: 1, //当前第几页
226
+                pageList: [10, 20, 50, 100], //记录数可选列表
227
+                search: false, //是否启用查询
228
+                showColumns: false, //显示下拉框勾选要显示的列
229
+                showRefresh: false, //显示刷新按钮
230
+                sidePagination: "server", //表示服务端请求
231
+                //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
232
+                //设置为limit可以获取limit, offset, search, sort, order
233
+                queryParamsType: "undefined",
234
+                queryParams: function queryParams(params) {
235
+                    //设置查询参数
236
+                    //alert(params.pageNumber)
237
+                    var param = {
238
+                        page: params.pageNumber,
239
+                        pagesize: params.pageSize,
240
+                       	key: $("#key").val(), //=关键字
241
+                       	workid: $("#wids").val(), //工单号
242
+                       	state: $("#state").val(), //=工单状态
243
+                       	starttime: $('#starttime').val() && $('#starttime').val().split(' ~ ')[0], //=开始时间
244
+                        endtime: $('#starttime').val() && $('#starttime').val().split(' ~ ')[1], //=结束时间
245
+                        source: 109, //=来源&
246
+                        keyid: $("#keyid").val(), //=主题词
247
+                        tel: $("#tel").val(), //=客户电话
248
+                        name: $("#name").val(), //=客户名称
249
+                        dealtype: $("#dealtype").val(), //处理类型
250
+                        type: $("#type").val(), //=工单类型
251
+                        sourcearea:$('#sourceAreas').val(),//区域
252
+                        deptid: $("#PID").val(), //主办单位
253
+                        usercode: selectMultiple($("#ZX")), //=坐席
254
+						ddusercode: selectMultiple($("#yardman")), //调度员
255
+                        token: $.cookie("token"),
256
+                    };
257
+                    // 导出参数
258
+                    exportParams = param;
259
+                    return param;
260
+                },
261
+                onLoadSuccess: function (data) {
262
+                    //加载成功时执行
263
+                    //						layer.msg("加载成功");
264
+                    //console.log(data);
265
+                },
266
+                onLoadError: function () {
267
+                    //加载失败时执行
268
+                    //layer.msg("加载数据失败", { time: 1500, icon: 2 });
269
+                },
270
+            });
271
+        }
272
+
273
+    </script>
274
+</body>
275
+
276
+</html>