liuyifan 4 years ago
parent
commit
11dfbc67b7

+ 3 - 3
WebUI/CallCenterWeb.UI/Appeal/AddAppeal.html

@@ -126,14 +126,14 @@
126 126
                         <td>
127 127
                             <select class="form-control" id="source"></select>
128 128
                         </td>
129
-                        <!-- <th>自动派单:</th>
129
+                        <th>自动派单:</th>
130 130
                         <td>
131 131
                             <select class="form-control" id="automaticDispatch">
132 132
                                 <option value="">请选择</option>
133 133
                                 <option value="1">是</option>
134 134
                                 <option value="">否</option>
135 135
                             </select>
136
-                        </td> -->
136
+                        </td>
137 137
                     </tr>
138 138
                     <tr class="leaderCharge-wrapper" style="display: none;">
139 139
                         <th class="">分管领导:</th>
@@ -304,7 +304,7 @@
304 304
                         level: $('#level').val(), //=(1普通2紧急)
305 305
                         issubmit: submit, //=(0保存1保存并提交)
306 306
                         phonetype: $("#source").val() === "1" ? $("#phonetype").val() : "", // 电话类别
307
-                        // ispd: $("#automaticDispatch").val() === "1" ? "1" : "", // 自动派单
307
+                        ispd: $("#automaticDispatch").val() === "1" ? "1" : "", // 自动派单
308 308
                         token: $.cookie("token")
309 309
                     },
310 310
                     success: function (data) {

+ 4 - 6
WebUI/CallCenterWeb.UI/Business/WorkYBL.html

@@ -1157,12 +1157,10 @@
1157 1157
         };
1158 1158
 
1159 1159
         function zTreeOnClick(event, treeId, treeNode) {
1160
-            if (treeNode.level >= 1) {
1161
-                $(".inps").val(treeNode.F_DeptName);
1162
-                $("#PID").val(treeNode.F_DeptId);
1163
-                $("#Dpment").val(treeNode.F_DeptName);
1164
-                $(".Cleans").show();
1165
-            }
1160
+            $(".inps").val(treeNode.F_DeptName);
1161
+            $("#PID").val(treeNode.F_DeptId);
1162
+            $("#Dpment").val(treeNode.F_DeptName);
1163
+            $(".Cleans").show();
1166 1164
         }
1167 1165
         $(".exportFile").click(function () {
1168 1166
             var usercode_ = $("#ZX").val(); //坐席

+ 52 - 2
WebUI/CallCenterWeb.UI/Business/WorkYBL_zlei.html

@@ -376,7 +376,7 @@
376 376
                                 <th></th>
377 377
                                 <td style="text-align: center;">
378 378
                                     <botton class="btns Seach">搜索</botton>
379
-                                    <!--<botton class="btns ">导出</botton>-->
379
+                                    <botton class="btns exportFile">导出</botton>
380 380
                                 </td>
381 381
                             </tr>
382 382
                         </table>
@@ -750,7 +750,7 @@
750 750
             layer.open({
751 751
                 type: 2,
752 752
                 content: "../CommonHtml/banli_zilei.html?wid=" + str + "&isProtect=" +
753
-                isProtect, //iframe的url,no代表不显示滚动条
753
+                    isProtect, //iframe的url,no代表不显示滚动条
754 754
                 title: '办理工单',
755 755
                 area: ['90%', '80%'], //宽高
756 756
             });
@@ -1048,6 +1048,56 @@
1048 1048
             }
1049 1049
 
1050 1050
         };
1051
+        $(".exportFile").click(function () {
1052
+            var usercode_ = $("#ZX").val(); //坐席
1053
+            if (usercode_ != null) {
1054
+                $(usercode_).each(function (i, n) {
1055
+                    var obj1 = "";
1056
+                    obj1 = n + ",";
1057
+                    usercodeID += obj1;
1058
+                });
1059
+            } else {
1060
+                usercodeID = "";
1061
+            }
1062
+
1063
+            //      	调度员
1064
+            var ddusercodeID = "";
1065
+            var ddusercode_ = $("#yardman").val(); //坐席
1066
+            if (ddusercode_ != null) {
1067
+                $(ddusercode_).each(function (i, n) {
1068
+                    var obj2 = "";
1069
+                    obj2 = n + ",";
1070
+                    ddusercodeID += obj2;
1071
+                });
1072
+            } else {
1073
+                ddusercodeID = "";
1074
+            }
1075
+
1076
+            // var isproresult = 2 // 已办未果
1077
+            var key = $("#key").val() //=关键字
1078
+            var tel = $("#tel").val() //=客户电话
1079
+            var name = $("#name").val() //=客户名称
1080
+            var usercode = usercodeID //=坐席工号
1081
+            var ddusercode = ddusercodeID
1082
+            var source = $("#source").val() //=来源&
1083
+            var starttime = $("#starttime").val() //=开始时间
1084
+            var endtime = $("#endtime").val() //=结束时间
1085
+            var deptid = $("#PID").val()
1086
+            var type = $("#type").val() //=工单类型
1087
+            var dealtype = $("#dealtype").val()
1088
+            var sourcearea = $("#sourceAreas").val() //区域
1089
+            var workid = $("#wids").val()
1090
+            var state = "" //=工单状态
1091
+            var tab = 1
1092
+            var keyid = $("#keyid").val() //=关键词id
1093
+
1094
+            var url = huayi.config.callcenter_url + "WorkOrder/GetEJDWDealList?token=" + $.cookie("token");
1095
+            url += "&workid=" + workid + "&state=" + state + "&tab=" + tab + "&type=" + type + "&key=" + key +
1096
+                "&tel=" + tel + "&name=" + name + "&usercode=" + usercode + "&ddusercode=" + ddusercode +
1097
+                "&keyid=" + keyid + "&source=" + source + "&starttime=" + starttime + "&endtime=" + endtime +
1098
+                "&deptid=" + deptid + "&sourcearea=" + sourcearea + "&dealtype=" + dealtype + "&isdc=1";
1099
+            window.location.href = url;
1100
+        })
1051 1101
     </script>
1052 1102
 </body>
1053 1103
 

+ 6 - 0
WebUI/CallCenterWeb.UI/MultimediaWorkOrder/LawsuitMedia.html

@@ -509,6 +509,12 @@
509 509
                                     <th data-field="LimitTime" data-formatter="BanTime" data-align="center">
510 510
                                         办理时限
511 511
                                     </th>
512
+                                    <th data-field="F_Result" data-formatter="GetCont" data-align="center">
513
+                                        处理内容
514
+                                    </th>
515
+                                    <th data-field="F_ComContent" data-formatter="GetCont" data-align="center">
516
+                                        工单内容
517
+                                    </th>
512 518
                                     <th data-field="FilePath" data-formatter="setCode" data-align="center">
