|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+<!DOCTYPE html>
|
|
|
2
|
+<html>
|
|
|
3
|
+
|
|
|
4
|
+<head>
|
|
|
5
|
+ <meta charset="UTF-8">
|
|
|
6
|
+ <title>处理数量统计</title>
|
|
|
7
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
8
|
+ <script src="../Script/Common/huayi.load.js"></script>
|
|
|
9
|
+ <script src="../Script/Common/huayi.config.js"></script>
|
|
|
10
|
+ <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
|
|
|
11
|
+ <link href="../css/WorkOrder/Search.css" rel="stylesheet">
|
|
|
12
|
+ <link href="../css/init.css" rel="stylesheet" />
|
|
|
13
|
+ <script src="../js/laydate/laydate.js"></script>
|
|
|
14
|
+
|
|
|
15
|
+ <style>
|
|
|
16
|
+ table td {
|
|
|
17
|
+ word-break: break-all;
|
|
|
18
|
+ word-wrap: break-word;
|
|
|
19
|
+ }
|
|
|
20
|
+
|
|
|
21
|
+ .ld-service li {
|
|
|
22
|
+ float: left;
|
|
|
23
|
+ font-size: 14px;
|
|
|
24
|
+ color: #000;
|
|
|
25
|
+ padding: 5px 15px;
|
|
|
26
|
+ cursor: pointer;
|
|
|
27
|
+ border-bottom: 1px solid #ccc;
|
|
|
28
|
+ }
|
|
|
29
|
+
|
|
|
30
|
+ .cr-click {
|
|
|
31
|
+ border: 1px solid #ccc;
|
|
|
32
|
+ background-color: #fff;
|
|
|
33
|
+ border-bottom: none !important;
|
|
|
34
|
+ border-bottom-left-radius: 5px;
|
|
|
35
|
+ border-bottom-right-radius: 5px;
|
|
|
36
|
+ }
|
|
|
37
|
+
|
|
|
38
|
+ .Shows {
|
|
|
39
|
+ display: block !important;
|
|
|
40
|
+ }
|
|
|
41
|
+
|
|
|
42
|
+ .complain {
|
|
|
43
|
+ display: none;
|
|
|
44
|
+ }
|
|
|
45
|
+
|
|
|
46
|
+ th {
|
|
|
47
|
+ padding: 5px;
|
|
|
48
|
+ text-align: center;
|
|
|
49
|
+ }
|
|
|
50
|
+
|
|
|
51
|
+ td {
|
|
|
52
|
+ padding: 5px;
|
|
|
53
|
+ }
|
|
|
54
|
+
|
|
|
55
|
+ .Borders {
|
|
|
56
|
+ border: 1px solid #d7d7d7;
|
|
|
57
|
+ }
|
|
|
58
|
+ .cx {
|
|
|
59
|
+ display: block;
|
|
|
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>>
|
|
|
71
|
+ <a href="javaScript:;">业务统计</a>>
|
|
|
72
|
+ <a 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
|
+
|
|
|
80
|
+ <div class="Content_box">
|
|
|
81
|
+ <!--待处理/-->
|
|
|
82
|
+ <div class="complain Shows">
|
|
|
83
|
+ <div class="th-box">
|
|
|
84
|
+ <div class="th-bar">
|
|
|
85
|
+ <div class="seach-box">
|
|
|
86
|
+ <ul>
|
|
|
87
|
+ <li>
|
|
|
88
|
+ 月份:
|
|
|
89
|
+ <span class="time-box"><i class="tub fa fa-calendar"></i><input class="photo x-color inputs laydate-icon" type="text" id="monthDateTimes" /></span>
|
|
|
90
|
+ </li>
|
|
|
91
|
+ <li>
|
|
|
92
|
+ <a class="sc_btn btns db">搜索</a>
|
|
|
93
|
+ <a class="sc_btn btns export">导出</a>
|
|
|
94
|
+ </li>
|
|
|
95
|
+ <li><span class="text-danger" style="padding-left: 10px;line-height: 30px;">默认显示当前月的信息</span></li>
|
|
|
96
|
+ </ul>
|
|
|
97
|
+ </div>
|
|
|
98
|
+ </div>
|
|
|
99
|
+ </div>
|
|
|
100
|
+ <div style="width: 100%;padding: 10px;">
|
|
|
101
|
+ <table id="workorderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
|
|
|
102
|
+ <thead>
|
|
|
103
|
+ <tr>
|
|
|
104
|
+ <th data-field="deptname" data-align="center">单位名称</th>
|
|
|
105
|
+ <th data-field="acceptcount" data-align="center">当月受理量</th>
|
|
|
106
|
+ <th data-field="dealcount" data-align="center">当月处理量</th>
|
|
|
107
|
+ <th data-field="beforedealcount" data-align="center">往月处理量</th>
|
|
|
108
|
+ <th data-field="delaycount" data-align="center">当月延期量</th>
|
|
|
109
|
+ <th data-field="beforedelaycount" data-align="center">往月延期量</th>
|
|
|
110
|
+ <th data-field="reloadcount" data-align="center">当月重办量</th>
|
|
|
111
|
+ <th data-field="beforereloadcount" data-align="center">往月重办量</th>
|
|
|
112
|
+ <th data-field="endcount" data-align="center">当月办结量</th>
|
|
|
113
|
+ <th data-field="dealrate" data-align="center">当月办理率</th>
|
|
|
114
|
+ <th data-field="endrate" data-align="center">当月办结率</th>
|
|
|
115
|
+ </tr>
|
|
|
116
|
+ </thead>
|
|
|
117
|
+ </table>
|
|
|
118
|
+ </div>
|
|
|
119
|
+ </div>
|
|
|
120
|
+
|
|
|
121
|
+ </div>
|
|
|
122
|
+ </div>
|
|
|
123
|
+
|
|
|
124
|
+ <script>
|
|
|
125
|
+
|
|
|
126
|
+
|
|
|
127
|
+ $(document).ready(function () {
|
|
|
128
|
+
|
|
|
129
|
+ laydate.render({
|
|
|
130
|
+ theme: '#00a1cb',
|
|
|
131
|
+ trigger: 'click',
|
|
|
132
|
+ elem: '#monthDateTimes',
|
|
|
133
|
+ format: 'yyyy-MM',
|
|
|
134
|
+ type: 'month',
|
|
|
135
|
+ value: new Date()
|
|
|
136
|
+ });
|
|
|
137
|
+ initTable();
|
|
|
138
|
+ })
|
|
|
139
|
+ function initTable() {
|
|
|
140
|
+ $.ajax({
|
|
|
141
|
+ url: huayi.config.callcenter_url + 'WorkOrderReport/GetDeptMonthReport',
|
|
|
142
|
+ type: 'get',
|
|
|
143
|
+ data: {
|
|
|
144
|
+ date: $("#monthDateTimes").val(),
|
|
|
145
|
+ token: $.cookie("token")
|
|
|
146
|
+ },
|
|
|
147
|
+ dataType: "json",
|
|
|
148
|
+ async: true,
|
|
|
149
|
+ success: function (returnValue) {
|
|
|
150
|
+ //异步获取数据
|
|
|
151
|
+ var resultData1 = returnValue.data.DeptMonthReport;
|
|
|
152
|
+ $('#workorderlist').bootstrapTable('load', resultData1);
|
|
|
153
|
+ }
|
|
|
154
|
+ });
|
|
|
155
|
+ $('#workorderlist').bootstrapTable('destroy').bootstrapTable({ striped: true });
|
|
|
156
|
+ }
|
|
|
157
|
+
|
|
|
158
|
+ //代办搜索
|
|
|
159
|
+ $(".db").click(function () {
|
|
|
160
|
+ initTable();
|
|
|
161
|
+ })
|
|
|
162
|
+ //导出
|
|
|
163
|
+ $('.export').click(function(){
|
|
|
164
|
+ dcexcel(this);
|
|
|
165
|
+ })
|
|
|
166
|
+ function dcexcel(obj) {
|
|
|
167
|
+ var url = huayi.config.callcenter_url + "WorkOrderReport/GetDeptMonthReport?token=" + $.cookie("token");
|
|
|
168
|
+ url += "&date=" + $("#monthDateTimes").val() + "&isExport=true";
|
|
|
169
|
+ obj.href = url;
|
|
|
170
|
+ }
|
|
|
171
|
+
|
|
|
172
|
+
|
|
|
173
|
+ </script>
|
|
|
174
|
+</body>
|
|
|
175
|
+
|
|
|
176
|
+</html>
|