Browse Source

诉求来源统计报表、诉求类型统计报表、诉求关键词统计报表、诉求不满意统计报表

zhangshuangnan 8 years ago
parent
commit
635ad1dff5

+ 133 - 0
SQ12345_County/TelCall/appealDispleasure.html

@@ -0,0 +1,133 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<title>诉求不满意统计报表</title>
7
+		<script src="../Script/Common/huayi.load.js"></script>
8
+		<script src="../Script/Common/huayi.config.js"></script>
9
+		<link rel="stylesheet" href="../css/init.css" />
10
+		<style>
11
+			#sqzx th {
12
+				/*padding: 5px 8px 5px 0;*/
13
+				text-align: right;
14
+			}
15
+			
16
+			.select {
17
+				width: 150px;
18
+				background-color: #FFF;
19
+				background-image: none;
20
+				border: 1px solid #ccc;
21
+				border-radius: 1px;
22
+				color: inherit;
23
+				padding: 6px 12px;
24
+			}
25
+			
26
+			input {
27
+				background-color: #FFF;
28
+				background-image: none;
29
+				border: 1px solid #ccc;
30
+				border-radius: 1px;
31
+				color: inherit;
32
+				padding: 6px 12px;
33
+			}
34
+			
35
+			#sqzx td {
36
+				padding: 6px 0 5px 10px;
37
+			}
38
+			
39
+			.clearFix:after {
40
+				content: "";
41
+				display: block;
42
+				clear: both;
43
+			}
44
+			
45
+			.box_content {
46
+				border-bottom: 1px solid #ccc;
47
+			}
48
+			
49
+			.tj_content {
50
+				border: 1px solid #e6e6e6;
51
+				border-radius: 5px;
52
+			}
53
+			
54
+			#sqzx .Seach {
55
+				margin-left: 0;
56
+				width: 60px;
57
+				font-size: 13px;
58
+				display: inline-block;
59
+				text-align: center;
60
+			}
61
+		</style>
62
+	</head>
63
+
64
+	<body class="gray-bg">
65
+		<div class="wrapper wrapper-content animated fadeInRight">
66
+			<div class="daoHang clearfix">
67
+				<div class="dhLeft">
68
+					<sapn>
69
+						<i class="syIcon"></i>位置:
70
+						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
71
+						<a href="javaScript:;">网点报表</a>&gt;
72
+						<a href="" class="nowPosition">诉求不满意统计报表</a>
73
+					</sapn>
74
+				</div>
75
+				<div class="dhRight">
76
+					<a href="" title="刷新"><i class="fa fa-refresh"></i></a>
77
+				</div>
78
+			</div>
79
+			<div style="padding: 10px;" class="tj_content clearFix">
80
+				<div style="padding: 10px;" class="tj_content clearFix">
81
+					<div>
82
+						<span>【搜索信息】</span>
83
+						<div class="box_content">
84
+							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
85
+								<tr>
86
+									<th>网点:</th>
87
+									<td>
88
+										<select name="" id="dot" class="select_">
89
+
90
+										</select>
91
+									</td>
92
+									<th>日期:</th>
93
+									<td>
94
+										<input type="text" id="startTime" class="laydate-icon Min-width" style="height: 32px;" />&nbsp;——&nbsp;<input type="text" id="endTime" class="laydate-icon Min-width" style="height: 32px;" />
95
+									</td>
96
+									<td>
97
+										<botton class="btns Seach">查询</botton>
98
+										<a href="javaScript:;" class="btns export">导出</a>
99
+									</td>
100
+								</tr>
101
+							</table>
102
+						</div>
103
+					</div>
104
+					<div>
105
+						<div style="width: 100%;padding: 10px;">
106
+							<table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
107
+								<thead>
108
+									<tr>
109
+										<th data-align="center" data-field="areaname">名称</th>
110
+										<th data-align="center" data-field="count">数量</th>
111
+									</tr>
112
+								</thead>
113
+								<tbody class="list">
114
+								</tbody>
115
+							</table>
116
+						</div>
117
+					</div>
118
+				</div>
119
+			</div>
120
+		</div>
121
+		<script src="../css/laydate/laydate.js"></script>
122
+		<script src="../js/tellCall/appealDispleasure.js"></script>
123
+		<script>
124
+			$(document).ready(function(){
125
+				//返回首页
126
+				$('#ReIndex').click(function() {
127
+					top.home_index();
128
+				})
129
+		})
130
+		</script>
131
+	</body>
132
+
133
+</html>

