#assign gridName="attLeaveGrid${uuid!}">
<@ZKUI.GridBox gridName="${gridName}" showColumns="!deptCode,operateDatetime">
<@ZKUI.Searchbar>
<@ZKUI.SearchTop>
|
<@ZKUI.Input type="datetime" id="startTime${uuid}" endId="endTimeId${uuid}" name="startApplyDateTime" title="common_time_from" todayRange="start" today="-1" readonly="false"/>
<@i18n 'common_to'/>
<@ZKUI.Input type="datetime" id="endTimeId${uuid}" name="endApplyDateTime" title="common_to" todayRange="end" today="true" offset="1" hideLabel="true" readonly="false"/>
|
<@ZKUI.Input name="personPin" maxlength="30" title="att_person_pin" type="text"/>
|
<@ZKUI.Combo name="leaveTypeId" empty="true" title="att_leftMenu_leaveType" path="attLeaveType.do?listJsonLeaveType" />
|
@ZKUI.SearchTop>
<@ZKUI.SearchBelow>
|
<@ZKUI.Input name="likeName" maxlength="30" title="pers_person_wholeName" type="text"/>
|
<@ZKUI.Input name="deptCode" maxlength="30" title="att_common_deptNo" type="text"/>
|
<@ZKUI.Input name="deptName" maxlength="30" title="att_common_deptName" type="text"/>
|
<@ZKUI.Combo name="flowStatus" title="common_status" readonly="true">
@ZKUI.Combo>
|
@ZKUI.SearchBelow>
@ZKUI.Searchbar>
<@ZKUI.Layout style="position:absolute; top:70px;bottom:0px;left:0px;right:0px;height:auto;" onInit="attGlobalInitDeptTree">
<@ZKUI.Cell width="240" treeId="deptTree">
<@ZKUI.Tree dynamic="true" id="deptTree" url="authDepartment.do?dynaTree&showPersonCount=false" onClick="attGlobalDeptTreeClick">@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:leave:refresh">@ZKUI.ToolItem>
<@ZKUI.ToolItem id="attLeave.do?edit" text="common_op_new" width="1100" height="680" img="comm_add.png" action="commonAdd" permission="att:leave:add">@ZKUI.ToolItem>
<@ZKUI.ToolItem id="attLeave.do?del&pins=(personPin)" text="common_op_del" img="comm_del.png" action="commonDel" permission="att:leave:del">@ZKUI.ToolItem>
<@ZKUI.ToolItem type="more" text="att_flow_approve" img="att_approval.png">
<@ZKUI.ToolItem id="attLeave.do?approval&pins=(personPin)" text="att_apply_pass" img="att_approval_pass.png" action="commonOperate" permission="att:leave:approval">@ZKUI.ToolItem>
<@ZKUI.ToolItem id="attLeave.do?refuse&pins=(personPin)" text="att_exception_refuse" img="att_approval_refuse.png" action="commonOperate" permission="att:leave:approval">@ZKUI.ToolItem>
@ZKUI.ToolItem>
<@ZKUI.ToolItem id="attLeave.do?export" type="export" text="common_op_export" img="comm_export.png" permission="att:leave:export"/>
<@ZKUI.ToolItem type="more" text="common_op_import" img="comm_import.png" >
<@ZKUI.ToolItem id="attLeave.do?import" type="import" showImportProcess="true" onFinish="attGlobalReloadGrid" text="common_op_import" img="comm_import.png" permission="att:leave:import"/>
<@ZKUI.ToolItem action="attGlobalImportTemplate" type="export" text="att_exception_downTemplate" title="att_exception_downTemplate" img="common_download.png" permission="att:leave:import"/>
@ZKUI.ToolItem>
@ZKUI.Toolbar>
<@ZKUI.Grid vo="com.zkteco.zkbiosecurity.att.vo.AttLeaveItem" query="attLeave.do?list"/>
@ZKUI.Cell>
@ZKUI.Layout>
@ZKUI.GridBox>