miaofuhao 2 years ago
parent
commit
1c1f62c31b

+ 3 - 7
WebChartNewest/Script/Common/huayi.config.js

@@ -2,13 +2,9 @@ if (huayi == undefined) {
2 2
     var huayi = {};
3 3
 }
4 4
 huayi.config = {
5
-	 callcenter_url: "http://192.168.8.9:1042/",//生产环境  
6
-//	callcenter_url: "http://docking.zwfw.anyang.gov.cn:65527/",
5
+//	 callcenter_url: "http://192.168.8.9:1042/",//生产环境  
6
+	callcenter_url: "http://docking.zwfw.anyang.gov.cn:65527/",
7 7
     socket_ip: "61.54.2.122",//ip 61.54.2.122:8081
8 8
     socket_port: "8081",//端口
9
-	//callcenter_url: "http://125.45.12.146:9998/",
10
-    //socket_ip: "125.45.12.123",//ip
11
-    //socket_port: "8081",//端口
12
-    menuworktime: 30000,//菜单工单数量刷新间隔
13
-    indextime: 30000//首页报表刷新间隔
9
+    indextime: 30000//报表刷新时间
14 10
 };

+ 11 - 4
WebChartNewest/index.html

@@ -110,10 +110,14 @@
110 110
 								<span class="num_roll" id="sls_num">0</span>
111 111
 								<span class="num_roll" id="slg_num">0</span>
112 112
 							</li>
113
-							<li><label>短&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;信:</label><span class="num_roll"
114
-									id="dxw_num">0</span><span class="num_roll" id="dxq_num">0</span><span
115
-									class="num_roll" id="dxb_num">0</span><span class="num_roll"
116
-									id="dxs_num">0</span><span class="num_roll" id="dxg_num">0</span></li>
113
+							<li>
114
+								<label>短&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;信:</label>
115
+								<span class="num_roll" id="dxw_num">0</span>
116
+								<span class="num_roll" id="dxq_num">0</span>
117
+								<span class="num_roll" id="dxb_num">0</span>
118
+								<span class="num_roll" id="dxs_num">0</span>
119
+								<span class="num_roll" id="dxg_num">0</span>
120
+							</li>
117 121
 							<li><label>市民来电:</label><span class="num_roll" id="szw_num">0</span><span class="num_roll"
118 122
 									id="szq_num">0</span><span class="num_roll" id="szb_num">0</span><span
119 123
 									class="num_roll" id="szs_num">0</span><span class="num_roll" id="szg_num">0</span>
@@ -914,6 +918,8 @@
914 918
 <script src="js/scrallNum/jquery.countUp.min.js"></script>
915 919
 <script src="js/scrallNum/jquery.waypoints.min.js"></script>
916 920
 <script src="./js/laydate/laydate.js"></script>
921
+<!--2023-08-23页面初始化后执行-->
922
+<script src="js/documentDready.js"></script>
917 923
 <!-- 首页js -->
918 924
 <script src="js/index.js"></script>
919 925
 <script src="js/main.js"></script>
@@ -931,4 +937,5 @@
931 937
 <script src="js/newAdd/timetype.js"></script>
932 938
 <!-- 2023-06-06 坐席监控修改 -->
933 939
 <script src="js/newSeats.js"></script>
940
+
934 941
 </html>

BIN
WebChartNewest/js.zip


+ 37 - 0
WebChartNewest/js/documentDready.js

@@ -0,0 +1,37 @@
1
+var formatDateParam,timeOutInit
2
+$(document).ready(function() {
3
+	getNowFormatDateMap() //现在的时间
4
+	documentInit()
5
+})
6
+function documentInit(){
7
+	
8
+		mapWorkOrder = []
9
+		mapNum = 0;
10
+		maxNum = []
11
+		dataNum = [];
12
+		series = [];
13
+		areaCount=[]
14
+	
15
+		initData()
16
+		getinitMap();
17
+		
18
+//		index.js
19
+		gettraffic() //话务量
20
+		getHotline() //热线
21
+		getHotThings() //重大事件
22
+		getKeyWord(); //热搜词
23
+		getworkOrderType() //工单类型
24
+		timeTable() //办理时限
25
+		getHotlineAccept() //热线受理
26
+		
27
+//		mian.js
28
+		agentCount();
29
+		getPhoneCount();
30
+		GetDistributionCount();
31
+		//	trafficData.js
32
+		getworkOrder()
33
+		
34
+		timeOutInit = setTimeout(function(){
35
+			documentInit()
36
+		},huayi.config.indextime)
37
+}