+ 133 - 0
SQ12345_County/TelCall/appealKeywords.html

@@ -0,0 +1,133 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<title>诉求关键词统计报表</title>
7
+		<script src="../Script/Common/huayi.load.js"></script>
8
+		<script src="../Script/Common/huayi.config.js"></script>
9
+		<link rel="stylesheet" href="../css/init.css" />
10
+		<style>
11
+			#sqzx th {
12
+				/*padding: 5px 8px 5px 0;*/
13
+				text-align: right;
14
+			}
15
+			
16
+			.select {
17
+				width: 150px;
18
+				background-color: #FFF;
19
+				background-image: none;
20
+				border: 1px solid #ccc;
21
+				border-radius: 1px;
22
+				color: inherit;
23
+				padding: 6px 12px;
24
+			}
25
+			
26
+			input {
27
+				background-color: #FFF;
28
+				background-image: none;
29
+				border: 1px solid #ccc;
30
+				border-radius: 1px;
31
+				color: inherit;
32
+				padding: 6px 12px;
33
+			}
34
+			
35
+			#sqzx td {
36
+				padding: 6px 0 5px 10px;
37
+			}
38
+			
39
+			.clearFix:after {
40
+				content: "";
41
+				display: block;
42
+				clear: both;
43
+			}
44
+			
45
+			.box_content {
46
+				border-bottom: 1px solid #ccc;
47
+			}
48
+			
49
+			.tj_content {
50
+				border: 1px solid #e6e6e6;
51
+				border-radius: 5px;
52
+			}
53
+			
54
+			#sqzx .Seach {
55
+				margin-left: 0;
56
+				width: 60px;
57
+				font-size: 13px;
58
+				display: inline-block;
59
+				text-align: center;
60
+			}
61
+		</style>
62
+	</head>
63
+
64
+	<body class="gray-bg">
65
+		<div class="wrapper wrapper-content animated fadeInRight">
66
+			<div class="daoHang clearfix">
67
+				<div class="dhLeft">
68
+					<sapn>
69
+						<i class="syIcon"></i>位置:
70
+						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
71
+						<a href="javaScript:;">网点报表</a>&gt;
72
+						<a href="" class="nowPosition">诉求关键字统词报表</a>
73
+					</sapn>
74
+				</div>
75
+				<div class="dhRight">
76
+					<a href="" title="刷新"><i class="fa fa-refresh"></i></a>
77
+				</div>
78
+			</div>
79
+			<div style="padding: 10px;" class="tj_content clearFix">
80
+				<div style="padding: 10px;" class="tj_content clearFix">
81
+					<div>
82
+						<span>【搜索信息】</span>
83
+						<div class="box_content">
84
+							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
85
+								<tr>
86
+									<th>网点:</th>
87
+									<td>
88
+										<select name="" id="dot" class="select_">
89
+
90
+										</select>
91
+									</td>
92
+									<th>日期:</th>
93
+									<td>
94
+										<input type="text" id="startTime" class="laydate-icon Min-width" style="height: 32px;" />&nbsp;——&nbsp;<input type="text" id="endTime" class="laydate-icon Min-width" style="height: 32px;" />
95
+									</td>
96
+									<td>
97
+										<botton class="btns Seach">查询</botton>
98
+										<a href="javaScript:;" class="btns export">导出</a>
99
+									</td>
100
+								</tr>
101
+							</table>
102
+						</div>
103
+					</div>
104
+					<div>
105
+						<div style="width: 100%;padding: 10px;">
106
+							<table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
107
+								<thead>
108
+									<tr>
109
+										<th data-align="center" data-field="keyname">名称</th>
110
+										<th data-align="center" data-field="count">数量</th>
111
+									</tr>
112
+								</thead>
113
+								<tbody class="list">
114
+								</tbody>
115
+							</table>
116
+						</div>
117
+					</div>
118
+				</div>
119
+			</div>
120
+		</div>
121
+		<script src="../css/laydate/laydate.js"></script>
122
+		<script src="../js/tellCall/appealKeywords.js"></script>
123
+		<script>
124
+			$(document).ready(function(){
125
+				//返回首页
126
+				$('#ReIndex').click(function() {
127
+					top.home_index();
128
+				})
129
+		})
130
+		</script>
131
+	</body>
132
+
133
+</html>

