<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ include file="/webpage/include/taglib.jsp"%>
<%@ attribute name="url" type="java.lang.String" required="true"%>
<%@ attribute name="title" type="java.lang.String" required="true"%>
<%@ attribute name="width" type="java.lang.String" required="false"%>
<%@ attribute name="height" type="java.lang.String" required="false"%>
<%@ attribute name="target" type="java.lang.String" required="false"%>
<%@ attribute name="label" type="java.lang.String" required="false"%>
<button class="nav-btn nav-btn-log" data-toggle="tooltip" data-placement="left" onclick="importInfoRrr()" title="导入日志"><i class="fa fa-folder-open-o"></i> ${label==null?'导入日志':label}</button>
<%-- 使用方法： 1.将本tag写在查询的form之前；2.传入table的id和controller的url --%>
<script type="text/javascript">
    function importInfoRrr(){
        openDialogView('${title}',"${url}","${width==null?'95%':width}", "${height==null?'95%':height}","${target}");
    }
</script>