Ver Código Fonte

mod:大屏调整

weieryang 1 ano atrás
pai
commit
8d8272e67f

+ 2 - 2
WebChartNewest/Script/Common/huayi.config.js

@@ -3,8 +3,8 @@ if (huayi == undefined) {
3 3
     var huayi = {};
4 4
 }
5 5
 huayi.config = {
6
-	 // callcenter_url: "http://192.168.8.9:1042/",//生产环境  
7
-	callcenter_url: "http://docking.zwfw.anyang.gov.cn:65527/",
6
+	  callcenter_url: "http://192.168.8.9:1042/",//生产环境  
7
+//	callcenter_url: "http://docking.zwfw.anyang.gov.cn:65527/",
8 8
     socket_ip: "61.54.2.122",//ip 61.54.2.122:8081
9 9
     socket_port: "8081",//端口
10 10
     indextime: 30000//报表刷新时间

+ 11 - 0
WebChartNewest/css/index.css

@@ -990,6 +990,17 @@ body {
990 990
 	border: 1px solid #08fcff;
991 991
 	color: #08fcff;
992 992
 }
993
+
994
+.searchInput{
995
+    width: 200px;
996
+    height: 28px;
997
+    padding: 5px 5px 5px 5px;
998
+    background-color: #08599f;
999
+    outline: none;
1000
+    border: 1px solid #08fcff;
1001
+    color: #08fcff;
1002
+}
1003
+
993 1004
 #rankDate{
994 1005
 	margin-left: 10px;
995 1006
 }

+ 18 - 2
WebChartNewest/index.html

@@ -124,7 +124,7 @@
124 124
 								<span class="num_roll" id="dxs_num">0</span>
125 125
 								<span class="num_roll" id="dxg_num">0</span>
126 126
 							</li>
127
-							<li><label>市民来电:</label><span class="num_roll" id="szw_num">0</span><span class="num_roll"
127
+							<li><label>市   电:</label><span class="num_roll" id="szw_num">0</span><span class="num_roll"
128 128
 									id="szq_num">0</span><span class="num_roll" id="szb_num">0</span><span
129 129
 									class="num_roll" id="szs_num">0</span><span class="num_roll" id="szg_num">0</span>
130 130
 							</li>
@@ -136,7 +136,7 @@
136 136
 									id="wxq_num">0</span><span class="num_roll" id="wxb_num">0</span><span
137 137
 									class="num_roll" id="wxs_num">0</span><span class="num_roll" id="wxg_num">0</span>
138 138
 							</li>
139
-							<li><label>&nbsp;&nbsp;&nbsp;好差评:</label><span class="num_roll" id="zww_num">0</span><span class="num_roll"
139
+							<li><label>省平台来电:</label><span class="num_roll" id="zww_num">0</span><span class="num_roll"
140 140
 									id="zwq_num">0</span><span class="num_roll" id="zwb_num">0</span><span
141 141
 									class="num_roll" id="zws_num">0</span><span class="num_roll" id="zwg_num">0</span>
142 142
 							</li>
@@ -771,6 +771,22 @@
771 771
 					<h2>安阳市12345热线工单列表</h2>
772 772
 					<img src="./image/second/title_left.png" class="title_right">
773 773
 				</div>
774
+				<div style="position: relative;">
775
+					<div class="dataT act" style="left: 20px;font-size: 15px;top: 0px;width: 100px;">
776
+						<label class="dataAct" data-pos="1" indextitle="工单列表">
777
+							网络转办<span class="day active"></span>
778
+						</label><br>
779
+						<label class="dataAct" data-pos="2" indextitle="工单列表">
780
+							当即办结<span class="month"></span>
781
+						</label>
782
+						<input type="hidden" id="isresult" value="0">
783
+					</div>
784
+					<!--<img src="./image/date.png" alt="" class="date_icon">
785
+					<input type="text" id="date3" placeholder="请选择时间范围" lay-key="100006">-->
786
+					<input type="text" id="orderId" style="margin-left: 120px;" class="searchInput" onblur="initTable()" placeholder="请输入工单编号" />
787
+					<input type="text" id="orderKey" class="searchInput" onblur="initTable()" placeholder="请输入关键词" />
788
+					<input type="text" id="orderTel" class="searchInput" onblur="initTable()" placeholder="请输入联系电话" />
789
+				</div>
774 790
 				<div style="width: 100%;padding: 10px;height: 750px;">