+ 7 - 153
WebChartNewest/js/index.js

@@ -14,32 +14,6 @@ var sourceCountId = [],
14 14
 	MajoreventsDataType = 0,
15 15
 	keyCountDataType = 0,
16 16
 	typeCountDataType = 0
17
-
18
-$(document).ready(function() {
19
-	//时段话务
20
-	gettraffic() //话务量
21
-	getHotline() //热线
22
-	getHotThings() //重大事件
23
-	getKeyWord(); //热搜词
24
-	getworkOrderType() //工单类型
25
-	timeTable() //办理时限
26
-	getHotlineAccept() //热线受理
27
-	getNowFormatDateMap() //现在的时间
28
-	//每个三十秒刷新一次
29
-	setInterval(function() {
30
-		gettraffic() //话务量
31
-		getHotline() //热线
32
-		getHotThings() //重大事件
33
-		getKeyWord(); //热搜词
34
-		getworkOrderType() //工单类型
35
-		timeTable() //办理时限
36
-		getHotlineAccept() //热线受理
37
-	}, 30000)
38
-	//热线整合
39
-	//$(".hotline").on("click","li",function(){
40
-	//  alert("段落被点击了");
41
-	//});
42
-})
43 17
 //关闭按钮
44 18
 $('.close_icon').click(function() {
45 19
 	console.log(11)
@@ -82,21 +56,11 @@ $('.closeMap_icon').click(function() {
82 56
 	})
83 57
 	$('.secondLevel_map .regionMap').html('');
84 58
 })
85
-//
86
-//热搜词移入,移入内容以外关闭出现页面
87
-//document.addEventListener('mousemove', (e) => {
88
-//	let t = document.getElementById('keyword'); // 最外层元素
89
-//	let l = document.getElementById('hotline3');
90
-//	if (!e.path.includes(t)) {
91
-//		$('.keyWrap').css('display', 'none')
92
-//	}
93
-//	if (!e.path.includes(l)) {
94
-//		$('.lineB').css('display', 'none')
95
-//	}
96
-//})
59
+
97 60
 $("#keyword").mouseleave(function() {
98 61
 	$('.keyWrap').css('display', 'none')
99 62
 });
63
+
100 64
 $("#hotline3").mouseleave(function() {
101 65
 	$('.lineB').css('display', 'none')
102 66
 });
@@ -1731,7 +1695,9 @@ function getNowFormatDateMap() {
1731 1695
 	var temp_time = year + '-' + month + '-' + strDate + ' ' + HMS;
1732 1696
 	$('.dataTime').text(temp_time);
1733 1697
 	$('.secondLevel_map .time').text(year + '-' + month + '-' + strDate)
1734
-	setInterval(getNowFormatDateMap, 1000);
1698
+	formatDateParam = setTimeout(function() {
1699
+		getNowFormatDateMap()
1700
+	},1000);
1735 1701
 }
1736 1702
 
1737 1703
 function getTimes(dom) {
@@ -2123,117 +2089,5 @@ $('#traffic').click(function() {
2123 2089
 		});
2124 2090
 	}
2125 2091
 })