513 519
                                         录音
514 520
                                     </th>

+ 2 - 1
WebUI/CallCenterWeb.UI/Script/Common/huayi.http.js

@@ -853,7 +853,7 @@ helper.DateFormat = {
853 853
 			if(time < 60) {
854 854
 				var s = time;
855 855
 				time = s + '秒';
856
-			} else if(time > 60 && time < 3600) {
856
+			} else if(time >= 60 && time < 3600) {
857 857
 				var m = parseInt(time / 60);
858 858
 				var s = parseInt(time % 60);
859 859
 				time = m + "分钟" + s + "秒";
@@ -929,6 +929,7 @@ helper.init = {
929 929
 					data = data
930 930
 				}
931 931
 				if(data.state.toLowerCase() == "notoken") {
932
+                    debugger;
932 933
 					top.window.location.href = "/login.html";
933 934
 					return;
934 935
 				}

+ 4 - 0
WebUI/CallCenterWeb.UI/SystemManager/css/shuJuZiDian.css

@@ -1,5 +1,6 @@
1 1
 .box {
2 2
 	width: 30%;
3
+    /* height: 50%; */
3 4
 }
4 5
 
5 6
 .delModel .box,
@@ -14,6 +15,9 @@
14 15
 	height: 340px;
15 16
 	overflow-y: auto;*/
16 17
 /*}*/
18
+.boxCon {
19
+    height: 500px;
20
+}
17 21
 
18 22
 .boxCon table {
19 23
 	width: 100%;

+ 407 - 391
WebUI/CallCenterWeb.UI/SystemManager/js/shuJuZiDian.js

@@ -1,425 +1,441 @@
1
-	var tps = $('.tps');
2
-	var id = ''; //当前节点id
3
-	var name=''; //当前节点name
4
-	var pid; //当前节点父ID
5
-	var pidName;//
6
-	var xlName; //添加弹出框内下拉框内节点name
7
-	var token = $.cookie("token");
8
-	tree();
9
-	departmentTree();//部门名称数据
1
+var tps = $(".tps");
2
+var id = ""; //当前节点id
3
+var name = ""; //当前节点name
4
+var pid; //当前节点父ID
5
+var pidName; //
6
+var xlName; //添加弹出框内下拉框内节点name
7
+var token = $.cookie("token");
8
+tree();
9
+departmentTree(); //部门名称数据
10 10
 
11
-	function tree() {
12
-		$.get(huayi.config.callcenter_url + 'Dictionary/GetZTreeList', {
13
-			"token": $.cookie("token"),
14
-//			"pid": pid
15
-		}, function(result) {
16
-			result = $.parseJSON(result);
17
-			$.fn.zTree.init($("#treeDemo"), setting1, result.data); //实例化树形图
18
-		});
19
-	}
20
-
21
-	var setting1 = {
22
-		data: {
23
-			key: {
24
-				name: "text"
25
-			},
26
-			simpleData: {
27
-				enable: true,
28
-				idKey: "id",
29
-				rootPId: 0
30
-			}
31
-		},
32
-		callback: {
33
-			onClick: zTreeOnClick
34
-		}
35
-	};
36
-
37
-	function zTreeOnClick(event, treeId, treeNode) {
38
-		id = treeNode.id;
39
-		name = treeNode.text;
40
-		var pidnode = treeNode.getParentNode();
41
-		if(pidnode) {
42
-			pidName = pidnode.text;
43
-			pid = pidnode.id;
44
-		} else {
45
-			pidName = "顶级分类";
46
-			pid =0;
47
-		}
48
-	};
49
-	var setting2 = {
50
-		data: {
51
-			key: {
52
-				name: "text"
53
-			},
54
-			simpleData: {
55
-				enable: true,
56
-				idKey: "id",
57
-				rootPId: 0
58
-			}
59
-		},
60
-		callback: {
61
-			onClick: addTreeClick
62
-		}
63
-	}
64
-
65
-	function addTreeClick(event, treeId, treeNode) {
66
-		addPid = treeNode.id;
67
-		console.log(addPid);
68
-		if(addPid==38){
69
-			$('.addkey').show();
70
-		}else{
71
-			$('.addkey').hide();
72
-		}
73
-		xlName = treeNode.text;
74
-		$('.inps1').val(xlName);
75
-
76
-	};
77
-	//删除按钮
78
-	$('.del').click(function() {
79
-		if(id == 'null' || id == '') {
80
-			layer.confirm('没有要删除的分类!', {
81
-				btn: ['确定']
82
-			});
83
-			return
84
-		} else {
85
-			$('.delModel').css('display', 'block');
86
-			$('.delName').html(name);
87
-		}
88
-	})
89
-	//关闭按钮
90
-	$('.delBtr').click(function() {
91
-		$('.delModel').css('display', 'none');
92
-	})
93
-	//确定删除按钮
94
-	$('.sure').click(function() {
95
-		$.ajax({
96
-			type: "post",
97
-			url: huayi.config.callcenter_url + "Dictionary/DelDicValue",
98
-			async: true,
99
-			dataType: 'json',
100
-			data: {
101
-				ids: id,
102
-				token: token
103
-			},
104
-			success: function(data) {
105
-				if(data.state == "success") {
106
-					layer.msg("删除成功!");
107
-					tree();
108
-				}
109
-			}
110
-		});
111
-		$('.delModel').css('display', 'none');
112
-
113
-	})
114
-	//取消删除按钮
115
-	$('.return').click(function() {
116
-		$('.delModel').css('display', 'none');
117
-	})
118
-
119
-	//添加按钮
120
-	$('.add').click(function() {
121
-		$('.addModel').css('display', 'block');
122
-		if(name) {
123
-			if(name=='关键字'){
124
-				$('.addkey').show()
125
-			}else{
126
-				$('.addkey').hide()
127
-			}
128
-			tps.html(name);
129
-			$('.inps1').val(name);
130
-			addPid = id;
131
-		} else {
132
-			tps.html('顶级分类');
133
-			$('.inps1').val('顶级分类');
134
-			addPid = 0;
135
-		}
136
-		treeCont();
137
-
138
-	})
139
-	//添加关闭按钮
140
-	$('.addBtr').click(function() {
141
-		$('.addModel').css('display', 'none');
142
-		$('.addTree3').css('display','none')
143
-	})
144
-	//添加内容下拉
145
-	$('.inps1').click(function() {
146
-		$('.xlAdd').css('display', 'block')
147
-	})
148
-	$('.xl_one').click(function() {
149
-		if($('.xlAdd').css('display') == 'block') {
150
-			$('.xlAdd').css('display', 'none')
151
-		} else {
152
-			$('.xlAdd').css('display', 'block')
153
-		}
154
-	})
155
-	$('.addTree').mouseleave(function() {
156
-		$(this).css('display', 'none')
157
-	})
158
-	//保存添加按钮
159
-	var addPid, addDeptname, addSort;
160
-	//添加弹出框内 所属部门下拉框内数据
161
-	function treeCont() {
162
-		$.get(huayi.config.callcenter_url + 'Dictionary/GetZTreeList', {
163
-			"token": $.cookie("token"),
164
-//			"pid": pid
165
-		}, function(result) {
166
-			result = $.parseJSON(result);
167
-			$.fn.zTree.init($("#addTreeDemo"), setting2, result.data); //实例化树形图
168
-		});
169
-
170
-	}
171
-	$('.addCun').click(function() {
172
-						console.log(addPid);
173
-		if($('.inps2').val() == "") {
174
-		    if (addPid.length <= 0) {
175
-				layer.confirm('所添加内容不能为空!', {
176
-					btn: ['确定']
177
-				});
178
-				return;
179
-			}
180
-		} else {
181
-			addDeptname = $('.inps2').val();
182
-			$('.addModel').css('display', 'none');
183
-			$.ajax({
184
-				type: "post",
185
-				url: huayi.config.callcenter_url + "Dictionary/AddDicValue",
186
-				dataType: 'json',
187
-				async: true,
188
-				data: {
189
-					pid: addPid, //当前选择节点ID
190
-					name: addDeptname, //部门名称
191
-					deptid:$("#Dpment").val(),//部门名称id
192
-					token: token
193
-				},
194
-				success: function(data) {
195
-					//					console.log(data)
196
-					//					console.log(data.state);
197
-					if(data.state == "success") {
198
-						layer.msg("添加成功!");
199
-						tree();
200
-						$('.inps1').val('');
201
-						$('.inps2').val('');
202
-						$('.inps3').val('');
203
-
204
-					}
205
-				}
11
+function tree() {
12
+    $.get(
13
+        huayi.config.callcenter_url + "Dictionary/GetZTreeList",
14
+        {
15
+            token: $.cookie("token"),
16
+            //			"pid": pid
17
+        },
18
+        function (result) {
19
+            result = $.parseJSON(result);
20
+            $.fn.zTree.init($("#treeDemo"), setting1, result.data); //实例化树形图
21
+        }
22
+    );
23
+}
206 24
 
207
-			});
25
+var setting1 = {
26
+    data: {
27
+        key: {
28
+            name: "text",
29
+        },
30
+        simpleData: {
31
+            enable: true,
32
+            idKey: "id",
33
+            rootPId: 0,
34
+        },
35
+    },
36
+    callback: {
37
+        onClick: zTreeOnClick,
38
+    },
39
+};
208 40
 
209
-		}
210
-	})
41
+function zTreeOnClick(event, treeId, treeNode) {
42
+    id = treeNode.id;
43
+    name = treeNode.text;
44
+    var pidnode = treeNode.getParentNode();
45
+    if (pidnode) {
46
+        pidName = pidnode.text;
47
+        pid = pidnode.id;
48
+    } else {
49
+        pidName = "顶级分类";
50
+        pid = 0;
51
+    }
52
+}
53
+var setting2 = {
54
+    data: {
55
+        key: {
56
+            name: "text",
57
+        },
58
+        simpleData: {
59
+            enable: true,
60
+            idKey: "id",
61
+            rootPId: 0,
62
+        },
63
+    },
64
+    callback: {
65
+        onClick: addTreeClick,
66
+    },
67
+};
211 68
 
212
-	//修改按钮
213
-	var chanPid, //修改弹出框内 下拉框父节点ID
214
-		chanId, //修改弹出框内 下拉框当前节点ID
215
-		changeName, //修改弹出框内 下拉框当前节点name
216
-		chbcName, //保存的部门名称
217
-		chbcSort, //保存的排序号
218
-		chbcPid; //保存的所属部门ID
219
-	$('.change').click(function() {
220
-		if(id == 'null' || id == '') {
221
-			layer.confirm('没有选择要修改的项!', {
222
-				btn: ['确定']
223
-			})
224
-			return
225
-		} else {
226
-			if(pid=='38'){
227
-				$('.editkey').show()
228
-			}else{
229
-				$('.editkey').hide()
230
-			}
231
-			changeAjax(id);
232
-			$('.changeModel').css('display', 'block');
233
-			$('.chtps').html(name);
234
-//			console.log(pidName);
235
-//			console.log(pid);
236
-			$('.inps4').val(pidName);
237
-			chbcPid=pid;
238
-			changeTreeCont();
239
-		}
69
+function addTreeClick(event, treeId, treeNode) {
70
+    addPid = treeNode.id;
71
+    console.log(addPid);
72
+    if (addPid == 38) {
73
+        $(".addkey").show();
74
+    } else {
75
+        $(".addkey").hide();
76
+    }
77
+    xlName = treeNode.text;
78
+    $(".inps1").val(xlName);
79
+}
80
+//删除按钮
81
+$(".del").click(function () {
82
+    if (id == "null" || id == "") {
83
+        layer.confirm("没有要删除的分类!", {
84
+            btn: ["确定"],
85
+        });
86
+        return;
87
+    } else {
88
+        $(".delModel").css("display", "block");
89
+        $(".delName").html(name);
90
+    }
91
+});
92
+//关闭按钮
93
+$(".delBtr").click(function () {
94
+    $(".delModel").css("display", "none");
95
+});
96
+//确定删除按钮
97
+$(".sure").click(function () {
98
+    $.ajax({
99
+        type: "post",
100
+        url: huayi.config.callcenter_url + "Dictionary/DelDicValue",
101
+        async: true,
102
+        dataType: "json",
103
+        data: {
104
+            ids: id,
105
+            token: token,
106
+        },
107
+        success: function (data) {
108
+            if (data.state == "success") {
109
+                layer.msg("删除成功!");
110
+                tree();
111
+            }
112
+        },
113
+    });
114
+    $(".delModel").css("display", "none");
115
+});
116
+//取消删除按钮
117
+$(".return").click(function () {
118
+    $(".delModel").css("display", "none");
119
+});
240 120
 
241
-	});
242
-	//关闭按钮
243
-	$('.changeBtr').click(function() {
244
-		$('.changeModel').css('display', 'none');
245
-		$('.addTree3').css('display','none')
246
-	}) ;
247
-	$('.inps4').click(function() {
248
-		$('.xlChange').css('display', 'block')
249
-	})
250
-	//下拉按钮功能
251
-	$('.xl_two').click(function() {
252
-		if($('.xlChange').css('display') == 'block') {
253
-			$('.xlChange').css('display', 'none')
254
-		} else {
255
-			$('.xlChange').css('display', 'block')
256
-		}
257
-	})
258
-	//修改弹出框内 下拉树形图参数配置项
259
-	var setting3 = {
260
-		data: {
261
-			key: {
262
-				name: "text"
263
-			},
264
-			simpleData: {
265
-				enable: true,
266
-				idKey: "id",
267
-				rootPId: 0
268
-			}
269
-		},
270
-		callback: {
271
-			onClick: changeTreeClick
272
-		}
273
-	}
121
+//添加按钮
122
+$(".add").click(function () {
123
+    $(".addModel").css("display", "block");
124
+    if (name) {
125
+        if (name == "关键字") {
126
+            $(".addkey").show();
127
+        } else {
128
+            $(".addkey").hide();
129
+        }
130
+        tps.html(name);
131
+        $(".inps1").val(name);
132
+        addPid = id;
133
+    } else {
134
+        tps.html("顶级分类");
135
+        $(".inps1").val("顶级分类");
136
+        addPid = 0;
137
+    }
138
+    treeCont();
139
+});
140
+//添加关闭按钮
141
+$(".addBtr").click(function () {
142
+    $(".addModel").css("display", "none");
143
+    $(".addTree3").css("display", "none");
144
+});
145
+//添加内容下拉
146
+$(".inps1").click(function () {
147
+    $(".xlAdd").css("display", "block");
148
+});
149
+$(".xl_one").click(function () {
150
+    if ($(".xlAdd").css("display") == "block") {
151
+        $(".xlAdd").css("display", "none");
152
+    } else {
153
+        $(".xlAdd").css("display", "block");
154
+    }
155
+});
156
+$(".addTree").mouseleave(function () {
157
+    $(this).css("display", "none");
158
+});
159
+//保存添加按钮
160
+var addPid, addDeptname, addSort;
161
+//添加弹出框内 所属部门下拉框内数据
162
+function treeCont() {
163
+    $.get(
164
+        huayi.config.callcenter_url + "Dictionary/GetZTreeList",
165
+        {
166
+            token: $.cookie("token"),
167
+            //			"pid": pid
168
+        },
169
+        function (result) {
170
+            result = $.parseJSON(result);
171
+            $.fn.zTree.init($("#addTreeDemo"), setting2, result.data); //实例化树形图
172
+        }
173
+    );
174
+}
175
+$(".addCun").click(function () {
176
+    console.log(addPid);
177
+    if ($(".inps2").val() == "") {
178
+        if (addPid.length <= 0) {
179
+            layer.confirm("所添加内容不能为空!", {
180
+                btn: ["确定"],
181
+            });
182
+            return;
183
+        }
184
+    } else {
185
+        addDeptname = $(".inps2").val();
186
+        $(".addModel").css("display", "none");
187
+        $.ajax({
188
+            type: "post",
189
+            url: huayi.config.callcenter_url + "Dictionary/AddDicValue",
190
+            dataType: "json",
191
+            async: true,
192
+            data: {
193
+                pid: addPid, //当前选择节点ID
194
+                name: addDeptname, //部门名称
195
+                deptid: $("#Dpment").val(), //部门名称id
196
+                token: token,
197
+            },
198
+            success: function (data) {
199
+                //					console.log(data)
200
+                //					console.log(data.state);
201
+                if (data.state == "success") {
202
+                    layer.msg("添加成功!");
203
+                    tree();
204
+                    $(".inps1").val("");
205
+                    $(".inps2").val("");
206
+                    $(".inps3").val("");
207
+                }
208
+            },
209
+        });
210
+    }
211
+});
274 212
 
275
-	function changeTreeClick(event, treeId, treeNode) {
276
-//		chanPid = treeNode.pId;
277
-		chanId = treeNode.id;
278
-		if(chanId==38){
279
-			$('.editkey').show()
280
-		}else{
281
-			$('.editkey').hide()
282
-		}
283
-		changeName = treeNode.text;
284
-		$('.inps4').val(changeName);
285
-		var pidnode = treeNode.getParentNode();
286
-		if(pidnode) {
287
-			chanPid = pidnode.id;
288
-		} else {
289
-			chanPid =0;
290
-		}
291
-		chbcPid=chanId;
292
-	};
213
+//修改按钮
214
+var chanPid, //修改弹出框内 下拉框父节点ID
215
+    chanId, //修改弹出框内 下拉框当前节点ID
216
+    changeName, //修改弹出框内 下拉框当前节点name
217
+    chbcName, //保存的部门名称
218
+    chbcSort, //保存的排序号
219
+    chbcPid; //保存的所属部门ID
220
+$(".change").click(function () {
221
+    if (id == "null" || id == "") {
222
+        layer.confirm("没有选择要修改的项!", {
223
+            btn: ["确定"],
224
+        });
225
+        return;
226
+    } else {
227
+        // if (pid == "38") {
228
+            $(".editkey").show();
229
+        // } else {
230
+        //     $(".editkey").hide();
231
+        // }
232
+        changeAjax(id);
233
+        $(".changeModel").css("display", "block");
234
+        $(".chtps").html(name);
235
+        //			console.log(pidName);
236
+        //			console.log(pid);
237
+        $(".inps4").val(pidName);
238
+        chbcPid = pid;
239
+        changeTreeCont();
240
+    }
241
+});
242
+//关闭按钮
243
+$(".changeBtr").click(function () {
244
+    $(".changeModel").css("display", "none");
245
+    $(".addTree3").css("display", "none");
246
+});
247
+$(".inps4").click(function () {
248
+    $(".xlChange").css("display", "block");
249
+});
250
+//下拉按钮功能
251
+$(".xl_two").click(function () {
252
+    if ($(".xlChange").css("display") == "block") {
253
+        $(".xlChange").css("display", "none");
254
+    } else {
255
+        $(".xlChange").css("display", "block");
256
+    }
257
+});
258
+//修改弹出框内 下拉树形图参数配置项
259
+var setting3 = {
260
+    data: {
261
+        key: {
262
+            name: "text",
263
+        },
264
+        simpleData: {
265
+            enable: true,
266
+            idKey: "id",
267
+            rootPId: 0,
268
+        },
269
+    },
270
+    callback: {
271
+        onClick: changeTreeClick,
272
+    },
273
+};
293 274
 
294
-	//修改弹出框内 所属部门下拉框内数据
295
-	function changeTreeCont() {
296
-		$.get(huayi.config.callcenter_url + 'Dictionary/GetZTreeList', {
297
-			"token": $.cookie("token"),
298
-//			"pid": pid
299
-		}, function(result) {
300
-			result = $.parseJSON(result);
301
-			$.fn.zTree.init($("#changeTreeDemo"), setting3, result.data); //实例化树形图
302
-		});
303
-	}
275
+function changeTreeClick(event, treeId, treeNode) {
276
+    //		chanPid = treeNode.pId;
277
+    chanId = treeNode.id;
278
+    if (chanId == 38) {
279
+        $(".editkey").show();
280
+    } else {
281
+        $(".editkey").hide();
282
+    }
283
+    changeName = treeNode.text;
284
+    $(".inps4").val(changeName);
285
+    var pidnode = treeNode.getParentNode();
286
+    if (pidnode) {
287
+        chanPid = pidnode.id;
288
+    } else {
289
+        chanPid = 0;
290
+    }
291
+    chbcPid = chanId;
292
+}
304 293
 
305
-	function changeAjax(id) {
306
-		$.ajax({
307
-			type: "get",
308
-			url: huayi.config.callcenter_url + "Dictionary/GetDicValue",
309
-			dataType: 'json',
310
-			async: true,
311
-			data: {
312
-				id: id,
313
-				token: token
314
-			},
315
-			success: function(data) {
316
-				var chanCon = data.data;
317
-				if(pid == 0) {
318
-					$('.inps4').val('顶级分类');
319
-					chbcPid =pid;
320
-				} else {
321
-					$('.inps4').val(pidName);
322
-					chbcPid=pid;
323
-				}
324
-				$('.inps5').val(chanCon.F_Value);
325
-				$('.inps3').val(chanCon.F_DeptName);
326
-				$('#Dpment').val(chanCon.F_Deptid);
327
-//				$('.inps6').val(chanCon.sort);
328
-//				chbcSort = chanCon.sort;
329
-				chbcName = chanCon.F_Value;
330
-			}
331
-		});
332
-	}
333
-	//修改的保存按钮功能
334
-	function changeBaoCunAjax(id, chbcPid, chbcName) {
335
-		$.ajax({
336
-			type: "post",
337
-			url: huayi.config.callcenter_url + "Dictionary/AddDicValue",
338
-			async: true,
339
-			dataType: 'json',
340
-			data: {
341
-				id: id,
342
-				pid: chbcPid,
343
-				name: chbcName,
344
-				deptid:$("#Dpment").val(),//部门名称id
345
-				token: token
346
-			},
347
-			success: function(data) {
348
-				if(data.state == "success") {
349
-					layer.msg("修改成功!");
350
-					tree();
351
-				}
352
-			}
353
-		});
354
-	}
294
+//修改弹出框内 所属部门下拉框内数据
295
+function changeTreeCont() {
296
+    $.get(
297
+        huayi.config.callcenter_url + "Dictionary/GetZTreeList",
298
+        {
299
+            token: $.cookie("token"),
300
+            //			"pid": pid
301
+        },
302
+        function (result) {
303
+            result = $.parseJSON(result);
304
+            $.fn.zTree.init($("#changeTreeDemo"), setting3, result.data); //实例化树形图
305
+        }
306
+    );
307
+}
355 308
 
356
-	$('.changeCun').click(function() {
357
-		if($('.inps4').val() == "" || $('.inps5').val() == "") {
358
-			layer.confirm('所修改内容不允许为空!', {
359
-				btn: ['确定']
360
-			});
361
-			return;
362
-		} else {
363
-			$('.changeModel').css('display', 'none');
364
-			console.log('部门id'+id +'所属部门id' + chbcPid +'部门名称'+chbcName+'排序'+chbcSort);
365
-			chbcPid;
366
-			chbcName = $('.inps5').val();
367
-//			chbcSort = $('.inps6').val();
368
-			changeBaoCunAjax(id, chbcPid, chbcName);
369
-		}
309
+function changeAjax(id) {
310
+    $.ajax({
311
+        type: "get",
312
+        url: huayi.config.callcenter_url + "Dictionary/GetDicValue",
313
+        dataType: "json",
314
+        async: true,
315
+        data: {
316
+            id: id,
317
+            token: token,
318
+        },
319
+        success: function (data) {
320
+            var chanCon = data.data;
321
+            if (pid == 0) {
322
+                $(".inps4").val("顶级分类");
323
+                chbcPid = pid;
324
+            } else {
325
+                $(".inps4").val(pidName);
326
+                chbcPid = pid;
327
+            }
328
+            $(".inps5").val(chanCon.F_Value);
329
+            $(".inps3").val(chanCon.F_DeptName);
330
+            $("#Dpment").val(chanCon.F_Deptid);
331
+            //				$('.inps6').val(chanCon.sort);
332
+            //				chbcSort = chanCon.sort;
333
+            chbcName = chanCon.F_Value;
334
+        },
335
+    });
336
+}
337
+//修改的保存按钮功能
338
+function changeBaoCunAjax(id, chbcPid, chbcName) {
339
+    $.ajax({
340
+        type: "post",
341
+        url: huayi.config.callcenter_url + "Dictionary/AddDicValue",
342
+        async: true,
343
+        dataType: "json",
344
+        data: {
345
+            id: id,
346
+            pid: chbcPid,
347
+            name: chbcName,
348
+            deptid: $("#Dpment").val(), //部门名称id
349
+            token: token,
350
+        },
351
+        success: function (data) {
352
+            if (data.state == "success") {
353
+                layer.msg("修改成功!");
354
+                tree();
355
+            }
356
+        },
357
+    });
358
+}
370 359
 
371
-	})
360
+$(".changeCun").click(function () {
361
+    if ($(".inps4").val() == "" || $(".inps5").val() == "") {
362
+        layer.confirm("所修改内容不允许为空!", {
363
+            btn: ["确定"],
364
+        });
365
+        return;
366
+    } else {
367
+        $(".changeModel").css("display", "none");
368
+        console.log(
369
+            "部门id" +
370
+                id +
371
+                "所属部门id" +
372
+                chbcPid +
373
+                "部门名称" +
374
+                chbcName +
375
+                "排序" +
376
+                chbcSort
377
+        );
378
+        chbcPid;
379
+        chbcName = $(".inps5").val();
380
+        //			chbcSort = $('.inps6').val();
381
+        changeBaoCunAjax(id, chbcPid, chbcName);
382
+    }
383
+});
372 384
 //部门名称数据
373 385
 function departmentTree() {
374
-    $.get(huayi.config.callcenter_url + 'Department/GetDeptList', {
375
-        "token": $.cookie("token"),
376
-        //		"pid": pid
377
-    }, function (result) {
378
-        result = $.parseJSON(result);
379
-        $.fn.zTree.init($("#addTreeDemo3"), setting4, result.data); //实例化树形图
380
-        $.fn.zTree.init($("#addTreeDemo6"), setting4, result.data); //实例化树形图
381
-    });
386
+    $.get(
387
+        huayi.config.callcenter_url + "Department/GetDeptList",
388
+        {
389
+            token: $.cookie("token"),
390
+            //		"pid": pid
391
+        },
392
+        function (result) {
393
+            result = $.parseJSON(result);
394
+            $.fn.zTree.init($("#addTreeDemo3"), setting4, result.data); //实例化树形图
395
+            $.fn.zTree.init($("#addTreeDemo6"), setting4, result.data); //实例化树形图
396
+        }
397
+    );
382 398
 }
383 399
 var setting4 = {
384 400
     data: {
385 401
         key: {
386
-            name: "F_DeptName"
402
+            name: "F_DeptName",
387 403
         },
388 404
         simpleData: {
389 405
             enable: true,
390 406
             idKey: "F_DeptId",
391 407
             pIdKey: "F_PartentId",
392
-            rootPId: 0
393
-        }
408
+            rootPId: 0,
409
+        },
394 410
     },
395 411
     callback: {
396
-        onClick: zTreeOnClick3
397
-    }
412
+        onClick: zTreeOnClick3,
413
+    },
398 414
 };
399 415
 function zTreeOnClick3(event, treeId, treeNode) {
400
-    if (treeNode.level >= 2) {
401
-        $('.inps3').val(treeNode.F_DeptName);
416
+    // if (treeNode.level >= 2) {
417
+        $(".inps3").val(treeNode.F_DeptName);
402 418
         $("#PID").val(treeNode.F_DeptId);
403 419
         $("#Dpment").val(treeNode.F_DeptId);
404 420
         $(".Cleans").show();
405
-    }
406
-};
407
-$('.inps3').focus(function () {
408
-    $('.xlAdd3').css('display', 'block')
409
-})
410
-$('.xl3').click(function () {
411
-    if ($('.xlAdd3').css('display') == 'block') {
412
-        $('.xlAdd3').css('display', 'none')
421
+    // }
422
+}
423
+$(".inps3").focus(function () {
424
+    $(".xlAdd3").css("display", "block");
425
+});
426
+$(".xl3").click(function () {
427
+    if ($(".xlAdd3").css("display") == "block") {
428
+        $(".xlAdd3").css("display", "none");
413 429
     } else {
414
-        $('.xlAdd3').css('display', 'block')
430
+        $(".xlAdd3").css("display", "block");
415 431
     }
416
-})
417
-$('.addTree3').mouseleave(function () {
418
-    $(this).css('display', 'none')
419
-})
432
+});
433
+$(".addTree3").mouseleave(function () {
434
+    $(this).css("display", "none");
435
+});
420 436
 //清除
421 437
 $(".Cleans ").click(function () {
422
-    $('.inps3').val("");
438
+    $(".inps3").val("");
423 439
     $("#PID").val("");
424 440
     $("#Dpment").val("");
425
-})
441
+});

