index.html
7.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>智慧水库运行管理维护系统</title>
<script src="/run/js/jquery.js"></script>
<link href="/run/css/font-awesome.css" rel="stylesheet">
<link href="/run/css/bootstrap.css" rel="stylesheet">
<link href="/run/css/style-responsive.css" rel="stylesheet">
<link href="/run/css/default-theme.css" rel="stylesheet">
<link href="/run/css/style.css" rel="stylesheet">
<link href="/run/css/bootstrap-reset.css" rel="stylesheet">
<!-- 自增样式表 -->
<link rel="stylesheet" type="text/css" href="/run/css/other.css"/>
<script src="/run/js/echarts.min.js"></script>
</head>
<body class="sticky-header">
<!-- 头部 -->
<div id="head">{include file="common/_header"}</div>
<!-- 头部 -->
<section>
<!-- 导航 -->
<div class="sidebar-left">{include file="common/_leftnav"}</div>
<!-- 导航 -->
<div class="body-content">
<!-- 当前位置 -->
<div class="page-head clearfix">
<ol class="breadcrumb pull-left">
<li>主页</li>
</ol>
<div class="pull-right breadcrumbtn">
</div>
</div>
<div class="wrapper">
<!-- <div class="row row2 state-overview show wid-s">
<li class="f1">
<section class="panel purple style">
<div class="value gray text">
<h1 class="timer yellow-color" data-from="0" data-to="320" data-speed="1000">事故处理</h1>
<p>数量: <span>12</span>
</div>
</section>
</li>
<li class="f2">
<section class="panel purple style">
<div class="value gray text">
<h1 class="timer yellow-color" data-from="0" data-to="320" data-speed="1000">维护养护
</h1>
<p>数量: <span>452</span>
</div>
</section>
</li>
<li class="f3">
<section class="panel style">
</div>
<div class="value gray text">
<h1 class="purple-color timer" data-from="0" data-to="123" data-speed="1000">通知公告
</h1>
<p>数量: <span>28</span>
</div>
</section>
</li>
<li class="f4">
<section class="panel green style">
<div class="value gray text">
<h1 class="timer blue-color" data-from="0" data-to="432" data-speed="1000">工作日志</h1>
<p>数量: <span>128</span>
</div>
</section>
</li>
<li class="f5">
<section class="panel style">
</div>
<div class="value gray text">
<h1 class="green-color timer" data-from="0" data-to="2345" data-speed="3000">值班人员
</h1>
<p>值班员: <span>128</span>
</div>
</section>
</li>
</div> -->
<div class="row row2 listPr">
<li class="col-xs-12">
<section class="panel">
<header class="panel-heading head-border head-font">工单统计</header>
<div id="Main" style="width: 100%;height:400px;"></div>
<script type="text/javascript">
var chartDom = document.getElementById('Main');
var myChart = echarts.init(chartDom);
var option;
option = {
tooltip:{
trigger:'axis',
},
color:['#D5E6FF'],
axisLine:{
show:false,
},
xAxis: [{
axisLine:{
show:false, show:false
},
axisTick:{
show:false,
},
type: 'category',
boundaryGap: false,
data: {$date}
}],
yAxis: [{
axisLine:{
show:false, show:false
},
axisLine:{
show:false,
},
// 刻度线
axisTick:{
show:false,
},
axisLabel:{
show:false,
},
type: 'value',
yxisLine:{
show:false
}
}],
series: [
{
data: {$count},
type: 'line',
areaStyle: {},
// markPoint:{
// data:[{
// type:'max',name:'max',
// }]
// },
},
]
};
option && myChart.setOption(option);
</script>
</section>
</li>
</div>
<!-- part2 第二排2列 -->
<div class="row row2 listPr">
<!-- 设备动态 -->
<li class="col-xs-6">
<section class="panel">
<header class="panel-heading head-border">工单数据统计</header>
<div id="main" style="width: 600px;height:370px;"></div>
<script type="text/javascript">
var chartDom = document.getElementById('main');
var myChart = echarts.init(chartDom);
var option;
option = {
// 修改
yAxis:{
show:false
},
title: {
left: 'center'
},
tooltip: {
trigger: 'item'
},
legend: {
orient: 'vertical',
right:'right',
y:'25%',
data:{$piename},
},
series: [
{
name: '工单发布',
type: 'pie',
radius: '70%',
center:['50%','50%'],
label:{
normal:{
show:false
}
},
data: {$pie},
emphasis: {
itemStyle: {
shadowBlur: 10,
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)'
}
}
}
]
};
option && myChart.setOption(option);
</script>
</section>
</li>
<!-- 值班人员 -->
<li class="col-xs-6">
<section class="panel">
<header class="panel-heading head-border ">值班人员</header>
<div class="panel-body">
<table class="table table-bordered tab">
<tr class="listint">
<td class="head">水库名称</td>
<td class="head">值班人</td>
<td class="head">联系方式</td>
</tr>
{foreach $person as $k => $v}
<tr class="listint">
<td class="head">{$v.reservoirname}</td>
<td class="head">{$v.duty}</td>
<td class="head">{$v.mobile}</td>
</tr>
{/foreach}
</table>
<!-- <ul class="listint">
<li class="head"><span>水库名称</span><span>值班人</span><span>联系方式</span></li>
<li ><span>河口县老街子水库</span><span>张三</span><span>13866666666</a></span></li>
<li ><span>河口县旱塘水库</span><span>张三</span><span>13866666666</a></span></li>
<li ><span>河口县旱塘水库</span><span>张三</span><span>13866666666</a></span></li>
</ul> -->
</div>
</section>
</li>
</div>
</div>
</div>
</section>
<script src="/run/js/bootstrap.js"></script>
<script src="/run/js/echarts.min.js"></script>
<script src="/run/js/scripts.js"></script>
<script src="/run/laydate/laydate.js"></script>
<!-- 公共内容 -->
<!--<script type="text/javascript">-->
<!-- $("#head").load("common/head.html");-->
<!-- $(".sidebar-left").load("common/navs.html");-->
<!-- </script>-->
<!-- 开关 -->
</body>
</html>