+ 133 - 0
SQ12345_County/TelCall/appealSource.html

@@ -0,0 +1,133 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<title>诉求来源统计报表</title>
7
+		<script src="../Script/Common/huayi.load.js"></script>
8
+		<script src="../Script/Common/huayi.config.js"></script>
9
+		<link rel="stylesheet" href="../css/init.css" />
10
+		<style>
11
+			#sqzx th {
12
+				/*padding: 5px 8px 5px 0;*/
13
+				text-align: right;
14
+			}
15
+			
16
+			.select {
17
+				width: 150px;
18
+				background-color: #FFF;
19
+				background-image: none;
20
+				border: 1px solid #ccc;
21
+				border-radius: 1px;
22
+				color: inherit;
23
+				padding: 6px 12px;
24
+			}
25
+			
26
+			input {
27
+				background-color: #FFF;
28
+				background-image: none;
29
+				border: 1px solid #ccc;
30
+				border-radius: 1px;
31
+				color: inherit;
32
+				padding: 6px 12px;
33
+			}
34
+			
35
+			#sqzx td {
36
+				padding: 6px 0 5px 10px;
37
+			}
38
+			
39
+			.clearFix:after {
40
+				content: "";
41
+				display: block;
42
+				clear: both;
43
+			}
44
+			
45
+			.box_content {
46
+				border-bottom: 1px solid #ccc;
47
+			}
48
+			
49
+			.tj_content {
50
+				border: 1px solid #e6e6e6;
51
+				border-radius: 5px;
52
+			}
53
+			
54
+			#sqzx .Seach {
55
+				margin-left: 0;
56
+				width: 60px;
57
+				font-size: 13px;
58
+				display: inline-block;
59
+				text-align: center;
60
+			}
61
+		</style>
62
+	</head>
63
+
64
+	<body class="gray-bg">
65
+		<div class="wrapper wrapper-content animated fadeInRight">
66
+			<div class="daoHang clearfix">
67
+				<div class="dhLeft">
68
+					<sapn>
69
+						<i class="syIcon"></i>位置:
70
+						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
71
+						<a href="javaScript:;">网点报表</a>&gt;
72
+						<a href="" class="nowPosition">诉求来源统计报表</a>
73
+					</sapn>
74
+				</div>
75
+				<div class="dhRight">
76
+					<a href="" title="刷新"><i class="fa fa-refresh"></i></a>
77
+				</div>
78
+			</div>
79
+			<div style="padding: 10px;" class="tj_content clearFix">
80
+				<div style="padding: 10px;" class="tj_content clearFix">
81
+					<div>
82
+						<span>【搜索信息】</span>
83
+						<div class="box_content">
84
+							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
85
+								<tr>
86
+									<th>网点:</th>
87
+									<td>
88
+										<select name="" id="dot" class="select_">
89
+
90
+										</select>
91
+									</td>
92
+									<th>日期:</th>
93
+									<td>
94
+										<input type="text" id="startTime" class="laydate-icon Min-width" style="height: 32px;" />&nbsp;——&nbsp;<input type="text" id="endTime" class="laydate-icon Min-width" style="height: 32px;" />
95
+									</td>
96
+									<td>
97
+										<botton class="btns Seach">查询</botton>
98
+										<a href="javaScript:;" class="btns export">导出</a>
99
+									</td>
100
+								</tr>
101
+							</table>
102
+						</div>
103
+					</div>
104
+					<div>
105
+						<div style="width: 100%;padding: 10px;">
106
+							<table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
107
+								<thead>
108
+									<tr>
109
+										<th data-align="center" data-field="source">名称</th>
110
+										<th data-align="center" data-field="count">数量</th>
111
+									</tr>
112
+								</thead>
113
+								<tbody class="list">
114
+								</tbody>
115
+							</table>
116
+						</div>
117
+					</div>
118
+				</div>
119
+			</div>
120
+		</div>
121
+		<script src="../css/laydate/laydate.js"></script>
122
+		<script src="../js/tellCall/appealSource.js"></script>
123
+		<script>
124
+			$(document).ready(function(){
125
+				//返回首页
126
+				$('#ReIndex').click(function() {
127
+					top.home_index();
128
+				})
129
+		})
130
+		</script>
131
+	</body>
132
+
133
+</html>

