You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
3.9 KiB
JavaScript

11 months ago
$(function () {
var Data = [
{
text: '增值业务管理',
level:1,
state: {
expanded:false
},
nodes: [
{
text: '舱单申报'
},
{
text: 'VGM申报'
},
{
text: '船代直发权限'
},
{
text: '主单直发权限'
},
{
text: '分单直发权限'
},
{
text: 'VGM发送权限'
},
{
text: '显示确认完成checkbox'
},
{
text: '拼箱发送'
},
{
text: '托单询价权限'
},
{
text: '主单导出权限'
},
{
text: '列表直发权限'
},
{
text: '分单导出权限'
},
{
text: '拼箱导出'
},
{
text: '拼箱申请单申报'
},
{
text: '往来单位审核'
},
{
text: '运踪查询'
}
]
},
{
text: '订舱管理',
state: {
expanded: false
},
nodes: [
{
text: "托单(货主端)",
},
{
text: "报价",
}
]
},
{
text: '基础资料',
state: {
expanded: false
},
nodes: [
{
text: "船代账号",
},
{
text: "订舱代理",
},
{
text: "车队及司机",
},
{
text: "船司账号设置",
},
{
text: "云港通账号",
},
{
text: "客户及联系人",
},
{
text: "托单收发通模板",
},
{
text: "供应商管理",
},
{
text: "舱单收发通模板",
}
]
},
{
text: '企业管理',
state: {
expanded: false
},
nodes: [
{
text: '企业信息',
},
{
text: '员工信息',
},
{
text: '消费记录',
},
{
text: '充值记录',
}
]
},
{
text: '个人中心',
state: {
expanded: false
},
nodes: [
{
text: '个人信息',
},
{
text: '用户余额',
}
]
}
];
$('#treeview-checkable').treeview({
data: Data,
showIcon: false,
showCheckbox: true,
onNodeChecked: function (event, node) {
//$('#checkable-output').prepend('<p>' + node.text + ' was checked</p>');
},
onNodeUnchecked: function (event, node) {
//$('#checkable-output').prepend('<p>' + node.text + ' was unchecked</p>');
}
});
});