<#assign gridName="vdbLevelGrid${uuid!}"> <@ZKUI.DGrid gridName="${gridName}"> <@ZKUI.LeftGrid title="vdb_leftMenu_accessLevel"> <@ZKUI.Searchbar> <@ZKUI.SearchTop> <@ZKUI.Input name="name" maxlength="30" title="common_level_name" type="text"/> <@ZKUI.Toolbar> <@ZKUI.ToolItem type="refresh" permission="vdb:level:refresh"> <@ZKUI.ToolItem id="vdbLevel.do?edit" text="common_op_new" width="400" height="150" img="comm_add.png" action="commonAdd" permission="vdb:level:add"> <@ZKUI.ToolItem id="vdbLevel.do?del&names=(name)" text="common_op_del" img="comm_del.png" action="delVdbLevel" permission="vdb:level:del"/> <@ZKUI.ToolItem type="more" text="common_op_export" img="comm_export.png"> <@ZKUI.ToolItem id="vdbLevel.do?export" type="export" text="vdb_level_exportLevel" title="vdb_level_exportLevel" permission="vdb:level:export" /> <@ZKUI.ToolItem id="vdbLevel.do?exportLevelDevice" type="export" action="exportLevelDevice" text="vdb_level_exportLevelDevice" title="vdb_level_exportLevelDevice" permission="vdb:levelDevice:export" /> <@ZKUI.ToolItem type="more" text="common_op_import" img="comm_import.png"> <@ZKUI.ToolItem id="vdbLevel.do?import" type="import" showImportProcess="true" updateExistData="true" text="vdb_level_importLevel" onFinish="reloadVdbLevelGrid" title="vdb_level_importLevel" width="500" height="250" permission="vdb:level:import" /> <@ZKUI.ToolItem id="vdbLevel.do?importLevelDevice" type="import" showImportProcess="true" text="vdb_level_importLevelDevice" onFinish="reloadVdbLevelGrid" title="vdb_level_importLevelDevice" width="500" height="250" permission="vdb:levelDevice:import" /> <@ZKUI.Grid onRowSelect="vdbLevelLeftGridClick" vo="com.zkteco.zkbiosecurity.vdb.vo.VdbLevelItem" query="vdbLevel.do?list" autoFirst="true"/> <@ZKUI.RightGrid callback="vdbLevelRightCallback" leftFieldName="vdbLevelId"> <@ZKUI.Searchbar> <@ZKUI.SearchTop> <@ZKUI.Input name="name" maxlength="30" title="common_dev_name" type="text"/> <@ZKUI.Combo title="common_dev_devType" readonly="readonly" name="deviceTypeEq"> <@ZKUI.SearchBelow> <@ZKUI.ComboTree url="authArea.do?tree" title="base_area_name" name="areaIdIn" readonly="readonly"/> <@ZKUI.Input name="buildingName" maxlength="30" title="vdb_building_name" type="text"/> <@ZKUI.Input name="unitName" maxlength="30" title="vdb_unit_name" type="text"/> <@ZKUI.Toolbar> <@ZKUI.ToolItem type="refresh" permission="vdb:level:refresh"> <@ZKUI.ToolItem id="vdbLevel.do?delDevice&levelId=(@id:gs)&levelName=(@name:gs)&deviceIds=(id)&deviceNames=(name)" text="vdb_level_delDevice" img="comm_del.png" action="delVdbLevelDevice" permission="vdb:level:delDevice"> <@ZKUI.Grid vo="com.zkteco.zkbiosecurity.vdb.vo.VdbLevelDeviceItem" query="vdbLevel.do?deviceList"/>