|
@@ -0,0 +1,176 @@
|
|
|
+<!DOCTYPE HTML>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <meta name="renderer" content="webkit|ie-comp|ie-stand">
|
|
|
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
+ <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
|
|
|
+ <meta http-equiv="Cache-Control" content="no-siteapp" />
|
|
|
+ <link rel="Bookmark" href="/favicon.ico" >
|
|
|
+ <link rel="Shortcut Icon" href="/favicon.ico" />
|
|
|
+ <#include "/base/list_base.ftl">
|
|
|
+ <title>员工列表</title>
|
|
|
+ <style>
|
|
|
+ *{padding: 0;margin: 0;}
|
|
|
+ .my-input{border: 1px solid rgba(0,0,0,.1);padding: 1px 5px;height: 32px;margin-right: 10px;}
|
|
|
+ /*.my-input::-webkit-input-placeholder,.my-select{color: #dcdcdc;}*/
|
|
|
+ .my-select{border: 1px solid rgba(0,0,0,.1);padding:6px 50px 6px 15px;height: 34px; -webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/select-11.png) right center no-repeat;background-size:auto 100%;}
|
|
|
+ .my-btn-search{border: 1px solid #50a2ea;padding: 1px 25px;height: 32px;background-color: #fff;color: #50a2ea;}
|
|
|
+ .barcodeImg{margin:10px 0px}
|
|
|
+ .table-bg thead th{background-color: #e2f6ff;}
|
|
|
+ input[type=radio]{-webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/radio-1.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}
|
|
|
+ input[type=radio]:checked{-webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/radio-2.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}
|
|
|
+ </style>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+<nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页
|
|
|
+ <span class="c-gray en">/</span> 员工管理
|
|
|
+ <span class="c-gray en">/</span> 员工列表
|
|
|
+ <a class="btn radius r" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a>
|
|
|
+</nav>
|
|
|
+<div class="page-container">
|
|
|
+ <div class="text-c">
|
|
|
+ <form action="${path}/admin/productionPlan/select_employeeStatistical_list" method="post">
|
|
|
+
|
|
|
+ <input type="text" style="margin-top: -3px;width:9%;height:30px;margin-right: 0px;font-size: 9px;" name="statedate" id="statedate" class="input-text" placeholder="工作计划开始时间" onClick="WdatePicker({ dateFmt:'yyyy-MM-dd'})" value="${(ptsEmployee.stateDate?string("yyyy-MM-dd"))!''}" readonly="readonly"/>-
|
|
|
+ <input type="text" style="margin-top: -3px;width:9%;height:30px;margin-right: 0px;font-size: 9px;" name="enddate" id="enddate" class="input-text" placeholder="工作计划结束时间" onClick="WdatePicker({ dateFmt:'yyyy-MM-dd'})" value="${(ptsEmployee.endDate?string("yyyy-MM-dd"))!''}" readonly="readonly"/>
|
|
|
+ <button type="submit" class="my-btn-search" style="cursor:pointer;" id="" name=""><i class="Hui-iconfont"></i> 搜索</button>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <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>
|
|
|
+ <#–<th scope="col" colspan="2">共有数据:<strong>#{page.total}</strong> 条</th>–>
|
|
|
+ </tr>-->
|
|
|
+ <tr class="text-c">
|
|
|
+
|
|
|
+ <th width="80">员工编号</th>
|
|
|
+ <th width="100">员工姓名</th>
|
|
|
+ <th width="100">所属部门</th>
|
|
|
+ <th width="55">平均效率</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <#if page.dataList?? && (page.dataList?size > 0) >
|
|
|
+ <#list page.dataList as employee>
|
|
|
+ <tr class="text-c">
|
|
|
+ <td>${employee.employeeNo!}</td>
|
|
|
+ <td>${employee.employeeName!}</td>
|
|
|
+ <td>${employee.employeeLine!}</td>
|
|
|
+ <td>${employee.ageEfficiency!''}%</td>
|
|
|
+ </tr>
|
|
|
+ </#list>
|
|
|
+ <#else>
|
|
|
+ <tr><td colspan="11" class="td-manage text-c" >暂时没有记录</td></tr>
|
|
|
+ </#if>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+<tfoot>
|
|
|
+<#include "/base/page_util.ftl">
|
|
|
+</tfoot>
|
|
|
+<script type="text/javascript">
|
|
|
+ /*
|
|
|
+ 参数解释:
|
|
|
+ title 标题
|
|
|
+ url 请求的url
|
|
|
+ id 需要操作的数据id
|
|
|
+ w 弹出层宽度(缺省调默认值)
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+ /*管理员-删除*/
|
|
|
+ function admin_del(obj,id){
|
|
|
+ layer.confirm('确认要删除吗?',function(index){
|
|
|
+ $.ajax({
|
|
|
+ type: 'POST',
|
|
|
+ url: '',
|
|
|
+ dataType: 'json',
|
|
|
+ success: function(data){
|
|
|
+ $(obj).parents("tr").remove();
|
|
|
+ layer.msg('已删除!',{icon:1,time:1000});
|
|
|
+ },
|
|
|
+ error:function(data) {
|
|
|
+ console.log(data.msg);
|
|
|
+ },
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ /*管理员-编辑*/
|
|
|
+ function admin_edit(title,url,id,w,h){
|
|
|
+ layer_show(title,url,w,h);
|
|
|
+ }
|
|
|
+ /* 录入FAQ */
|
|
|
+ function add_FAQ(menuId,type) {
|
|
|
+ window.location.href= root_path + "/admin/faq/_add_FAQ?menuId="+menuId+"&menuType="+type;
|
|
|
+ // layer_show("增加FAQ", root_path + "/admin/faq/_add_FAQ?menuId="+menuId+"&menuType="+type);
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 修改二级菜单状态 */
|
|
|
+ function update_FAQState(detaId) {
|
|
|
+ layer.confirm('确认要停用吗?',function(index){
|
|
|
+ $.post(root_path + "/admin/faq/updat_FAQState",{detaId:detaId}, function(result){
|
|
|
+ if (result.returnCode != 200 || result.returnCode != 200) {
|
|
|
+ layer.msg('修改失败,请重试!',{icon: 5,time:3000});
|
|
|
+ } else {
|
|
|
+ layer.msg('修改成功!',{icon: 1,time:2000}, function () {
|
|
|
+ // 关闭当前页面,并刷新父级页面
|
|
|
+ window.location.reload();
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+</script>
|
|
|
+<script>
|
|
|
+ /**
|
|
|
+ * 导出员工到EXCEL
|
|
|
+ */
|
|
|
+ function toExcel(){
|
|
|
+ window.location.href= "${path}/admin/employee/excel";
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * 跳转到添加员工页面
|
|
|
+ */
|
|
|
+ function toAddEmployee(){
|
|
|
+ window.location.href= "${path}/admin/employee/to_save_employee";
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ *跳转到编辑页面
|
|
|
+ * @param employee
|
|
|
+ */
|
|
|
+ function admin_update_employee(employeeId) {
|
|
|
+ window.location.href= "${path}/admin/employee/to_update_employee?employeeId="+employeeId;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 删除员工
|
|
|
+ * @param employeeId
|
|
|
+ */
|
|
|
+ function admin_del_employee(employeeId) {
|
|
|
+ window.location.href= "${path}/admin/employee/delete_employee?employeeId="+employeeId;
|
|
|
+ }
|
|
|
+</script>
|
|
|
+</body>
|
|
|
+</html>
|