ソースを参照

安阳代码更新

miaofuhao 3 年 前
コミット
f1050c1870

+ 2 - 2
WebUI/CallCenterWeb.UI/Appeal/Lawsuit.html

@@ -68,7 +68,7 @@
68 68
 										<input type="text" placeholder="输入工单标题" id="workOrderTitle" class="form-control" />
69 69
 									</td>
70 70
 									<th>受话坐席:</th>
71
-									<td>
71
+									<td class="maxWidthSelect">
72 72
 										<select id="ZX" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
73 73
 											<option value="">请选择坐席</option>
74 74
 										</select>
@@ -86,7 +86,7 @@
86 86
 										<input type="text" placeholder="输入来电内容" id="workOrderContent" class="form-control" />
87 87
 									</td>
88 88
 									<th><span class="nameJustified">审核员:</span></th>
89
-									<td>
89
+									<td class="maxWidthSelect">
90 90
 										<select id="yardman" name="select" class="selectpicker show-tick form-control" multiple data-live-search="true">
91 91
 											<option value="">请选择调度员</option>
92 92
 										</select>

+ 11 - 11
WebUI/CallCenterWeb.UI/Business/haveDoneToAudit.html

@@ -860,11 +860,11 @@
860 860
         function approved(str) {
861 861
         	
862 862
             layer.confirm('确认审核通过吗?', {
863
-                btn: ['是', '否'] //按钮
863
+                btn: ['是', '否'] //	按钮
864 864
             }, function () {
865 865
             	
866 866
                 layer.confirm('是否发送短信?', {
867
-	                btn: ['是', '否'] //按钮
867
+	                btn: ['是', '否'] //	按钮
868 868
 	            }, function () {
869 869
 	                toExamineWorkOrder(str,1)
870 870
 	            },function(){
@@ -876,7 +876,7 @@
876 876
         function toExamineWorkOrder(str,issmsAudit){
877 877
         	$.post(huayi.config.callcenter_url + 'WorkOrder/ToExamineWorkOrder', {
878 878
                 workorderid: str,
879
-                nexttype: 0, // 0审核通过 1审核不通过 2审核通过转办
879
+                nexttype: 0, 	// 0审核通过 1审核不通过 2审核通过转办
880 880
                 issms:issmsAudit,
881 881
                 "token": $.cookie("token")
882 882
             }, function(result) {
@@ -907,14 +907,14 @@
907 907
             });
908 908
         }
909 909
          //审核通过
910
-        function approved(str) {
911
-            layer.open({
912
-                type: 2,
913
-                content: "../CommonHtml/haveDoneToAuditOperation.html?wid=" + str + "&nexttype=3", //iframe的url,no代表不显示滚动条
914
-                title: "审核不通过",
915
-                area: ["50%", "50%"], //宽高
916
-            });
917
-        }
910
+//      function approved(str) {
911
+//          layer.open({
912
+//              type: 2,
913
+//              content: "../CommonHtml/haveDoneToAuditOperation.html?wid=" + str + "&nexttype=3", //iframe的url,no代表不显示滚动条
914
+//              title: "审核不通过",
915
+//              area: ["50%", "50%"], //宽高
916
+//          });
917
+//      }
918 918
         //上传文件
919 919
         function upload() {
920 920
             if (document.getElementById("upFile").files.length > 0) {

+ 112 - 0
WebUI/CallCenterWeb.UI/CommonHtml/haveDoneToAuditOperationAll.html

@@ -0,0 +1,112 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8" />
6
+    <script src="../Script/Common/huayi.load.js"></script>
7
+    <script src="../Script/Common/huayi.config.js"></script>
8
+    <link rel="stylesheet" href="../css/bootstrap-select.css" />
9
+    <link rel="stylesheet" href="../css/init.css" />
10
+    <title>添加</title>
11
+    <style>
12
+        .Common table th {
13
+            width: 100px
14
+        }
15
+        .auditState {
16
+        	display: none;
17
+        }
18
+    </style>
19
+</head>
20
+
21
+<body>
22
+    <div class="wrapper wrapper-content animated fadeInRight">
23
+        <div style="padding: 10px" class="tj_content clearFix">
24
+            <div class="Common">
25
+                <table>
26
+                	<tr>
27
+                        <th>审核状态:</th>
28
+                        <td colspan="7">
29
+                            <select name="auditState" class="form-control" id="auditState">
30
+                            	<option value="0">审核通过</option>
31
+                            	<option value="1">审核不通过</option>
32
+                            	<option value="2">审核通过转办</option>
33
+                            </select>
34
+                        </td>
35
+                    </tr>
36
+                    <tr class="auditState">
37
+                        <th>审核说明:</th>
38
+                        <td colspan="7">
39
+                            <textarea id="cbreason" class="form-control" name="" rows="" cols="" style=""></textarea>
40
+                        </td>
41
+                    </tr>
42
+                    <tr>
43
+                        <td colspan="8" style="text-align: center">
44
+                            <button class="btns save">保存</button>
45
+                        </td>
46
+                    </tr>
47
+                </table>
48
+            </div>
49
+        </div>
50
+    </div>
51
+    <script>
52
+        var wid = helper.request.queryString("wid");
53
+        var nexttype;
54
+        $(document).ready(function () {
55
+            $(".save").click(function () {
56
+            	Add()
57
+            });
58
+            $("#auditState").change(function(){
59
+            	
60
+            	if (Number($("#auditState").val())) {
61
+            		$(".auditState").show()
62
+            	} else {
63
+            		$(".auditState").hide()
64
+            		$("#cbreason").val('')
65
+            	}
66
+//          	Number($("#auditState").val()) ? $(".auditState").show():$(".auditState").hide()
67
+            })
68
+        });
69
+        //修改工单
70
+        function Add() {
71
+        	
72
+        	nexttype =Number($("#auditState").val())
73
+        	if (nexttype === 0) {
74
+        		layer.confirm('确认审核通过吗?', {
75
+	                btn: ['是', '否'] //按钮
76
+	            }, function () {
77
+	                layer.confirm('是否发送短信?', {
78
+		                btn: ['是', '否'] //按钮
79
+		            }, function () {
80
+		                toExamineWorkOrder(1,nexttype)
81
+		            },function(){
82
+		            	toExamineWorkOrder(0,nexttype)
83
+		            });
84
+	            });
85
+        	} else if(nexttype===1 || nexttype ===2){
86
+        		$("#cbreason").show()
87
+        		toExamineWorkOrder()
88
+        	}
89
+        }
90
+        function toExamineWorkOrder(issmsAudit){
91
+        	
92
+        	$.post(huayi.config.callcenter_url + 'WorkOrder/ToExamineWorkOrder', {
93
+                workorderid: wid,
94
+                nexttype: nexttype, // 0审核通过 1审核不通过 2审核通过转办
95
+                issms:issmsAudit,
96
+                cbreason: $("#cbreason").val(),
97
+                "token": $.cookie("token")
98
+            }, function(result) {
99
+                result = JSON.parse(result);
100
+                if(result.state.toLowerCase() == "success") {
101
+                    var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
102
+                    parent.layer.close(index); //再执行关闭
103
+                    parent.$("#orderlist").bootstrapTable("refresh");
104
+                    parent.layer.msg("操作成功");
105
+                }
106
+            })
107
+        	
108
+        }
109
+    </script>
110
+</body>
111
+
112
+</html>

+ 9 - 0
WebUI/CallCenterWeb.UI/MultimediaWorkOrder/haveDoneToAuditMedia.html

@@ -870,6 +870,15 @@
870 870
                 area: ["50%", "70%"], //宽高
871 871
             });
872 872
         }
873
+        function auditAll(str){
874
+//      	haveDoneToAuditOperationAll.html
875
+			layer.open({
876
+                type: 2,
877
+                content: "../CommonHtml/haveDoneToAuditOperationAll.html?wid=" + str + "&nexttype=1", //iframe的url,no代表不显示滚动条
878
+                title: "审核不通过",
879
+                area: ["50%", "50%"], //宽高
880
+            });
881
+        }
873 882
         //审核通过
874 883
         function approved(str) {
875 884
         	

+ 7 - 7
WebUI/CallCenterWeb.UI/ReportForm/incomingReport.html

@@ -109,15 +109,15 @@
109 109
                             <tr>
110 110
                             	<th data-field="" data-formatter="serialNumber" data-align="center">序号</th>
111 111
                                 <th data-field="time"  data-align="center">时间段</th>
112
-                                <th data-field="IncomingCount" data-align="center">来电量</th>
113
-                                <th data-field="Oncapacity" data-align="center">接听量</th>
114
-                                <th data-field="seatsCount" data-align="center">坐席个数</th>
115
-                                <th data-field="seats" data-align="center">坐席姓名</th>
116
-                                
117
-                                <th data-field="newIncomingCount" data-align="center">显示来电总量</th>
112
+                                <th data-field="newIncomingCount" data-align="center">来电总量</th>
118 113
                                 <th data-field="newOncapacity" data-align="center">接听总量</th>
119
-                                <th data-field="newseats" data-align="center">专线坐席姓名</th>
114
+                                <th data-field="IncomingCount" data-align="center">12345来电量</th>
115
+                                <th data-field="Oncapacity" data-align="center">12345接听量</th>
116
+                                
120 117
                                 <th data-field="newseatsCount" data-align="center">专线坐席个数</th>
118
+                                <th data-field="newseats" data-align="center">专线坐席姓名</th>
119
+                                <th data-field="seatsCount" data-align="center">12345坐席个数</th>
120
+                                <th data-field="seats" data-align="center">12345坐席姓名</th>
121 121
                                 
122 122
                             </tr>
123 123
                         </thead>

+ 1 - 0
WebUI/CallCenterWeb.UI/Script/Common/huayi.config.js

@@ -67,6 +67,7 @@ huayi.config = {
67 67
         "<a class='xg' onclick='auditMultimediaThrough(\"data\")' title='审核通过'>审核通过</a>", // 多媒体审核通过
68 68
         "<a class='xg' onclick='auditMultimediaNotThrough(\"data\")' title='审核不通过'>审核不通过</a>", // 多媒体审核不通过
69 69
         "<a class='xg' onclick='replyMultimedia(\"data\")' title='回复'>回复</a>", // 多媒体回复
70
+         "<a class='xg' onclick='auditAll(\"data\")' title='审核'>审核</a>", // 多媒体回复
70 71
     ],
71 72
     kapArr: [
72 73
         "<a class='xg' onclick='goDetail(\"data\",\"data_id\")' title='查看'>查看</a>",

+ 13 - 1
WebUI/CallCenterWeb.UI/TelCall/CallRecord.html

@@ -217,7 +217,7 @@
217 217
                                 </select>
218 218
                             </td>
219 219
                             <th>受话坐席:</th>
220
-                            <td>
220
+                            <td class="maxWidthSelect">
221 221
                                 <select id="seat" class="selectpicker show-tick form-control" multiple data-live-search="true"></select>
222 222
                             </td>
223 223
                             <th>通话类型:</th>
@@ -293,6 +293,15 @@
293 293
                                     <option value="3">不满意</option>
294 294
                                 </select>
295 295
                             </td>
296
+                            <th><span>电话方式:</span></th>
297
+                            <td >
298
+                                <select id="Business" class="form-control" name="select">
299
+                                    <option value="">请选择</option>
300
+                                    <option value="0">市民咨询</option>
301
+                                    <option value="1">营商环境</option>
302
+                                    
303
+                                </select>
304
+                            </td>
296 305
                         </tr>
297 306
                     </tbody>
298 307
                 </table>
@@ -569,6 +578,8 @@
569 578
                         param.notconnected = $("#notconnected").val(); // 未接通
570 579
                         param.callback = $("#callback").val(); // 是否回拨
571 580
                        	param.myd = $("#myd").val()
581
+                       	param.Business = $("#Business").val()
582
+                       	
572 583
                     } else if (stype == '2') {
573 584
                         param.usercode = $("#ss_seat").val();
574 585
                         param.tel = $("#ss_tel").val();
@@ -586,6 +597,7 @@
586 597
                         param.notconnected = $("#notconnected").val(); // 未接通
587 598
                         param.callback = $("#callback").val(); // 是否回拨
588 599
                        	param.myd = $("#myd").val()
600
+                       	param.Business = $("#Business").val()
589 601
                     }
590 602
                     return param;
591 603
                 },

+ 0 - 2
WebUI/CallCenterWeb.UI/citizenNode/script/config.js

@@ -4,6 +4,4 @@ if(huayi == undefined) {
4 4
 huayi.config = {
5 5
 	callcenter_url: "http://docking.zwfw.anyang.gov.cn:9998/",	//	生产环境
6 6
 //		callcenter_url: "http://192.168.8.9:1042/",	//	生产环境
7
-	
8
-
9 7
 };

+ 4 - 7
WebUI/CallCenterWeb.UI/css/WorkOrder/WorkOrderList.css

@@ -6,19 +6,16 @@
6 6
 #sqzx td {
7 7
     padding: 6px 0 5px 10px;
8 8
 }
9
-#sqzx tbody tr td:nth-child(4) {
10
-	max-width: 300px;
11
-	
12
-}
13
-.filter-option-inner-inner{
14
-	max-width: 300px;
15
-}
9
+
10
+
11
+
16 12
 .clearFix:after {
17 13
     content: "";
18 14
     display: block;
19 15
     clear: both;
20 16
 }
21 17
 
18
+
22 19
 .box_content {
23 20
     border-bottom: 1px solid #ccc;
24 21
 }

+ 3 - 0
WebUI/CallCenterWeb.UI/css/init.css

@@ -7,6 +7,9 @@
7 7
     width: 20px;
8 8
     vertical-align: middle;
9 9
 }
10
+.maxWidthSelect{
11
+	max-width: 300px;
12
+}
10 13
 .daoHang {
11 14
     padding: 8px 15px;
12 15
 }