+ 133 - 0
SQ12345_County/TelCall/appealType.html

@@ -0,0 +1,133 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="UTF-8">
6
+		<title>诉求类型统计报表</title>
7
+		<script src="../Script/Common/huayi.load.js"></script>
8
+		<script src="../Script/Common/huayi.config.js"></script>
9
+		<link rel="stylesheet" href="../css/init.css" />
10
+		<style>
11
+			#sqzx th {
12
+				/*padding: 5px 8px 5px 0;*/
13
+				text-align: right;
14
+			}
15
+			
16
+			.select {
17
+				width: 150px;
18
+				background-color: #FFF;
19
+				background-image: none;
20
+				border: 1px solid #ccc;
21
+				border-radius: 1px;
22
+				color: inherit;
23
+				padding: 6px 12px;
24
+			}
25
+			
26
+			input {
27
+				background-color: #FFF;
28
+				background-image: none;
29
+				border: 1px solid #ccc;
30
+				border-radius: 1px;
31
+				color: inherit;
32
+				padding: 6px 12px;
33
+			}
34
+			
35
+			#sqzx td {
36
+				padding: 6px 0 5px 10px;
37
+			}
38
+			
39
+			.clearFix:after {
40
+				content: "";
41
+				display: block;
42
+				clear: both;
43
+			}
44
+			
45
+			.box_content {
46
+				border-bottom: 1px solid #ccc;
47
+			}
48
+			
49
+			.tj_content {
50
+				border: 1px solid #e6e6e6;
51
+				border-radius: 5px;
52
+			}
53
+			
54
+			#sqzx .Seach {
55
+				margin-left: 0;
56
+				width: 60px;
57
+				font-size: 13px;
58
+				display: inline-block;
59
+				text-align: center;
60
+			}
61
+		</style>
62
+	</head>
63
+
64
+	<body class="gray-bg">
65
+		<div class="wrapper wrapper-content animated fadeInRight">
66
+			<div class="daoHang clearfix">
67
+				<div class="dhLeft">
68
+					<sapn>
69
+						<i class="syIcon"></i>位置:
70
+						<a href="javaScript:;" id="ReIndex">首页</a>&gt;
71
+						<a href="javaScript:;">网点报表</a>&gt;
72
+						<a href="" class="nowPosition">诉求类型统计报表</a>
73
+					</sapn>
74
+				</div>
75
+				<div class="dhRight">
76
+					<a href="" title="刷新"><i class="fa fa-refresh"></i></a>
77
+				</div>
78
+			</div>
79
+			<div style="padding: 10px;" class="tj_content clearFix">
80
+				<div style="padding: 10px;" class="tj_content clearFix">
81
+					<div>
82
+						<span>【搜索信息】</span>
83
+						<div class="box_content">
84
+							<table id="sqzx" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
85
+								<tr>
86
+									<th>网点:</th>
87
+									<td>
88
+										<select name="" id="dot" class="select_">
89
+
90
+										</select>
91
+									</td>
92
+									<th>日期:</th>
93
+									<td>
94
+										<input type="text" id="startTime" class="laydate-icon Min-width" style="height: 32px;" />&nbsp;——&nbsp;<input type="text" id="endTime" class="laydate-icon Min-width" style="height: 32px;" />
95
+									</td>
96
+									<td>
97
+										<botton class="btns Seach">查询</botton>
98
+										<a href="javaScript:;" class="btns export">导出</a>
99
+									</td>
100
+								</tr>
101
+							</table>
102
+						</div>
103
+					</div>
104
+					<div>
105
+						<div style="width: 100%;padding: 10px;">
106
+							<table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
107
+								<thead>
108
+									<tr>
109
+										<th data-align="center" data-field="type">名称</th>
110
+										<th data-align="center" data-field="count">数量</th>
111
+									</tr>
112
+								</thead>
113
+								<tbody class="list">
114
+								</tbody>
115
+							</table>
116
+						</div>
117
+					</div>
118
+				</div>
119
+			</div>
120
+		</div>
121
+		<script src="../css/laydate/laydate.js"></script>
122
+		<script src="../js/tellCall/appealType.js"></script>
123
+		<script>
124
+			$(document).ready(function(){
125
+				//返回首页
126
+				$('#ReIndex').click(function() {
127
+					top.home_index();
128
+				})
129
+		})
130
+		</script>
131
+	</body>
132
+
133
+</html>

