source/HF.Application.Web/HF.Application.Web/Modules/Finance/Pages/AccountCateMgr.aspx
(开头部分) 11KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AccountCateMgr.aspx.cs" Inherits="HF.Finance.Module.AccountCateMgr" %>
<%@ Register Src="~/UC/MgrStypeJsCss.ascx" TagPrefix="uc1" TagName="MgrStypeJsCss" %>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<uc1:MgrStypeJsCss runat="server" ID="MgrStypeJsCss" />
<title>账户分类管理</title>
<style>
html, body {
height: 100%;
width: 100%;
}
</style>
<script>
var rootpath = "<%=RootPath%>";
$(function () {
InitialPage();
GetTree();
GetGrid();
});
//初始化页面
function InitialPage() {
//layout布局
$('#layout').layout({
applyDemoStyles: true,
onresize: function () {
$(window).resize()
}
});
//resize重设(表格、树形)宽高
$(window).resize(function (e) {
window.setTimeout(function () {
$('#gridTable').setGridWidth(($('.gridPanel').width()));
$("#gridTable").setGridHeight($(window).height() - 141.5);
$("#itemTree").setTreeHeight($(window).height() - 52);
}, 200);
e.stopPropagation();
});
}
//加载树
var _parentId = "";
var _parentName = "";
function GetTree() {
var item = {
height: $(window).height() - 52,
url: rootpath + "Finance/AccountCateBLL/GetTreeJson",
dataType: "json",
onnodeclick: function (item) {
_parentId = item.id;
_parentName = item.text;
//展开下级
$(".bbit-tree-selected").children('.bbit-tree-ec-icon').trigger("click");
$('#gridTable').jqGrid('setGridParam', {
url: rootpath + "Finance/AccountCateBLL/GetChildListJsonTop",
postData: {
fatherId: _parentId
}
}).trigger('reloadGrid');
后面还有 204 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