+ 90 - 97
WebUI/CallCenterWeb.UI/SystemManager/shuJuZiDian.html

@@ -15,7 +15,8 @@
15 15
     <div class="container-fluid wrapper-content animated fadeInRight">
16 16
         <div class="daoHang clearfix">
17 17
             <div class="dhLeft">
18
-                <sapn><i class="syIcon"></i>位置:<a id="ReIndex" href="javaScript:;">首页</a>&gt;<a href="javaScript:;">系统管理</a>&gt;<a href="" class="nowPosition">数据字典维护</a></sapn>
18
+                <sapn><i class="syIcon"></i>位置:<a id="ReIndex" href="javaScript:;">首页</a>&gt;<a
19
+                        href="javaScript:;">系统管理</a>&gt;<a href="" class="nowPosition">数据字典维护</a></sapn>
19 20
             </div>
20 21
             <div class="dhRight"><a href="" title="刷新"><i class="fa fa-refresh"></i></a></div>
21 22
         </div>
@@ -31,107 +32,99 @@
31 32
         </div>
32 33
 
33 34
     </div>
34
- <!--添加弹出内容-->
35
-		<div class="model addModel">
36
-			<div class="box">
37
-				<div class="btop clearfix">
38
-					<p class="btl"><span>添加</span>&nbsp;&lfloor;&nbsp;&nbsp;<span class="tps" style="color: red;"></span>&nbsp;&nbsp;&rceil;&nbsp;分类</p>
39
-					<p class="btr addBtr" title="关闭">X</p>
40
-				</div>
41
-				<div class="boxCon">
42
-					<div>所属分类:
43
-						<div class="inpBox">
44
-							<input type="text" class="inps inps1" />
45
-							<i class="xl xl_one"></i>
46
-							<div class="addTree xlAdd">
47
-								<ul id="addTreeDemo" class="ztree">
48
-									
49
-								</ul>
50
-							</div>
51
-						</div>
52
-					</div>
53
-					<div>分类名称:<input class="inps inps2" type="text" /></div>
54
-					<div class="addkey">部门名称:
55
-						 <div class="inpBox">
56
-                            <input type="text" class="inps3" />
57
-                            <i class="Cleans  fa fa-close"></i>
58
-                            <i class="xl3 xl_one3"></i>
59
-                            <div class="addTree3 xlAdd3">
60
-                                <ul id="addTreeDemo3" class="ztree"></ul>
61
-                            </div>
62
-                       </div>
63
-					</div>
64
-					<!--<div>排列序号:<input class="inps inps3" type="text" /></div>-->
65
-					<div><button class="btns addCun">保存</button></div>
66
-				</div>
67
-			</div>
35
+    <!--添加弹出内容-->
36
+    <div class="model addModel">
37
+        <div class="box">
38
+            <div class="btop clearfix">
39
+                <p class="btl"><span>添加</span>&nbsp;&lfloor;&nbsp;&nbsp;<span class="tps"
40
+                        style="color: red;"></span>&nbsp;&nbsp;&rceil;&nbsp;分类</p>
41
+                <p class="btr addBtr" title="关闭">X</p>
42
+            </div>
43
+            <div class="boxCon">
44
+                <div>所属分类:
45
+                    <div class="inpBox">
46
+                        <input type="text" class="inps inps1" />
47
+                        <i class="xl xl_one"></i>
48
+                        <div class="addTree xlAdd">
49
+                            <ul id="addTreeDemo" class="ztree">
50
+
51
+                            </ul>
52
+                        </div>
53
+                    </div>
54
+                </div>
55
+                <div>分类名称:<input class="inps inps2" type="text" /></div>
56
+                <div class="addkey">部门名称:
57
+                    <div class="inpBox">
58
+                        <input type="text" class="inps3" />
59
+                        <i class="Cleans  fa fa-close"></i>
60
+                        <i class="xl3 xl_one3"></i>
61
+                        <div class="addTree3 xlAdd3">
62
+                            <ul id="addTreeDemo3" class="ztree"></ul>
63
+                        </div>
64
+                    </div>
65
+                </div>
66
+                <!--<div>排列序号:<input class="inps inps3" type="text" /></div>-->
67
+                <div><button class="btns addCun">保存</button></div>
68
+            </div>
69
+        </div>
70
+
71
+    </div>
72
+    <!--删除弹出内容-->
73
+    <div class="model delModel">
74
+        <div class="box">
75
+            <div class="btop clearfix">
76
+                <p class="btl"><span>删除提示</span></p>
77
+                <p class="btr delBtr" title="关闭">X</p>
78
+            </div>
79
+            <div class="boxCon" style="height: 150px;">
80
+                您确定删除&nbsp;&lfloor;&nbsp;&nbsp;<span class="delName"
81
+                    style="color: red;"></span>&nbsp;&nbsp;&rceil;&nbsp;?
68 82
 
