129 lines
2.8 KiB
JavaScript
129 lines
2.8 KiB
JavaScript
export default (function() {
|
|
return [{
|
|
text: '线路',
|
|
icon: 'fa-bars light-green',
|
|
children: [{
|
|
perm: 'PERM_VIEW_AREA_CODE_LIST',
|
|
route: 'area-code.list',
|
|
icon: 'fa-angle-double-right',
|
|
text: '区号管理'
|
|
},
|
|
{
|
|
perm: 'PERM_VIEW_TELECOM_VENDOR_LIST',
|
|
route: 'telecom-vendor.list',
|
|
icon: 'fa-id-card',
|
|
text: '运营商管理'
|
|
},
|
|
{
|
|
perm: 'PERM_VIEW_GATEWAY_LIST',
|
|
route: 'gateway.list',
|
|
icon: 'fa-window-close-o',
|
|
text: '网关管理'
|
|
},
|
|
{
|
|
perm: 'PERM_VIEW_TRUNK_LIST',
|
|
route: 'trunk.list',
|
|
icon: 'fa-random',
|
|
text: '中继管理'
|
|
},
|
|
{
|
|
perm: 'PERM_VIEW_TRUNK_STRATEGY_LIST',
|
|
route: 'trunk-strategy.list',
|
|
icon: 'fa-retweet',
|
|
text: '中继策略管理'
|
|
},
|
|
{
|
|
perm: 'PERM_VIEW_TRUNK_ATTR_LIST',
|
|
route: 'trunk-attr.list',
|
|
icon: 'fa-book',
|
|
text: '中继属性管理'
|
|
}
|
|
]
|
|
}, {
|
|
text: '坐席',
|
|
icon: 'fa-users light-red',
|
|
children: [
|
|
{
|
|
perm: 'PERM_VIEW_AGENT_GROUP_LIST',
|
|
route: 'agent-group.list',
|
|
icon: 'fa-users',
|
|
text: '坐席组管理'
|
|
},
|
|
{
|
|
perm: 'PERM_VIEW_QUEUE_LIST',
|
|
route: 'queue.list',
|
|
icon: 'fa-tasks',
|
|
text: '队列管理'
|
|
},
|
|
{
|
|
perm: 'PERM_VIEW_AGENT_LIST',
|
|
route: 'agent.list',
|
|
icon: 'fa-user',
|
|
text: '坐席管理'
|
|
}
|
|
]
|
|
}, {
|
|
text: '活动',
|
|
icon: 'fa-phone-square',
|
|
children: [{
|
|
perm: 'PERM_VIEW_CAMPAIGN_LIST',
|
|
route: 'campaign.list',
|
|
icon: 'fa-fax',
|
|
text: '外呼活动管理'
|
|
},
|
|
{
|
|
perm: 'PERM_VIEW_CAMPAIGN_LIST',
|
|
route: 'calling-list.list',
|
|
icon: 'fa fa-list-alt',
|
|
text: '拨打列表'
|
|
},
|
|
]
|
|
}, {
|
|
text: '公共',
|
|
icon: 'fa-cogs dark',
|
|
children: [{
|
|
perm: 'PERM_VIEW_SEQUENCE_LIST',
|
|
route: 'sequence.list',
|
|
icon: 'fa-sort-numeric-asc',
|
|
text: '序号管理'
|
|
},
|
|
{
|
|
perm: 'PERM_VIEW_TAG_LIST',
|
|
route: 'tag.list',
|
|
icon: 'fa-tags',
|
|
text: '标签管理'
|
|
},
|
|
{
|
|
perm: 'PERM_VIEW_TENANT_LIST',
|
|
route: 'tenant.list',
|
|
icon: 'fa-cubes purple',
|
|
text: '租户管理'
|
|
},
|
|
{
|
|
perm: 'PERM_VIEW_AUTH_ROLE_LIST',
|
|
route: 'auth-role.list',
|
|
icon: 'fa-vcard',
|
|
text: '认证角色管理'
|
|
},
|
|
{
|
|
perm: 'PERM_VIEW_AUTH_PERMISSION_LIST',
|
|
route: 'auth-permission.list',
|
|
icon: 'fa-key',
|
|
text: '认证权限管理'
|
|
},
|
|
{
|
|
perm: 'PERM_VIEW_AUTH_USER_LIST',
|
|
route: 'auth-user.list',
|
|
icon: 'fa-address-book',
|
|
text: '认证用户管理'
|
|
},
|
|
{
|
|
perm: 'PERM_VIEW_CAMPAIGN_LIST',
|
|
route: 'call-detail-record.list',
|
|
icon: 'fa fa-list',
|
|
text: '拨打详单'
|
|
},
|
|
]
|
|
}];
|
|
})();
|