+ 12 - 0
SQ12345_County/index.html

@@ -842,6 +842,18 @@
842 842
 									<a class="J_menuItem" dataid="183" href="./TelCall/appealHandle.html" data-index="9">诉求办理对比报表</a>
843 843
 								</li>
844 844
 								<li>
845
+									<a class="J_menuItem" dataid="183" href="./TelCall/appealSource.html" data-index="10">诉求来源统计报表</a>
846
+								</li>
847
+								<li>
848
+									<a class="J_menuItem" dataid="183" href="./TelCall/appealType.html" data-index="11">诉求类型统计报表</a>
849
+								</li>
850
+								<li>
851
+									<a class="J_menuItem" dataid="183" href="./TelCall/appealKeywords.html" data-index="12">诉求关键词统计报表</a>
852
+								</li>
853
+								<li>
854
+									<a class="J_menuItem" dataid="183" href="./TelCall/appealDispleasure.html" data-index="13">诉求不满意统计报表</a>
855
+								</li>
856
+								<li>
845 857
 									<a class="J_menuItem" dataid="184" href="./TelCall/transformationAppeal.html" data-index="10">电话转换诉求单报表</a>
846 858
 								</li>
847 859
 							</ul>

+ 71 - 0
SQ12345_County/js/tellCall/appealDispleasure.js

@@ -0,0 +1,71 @@
1
+$(document).ready(function(){
2
+				laydate.skin('blue');
3
+				laydate({
4
+					elem: '#startTime',
5
+					event: 'focus',
6
+				});
7
+				laydate({
8
+					elem: '#endTime',
9
+					event: 'focus',
10
+				});
11
+
12
+				$('.Seach').click(function() {
13
+					initTable();
14
+				})
15
+				//导出
16
+				$('.export').click(function() {
17
+					dcexcel(this);
18
+				})
19
+
20
+				function dcexcel(obj) {
21
+					var url = huayi.config.callcenter_url + "CountyBusiness/GetAreaCount?token=" + $.cookie("token");
22
+					url += "&start=" + $("#startTime").val() + "&end=" + $("#endTime").val() + "&branchcode=" + $("#dot").val() + "&isdc=1"+ "&type=4";
23
+					obj.href = url;
24
+				}
25
+				
26
+				//获取网点
27
+				$.getJSON(huayi.config.callcenter_url + "CountyBranch/GetBranchList", {
28
+					token: $.cookie("token")
29
+				}, function(result) {
30
+					if(result.state.toLowerCase() == "success") {
31
+						seatlist = result.data;
32
+						bindseat($("#dot"));
33
+					}
34
+				});
35
+
36
+				function bindseat(obj) {
37
+					obj.empty();
38
+					$(seatlist).each(function(i, n) {
39
+						obj.append('<option value="' + n.F_Code + '">' + n.F_Name + '</option>');
40
+					});
41
+					initTable();
42
+				}
43
+				
44
+				function initTable() {
45
+				$.ajax({
46
+					type: "get",
47
+					url: huayi.config.callcenter_url + "CountyBusiness/GetAreaCount",
48
+					async: true,
49
+					dataType: 'json',
50
+					data: {
51
+						token: $.cookie("token"),
52
+						branchcode: $('#dot').val(), //网点编号(必选),
53
+						start: $('#startTime').val(), //(1月2周3天4时)
54
+						end: $('#endTime').val(),
55
+						type:4,
56
+						isdc: 0
57
+					},
58
+					success: function(data) {
59
+						if(data.state.toLowerCase() == 'success') {
60
+							$('#orderlist').bootstrapTable('load', data.data.AreaCountReport);
61
+						}
62
+					}
63
+				});
64
+				$('#orderlist').bootstrapTable('destroy').bootstrapTable({striped: true	});
65
+					
66
+			
67
+
68
+			}
69
+		
70
+	
71
+})