69
-		</div>
70
-		<!--删除弹出内容-->
71
-		<div class="model delModel">
72
-			<div class="box">
73
-				<div class="btop clearfix">
74
-					<p class="btl"><span>删除提示</span></p>
75
-					<p class="btr delBtr" title="关闭">X</p>
76
-				</div>
77
-				<div class="boxCon" style="height: 150px;">
78
-					您确定删除&nbsp;&lfloor;&nbsp;&nbsp;<span class="delName" style="color: red;"></span>&nbsp;&nbsp;&rceil;&nbsp;?
83
+                <p style="margin-top: 30px;"><button class="btns sure">确定</button>
84
+                    <button class="btns return">取消</button></p>
85
+                <!--<p style="color: red;">注:若该分类下包含知识库内容会一并删除</p>-->
86
+            </div>
79 87
 
80
-					<p style="margin-top: 30px;"><button class="btns sure">确定</button>
81
-						<button class="btns return">取消</button></p>
82
-					<!--<p style="color: red;">注:若该分类下包含知识库内容会一并删除</p>-->
83
-				</div>
88
+        </div>
84 89
 
85
-			</div>
90
+    </div>
91
+    <!--修改弹出内容-->
92
+    <div class="model changeModel">
93
+        <div class="box">
94
+            <div class="btop clearfix">
95
+                <p class="btl"><span>修改</span>&nbsp;&lfloor;&nbsp;&nbsp;<span class="tps chtps"
96
+                        style="color: red;"></span>&nbsp;&nbsp;&rceil;&nbsp;分类</p>
97
+                <p class="btr changeBtr" title="关闭">X</p>
98
+            </div>
99
+            <div class="boxCon">
100
+                <div>所属分类:
101
+                    <div class="inpBox">
102
+                        <input type="text" class="inps inps4" />
103
+                        <i class="xl xl_two"></i>
104
+                        <div class="addTree xlChange">
105
+                            <ul id="changeTreeDemo" class="ztree">
86 106
 
