初始化CRICS
This commit is contained in:
75
WebSite/Views/Cache/Index.aspx
Normal file
75
WebSite/Views/Cache/Index.aspx
Normal file
@@ -0,0 +1,75 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SimonMasterPage.Master"
|
||||
Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
||||
当前缓存记录查询
|
||||
</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;">
|
||||
<a href="javascript:void(0)" class="toolbar-button tb-icon-search" onclick="query()">
|
||||
查询</a> </span><span style="position: absolute; right: 10px;">
|
||||
</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: 50,
|
||||
rownumbers: true,
|
||||
striped: true,
|
||||
sortName: 'CreatedDate',
|
||||
sortOrder: 'desc',
|
||||
fit: true,
|
||||
fitColumns: true,
|
||||
idField: 'ID',
|
||||
nowrap:true,
|
||||
frozenColumns: [[
|
||||
{ field: 'ID', checkbox: true }
|
||||
]],
|
||||
method: 'post'
|
||||
">
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-options="field:'Name',sortable:true">
|
||||
姓名
|
||||
</th>
|
||||
<th data-options="field:'CompanyName',sortable:true">
|
||||
公司名
|
||||
</th>
|
||||
<th data-options="field:'PhoneNumber',sortable:true">
|
||||
手机号
|
||||
</th>
|
||||
<th data-options="field:'ValidateCode',sortable:true">
|
||||
验证码
|
||||
</th>
|
||||
<th data-options="field:'CreatedDate',sortable:true,formatter:$.tools.formatDateTime">
|
||||
创建日期
|
||||
</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">
|
||||
function query() {
|
||||
var params = {};
|
||||
$('#dg').datagrid({ url: '/Cache/LoadAllByPage/', queryParams: params });
|
||||
}
|
||||
$(function () {
|
||||
});
|
||||
</script>
|
||||
</asp:Content>
|
||||
Reference in New Issue
Block a user