<#assign gridName="attMonthDetailReportGrid${uuid!}"> <@ZKUI.GridBox gridName="${gridName}"> <@ZKUI.Searchbar onBeforeQuery="searchAttMonthDetail" onClear="updateSearchBarCondition" > <@ZKUI.SearchTop> <@ZKUI.Input type="date" id="beginTime${uuid!}" endId="endTime${uuid!}" name="monthStart" title="common_time_from" todayRange="start" readonly="false"/>   <@i18n 'common_to'/>   <@ZKUI.Input type="date" id="endTime${uuid!}" name="monthEnd" title="common_to" todayRange="end" today="true" max="today" hideLabel="true" readonly="false"/> <#if !user.staff> <@ZKUI.Input name="pin" id="pin${uuid!}" maxlength="30" title="att_person_pin" type="text"/> <@ZKUI.Input name="deptName" id="deptName${uuid!}" maxlength="30" title="pers_dept_deptName" type="text"/> <#if !user.staff> <@ZKUI.SearchBelow> <@ZKUI.Input name="likeName" id="likeName${uuid!}" 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;" onInit="attGlobalInitDeptTree"> <#if user.staff> <@ZKUI.Cell hideHeader="true"> <@ZKUI.Toolbar> <@ZKUI.ToolItem id="refresh" text="common_op_refresh" img="comm_refresh.png" action="commonRefresh" permission="att:monthDetailReport:refresh"/> <@ZKUI.ToolItem id="attMonthDetailReport.do?export" isShow="true" type="export" permission="att:monthDetailReport:export"/>
<#if !user.staff> <@ZKUI.Cell width="240" treeId="tree${uuid!}" > <@ZKUI.Tree dynamic="true" id="tree${uuid!}" url="authDepartment.do?dynaTree&showPersonCount=false" onClick="attGlobalDeptTreeClick"> <@ZKUI.Cell hideHeader="true"> <@ZKUI.Toolbar> <@ZKUI.ToolItem id="refresh" text="common_op_refresh" img="comm_refresh.png" action="commonRefresh" permission="att:monthDetailReport:refresh"/> <@ZKUI.ToolItem id="attMonthDetailReport.do?export" isShow="true" type="export" permission="att:monthDetailReport:export"/>