list.html
8.5 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
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>巡检计划</title>
<script src="/inspection/js/jquery.js"></script>
<link href="/inspection/css/font-awesome.css" rel="stylesheet">
<link href="/inspection/css/bootstrap.css" rel="stylesheet">
<link href="/inspection/css/style-responsive.css" rel="stylesheet">
<link href="/inspection/css/default-theme.css" rel="stylesheet">
<link href="/inspection/css/style.css" rel="stylesheet">
<link href="/inspection/css/bootstrap-reset.css" rel="stylesheet">
<!-- 新增table样式 -->
<link rel="stylesheet" href="/inspection/css/xj-style.css">
<link rel="stylesheet" type="text/css" href="/inspection/css/xj_css.css"/>
<script src="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/js/bootstrap.bundle.min.js"></script>
<!-- <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script> -->
<!-- <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.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><a href=""><i class="fa fa-align-left"></i>巡检计划</a></li>
</ol>
<div class="pull-right breadcrumbtn gg-i">
<button class="btn bt" style="outline: none;"><i class="fa fa-refresh"></i>刷新</button>
</div>
</div>
<!-- 当前位置 -->
<div class="wrapper">
<section class="panel">
<header class="panel-heading head-border topbox">
<div class="getint">
<a href="" class="btn fsrw" data-toggle="modal" data-target="#mymodal-data">添加</a>
</div>
<div class="searchs" >
<form action="" method="">
<input type="search" name="" required="" placeholder="请输入巡检路线" lang="zh-CN">
<a href="#" class="btn">查询</a>
</form>
</div>
</header>
<div class="panel-body">
<div class="listall yjgl xjjh-width">
<ul>
<li class="header">
<span>巡检计划名称</span>
<span>巡检路线</span>
<span>计划类型</span>
<span>周期执行次数</span>
<span>每次间隔(分钟)</span>
<span>开始时间</span>
<span>结束时间</span>
<!--<span>巡检人</span>-->
<span>操作</span>
</li>
{volist name='list' id='item'}
<li class="lb">
<span>{$item.plan_name}</span>
<span>{$item.route_name}</span>
<span>{$item.circle_type==1?'日':($item.circle_type==2?'周':'月')}</span>
<span>{$item.num}</span>
<span>{$item.time}</span>
<span>{:date('Y-m-d',$item.createtime)}</span>
<span>{$item.endtime ? date('Y-m-d') :'无'}</span>
<!--<span>{$item.staff_name}</span>-->
<span class="editor edit">
<a href="" data-toggle="modal" data-target="#jh-edit">编辑</a>
<a href="" >删除</a>
</span>
</li>
{/volist}
</ul>
</div>
</div>
<div class="page clearfix font">
<div class="pull-left num">共 {$list->total()} 条</div>
{$list->render()}
<nav aria-label="..." class="pull-left" style="display:none;">
<ul class="pagination">
<li class="disabled"><a href="#" aria-label="Previous"><span
aria-hidden="true">«</span></a></li>
<li class="active"><a href="#">1 </a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li><a href="#" aria-label="Next"><span aria-hidden="true">»</span></a></li>
</ul>
</nav>
<!--<a href="" class="tz">跳至-->
<!-- <a href="#" class="btn btn-default tzy">3</a>页-->
<!--</a>-->
</div>
</section>
<!-- 底部 -->
<div class="bq">
<h4>云南腾亿融媒互联网有限公司</h4>
<span>Email:160*****@qq.com</span>
<span>QQ:160******</span>
</div>
</div>
</div>
</section>
<!-- 模态框 -->
<div class="modal right fade" id="mymodal-data" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title jh-title">添加巡检计划</h4>
</div>
<div class="modal-body jh-content b-">
<ul>
<li>
<span><b>*</b>巡检计划名称:</span>
<input type="text" class="form-control" placeholder="请输入名称"/>
</li>
<li>
<span><b>*</b>巡检路线:</span>
<input type="text" class="form-control" placeholder="请输入巡检路线"/>
</li>
<li>
<span><b>*</b>计划类型:</span>
<input type="text" class="form-control" placeholder="请输入计划类型"/>
</li>
<li>
<span><b>*</b>周期内执行次数:</span>
<input type="text" class="form-control" placeholder="请输入执行次数"/>
</li>
<li>
<span><b>*</b>每次间隔时长(分钟):</span>
<input type="text" class="form-control" placeholder="请输入间隔时长"/>
</li>
<li>
<span><b>*</b>开始时间:</span>
<input type="date" value="" placeholder=""/>
</li>
<li>
<span><b>*</b>结束时间:</span>
<input type="date" value="" placeholder=""/>
</li>
<li>
<span><b>*</b>巡检人:</span>
<input type="text" class="form-control" placeholder="请输入巡检人"/>
</li>
</ul>
</div>
<div class="modal-footer rw-db">
<button type="button" class="btn rw-tj" style="outline: none; data-bs-dismiss="modal">提交</button>
<a href="#" class="btn" data-dismiss="modal">关闭</a>
</div>
</div>
</div>
</div>
<!-- 编辑 -->
<div class="modal right fade" id="jh-edit" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title jh-title">添加巡检计划</h4>
</div>
<div class="modal-body jh-content b-">
<ul>
<li>
<span><b>*</b>巡检计划名称:</span>
<input type="text" class="form-control" placeholder="请输入名称"/>
</li>
<li>
<span><b>*</b>巡检路线:</span>
<input type="text" class="form-control" placeholder="请输入巡检路线"/>
</li>
<li>
<span><b>*</b>计划类型:</span>
<input type="text" class="form-control" placeholder="请输入计划类型"/>
</li>
<li>
<span><b>*</b>周期内执行次数:</span>
<input type="text" class="form-control" placeholder="请输入执行次数"/>
</li>
<li>
<span><b>*</b>每次间隔时长(分钟):</span>
<input type="text" class="form-control" placeholder="请输入间隔时长"/>
</li>
<li>
<span><b>*</b>开始时间:</span>
<input type="date" value="" placeholder=""/>
</li>
<li>
<span><b>*</b>结束时间:</span>
<input type="date" value="" placeholder=""/>
</li>
<li>
<span><b>*</b>巡检人:</span>
<input type="text" class="form-control" placeholder="请输入巡检人"/>
</li>
</ul>
</div>
<div class="modal-footer rw-db">
<button type="button" class="btn rw-tj" style="outline: none; data-bs-dismiss="modal">提交</button>
<a href="#" class="btn" data-dismiss="modal">关闭</a>
</div>
</div>
</div>
</div>
<style type="text/css">
.box{
background-color: #fff;
height: 100%;
width: 600px;
position: absolute;
right: 0;
border-radius: 8px;
}
</style>
<script type="text/javascript">
$(function(){
$(".btn").click(function(){
$("#mymodal").modal("toggle");
});
});
</script>
<script src="/inspection/js/bootstrap.js"></script>
<script src="/inspection/js/echarts.min.js"></script>
<script src="/inspection/js/scripts.js"></script>
<script src="/inspection/laydate/laydate.js"></script>
</body>
</html>