2126
-//坐席
2127
-//$('#timeTraffic').click(function (e) {
2128
-//	let zxNum = Math.floor(Math.random() * 10000 + 10000)
2129
-//	let user;
2130
-//	$('.bulletFrame').show();
2131
-//	if ($('.bulletFrame').css('display') == 'block') {
2132
-//		$('.body').css('opacity', '0.4')
2133
-//	}
2134
-//	$('.seatMonitor').show();
2135
-//	$('.seatMonitor').siblings().hide()
2136
-//	//坐席列表展示 GetSeatflagList
2137
-//	$.getJSON(huayi.config.callcenter_url + 'SeatMonitoring/GetSeatGroupList', {}, function (res) {
2138
-//		user = res.data
2139
-//		if (res.state.toLowerCase() == "success") {
2140
-//			let str = ''
2141
-//			res.data.forEach(function (v, n) {
2142
-//				if (v.F_WorkNumber != 8071 && v.F_WorkNumber != 8069 && v.F_WorkNumber != 8062) {
2143
-////					var objSeat = {}
2144
-////					objSeat.groupID =v.F_SeartGroupID
2145
-////					objSeat.agentID =v.F_WorkNumber
2146
-////					seatData.push(objSeat) 
2147
-//					str +='<li>' 
2148
-//					if(v["坐席"]&&v["坐席"].length>0){
2149
-//						str += '<div class="group_btn">'+ v.F_Value+'组</div><dl>'
2150
-//						v["坐席"].forEach(function(m,n){
2151
-//							str += '<dt><div><div style="margin-right: 3px;"><span class="g-num">'+m.F_UserCode+
2152
-//								'</span></div><div><div class="bg_person"></div><p><span class="g-name">'+m.F_UserName+
2153
-//								'</span></p><i class="lx" zx_item="0" xl_item="0"></i></div></div></dt>'
2154
-//						})
2155
-//						str += '</dl>'
2156
-//					}
2157
-//					str += '</li>'
2158
-////					str += '<li class="people_list ' + v.F_WorkNumber + 
2159
-////					' "><div><div style="margin-right: 3px;"><span class="g-num">' + v.F_WorkNumber +
2160
-////					'</span></div><div ><div class="bg_person"></div><p><span class="g-name">' 
2161
-////					+ v.F_UserName+'</span> </p><i class="lx" zxGroup="'+v.F_SeartGroupID+
2162
-////					'"  zx_item="0" xl_item="0"></i></div></div></li>'
2163
-//				}
2164
-//			})
2165
-//			
2166
-//			$('.zx_people').html(str)
2167
-//		}
2168
-//	})
2169
-//	//实时话务统计
2170
-//	new doAjax({
2171
-//		url: huayi.config.callcenter_url + "/InfoNew/GetHWTypeCount24ByNow",
2172
-//		data: {},
2173
-//		callBack: function (res) {
2174
-//			getRealTimeTraffi(res.data.hours, res.data.hrcount[0], res.data.hccount[0])
2175
-//		}
2176
-//	});
2177
-//	//开始坐席监控
2178
-//	$('.star_btn').click(function (e) {
2179
-//		obj.AgentID = zxNum;
2180
-////		var a
2181
-//		$(user).each(function (i, n) {
2182
-//			obj.Type = "SubScribe";
2183
-//			obj.SubParmer = n.F_WorkNumber * 1;
2184
-//			obj.AgentExten = 1
2185
-//			obj.SubType = "0";//根据工号订阅坐席状态
2186
-//			Send();
2187
-//			obj.SubType = "1";//根据工号订阅线路状态
2188
-//			Send();
2189
-//		})
2190
-////		obj.Type = "SubScribe";
2191
-////		obj.SubParmer = 8002 * 1;
2192
-////		obj.AgentExten = 1
2193
-////		obj.SubType = "0";//根据工号订阅坐席状态
2194
-////		Send();
2195
-//////		obj.SubType = "1";//根据工号订阅线路状态
2196
-//////		Send();
2197
-////		obj.Type = "SubScribe";
2198
-////		obj.SubParmer = 8003 * 1;
2199
-////		obj.AgentExten = 1
2200
-////		obj.SubType = "0";//根据工号订阅坐席状态
2201
-////		Send();
2202
-////		obj.SubType = "1";//根据工号订阅线路状态
2203
-////		Send();
2204
-//		e.stopPropagation()
2205
-//	})
2206
-//	//关闭坐席监控
2207
-//	$('.stop_btn').click(function (e) {
2208
-//		$(user).each(function (i, n) {
2209
-//			top.obj.Type = "SubScribeCancel";
2210
-//			top.obj.SubParmer = "-1";
2211
-//			top.obj.SubType = "0";//根据工号取消订阅坐席状态
2212
-//			top.Send();
2213
-//			top.obj.SubType = "1";//根据工号取消订阅线路状态
2214
-//			top.Send();
2215
-//		})
2216
-//		e.stopPropagation()
2217
-//	})
2218
-//	//关闭坐席页面时结束坐席监控
2219
-//	$('.close_zxicon').click(function (e) {
2220
-//		$('.bulletFrame').hide();
2221
-//		$('.bulletFrameT').hide();
2222
-//		if ($('.bulletFrame').css('display') == 'none') {
2223
-//			$('.body').css('opacity', '1')
2224
-//		}
2225
-//		if ($('.bulletFrameT').css('display') == 'none') {
2226
-//			$('.body').css('opacity', '1')
2227
-//		}
2228
-//		$(user).each(function (i, n) {
2229
-//			top.obj.Type = "SubScribeCancel";
2230
-//			top.obj.SubParmer = "-1";
2231
-//			top.obj.SubType = "0";//根据工号取消订阅坐席状态
2232
-//			top.Send();
2233
-//			top.obj.SubType = "1";//根据工号取消订阅线路状态
2234
-//			top.Send();
2235
-//		})
2236
-//		e.stopPropagation()
2237
-//	})
2238
-//	e.stopPropagation()
2239
-//})
2092
+
2093
+