+ 71 - 0
SQ12345_County/js/tellCall/appealKeywords.js

@@ -0,0 +1,71 @@
1
+$(document).ready(function(){
2
+				laydate.skin('blue');
3
+				laydate({
4
+					elem: '#startTime',
5
+					event: 'focus',
6
+				});
7
+				laydate({
8
+					elem: '#endTime',
9
+					event: 'focus',
10
+				});
11
+
12
+				$('.Seach').click(function() {
13
+					initTable();
14
+				})
15
+				//导出
16
+				$('.export').click(function() {
17
+					dcexcel(this);
18
+				})
19
+
20
+				function dcexcel(obj) {
21
+					var url = huayi.config.callcenter_url + "CountyBusiness/GetAreaCount?token=" + $.cookie("token");
22
+					url += "&start=" + $("#startTime").val() + "&end=" + $("#endTime").val() + "&branchcode=" + $("#dot").val() + "&isdc=1"+ "&type=3";
23
+					obj.href = url;
24
+				}
25
+				
26
+				//获取网点
27
+				$.getJSON(huayi.config.callcenter_url + "CountyBranch/GetBranchList", {
28
+					token: $.cookie("token")
29
+				}, function(result) {
30
+					if(result.state.toLowerCase() == "success") {
31
+						seatlist = result.data;
32
+						bindseat($("#dot"));
33
+					}
34
+				});
35
+
36
+				function bindseat(obj) {
37
+					obj.empty();
38
+					$(seatlist).each(function(i, n) {
39
+						obj.append('<option value="' + n.F_Code + '">' + n.F_Name + '</option>');
40
+					});
41
+					initTable();
42
+				}
43
+				
44
+				function initTable() {
45
+				$.ajax({
46
+					type: "get",
47
+					url: huayi.config.callcenter_url + "CountyBusiness/GetAreaCount",
48
+					async: true,
49
+					dataType: 'json',
50
+					data: {
51
+						token: $.cookie("token"),
52
+						branchcode: $('#dot').val(), //网点编号(必选),
53
+						start: $('#startTime').val(), //(1月2周3天4时)
54
+						end: $('#endTime').val(),
55
+						type:3,
56
+						isdc: 0
57
+					},
58
+					success: function(data) {
59
+						if(data.state.toLowerCase() == 'success') {
60
+							$('#orderlist').bootstrapTable('load', data.data.AreaCountReport);
61
+						}
62
+					}
63
+				});
64
+				$('#orderlist').bootstrapTable('destroy').bootstrapTable({striped: true	});
65
+					
66
+			
67
+
68
+			}
69
+		
70
+	
71
+})

+ 71 - 0
SQ12345_County/js/tellCall/appealSource.js