87
-		</div>
88
-		<!--修改弹出内容-->
89
-		<div class="model changeModel">
90
-			<div class="box">
91
-				<div class="btop clearfix">
92
-					<p class="btl"><span>修改</span>&nbsp;&lfloor;&nbsp;&nbsp;<span class="tps chtps" style="color: red;"></span>&nbsp;&nbsp;&rceil;&nbsp;分类</p>
93
-					<p class="btr changeBtr" title="关闭">X</p>
94
-				</div>
95
-				<div class="boxCon">
96
-					<div>所属分类:
97
-						<div class="inpBox">
98
-							<input type="text" class="inps inps4" />
99
-							<i class="xl xl_two"></i>
100
-							<div class="addTree xlChange">
101
-								<ul id="changeTreeDemo" class="ztree">
102
-									
103
-								</ul>
104
-							</div>
105
-						</div>
106
-					</div>
107
-					<div>分类名称:<input class="inps inps5" type="text" /></div>
108
-					<div class="editkey">部门名称:
109
-						 <div class="inpBox">
110
-                            <input type="text" class="inps3" />
111
-                            <i class="Cleans  fa fa-close"></i>
112
-                            <i class="xl3 xl_one3"></i>
113
-                            <div class="addTree3 xlAdd3">
114
-                                <ul id="addTreeDemo6" class="ztree"></ul>
115
-                            </div>
116
-                       </div>
117
-					</div>
118
-                    <div>分类名称:<input class="inps inps5" type="text" /></div>
119
-					<div class="editkey">部门名称:
120
-						 <div class="inpBox">
121
-                            <input type="text" class="inps3" />
122
-                            <i class="Cleans  fa fa-close"></i>
123
-                            <i class="xl3 xl_one3"></i>
124
-                            <div class="addTree3 xlAdd3">
125
-                                <ul id="addTreeDemo6" class="ztree"></ul>
126
-                            </div>
127
-                       </div>
128
-					</div>
129
-					<div><button class="btns changeCun">保存</button></div>
130
-				</div>
131
-			</div>
107
+                            </ul>
108
+                        </div>
109
+                    </div>
110
+                </div>
111
+                <div>分类名称:<input class="inps inps5" type="text" style="margin-left: 5px" /></div>
112
+                <div class="editkey">部门名称:
113
+                    <div class="inpBox">
114
+                        <input type="text" class="inps3" />
115
+                        <i class="Cleans  fa fa-close"></i>
116
+                        <i class="xl3 xl_one3"></i>
117
+                        <div class="addTree3 xlAdd3">
118
+                            <ul id="addTreeDemo6" class="ztree"></ul>
119
+                        </div>
120
+                    </div>
121
+                </div>
122
+                <div><button class="btns changeCun">保存</button></div>
123
+            </div>
124
+        </div>
132 125
 
