ASP.NET公交调度管理系统(8)

来源:xiaoniu168.com 作者:毕业辅导 添加时间:2012-01-01 点击数:24450

计算机毕业设计介绍:

4.2 主页面的设计与实现
主页面是用户登录进系统后第一次看到的页面,主页面上方显示的是本系统的名称以及图标标志信息,左边显示的是功能菜单,而右边则是主要操作的区域,管理员拥有系统最高的权限,管理员进入系统后左边的菜单也是最齐全的,管理员登入系统后的页面如图4.2所示。

以下是引用片段:

核心代码:
Ext.onReady(function() {
    Ext.QuickTips.init();
    var mytree = new Ext.tree.TreePanel({
        el: "master_content_left",
        animate: false,
        title: "功能面板",
        collapsible: true,
        enableDD: true,
        enableDrag: true,
        rootVisible: false,
        autoScroll: true,
        width: 250,
        height: 600,
        lines: true
    });
    //根节点
    var root = new Ext.tree.TreeNode({
        id: "root",
        text: "功能面板"
    });
    //公交查询
    var sub1 = new Ext.tree.TreeNode({
        id: "ext_product",
        text: "基本信息管理",
        singleClickExpand: true
    });
    sub1.appendChild(new Ext.tree.TreeNode({
        id: "ext_product_add",
        text: "公交查询",
        href: "BusLineInfoList.aspx",
        qtip: "公交查询"

    }));

    if (getCookie("CookieIdentity") != "Driver") {
        sub1.appendChild(new Ext.tree.TreeNode({
            id: "ext_prod_add",
            text: "添加线路",
            href: "AddUpdBusLineInfo.aspx?BusLineID=0",
            qtip: "添加线路"

        }));
        sub1.appendChild(new Ext.tree.TreeNode({
            id: "ext_CarIn_add",
            text: "车辆信息",
            href: "CarInfoList.aspx",
            qtip: "车辆信息"

        }));
        sub1.appendChild(new Ext.tree.TreeNode({
            id: "ext_Car_add",
            text: "添加车辆",
            href: "AddUpdCar.aspx?CarID=0",
            qtip: "添加车辆"

        }));

〖资料来源:计算机毕业论文 www.xiaoniu168.com

第9页为计算机毕业论文部分......

【联系方式】

【本站信誉】

用心做计算机毕业设计论文网