WebUI/AchieveManageWeb/Views/Icons/Index.cshtml
(开头部分) 12KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>图标管理</title>
<link href="~/Scripts/jquery-easyui-1.4.4/themes/bootstrap/easyui.css" rel="stylesheet" />
<script src="~/Scripts/jquery-easyui-1.4.4/jquery.min.js"></script>
<script src="~/Scripts/jquery-easyui-1.4.4/jquery.easyui.min.js"></script>
<script src="~/Scripts/jquery-easyui-1.4.4/locale/easyui-lang-zh_CN.js"></script>
<link href="~/Content/themes/icon.css" rel="stylesheet" />
<script src="~/Content/js/common.js"></script>
<link href="~/Content/themes/table.css" rel="stylesheet" />
<script type="text/javascript">
$(function () {
$.ajax({ //请求当前用户可以操作的按钮
url: "/Button/GetUserAuthorizeButton?r=" + Math.random(),
type: "post",
data: { "KeyCode": "Icons", "KeyName": "Icons" },
dataType: "json",
timeout: 5000,
success: function (data) {
if (data.success) {
var toolbar = getToolBar(data); //common.js
if (data.search) { //判断是否有浏览权限
$("#ui_Icons_dg").datagrid({ //初始化datagrid
url: "/Icons/GetAllIconsInfo",
striped: true, rownumbers: true, pagination: true, pageSize: 20, singleSelect: true, multiSort: false,
idField: 'Id',
sortName: 'UpdateTime',
sortOrder: 'desc',
pageList: [20, 40, 60, 80, 100],
frozenColumns: [[
//{ field: 'ck', checkbox: true },
{ field: 'Id', title: '图标ID', width: 60 },
{ field: 'IconName', title: '图标名称', width: 200 },
{ field: 'IconCssInfo', title: '图标信息', width: 200 }]],
columns: [[
{ field: 'CreateBy', title: '创建人', width: 80 },
{ field: 'CreateTime', title: '创建时间', width: 120 },
{ field: 'UpdateBy', title: '最后更新人', width: 130 },
{ field: 'UpdateTime', title: '最后更新时间', sortable: true, width: 150 }
]],
toolbar: toolbar.length == 0 ? null : toolbar
});
}
else {
$.show_alert("提示", "无权限,请联系管理员!");
}
} else {
$.show_alert("错误", data.result);
}
},
error: function (XMLHttpRequest, textStatus, errorThrown) {
if (textStatus == "timeout") {
$.show_alert("提示", "请求超时,请刷新当前页重试!");
后面还有 205 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。