| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@include file="/context/mytags.jsp"%>
- <t:base type="jquery,easyui,tools,DatePicker"></t:base>
- <div class="easyui-layout" fit="true">
- <div region="center" style="padding:0px;border:0px">
- <t:datagrid name="tBusSpecialAttendList" checkbox="true" fitColumns="true" title="员工特殊考勤表" actionUrl="tBusSpecialAttendController.do?datagrid" idField="id" fit="true" queryMode="group">
- <t:dgCol title="员工" field="userid" queryMode="single" dictionary="t_s_base_user,id,realname" width="120"></t:dgCol>
- <t:dgCol title="数据库标识" field="id" hidden="true" query="false" queryMode="single" width="220"></t:dgCol>
- <t:dgCol title="考勤方式" field="attendtype" query="false" queryMode="single" dictionary="special_attendtype" width="120"></t:dgCol>
- <t:dgCol title="创建人名称" field="createName" hidden="false" queryMode="single" width="120"></t:dgCol>
- <t:dgCol title="创建人登录名称" field="createBy" hidden="true" queryMode="single" width="120"></t:dgCol>
- <t:dgCol title="创建日期" field="createDate" formatter="yyyy-MM-dd" hidden="false" queryMode="single" width="120"></t:dgCol>
- <t:dgCol title="更新人名称" field="updateName" hidden="false" queryMode="single" width="120"></t:dgCol>
- <t:dgCol title="更新人登录名称" field="updateBy" hidden="true" queryMode="single" width="120"></t:dgCol>
- <t:dgCol title="更新日期" field="updateDate" formatter="yyyy-MM-dd" hidden="false" queryMode="single" width="120"></t:dgCol>
- <t:dgCol title="所属部门" field="sysOrgCode" hidden="false" queryMode="single" width="120"></t:dgCol>
- <t:dgCol title="所属公司" field="sysCompanyCode" hidden="true" queryMode="single" width="120"></t:dgCol>
- <t:dgCol title="流程状态" field="bpmStatus" hidden="true" queryMode="single" dictionary="bpm_status" width="120"></t:dgCol>
- <t:dgCol title="操作" field="opt"></t:dgCol>
- <t:dgDelOpt title="移除" url="tBusSpecialAttendController.do?doDel&id={id}" urlclass="ace_button" urlfont="fa-trash-o"/>
- <t:dgToolBar title="添加" icon="icon-add" operationCode="add" url="tBusSpecialAttendController.do?goAdd" funname="add"></t:dgToolBar>
-
- <t:dgToolBar title="批量移除" icon="icon-remove" operationCode="remove" url="tBusSpecialAttendController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
-
- </t:datagrid>
- </div>
- </div>
- <script src = "webpage/cn/com/lzt/attendance/tBusSpecialAttendList.js"></script>
- <script>
- $(function() {
- var datagrid = $("#tBusSpecialAttendListtb");
- datagrid.prepend($("#pinjie1 div[name='pinjie2']").html());
- $("#pinjie1").html('');
-
-
- datagrid.children(".datagrid-toolbar").children("span:first").after($("#pinjiechaxun1 div[name='pinjiechaxun2']").html());
- $("#pinjiechaxun1").html('');
- });
- </script>
- <div id="pinjie1">
- <div name="pinjie2" style="padding:3px; height: auto" class="datagrid-toolbar">
- <div name="searchColums" style="margin:23px 0 18px 0;margin-top: 15px;margin-bottom: 8px;">
- <%-- <input type="hidden" id="orgCode" name="orgCode" value="${orgCode}"> --%>
- <table style="padding:0px" cellpadding="0" cellspacing="1" >
- <tbody>
- <tr height="50px">
- <td align="right" style="width: 74px;">
- <label class="Validform_label">
- 考勤方式:
- </label>
- </td>
- <td class="value">
- <t:dictSelect field="attendtype" type="list" extendJson="{class:'form-control',style:'width:120px'}"
- typeGroupCode="special_attendtype" hasLabel="false" title="考勤方式" datatype="*" ></t:dictSelect>
- </td>
- <td align="right" style="width: 74px;">
- <label class="Validform_label">
- 姓名:
- </label>
- </td>
- <td class="value">
- <input id="realname" name="realname" type="text" style="width: 157px; " class="inputxt" placeholder="支持模糊搜索">
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
-
- <div id="pinjiechaxun1">
- <div name="pinjiechaxun2" style="padding:3px; height: auto" class="datagrid-toolbar">
- <span style="float:right;margin-bottom:4px;">
- <span>
- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-search" id="tBusSpecialAttendListSearch" onclick="tBusSpecialAttendListsearch()">查询</a>
- </span>
- <span>
- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-reload " id="tBusSpecialAttendListRedo" onclick="searchReset('tBusSpecialAttendList')">重置</a>
- </span>
- </div>
- </div>
- </div>
- </div>
- <script type="text/javascript">
-
-
- //导入
- function ImportXls() {
- openuploadwin('Excel导入', 'tBusSpecialAttendController.do?upload', "tBusSpecialAttendList");
- }
- //导出
- function ExportXls() {
- JeecgExcelExport("tBusSpecialAttendController.do?exportXls","tBusSpecialAttendList");
- }
- //模板下载
- function ExportXlsByT() {
- JeecgExcelExport("tBusSpecialAttendController.do?exportXlsByT","tBusSpecialAttendList");
- }
- //新增
- function add(title,url,id){
- window.location.href=url
- }
- //修改
- function update(title,url, id){
- updateNotCreateWin("修改",url, "tBusSpecialAttendList",false);
- }
- //查看
- function view(title,url, id){
- viewNotCreateWin("查看",url, "tBusSpecialAttendList",false)
- }
- </script>
|