初始化CRICS

This commit is contained in:
2025-12-11 09:17:16 +08:00
commit 83247ec0a2
2735 changed files with 787765 additions and 0 deletions

View File

@@ -0,0 +1,85 @@
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/MasterPage.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
<%: Html.Language("LogManagement")%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="easyui-layout" data-options="fit:true">
<div title="<%: Html.Language("LogManagement")%>" data-options="region:'center',border:false">
<table id="dg" class="easyui-datagrid" style="width:100%; height:auto;"
data-options="
toolbar: '#tb',
border: false,
singleSelect: false,
pagination: true,
pageSize: 20,
rownumbers: true,
striped: true,
sortName: 'Time',
sortOrder: 'desc',
fit: true,
fitColumns: true,
idField: 'ID',
frozenColumns: [[
{ field: 'ID', checkbox: true }
]],
url: '/SysSystemLogs/LoadAllByPage/',
method: 'post'
">
<thead>
<tr>
<th data-options="field:'Authority',sortable:true">
<%: Html.Language("OperationModule")%>
</th>
<th data-options="field:'Action',sortable:true">
<%: Html.Language("Action")%>
</th>
<th data-options="field:'Detail',width:100, sortable:true">
<%: Html.Language("Detail")%>
</th>
<th data-options="field:'Result',sortable:true">
<%: Html.Language("Result")%>
</th>
<th data-options="field:'Account',sortable:true">
<%: Html.Language("Operator")%>
</th>
<th data-options="field:'IP',sortable:true">
<%: Html.Language("IP")%>
</th>
<th data-options="field:'Time',sortable:true,formatter:$.tools.formatDateTime">
<%: Html.Language("OperationTime")%>
</th>
</tr>
</thead>
</table>
</div>
<div id="tb" style="position:relative;">
<span style="padding-left:5px;">
<%: Html.Language("Module")%><input id="selAuthority" class="easyui-combobox" style="width:120px;" data-options="valueField:'ID',textField:'Name',editable:false,url:'/SysAuthority/LoadAll/'" />&nbsp;
<%: Html.Language("StartDate")%><input id="txtStartDate" type="text" class="easyui-datebox" style="width:100px;" data-options="editable:false" />
<%: Html.Language("EndDate")%><input id="txtEndDate" type="text" class="easyui-datebox" style="width:100px;" data-options="editable:false" />
<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" onclick="query()"><%: Html.Language("Query")%></a>
</span>
<span style="position:absolute;right:10px;">
<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" onclick="refresh()"><%: Html.Language("Refresh")%></a>
<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" onclick="delData()"><%: Html.Language("Delete")%></a>
<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onclick="clearData()"><%: Html.Language("Empty")%></a>
</span>
</div>
</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
<script type="text/javascript" src="/Scripts/sys-system-logs-index.js"></script>
<% switch ((int)Session["isCN"]){case 1: %>
<script type="text/javascript" src="/Scripts/en-US.js"></script>
<% break; case 2: %>
<script type="text/javascript" src="/Scripts/zh-TW.js"></script>
<% break;default: %>
<script type="text/javascript" src="/Scripts/zh-CN.js"></script>
<% break; } %>
</asp:Content>

View File

@@ -0,0 +1,100 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SimonMasterPage.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
<%: Html.Language("LogManagement")%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="easyui-layout" data-options="fit:true">
<div data-options="region:'north',border:false" style="overflow:hidden;height:30px;">
<div class="toolbar" style="position:relative;">
<span style="padding-left:5px;">
<label><%: Html.Language("Module")%></label>
<input id="selAuthority" class="easyui-combobox" style="width:120px;"
data-options="
panelWidth:160,
valueField:'ID',
textField:'Name',
editable:false,
url:'/SysAuthority/LoadAll/'"
/>&nbsp;
<label><%: Html.Language("StartDate")%></label><input id="txtStartDate" type="text" class="easyui-datebox" style="width:100px;" data-options="editable:false" />
<label><%: Html.Language("EndDate")%></label><input id="txtEndDate" type="text" class="easyui-datebox" style="width:100px;" data-options="editable:false" />
<label><%: Html.Language("Keyword")%></label><input id="txtKeyword" class="easyui-validatebox" style="width: 120px;" />
<a href="javascript:void(0)" class="toolbar-button tb-icon-search" onclick="query()"><%: Html.Language("Query")%></a>
</span>
<span style="position:absolute;right:10px;">
<a href="javascript:void(0)" class="toolbar-button tb-icon-refresh" onclick="refresh()"><%: Html.Language("Refresh")%></a>
<a href="javascript:void(0)" class="toolbar-button tb-icon-remove" onclick="delData()"><%: Html.Language("Delete")%></a>
<a href="javascript:void(0)" class="toolbar-button tb-icon-clear" onclick="clearData()"><%: Html.Language("Empty")%></a>
</span>
</div>
</div>
<div data-options="region:'center',border:false">
<table id="dg" class="easyui-datagrid" style="width:100%; height:auto;"
data-options="
toolbar: '#tb',
border: false,
singleSelect: false,
pagination: true,
pageSize: 20,
pageList: [20, 50, 100, 200],
rownumbers: true,
striped: true,
sortName: 'Time',
sortOrder: 'desc',
fit: true,
fitColumns: true,
idField: 'ID',
nowrap:true,
frozenColumns: [[
{ field: 'ID', checkbox: true }
]],
method: 'post'
">
<thead>
<tr>
<th data-options="field:'Authority',sortable:true">
<%: Html.Language("OperationModule")%>
</th>
<th data-options="field:'Action',sortable:true">
<%: Html.Language("Action")%>
</th>
<th data-options="field:'Detail',width:100, sortable:true,formatter:detailFormatter">
<%: Html.Language("Detail")%>
</th>
<th data-options="field:'Result',sortable:true">
<%: Html.Language("Result")%>
</th>
<th data-options="field:'Account',sortable:true">
<%: Html.Language("Operator")%>
</th>
<th data-options="field:'IP',sortable:true">
<%: Html.Language("IP")%>
</th>
<th data-options="field:'Time',sortable:true,formatter:$.tools.formatDateTime">
<%: Html.Language("OperationTime")%>
</th>
</tr>
</thead>
</table>
</div>
</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
<style type="text/css">
.toolbar label {
font-size:12px;
}
</style>
<script type="text/javascript" src="/Scripts/sys-system-logs-index.js"></script>
<% switch ((int)Session["isCN"]){case 1: %>
<script type="text/javascript" src="/Scripts/en-US.js"></script>
<% break; case 2: %>
<script type="text/javascript" src="/Scripts/zh-TW.js"></script>
<% break;default: %>
<script type="text/javascript" src="/Scripts/zh-CN.js"></script>
<% break; } %>
</asp:Content>