133
-		</div>
134
-	<input type="hidden" id="PID" />
126
+    </div>
127
+    <input type="hidden" id="PID" />
135 128
     <input type="hidden" id="Dpment" />
136 129
 
137 130
     <script src="../js/zTree/jquery.ztree.core.js"></script>

+ 21 - 2
WebUI/CallCenterWeb.UI/TelCall/CallRecord.html

@@ -214,6 +214,19 @@
214 214
                         </td>
215 215
                     </tr>
216 216
                     <tr>
217
+                        <th>查询类型:</th>
218
+                        <td>
219
+                            <select id="islike" class="form-control Min-width" name="select">
220
+                                <option value="1">
221
+                                    模糊查询
222
+                                </option>
223
+                                <option value="0">
224
+                                    精确查询
225
+                                </option>
226
+                            </select>
227
+                        </td>
228
+                    </tr>
229
+                    <tr>
217 230
                         <th>时间:</th>
218 231
                         <td colspan="3">
219 232
                             <input id="start" class="photo x-color laydate-icon" type="text" />-<input id="end"
@@ -454,6 +467,7 @@
454 467
                         param.tasktype = $("#sf_hf").val(); //呼叫类型
455 468
                         param.extnumber = $("#extnumber").val();
456 469
                         param.phoneType = $("#phoneType").val();