+ 2 - 0
WebChartNewest/js/login.js

@@ -67,6 +67,8 @@ $('.login_gl').click(function() {
67 67
 						expires: 7
68 68
 					});
69 69
 					loginHref()
70
+				}else {
71
+					alert(data.message)
70 72
 				}
71 73
 			}
72 74
 		});

+ 18 - 26
WebChartNewest/js/main.js

@@ -24,17 +24,6 @@ let callSeatStateName = ['等待', '通话中', '话后处理', '置忙', '空
24 24
 var lasttime = new Date().getTime();
25 25
 let callSeatStateData;
26 26
 let locationNum = 0;
27
-//坐席分析
28
-$(document).ready(function() {
29
-	agentCount();
30
-	getPhoneCount();
31
-	GetDistributionCount()
32
-	setInterval(function() {
33
-		agentCount();
34
-		getPhoneCount();
35
-		GetDistributionCount();
36
-	}, 120000)
37
-})
38 27
 
39 28
 //坐席数量
40 29
 function agentCount() {
@@ -212,21 +201,24 @@ function Connect() {
212 201
 		var myDate = new Date();
213 202
 		data = JSON.parse(evt.data)[0];
214 203
 		if(data.Type == "GetAgentDetail") {
215
-			distributionData[0].value = data.WaiteCallCount;
216
-			distributionData[1].value = data.AgentOnlineCount
217
-			let disStr = ''
218
-			distributionData.forEach(function(v, n) {
219
-				disStr += '<li><label>' + v.name + '</label><span class="num_roll" id="">' + parseInt(v.value % 100000 / 10000) +
220
-					'</span><span class="num_roll" id="">' + parseInt(v.value % 10000 / 1000) +
221
-					'</span><span class="num_roll" id="">' + parseInt(v.value % 1000 / 100) +
222
-					'</span><span class="num_roll"id="">' + parseInt((v.value % 100) / 10) +
223
-					'</span><span class="num_roll" id="">' + parseInt(v.value % 10) + '</span></li>'
224
-			})
225
-			$('.callTraffic .data_info').html(disStr)
226
-			callDate = [Number(data.AgentOnlineCount), Number(data.WaiteCallCount), Number(hwcount), Number(jtcount)]
227
-			const outLine = dataLength - data.AgentOnlineCount;
228
-			callSeatStateData = [data.WaiteCallCount, data.AgentSpeakCount, data.AgentProcessingCount, data.AgentReposeCount, data.AgentFreeCount]
229
-			hotThingsChart('callSeatState', callSeatStateName, callSeatStateData, 500)
204
+			if(distributionData[0]){
205
+				distributionData[0].value = data.WaiteCallCount;
206
+				distributionData[1].value = data.AgentOnlineCount
207
+				let disStr = ''
208
+				distributionData.forEach(function(v, n) {
209
+					disStr += '<li><label>' + v.name + '</label><span class="num_roll" id="">' + parseInt(v.value % 100000 / 10000) +
210
+						'</span><span class="num_roll" id="">' + parseInt(v.value % 10000 / 1000) +
211
+						'</span><span class="num_roll" id="">' + parseInt(v.value % 1000 / 100) +
212
+						'</span><span class="num_roll"id="">' + parseInt((v.value % 100) / 10) +
213
+						'</span><span class="num_roll" id="">' + parseInt(v.value % 10) + '</span></li>'
214
+				})
215
+				$('.callTraffic .data_info').html(disStr)
216
+				callDate = [Number(data.AgentOnlineCount), Number(data.WaiteCallCount), Number(hwcount), Number(jtcount)]
217
+				const outLine = dataLength - data.AgentOnlineCount;
218
+				callSeatStateData = [data.WaiteCallCount, data.AgentSpeakCount, data.AgentProcessingCount, data.AgentReposeCount, data.AgentFreeCount]
219
+				hotThingsChart('callSeatState', callSeatStateName, callSeatStateData, 500)
220
+			}
221
+			
230 222
 		}
231 223
 
232 224
 		if(data) {

+ 6 - 15
WebChartNewest/js/map/anyangMap.js

@@ -115,21 +115,6 @@ let tyName =0;//汤阴
115 115
 let ydName =0;//殷都
116 116
 let laName =0;//龙安
117 117
 let bgName =0;//北关
118
-$(document).ready(function() {
119
-	initData()//从后台获取每个区的受理状况
120
-	getinitMap()//每增加一个工单就出现一个箭头
121
-	setInterval(function(){
122
-		mapWorkOrder = []
123
-		mapNum = 0;
124
-		maxNum = []
125
-		dataNum = [];
126
-		series = [];
127
-		areaCount=[]
128
-		initData()
129
-		getinitMap();
130
-	},30000)
131
-})
132
-
133 118
 
134 119
 function getinitMap(){
135 120
 	for (i = 0; i < mapWorkOrder.length; i++) {
@@ -550,6 +535,7 @@ function getinitMap(){
550 535
 	maxNum.push(Math.max.apply(null, dataNum));
551 536
 	getMap(mapWorkOrder, maxNum[0], series)
552 537
 }
538
+
553 539
 function initData(){
554 540
 	$.ajax({
555 541
 		type: "get",
@@ -558,6 +544,9 @@ function initData(){
558 544
 		dataType: 'json',
559 545
 		data: {token: $.cookie("token"),},
560 546
 		success: function(res) {
547
+			if(res.state === "notoken") {
548
+				window.location.href = "login.html";
549
+			}
561 550
 			areaCount=res;
562 551
 			res.forEach(function(v, n) {
563 552
 				if (v.AreaName == "北关区" || v.AreaName == "殷都区" || v.AreaName == "龙安区" || v.AreaName ==
@@ -582,6 +571,7 @@ function initData(){
582 571
 		}
583 572
 	});
584 573
 }
574
+
585 575
 function getMap(mapWorkOrder, maxNum) {
586 576
 	var option = null;
587 577
 	$.getJSON(uploadedDataURL, function(geoJson) {
@@ -669,6 +659,7 @@ function getMap(mapWorkOrder, maxNum) {
669 659
 		myChart.setOption(option);
670 660
 	})
671 661
 } 
662
+
672 663
 //跳入二级地图
673 664
 myChart.on('click',function(params){
674 665
 	let areaid=0;

+ 1 - 0
WebChartNewest/js/newAdd/timetype.js

@@ -68,6 +68,7 @@ function getHWCount24(){
68 68
 		}
69 69
 	});
70 70
 }
71
+
71 72
 //话务数据统计 月
72 73
 function getHWCountMonth(){
73 74
 	new doAjax({

+ 0 - 20
WebChartNewest/js/newIndex.js

@@ -8,26 +8,6 @@ var trafficState = 0
8 8
 var trafficData = [];
9 9
 //时段话务
10 10
 $('.act').html('当日数据')
11
-$(document).ready(function() {
12
-	gettraffic() //话务量
13
-	getHotline() //热线
14
-	getHotThings() //重大事件
15
-	getKeyWord(); //热搜词
16
-	getworkOrderType() //工单类型
17
-	timeTable() //办理时限
18
-	getHotlineAccept() //热线受理
19
-	getNowFormatDate()//现在的时间
20
-	//每个三十秒刷新一次
21
-	setInterval(function () {
22
-		gettraffic() //话务量
23
-		getHotline() //热线
24
-		getHotThings() //重大事件
25
-		getKeyWord(); //热搜词
26
-		getworkOrderType() //工单类型
27
-		timeTable() //办理时限
28
-		getHotlineAccept() //热线受理
29
-	}, 30000)
30
-})
31 11
 
32 12
 //关闭按钮
33 13
 $('.close_icon').click(function () {

+ 7 - 6
WebChartNewest/js/second_index.js

@@ -30,6 +30,7 @@ $('.closeKey_icon').click(function () {
30 30
 	keyidArr = [];
31 31
 	keyid = 0
32 32
 })
33
+
33 34
 function getKeyClass(id, classId, con) {
34 35
 	$('.bulletFrame').show();
35 36
 	$('.secondLevel_keyWord').show();
@@ -62,6 +63,7 @@ function getKeyClass(id, classId, con) {
62 63
 
63 64
 	}
64 65
 }
66
+
65 67
 function keyWordTable(id, con, value) {
66 68
 	console.log(value)
67 69
 	var $tableLeft = $('#keyWordlist');
@@ -123,6 +125,7 @@ function keyWordTable(id, con, value) {
123 125
 		}
124 126
 	});
125 127
 }
128
+
126 129
 function keyword_chart(dom, nameArray, piData, con) {
127 130
 	let keywordPieChart = echarts.init(document.getElementById(dom));
128 131
 	let keywordNum = [];
@@ -438,18 +441,14 @@ function keyword_chart(dom, nameArray, piData, con) {
438 441
 	};
439 442
 	keywordPieChart.setOption(option);
440 443
 }
444
+
441 445
 function Code(val, row, index) {
442 446
 	let num = index + 1
443 447
 	return "<span style='display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width:50px;text-align: center;'>" +
444 448
 		num + "</span>"
445 449
 	// return index + 1;
446 450
 }
447
-function Code(val, row, index) {
448
-	let num = index + 1
449
-	return "<span style='display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width:50px;text-align: center;'>" +
450
-		num + "</span>"
451
-	// return index + 1;
452
-}
451
+
453 452
 function getKeyName(v, r) {
454 453
 	for (let i = 0; i < keyidArr.length; i++) {
455 454
 		if (keyidArr[i].id == keyid) {
@@ -464,10 +463,12 @@ function getKeyName(v, r) {
464 463
 	return '<span class="workAct"  onclick="getKeyClass(\'' + r.KeyId + '\',\'' + r.ClassCount + '\',\'' + r.KeyName +
465 464
 		'\')">' + v + '</span>'
466 465
 }
466
+
467 467
 function getKeyBili(v) {
468 468
 	return "<div style='display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width:70px;margin:0 auto;'>" +
469 469
 		v + "</div>"
470 470
 }
471
+
471 472
 function getKeyNum(v) {
472 473
 	return "<div style='display: block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width:29px;margin:0 auto;'>" +
473 474
 		v + "</div>"

+ 0 - 3
WebChartNewest/js/trafficData.js

@@ -1,6 +1,3 @@
1
-$(document).ready(function() {
2
-	getworkOrder()
3
-})
4 1
 
5 2
 var telCountData
6 3
 var barWidth = 20

+ 8 - 2
WebUI/CallCenterWeb.UI/CommonHtml/Back.html

@@ -114,6 +114,8 @@
114 114
     <!--<script src="../js/main.js?v=1.5"></script>-->
115 115
     <script src="../js/adjustHeight.js"></script>
116 116
     <script src="../js/guid.js"></script>
117
+    <script src="../js/sm2/sm2.js"></script>
118
+	<script src="../js/sm2/decrypt.js"></script>
117 119
     <script>
118 120
         var wid = helper.request.queryString("wid");
119 121
         var State;
@@ -315,14 +317,18 @@
315 317
                     $('#msg4').val(result.data.bldata && result.data.bldata[result.data.bldata.length - 1]
316 318
                         .F_Situation)
317 319
                     if (Data[0].F_CusPhone) {
318
-                        $(".F_CusPhone").text(Data[0].F_CusPhone);
320
+//                  	decryptFn(Data[0].F_CusPhoneShow)
321
+						var cusPhone = decryptFn(Data[0].F_CusPhoneShow)
322
+                        $(".F_CusPhone").text(cusPhone);
319 323
                         $('.cupImg').css('display', 'inline-block')
320 324
                     } else {
321 325
                         $(".F_CusPhone").css('display', 'none');
322 326
                         $('.cupImg').css('display', 'none');
323 327
                     }
328
+                    
324 329
                     if (Data[0].F_ConPhone) {
325
-                        $(".F_ConPhone").text(Data[0].F_ConPhone);
330
+                    	var conPhone = decryptFn(Data[0].F_ConPhoneShow)
331
+                        $(".F_ConPhone").text(conPhone);
326 332
                         $('.copImg').css('display', 'inline-block')
327 333
                     } else {
328 334
                         $(".F_ConPhone").css('display', 'none');

+ 7 - 4
WebUI/CallCenterWeb.UI/CommonHtml/PrintPreview-1.html

@@ -432,6 +432,9 @@
432 432
     <script src="../js/plugins/html2pdf/canvas2image.js"></script>
433 433
     <script src="../js/plugins/html2pdf/FileSaver.js"></script>
434 434
     <script src="../js/plugins/html2pdf/jquery.wordexport.js"></script>
435
+    
436
+    <script src="../js/sm2/sm2.js"></script>
437
+	<script src="../js/sm2/decrypt.js"></script>
435 438
     <script type="text/javascript">
436 439
         var wid = helper.request.queryString("wid");
437 440
         var nowtime = '';
@@ -493,20 +496,20 @@
493 496
                             content.data[0].F_WorkState == '9') {
494 497
                             $(".bljg").text(content.data[0].F_Result); //单位处理结果                    		
495 498
                         }
496
-
499
+						var phoneNumber = decryptFn(content.data[0].F_CusPhoneShow)
497 500
                         //密级程度
498 501
                         if (content.data[0].F_IsProtect == 0) {
499 502
                             // 普通
500
-                            $('.lxdh').text(content.data[0].F_CusPhone); //联系电话
503
+                            $('.lxdh').text(phoneNumber); //联系电话
501 504
                             $(".gdbh").text(content.data[0].F_CusName); //来电人
502 505
                         } else {
503 506
                             // 保密
504 507
                             if (!(roleCode === "ZXHWY" || roleCode === "ZXLD" || roleCode === "ZXBZ")) {
505
-                                $('.lxdh').text(content.data[0].F_CusPhone); //联系电话
508
+                                $('.lxdh').text(phoneNumber); //联系电话
506 509
                                 $(".gdbh").text(content.data[0].F_CusName); //来电人
507 510
                             }
508 511
                         }
509
-
512
+						
510 513
                         //调度意见
511 514
                         var m = content.jbdata.length;
512 515
                         if (m > 0) {

+ 1 - 0
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -1088,6 +1088,7 @@
1088 1088
 											if(roleCode !== "WLDW" && roleCode !== "EJWLDW") {
1089 1089
 												$(".F_CusPhone").hide()
1090 1090
 											} else {
1091
+												$(".F_CusPhone").text(decryptFn(Data[0].F_CusPhoneShow))
1091 1092
 												$(".phoneTitle").unbind("click");
1092 1093
 											}
1093 1094
 											phoneNumber = decryptFn(Data[0].F_CusPhoneShow)

+ 3 - 0
WebUI/CallCenterWeb.UI/SystemManager/js/yongHuManger.js

@@ -575,6 +575,9 @@ function getYG() {
575 575
 				}
576 576
 				$(".change_telphone").val(ygcon.F_Telephone); //电话
577 577
 				$(".change_mobile").val(ygcon.F_Mobile); //手机
578
+				
579
+				$(".change_telphone").val(decryptFn(ygcon.F_TelephoneShow)); //电话		
580
+                $(".change_mobile").val(decryptFn(ygcon.F_MobileShow)); //手机	decryptFn(F_MobileShow)	 
578 581
 				$(".change_remark").val(ygcon.F_Remark); //备注
579 582
 				$("#changeGroupId").val(ygcon.F_SeartGroupID); //坐席组
580 583
 			}

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

@@ -859,7 +859,7 @@
859 859
         }
860 860
         // 外呼
861 861
         function backDial(phoneNumber, callId) {
862
-        	
862
+        	console.log(phoneNumber)
863 863
             $.ajax({
864 864
                 type: "get",
865 865
                 url: huayi.config.callcenter_url + "CallOutOpt/GetCallOutprefix",
@@ -871,6 +871,7 @@
871 871
                 },
872 872
                 success: function (result) {
873 873
                     if (result.state.toLowerCase() == "success") {
874
+                    	console.log(result.data.phone)
874 875
                     	top.callbackState = true
875 876
                         var guid = uuid();
876 877
                         top.obj.Type = "MakeCall";