775 791
 					<table id="workList" data-row-style="rowStyle" data-query-params="queryParams"
776 792
 						data-pagination="true">

+ 6 - 0
WebChartNewest/js/newAdd/operationEvent.js

@@ -32,6 +32,9 @@ $('.dataAct').click(function () {
32 32
 			console.log("日-工单类型")
33 33
 			typeCountDataType = 0
34 34
 			getworkOrder()
35
+		} else if (indexTitle=="工单列表") {
36
+			$('#isresult').val('0');
37
+			initTable();
35 38
 		}
36 39
 		trafficState = 0;
37 40
 	} else if ($(this).attr('data-pos') == '2') {
@@ -56,6 +59,9 @@ $('.dataAct').click(function () {
56 59
 		}else if(indexTitle=="工单类型"){
57 60
 			typeCountDataType = 1
58 61
 			getworkOrder()
62
+		} else if (indexTitle=="工单列表") {
63
+			$('#isresult').val('1');
64
+			initTable();
59 65
 		}
60 66
 		trafficState = 1;
61 67
 	}

+ 5 - 4
WebChartNewest/js/second_index.js

@@ -64,7 +64,7 @@ function formatDate(date) {
64 64
 }
65 65
 
66 66
 function getKeyClass(id, classId, con) {
67
-	
67
+
68 68
 	$('.bulletFrame').show();
69 69
 	$('.secondLevel_keyWord').show();
70 70
 	$('.secondLevel_keyWord').siblings().hide()
@@ -93,7 +93,7 @@ function getKeyClass(id, classId, con) {
93 93
 		}
94 94
 	});
95 95
 	console.log($('#gpsxDataAct').val(), 'dataact')