470
+                        param.islike = $("#islike").val(); // 查询类型
457 471
                     } else if (stype == '2') {
458 472
                         param.usercode = $("#ss_seat").val();
459 473
                         param.tel = $("#ss_tel").val();
@@ -466,6 +480,7 @@
466 480
                         param.tasktype = $("#sf_hf").val(); //呼叫类型
467 481
                         param.extnumber = $("#extnumber").val();
468 482
                         param.phoneType = $("#phoneType").val();
483
+                        param.islike = $("#islike").val(); // 查询类型
469 484
                     }
470 485
                     return param;
471 486
                 },
@@ -523,9 +538,13 @@
523 538
             return html;
524 539
         }
525 540
 
526
-        function states(val) {
541
+        function states(val, row) {
527 542
             if (val == 0) {
528
-                return '<div class="imgs">未接通</div>';
543
+                if (row.CallType == 0 && !row.UserCode) {
544
+                    return '<div class="imgs">主动放弃</div>';
545
+                } else {
546
+                    return '<div class="imgs">未接通</div>';
547
+                }
529 548
             } else if (val == 1) {
530 549
                 return '<div class="imgs">已接通</div>';
531 550
             } else if (val == 2) {

+ 16 - 2
WebUI/CallCenterWeb.UI/home.html

@@ -490,6 +490,16 @@
490 490
             background-position: 0px -175px !important;
491 491
         }
492 492
 
493
+        /* 满意度 */
494
+        .satisfactionEvaluation {
495
+            background: url(img/satisfactionEvaluation.png) no-repeat !important;
496
+            background-size: 24px 21px !important;
497
+        }
498
+        .navbar-top-links .satisfactionEvaluation.active {
499
+            background: url(img/satisfactionEvaluation2.png) no-repeat !important;
500
+            background-size: 24px 21px !important;
501
+        }
502
+
493 503
         /*协商呼叫 */
494 504
 
495 505
         .Consult {
@@ -1378,6 +1388,10 @@
1378 1388
                                     <i class="iconfont fa-5x Retrieve"></i>
1379 1389
                                     <p>接回</p>
1380 1390
                                 </li>
1391
+                                <li datafun="satisfactionEvaluation">
1392
+                                    <i class="iconfont fa-5x satisfactionEvaluation"></i>
1393
+                                    <p>满意度</p>
1394
+                                </li>
1381 1395
                                 <li datafun="Login">
1382 1396
                                     <i class="iconfont fa-5x Login"></i>
1383 1397
                                     <p>签入</p>
@@ -1872,7 +1886,7 @@
1872 1886
                                             </select>
1873 1887
                                         </span>
1874 1888
                                     </div>
1875
-                                    <!-- <div class="form-group clearfix">
1889
+                                    <div class="form-group clearfix">
1876 1890
                                         <span class="col-sm-1">
1877 1891
                                             自动派单
1878 1892
                                         </span>
@@ -1887,7 +1901,7 @@
1887 1901
                                                 </option>
1888 1902
                                             </select>
1889 1903
                                         </span>
1890
-                                    </div> -->
1904
+                                    </div>
1891 1905
                                     <div class="form-group clearfix">
1892 1906
                                         <span class="col-sm-1 ">
1893 1907
                                             电话类别:

BIN
WebUI/CallCenterWeb.UI/img/satisfactionEvaluation.png


BIN
WebUI/CallCenterWeb.UI/img/satisfactionEvaluation2.png


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

@@ -445,10 +445,13 @@ $(document).ready(function () {
445 445
                         obj.IvrPos = "1";
446 446
                         Send();
447 447
                         break;
448
-                    // case "MeetingTakeBack": //多方通话回签
449
-                    //     obj.Type = "MeetingTakeBack";
450
-                    //     Send();
451
-                    //     break;
448
+                    case "MeetingTakeBack": //多方通话回签
449
+                        obj.Type = "MeetingTakeBack";
450
+                        Send();
451
+                        break;
452
+                    case "satisfactionEvaluation": //多方通话回签
453
+                        satisfactionEvaluationFun()
454
+                        break;
452 455
                     default:
453 456
                         Send();
454 457
                         break;
@@ -1024,7 +1027,7 @@ function Adds() {
1024 1027
             level: $("#level").val(), //=(1普通2紧急)
1025 1028
             issubmit: Statess, //=(0保存1保存并提交)
1026 1029
             business: threeWayCall,
1027
-            // ispd: $("#automaticDispatch").val() === "1" ? "1" : "", // 自动派单
1030
+            ispd: $("#automaticDispatch").val() === "1" ? "1" : "", // 自动派单
1028 1031
             token: $.cookie("token"),
1029 1032
         },
1030 1033
         success: function (data) {
@@ -2472,13 +2475,17 @@ function domainPrompt() {
2472 2475
 }
2473 2476
 
2474 2477
 $("#hangUpEvaluation").click(function () {
2478
+    satisfactionEvaluationFun()
2479
+});
2480
+
2481
+function satisfactionEvaluationFun() {
2475 2482
     obj.Type = "TurnIvr";
2476 2483
     obj.AgentID = $.cookie("zx_user");
2477 2484
     obj.AgentExten = $.cookie("extno");
2478 2485
     obj.IvrName = "MYD";
2479 2486
     obj.IvrPos = "1";
2480 2487
     Send();
2481
-});
2488
+}
2482 2489
 
2483 2490
 //获取知识库消息
2484 2491
 setInterval(getnew, 180000);

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

@@ -421,6 +421,7 @@ function LineStateAgentBack(data) {
421 421
         $(".Meeting").addClass("active");
422 422
         $('.TurnIvr').addClass("active");
423 423
         $('.Consult').addClass("active");
424
+        $('.satisfactionEvaluation').addClass("active");
424 425
         clearInterval(timer);
425 426
         timer = setInterval(function () {
426 427
             n++;
@@ -486,6 +487,7 @@ function MakeCallBack() {
486 487
     $("#top-search li i").removeClass("active");
487 488
     $(".DropCall").addClass("active");
488 489
     $(".Meeting").addClass("active");
490
+    $('.satisfactionEvaluation').addClass("active");
489 491
 }
490 492
 
491 493
 //默认记忆上次是否签入,是否置忙置闲 0表示已签入 空闲,1表示签入置忙,2表示签出