<#assign gridName="attWorkTimeReportGrid${uuid!}"> <#assign treeId="departmentTree${uuid!}"> <#assign fixColumn = "4"> <#if Application['system.language'] != "zh_CN"> <#assign fixColumn = "5"> <@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 !staff> <@ZKUI.SearchBelow> <@ZKUI.Input name="likeName" id="id_attMonth_likeName" maxlength="30" title="pers_person_wholeName" type="text"/> <@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"/>
<#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.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"/>