@@ -0,0 +1,71 @@
1
+$(document).ready(function(){
2
+				laydate.skin('blue');
3
+				laydate({
4
+					elem: '#startTime',
5
+					event: 'focus',
6
+				});
7
+				laydate({
8
+					elem: '#endTime',
9
+					event: 'focus',
10
+				});
11
+
12
+				$('.Seach').click(function() {
13
+					initTable();
14
+				})
15
+				//导出
16
+				$('.export').click(function() {
17
+					dcexcel(this);
18
+				})
19
+
20
+				function dcexcel(obj) {
21
+					var url = huayi.config.callcenter_url + "CountyBusiness/GetAreaCount?token=" + $.cookie("token");
22
+					url += "&start=" + $("#startTime").val() + "&end=" + $("#endTime").val() + "&branchcode=" + $("#dot").val() + "&isdc=1"+ "&type=1";
23
+					obj.href = url;
24
+				}
25
+				
26
+				//获取网点
27
+				$.getJSON(huayi.config.callcenter_url + "CountyBranch/GetBranchList", {
28
+					token: $.cookie("token")
29
+				}, function(result) {
30
+					if(result.state.toLowerCase() == "success") {
31
+						seatlist = result.data;
32
+						bindseat($("#dot"));
33
+					}
34
+				});
35
+
36
+				function bindseat(obj) {
37
+					obj.empty();
38
+					$(seatlist).each(function(i, n) {
39
+						obj.append('<option value="' + n.F_Code + '">' + n.F_Name + '</option>');
40
+					});
41
+					initTable();
42
+				}
43
+				
44
+				function initTable() {
45
+				$.ajax({
46
+					type: "get",
47
+					url: huayi.config.callcenter_url + "CountyBusiness/GetAreaCount",
48
+					async: true,
49
+					dataType: 'json',
50
+					data: {
51
+						token: $.cookie("token"),
52
+						branchcode: $('#dot').val(), //网点编号(必选),
53
+						start: $('#startTime').val(), //(1月2周3天4时)
54
+						end: $('#endTime').val(),
55
+						type:1,
56
+						isdc: 0
57
+					},
58
+					success: function(data) {
59
+						if(data.state.toLowerCase() == 'success') {
60
+							$('#orderlist').bootstrapTable('load', data.data.AreaCountReport);
61
+						}
62
+					}
63
+				});
64
+				$('#orderlist').bootstrapTable('destroy').bootstrapTable({striped: true	});
65
+					
66
+			
67
+
68
+			}
69
+		
70
+	
71
+})

+ 71 - 0
SQ12345_County/js/tellCall/appealType.js

@@ -0,0 +1,71 @@
1
+$(document).ready(function(){
2
+				laydate.skin('blue');
3
+				laydate({
4
+					elem: '#startTime',
5
+					event: 'focus',
6
+				});
7
+				laydate({
8
+					elem: '#endTime',
9
+					event: 'focus',
10
+				});
11
+
12
+				$('.Seach').click(function() {
13
+					initTable();
14
+				})
15
+				//导出
16
+				$('.export').click(function() {
17
+					dcexcel(this);
18
+				})
19
+
20
+				function dcexcel(obj) {
21
+					var url = huayi.config.callcenter_url + "CountyBusiness/GetAreaCount?token=" + $.cookie("token");
22
+					url += "&start=" + $("#startTime").val() + "&end=" + $("#endTime").val() + "&branchcode=" + $("#dot").val() + "&isdc=1"+ "&type=2";
23
+					obj.href = url;
24
+				}
25
+				
26
+				//获取网点
27
+				$.getJSON(huayi.config.callcenter_url + "CountyBranch/GetBranchList", {
28
+					token: $.cookie("token")
29
+				}, function(result) {
30
+					if(result.state.toLowerCase() == "success") {
31
+						seatlist = result.data;
32
+						bindseat($("#dot"));
33
+					}
34
+				});
35
+
36
+				function bindseat(obj) {
37
+					obj.empty();
38
+					$(seatlist).each(function(i, n) {
39
+						obj.append('<option value="' + n.F_Code + '">' + n.F_Name + '</option>');
40
+					});
41
+					initTable();
42
+				}
43
+				
44
+				function initTable() {
45
+				$.ajax({
46
+					type: "get",
47
+					url: huayi.config.callcenter_url + "CountyBusiness/GetAreaCount",
48
+					async: true,
49
+					dataType: 'json',
50
+					data: {
51
+						token: $.cookie("token"),
52
+						branchcode: $('#dot').val(), //网点编号(必选),
53
+						start: $('#startTime').val(), //(1月2周3天4时)
54
+						end: $('#endTime').val(),
55
+						type:2,
56
+						isdc: 0
57
+					},
58
+					success: function(data) {
59
+						if(data.state.toLowerCase() == 'success') {
60
+							$('#orderlist').bootstrapTable('load', data.data.AreaCountReport);
61
+						}
62
+					}
63
+				});
64
+				$('#orderlist').bootstrapTable('destroy').bootstrapTable({striped: true	});
65
+					
66
+			
67
+
68
+			}
69
+		
70
+	
71
+})