#assign gridName="attWorkTimeReportGrid${uuid!}">
<#assign treeId="departmentTree${uuid!}">
<#assign fixColumn = "4">
<#if Application['system.language'] != "zh_CN">
<#assign fixColumn = "5">
#if>
<@ZKUI.GridBox gridName="${gridName}">
<@ZKUI.Searchbar onBeforeQuery="searchAttMonthDetail" >
<@ZKUI.SearchTop>
|
<@ZKUI.Input type="datetime" id="beginTime${uuid!}" endId="endTime${uuid!}" name="startDatetimeBegin" title="common_time_from" todayRange="start" max="today" today="-1" noOverToday="true" readonly="false"/>
<@i18n 'common_to'/>
<@ZKUI.Input type="datetime" id="endTime${uuid!}" name="startDatetimeEnd" title="common_to" max="today" todayRange="end" today="true" noOverToday="true" hideLabel="true" readonly="false"/>
|
<#if !staff>
<@ZKUI.Input name="personPin" id="id_attMonth_pin" maxlength="30" title="att_person_pin" type="text"/>
|
<@ZKUI.Input name="deptName" maxlength="30" title="pers_dept_deptName" type="text"/>
|
#if>
@ZKUI.SearchTop>
<#if !staff>
<@ZKUI.SearchBelow>
|
<@ZKUI.Input name="likeName" id="id_attMonth_likeName" maxlength="30" title="pers_person_wholeName" type="text"/>
|
@ZKUI.SearchBelow>
#if>
@ZKUI.Searchbar>
<@ZKUI.Layout id="layout${uuid}" style="position:absolute; top:70px;bottom:0px;left:0px;right:0px;height:auto;">
<#if staff>
<@ZKUI.Cell hideHeader="true">
<@ZKUI.Toolbar>
<@ZKUI.ToolItem id="refresh" text="common_op_refresh" img="comm_refresh.png" action="commonRefresh" permission="att:workTimeReport:refresh"/>
<@ZKUI.ToolItem id="attWorkTimeReport.do?export" isShow="true" type="export" permission="att:workTimeReport:export"/>
@ZKUI.Toolbar>
@ZKUI.Cell>
#if>
<#if !staff>
<@ZKUI.Cell width="240" treeId="tree${uuid!}" hideArrow="true">
<@ZKUI.Tree dynamic="true" id="tree${uuid!}" url="authDepartment.do?dynaTree&showPersonCount=false" onClick="attWorkTimeDeptTreeClick">@ZKUI.Tree>
@ZKUI.Cell>
<@ZKUI.Cell hideHeader="true">
<@ZKUI.Toolbar>
<@ZKUI.ToolItem id="refresh" text="common_op_refresh" img="comm_refresh.png" action="commonRefresh" permission="att:workTimeReport:refresh"/>
<@ZKUI.ToolItem id="attWorkTimeReport.do?export" isShow="true" type="export" permission="att:workTimeReport:export"/>
@ZKUI.Toolbar>
@ZKUI.Cell>
#if>
@ZKUI.Layout>
@ZKUI.GridBox>