#assign gridName="attOvertimeGrid${uuid!}">
<@ZKUI.GridBox gridName="${gridName}">
<@ZKUI.Searchbar>
<@ZKUI.SearchTop>
|
<@ZKUI.Input type="datetime" id="startTime${uuid}" endId="endTimeId${uuid}" name="startTime" title="common_time_from" todayRange="start" today="-3" readonly="false"/>
<@i18n 'common_to'/>
<@ZKUI.Input type="datetime" id="endTimeId${uuid}" name="endTime" title="common_to" todayRange="end" today="true" hideLabel="true" readonly="false"/>
|
<#if !staff>
<@ZKUI.Input name="personPin" maxlength="30" title="att_person_pin" type="text"/>
|
<@ZKUI.Input name="likeName" maxlength="30" title="pers_person_wholeName" type="text"/>
|
#if>
@ZKUI.SearchTop>
<#if !staff>
<@ZKUI.SearchBelow>
|
<@ZKUI.Input name="deptCode" maxlength="30" title="pers_dept_deptNo" type="text"/>
|
<@ZKUI.Input name="deptName" maxlength="30" title="pers_dept_deptName" type="text"/>
|
@ZKUI.SearchBelow>
#if>
@ZKUI.Searchbar>
<@ZKUI.Toolbar>
<@ZKUI.ToolItem id="refresh" text="common_op_refresh" img="comm_refresh.png" action="commonRefresh" permission="att:overtime:refresh">@ZKUI.ToolItem>
<#if !staff>
<@ZKUI.ToolItem id="attOvertime.do?edit" text="common_op_new" width="950" height="620" img="comm_add.png" action="commonAdd" permission="att:overtime:add">@ZKUI.ToolItem>
<@ZKUI.ToolItem id="attOvertime.do?del&pins=(personPin)" text="common_op_del" img="comm_del.png" action="commonDel" permission="att:overtime:del">@ZKUI.ToolItem>
<#else>
<@ZKUI.ToolItem id="attWfSelfApply.do?startApply&flowType=overtime" text="common_op_new" width="450" height="500" img="comm_add.png" action="openApplyOvertimeWindow" permission="att:overtime:add">@ZKUI.ToolItem>
#if>
<@ZKUI.ToolItem id="attOvertime.do?export" type="export" text="common_op_export" img="comm_export.png" permission="att:overtime:export"/>
@ZKUI.Toolbar>
<@ZKUI.Grid vo="com.zkteco.zkbiosecurity.att.vo.AttOvertimeItem" query="attOvertime.do?list"/>
@ZKUI.GridBox>