96
-	if (classId == '1') {
96
+	if (classId == '1' || classId == '0') {
97 97
 		
98 98
 		// 当月
99 99
 		
@@ -101,10 +101,10 @@ function getKeyClass(id, classId, con) {
101 101
 //			
102 102
 //			workTable(id,null,null,null,null ,null,null,null,null,null,null,null, $('#keyDate').val());
103 103
 			var currentTime = getMonthTime($('#keyDate').val());
104
-			workTable(id,null,null,null,null ,null,null,null,null,null,null,null, null, null, null, currentTime.start, currentTime.end);
104
+			workTable(id,null,null,null,null ,null,null,null,null,null,null,null, null, null, null, currentTime.start, currentTime.end, classId == '0' ? 1: null);
105 105
 		} else {
106 106
 			// 当日
107
-			workTable(id,null,null,null,null ,null,null,null,null,null,null,null, $('#keyDate').val());
107
+			workTable(id,null,null,null,null ,null,null,null,null,null,null,null, $('#keyDate').val(), null, null, null, null , classId == '0' ? 1: null);
108 108
 		}
109 109
 		
110 110
 		
@@ -153,6 +153,7 @@ function keyWordTable(id, con, value) {
153 153
 				timetype:keyCountDataType,			
154 154
 				date: value
155 155
 			}
156
+			
156 157
 			return param
157 158
 		},
158 159
 		onLoadSuccess: function (data) { //加载成功时执行

+ 66 - 25
WebChartNewest/js/workOrder.js

@@ -1,5 +1,9 @@
1 1
 //工单列表
2
-function workTable(KeyId,deptid,sourceId,PhoneType,keyword ,type,sourceArea,key,timetype,handling,source,dptype, date, Township, strworkid, stime, etime) {
2
+function workTable(KeyId,deptid,sourceId,PhoneType,keyword ,type,sourceArea,key,timetype,handling,source,dptype, date, Township, strworkid, stime, etime, isspecial) {
3
+	$('#orderTel').val('');
4
+	$('#orderKey').val('');
5
+	$('#orderId').val('');
6
+	$('#isresult').val('0');
3 7
 	$('.bulletFrameT').show();
4 8
 	$('.workList').show();
5 9
 	$('.workList').siblings().hide()
@@ -13,6 +17,48 @@ function workTable(KeyId,deptid,sourceId,PhoneType,keyword ,type,sourceArea,key,
13 17
 		$('.timeSta_wrap').show();
14 18
 		$('.timeSta_wrap').siblings().hide()
15 19
 	})
20
+	
21
+	var param = {
22
+//				token: $.cookie("token"),
23
+//				page: params.pageNumber,
24
+//				pagesize: params.pageSize,
25
+				Township,
26
+				KeyId: KeyId,
27
+				deptid:deptid,
28
+				sourceId:sourceId,
29
+				PhoneType :PhoneType ,
30
+				keyword:keyword,
31
+				workid: strworkid,
32
+				stime,
33
+				etime,
34
+				isspecial,
35
+				date,
36
+				type:type,
37
+				sourceArea:sourceArea,
38
+				key:key,
39
+				timetype:timetype,
40
+				handling:handling,
41
+				source:source,
42
+				dptype:dptype
43
+			};
44
+	$.cookie("old_params", JSON.stringify(param))
45
+	initTable(param);
46
+	
47
+}
48
+
49
+function initTable(parm) {
50
+	
51
+	var tel = $('#orderTel').val();
52
+	var orderKey = $('#orderKey').val();
53
+	var orderId = $('#orderId').val();
54
+	var isresult = $('#isresult').val();
55
+	
56
+	if (!parm) parm = JSON.parse($.cookie("old_params"))
57
+	if (!parm.key) parm.key = orderKey;
58
+	if (!parm.workid) parm.workid = orderId;
59
+	parm.tel = tel;
60
+	parm.isresult = isresult || '1';
61
+	
16 62
 	//先销毁表格
17 63
 	$('#workList').bootstrapTable('destroy');
18 64
 	//初始化表格,动态从服务器加载数据
@@ -34,29 +80,10 @@ function workTable(KeyId,deptid,sourceId,PhoneType,keyword ,type,sourceArea,key,
34 80
 		//设置为limit可以获取limit, offset, search, sort, order
35 81
 		queryParamsType: "undefined",
36 82
 		queryParams: function queryParams(params) { //设置查询参数
37
-			var param = {
38
-				token: $.cookie("token"),
39
-				page: params.pageNumber,
40
-				pagesize: params.pageSize,
41
-				Township,
42
-				KeyId: KeyId,
43
-				deptid:deptid,
44
-				sourceId:sourceId,
45
-				PhoneType :PhoneType ,
46
-				keyword:keyword,
47
-				workid: strworkid,
48
-				stime,
49
-				etime,
50
-				date,
51
-				type:type,
52
-				sourceArea:sourceArea,
53
-				key:key,
54
-				timetype:timetype,
55
-				handling:handling,
56
-				source:source,
57
-				dptype:dptype
58
-			};
59
-			return param;
83
+			parm.token = $.cookie("token");
84
+			parm.page = params.pageNumber;
85
+			parm.pagesize= params.pageSize;
86
+			return parm;
60 87
 		},
61 88
 		responseHandler: function(res) {
62 89
 			//格式化数据
@@ -74,6 +101,7 @@ function workTable(KeyId,deptid,sourceId,PhoneType,keyword ,type,sourceArea,key,
74 101
 }
75 102
 
76 103
 
104
+
77 105
 function examineList(deptid, tab, date) {
78 106
 	$('.bulletFrameT').show();
79 107
 	$('.workList').show();
@@ -386,14 +414,27 @@ function getClick() {
386 414
 		callBack: function(res) {
387 415
 			let str = '';
388 416
 			res.data.forEach(function(v, n) {
389
-				str +=
417
+				if (v.F_Message.indexOf('市民短信评议')>=0 || v.F_Message.indexOf('市民微信评议')>=0 || v.F_Message.indexOf('市民网站评议')>=0) {
418
+					str +=
419
+					"<li class='work'><input class='radio' id='work5' name='works' type='radio' checked><div class='relative'>" +
420
+					"<span class='date'>" + v.F_CreateTime +
421
+					"</span><span class='circle'></span></div><div class='content'><p onclick=\"messageClick(this, '"+v
422
+					.F_Message+"')\">市民已评议</p></div></li>"
423
+				} else {
424
+					str +=
390 425
 					"<li class='work'><input class='radio' id='work5' name='works' type='radio' checked><div class='relative'>" +
391 426
 					"<span class='date'>" + v.F_CreateTime +
392 427
 					"</span><span class='circle'></span></div><div class='content'><p>" + v
393 428
 					.F_Message+ "</p></div></li>"
429
+				}
430
+				
394 431
 
395 432
 			})
396 433
 			$('#timeline').html(str);
397 434
 		}
398 435
 	});
399 436
 }
437
+
438
+function messageClick(that, mssage) {
439
+	$(that).html(mssage)
440
+}