|
@@ -10,6 +10,9 @@
|
|
|
<link rel="Shortcut Icon" href="/favicon.ico" />
|
|
|
<#include "/base/list_base.ftl">
|
|
|
<title>员工列表</title>
|
|
|
+ <style>
|
|
|
+ .my-btn-search{border: 1px solid #32a3d8;padding: 1px 25px;height: 32px;background-color: #32a3d8;color: #fff;}
|
|
|
+ </style>
|
|
|
</head>
|
|
|
<body>
|
|
|
<nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页
|
|
@@ -20,18 +23,16 @@
|
|
|
<div class="page-container">
|
|
|
<div class="text-c">
|
|
|
<form action="${path}/admin/employee/_employee_list" method="post">
|
|
|
+ <button type="button" style="cursor:pointer;" class="my-btn-search" onclick="toAddEmployee();">增加员工</button>
|
|
|
<input type="text" class="input-text" style="width:150px" value="${employeeNo!}" placeholder="员工编号" id="employeeNo" name="employeeNo">
|
|
|
<input type="text" class="input-text" style="width:150px" value="${employeeName!}" placeholder="员工姓名" id="employeeName" name="employeeName">
|
|
|
<input type="text" class="input-text" style="width:150px" value="${employeeTel!}" placeholder="员工电话" id="employeeTel" name="employeeTel">
|
|
|
<button type="submit" class="btn" style="background: #32a3d8;color: #fff;-webkit-transform:translateY(-5%);" id="" name=""><i class="Hui-iconfont"></i> 搜索</button>
|
|
|
</form>
|
|
|
</div>
|
|
|
- <div class="cl pd-5 bk-gray mt-20">
|
|
|
- <span class="l">
|
|
|
- <button onClick="toAddEmployee()" class="btn radius" style="background: #58d2ea;color: #fff;" type="button"><i class="Hui-iconfont"></i>增加员工</button>
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- <table class="table table-border table-bordered table-hover">
|
|
|
+
|
|
|
+ <div class="mt-20">
|
|
|
+ <table class="table table-border table-bordered table-bg table-hover table-sort">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th scope="col" colspan="18">员工列表</th>
|
|
@@ -70,15 +71,17 @@
|
|
|
<a style="text-decoration:none" href="javascript:void(0);" title="编辑" onclick="admin_update_employee(${employee.employeeId!});">
|
|
|
<i class="Hui-iconfont"></i>
|
|
|
</a>
|
|
|
- <#--<a style="text-decoration:none" href="javascript:void(0);" title="删除" onclick="admin_del_employee(${employee.employeeId!});">
|
|
|
- <i class="Hui-iconfont"></i>
|
|
|
- </a>-->
|
|
|
+ <a style="text-decoration:none" href="javascript:;" title="查看"
|
|
|
+ onclick="edit_process('${path}/admin/equipment/_update_process?deviceId=0');">
|
|
|
+ <i class="Hui-iconfont"></i>
|
|
|
+ </a>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</#list>
|
|
|
|
|
|
</tbody>
|
|
|
</table>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<tfoot>
|
|
|
<#include "/base/page_util.ftl">
|
|
@@ -93,11 +96,16 @@
|
|
|
h 弹出层高度(缺省调默认值)
|
|
|
*/
|
|
|
|
|
|
+
|
|
|
/*子页面添加完信息后回显添加结果是否成功*/
|
|
|
function admin_result(str,num) {
|
|
|
layer.msg(str,{icon:num,time:1000});
|
|
|
}
|
|
|
|
|
|
+ function edit_process(url) {
|
|
|
+ window.location.href = url
|
|
|
+ }
|
|
|
+
|
|
|
/*管理员-详情*/
|
|
|
function admin_add_filter(url){
|
|
|
window.location.href= url;
|