ligerToolBar

来源:互联网 发布:igbt芯片 知乎 编辑:程序博客网 时间:2024/06/04 18:22

$(function (){

$("#toptoolbar").ligerToolBar({ items: [

{ text:'公司新增', click: function () { parent.tab.addTabItem({tabid: 5, text:"公司新增", url: '@Url.Content("~/Company/index")' }); } },

{ line: true },

 

{ text:'公司详情', click: function () {if (cmid =="") { alert("请选择要查看的公司!");return;} parent.tab.addTabItem({ tabid:'A6', text:"公司详情", url: '@Url.Content("~/Company/GetDetails")?cmid=' + cmid }); } },

{ line: true },

 

{ text:'合作方式', click: function () {

if (cmid !=""){

parent.tab.addTabItem({ tabid:60, text:"合作方式", url: '@Url.Action("Index","ProductService")?cmid=' + cmid });

}

}

},

{ line: true },

 

{ text:'账号管理', click: function () { parent.tab.addTabItem({tabid: 7, text:"账号管理", url: '@Url.Content("~/Company/AccountMange")?cmid=' + cmid }); } },

{ line: true }]

});

 

$("#SearchBox").ligerLayout({ height: 65, minLeftWidth:1, minRightWidth: 10 });

$("#ShowDataBox").ligerLayout({ height: 360, space: 0,allowLeftCollapse:false, centerWidth: 250, rightWidth: 350 });

});

原创粉丝点击