list.html
10.3 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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
<!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">
<!-- 自增样式表 -->
<link rel="stylesheet" href="/inspection/css/xj-style.css">
<link rel="stylesheet" type="text/css" href="/inspection/css/xj_css.css"/>
</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="index.html"><i class="fa fa-home"></i>首页</a></li> -->
<li class="active"><i class="fa fa-align-left"></i>通知公告</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 " style="padding-top: 0; padding-left: 0;">
<ul class="row wrap_bg">
<li class="col-xs-3 sblbs" style="border-right: 1px solid #eee;">
<h4 class="gg-bm">选则发送部门</h4>
<div class="tree totrees">
<ul>
<li>
<span><input type="checkbox" name="" id="" value="" />全部</span>
<ul>
<li>
<!-- <i class="fa fa-plus-square-o"></i> -->
<span><input type="checkbox" name="" id="" value="1" />蒙自市</span> <a href=""></a>
<ul>
{volist name='navlist' id='item'}
<li>
<span><input type="checkbox" name="" id="" value="{$item.id}" /><a href="/inspection/message/list?area_id={$item.id}">{$item.area_name}</a></span>
</li>
{/volist}
</ul>
</li>
<!--<li>-->
<!-- <span><input type="checkbox" name="" id="" value="" />个旧市</span> <a href=""></a>-->
<!-- <ul>-->
<!-- <li>-->
<!-- <span><input type="checkbox" name="" id="" value="" />小新寨水库</span> <a href=""></a>-->
<!-- </li>-->
<!-- <li>-->
<!-- <span><input type="checkbox" name="" id="" value="" />响水河水库</span> <a href=""></a>-->
<!-- </li>-->
<!-- <li>-->
<!-- <span><input type="checkbox" name="" id="" value="" />马鞍山水库</span> <a href=""></a>-->
<!-- </li>-->
<!-- </ul>-->
<!--</li>-->
<!--<li>-->
<!-- <span><input type="checkbox" name="" id="" value="" />河口县</span> <a href=""></a>-->
<!-- <ul>-->
<!-- <li>-->
<!-- <span><input type="checkbox" name="" id="" value="" />小新寨水库</span> <a href=""></a>-->
<!-- </li>-->
<!-- <li>-->
<!-- <span><input type="checkbox" name="" id="" value="" />响水河水库</span> <a href=""></a>-->
<!-- </li>-->
<!-- <li>-->
<!-- <span><input type="checkbox" name="" id="" value="" />马鞍山水库</span> <a href=""></a>-->
<!-- </li>-->
<!-- </ul>-->
<!--</li>-->
</ul>
</li>
</ul>
</div>
<div class="fsbm">
<a href="" class="btn fsrw" data-toggle="modal" data-target="#mymodal-data">发送通知</a>
</div>
</li>
<li class="col-xs-9 zkdright right_box">
<ul class="row zkdhead zk_border">
<li class="col-xs-12 col-xj">
<div class="wrapper ">
<section class="panel">
<h3>已发通知</h3>
<header class="panel-heading head-border tz-ss">
<!-- <div class="getint">
</div> -->
<div class="searchs tz-gg" >
<form action="" method="">
<input type="search" class="xj-input" placeholder="搜索标题" lang="zh-CN">
<a href="#" class="btn btn-default pt-cx">查询</a>
<input type="date" name="" id="" value="" />
</form>
</div>
</header>
<div class="panel-body">
<div class="listall yjgl yftz-tzgg">
<ul>
<li class="header">
<span>通知标题</span>
<span>发送时间</span>
<span>操作</span>
</li>
{volist name='list' id='item'}
<li class="lb">
<span>{$item.title}</span>
<span>{$item.createtime|date='Y-m-d H:i',###}</span>
<span class="editor edit">
<a href="" data-toggle="modal" data-target="#gg-edit">编辑</a>
</span>
</li>
{/volist}
</ul>
</div>
</div>
</section>
<li>
<div class="page clearfix font font_yuj">
<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>
</li>
</div>
</li>
</ul>
</li>
</ul>
<!-- 底部 -->
<div class="bq">
<h4>云南腾亿融媒互联网有限公司</h4>
</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 rw-title">通知公告发送</h4>
</div>
<div class="modal-body b- tz-input">
<ul>
<li>
<span><b>*</b> 标题:</span>
<input type="text" value="" placeholder="请输入标题" class="form-control xjd-add"/>
</li>
<!-- <li class="ggfs">
<span><b>*</b>发送类型:</span>
<span><input type="radio" id="s" name="type" /><span>通知</span></span>
<span><input type="radio" name="type" id="s"/><span >公告</span></span>
</li> -->
<li class="ggfs" >
<span><b>*</b>发送人员:</span>
<span><input type="radio" name="person" id="s"/><span>当前层级用户</span></span>
<span><input type="radio" name="person" id="s"/><span >当前层级下面的所有用户</span></span>
</li>
<li>
<span><b>*</b> 内容:</span>
<textarea rows="8" cols="45"></textarea>
</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="gg-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- qy-mtk">
<ul>
<li>
<span><b>*</b>通知标题:</span>
<select name="" class="form-control">
<option value="">请选择标题</option>
<option value="">标题1</option>
<option value="">标题2</option>
</select>
</li>
<li>
<span><b>*</b>发送时间:</span>
<input type="date" class="form-control" placeholder=""/>
</li>
</ul>
</div>
<div class="modal-footer rw-db">
<button type="button" class="btn rw-tj" data-bs-dismiss="modal" style="outline: none;">提交</button>
<a href="#" class="btn" data-dismiss="modal">关闭</a>
</div>
</div>
</div>
</div>
<!-- 模态框 -->
<style type="text/css">
.codebox {
width: 50%;
margin: 10% auto;
background-color: #fff;
border-radius: 8px;
}
.codebox .panel-body {
width: 100%;
text-align: center;
}
</style>
<!-- 模态框 -->
<script src="/inspection/js/bootstrap.js"></script>
<script src="/inspection/js/echarts.min.js"></script>
<script src="/inspection/js/scripts.js"></script>
<script src="laydate/laydate.js"></script>
<script>
lay('#version').html('-v' + laydate.v);
laydate.render({
elem: '#test1',
range: true,
theme: '#1890ff'
});
</script>
<!-- 公共内容 -->
<!-- 公共内容 -->
<script type="text/javascript">
$(function() {
$(".btn").click(function() {
$("#mymodal").modal("toggle");
});
});
</script>
<!-- 树形 -->
<script type="text/javascript">
$(function() {
$('.tree li:has(ul)').addClass('parent_li').find(' > span').attr('title', 'Collapse this branch');
$('.tree li.parent_li > span').on('click', function(e) {
var children = $(this).parent('li.parent_li').find(' > ul > li');
if (children.is(":visible")) {
children.hide('fast');
$(this).attr('title', 'Expand this branch').find(' > i').addClass('fa-plus-square-o')
.removeClass('');
} else {
children.show('fast');
$(this).attr('title', 'Collapse this branch').find(' > i').addClass('')
.removeClass('');
}
e.stopPropagation();
});
});
</script>
</body>
</html>