InterIndex.cshtml 10.7 KB
@{ Layout = "~/Views/Shared/_Layout.cshtml"; }
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@section header
{
    <style type="text/css">

    </style>
}

<div id="listForm" class="layui-tab-item layui-show">
    <form class="layui-form layui-form-pane" action="" lay-filter="listForm">
        <div class="layui-form-item" id="panelSearch" hidden>
            <fieldset class="layui-elem-field">

                <div class="layui-field-box" id="qform">
                    <div class="layui-form-item layui-col-sm12">
                        <div class="layui-inline toolList">
                            <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-radius" data-type="btnQuery"><i class="layui-icon">&#xe615;</i>查询</a>
                            <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-warm" data-type="btnReset"><i class="layui-icon">&#xe66c;</i>重置</a>
                            <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-danger" data-type="btnClose"><i class="layui-icon">&#xe6a7;</i>关闭</a>
                        </div>
                    </div>
                    <div class="layui-row">
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">类型</label>
                            <div class="layui-input-inline">
                                <select name="type" ></select>
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">系统</label>
                            <div class="layui-input-inline">
                                <input name="system" type="text" autocomplete="off" maxlength="50" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">用户名</label>
                            <div class="layui-input-inline">
                                <input name="name" type="text" autocomplete="off" maxlength="50" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">路径</label>
                            <div class="layui-input-inline">
                                <input name="path" type="text" autocomplete="off" maxlength="500" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">调用方法</label>
                            <div class="layui-input-inline">
                                <input name="actionName" type="text" autocomplete="off" maxlength="500" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">最早时间</label>
                            <div class="layui-input-inline">
                                <input name="beginLogTime" type="text" lay-verify="required" class="layui-input layui-date" time="date" dateFormat="yyyy-MM-dd">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">最晚时间</label>
                            <div class="layui-input-inline">
                                <input name="endLogTime" type="text" lay-verify="required" class="layui-input layui-date" time="date" dateFormat="yyyy-MM-dd">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">response</label>
                            <div class="layui-input-inline">
                                <input name="response" type="text" lay-verify="required" placeholder='' class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">request</label>
                            <div class="layui-input-inline">
                                <input name="request" type="text" lay-verify="required" placeholder='此字段搜索时间比较耗时' class="layui-input">
                            </div>
                        </div>
                    </div>
                </div>
            </fieldset>
        </div>
    </form>

    <form class="layui-form layui-form-pane" action="" lay-filter="listFormDesc">
        <div class="layui-form-item" id="panelSearchDesc" hidden>
            <fieldset class="layui-elem-field">

                <div class="layui-field-box" id="qform">
                    <div class="layui-form-item layui-col-sm12">
                        <div class="layui-inline toolList">
                            <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-radius" data-type="btnQuery" data-flag="Desc"><i class="layui-icon">&#xe615;</i>查询</a>
                            <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-warm" data-type="btnReset" data-flag="Desc"><i class="layui-icon">&#xe66c;</i>重置</a>
                            <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-danger" data-type="btnClose" data-flag="Desc"><i class="layui-icon">&#xe6a7;</i>关闭</a>
                        </div>
                    </div>
                    <div class="layui-row">
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">类型</label>
                            <div class="layui-input-inline">
                                <select name="type"></select>
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">系统</label>
                            <div class="layui-input-inline">
                                <input name="system" type="text" autocomplete="off" maxlength="50" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">用户名</label>
                            <div class="layui-input-inline">
                                <input name="name" type="text" autocomplete="off" maxlength="50" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">路径</label>
                            <div class="layui-input-inline">
                                <input name="path" type="text" autocomplete="off" maxlength="500" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">调用方法</label>
                            <div class="layui-input-inline">
                                <input name="actionName" type="text" autocomplete="off" maxlength="500" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">最早时间</label>
                            <div class="layui-input-inline">
                                <input name="beginLogTime" type="text" lay-verify="required" class="layui-input layui-date" time="date" dateFormat="yyyy-MM-dd">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">最晚时间</label>
                            <div class="layui-input-inline">
                                <input name="endLogTime" type="text" lay-verify="required" class="layui-input layui-date" time="date" dateFormat="yyyy-MM-dd">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">response</label>
                            <div class="layui-input-inline">
                                <input name="response" type="text" lay-verify="required" placeholder='' class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">request</label>
                            <div class="layui-input-inline">
                                <input name="request" type="text" lay-verify="required" placeholder='全部页签' class="layui-input">
                            </div>
                        </div>
                    </div>
                </div>
            </fieldset>
        </div>
    </form>
    
    <div class="layui-col-xs12">
        <div class="layui-tab layui-tab-brief" lay-filter="tableTabBody">
            <ul class="layui-tab-title">
                <li class="layui-this" lay-id="1">错误</li>
                <li lay-id="2">全部</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <table id="mainList" lay-filter="mainList"></table>
                </div>
                <div class="layui-tab-item">
                    <table id="mainListDesc" lay-filter="mainListDesc"></table>
                </div>
            </div>
        </div>

    </div>
</div>
<script type="text/html" id="toolbarTable">
    <div class="layui-btn-container">
        <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-mini" lay-event="btnSelect"><i class="layui-icon">&#xe628;</i>检索</a>
        <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-mini" lay-event="btnRefresh"><i class="layui-icon">&#xe9aa;</i>刷新</a>
    </div>
</script>
<script type="text/html" id="toolbarTableDesc">
    <div class="layui-btn-container">
        <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-mini" lay-event="btnSelect"><i class="layui-icon">&#xe628;</i>检索</a>
        <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-mini" lay-event="btnRefresh"><i class="layui-icon">&#xe9aa;</i>刷新</a>
    </div>
</script>
@section Scripts
{
    <script type="text/javascript" src="/productjs/log/SysInterfaceLog.js" asp-append-version="true"></script>
}