define(function () { | |
var needLogin = true; | |
var menu = [{ | |
hash: '#more', | |
path: 'adm_others', | |
level: '3', | |
parent: '#local_set', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#filter_url', | |
path: 'firewall_url_filter', | |
level: '3', | |
parent: '#filter_main', | |
requireLogin: needLogin | |
}, { | |
hash: '#demilitarized_zone', | |
path: 'firewall_dmz_set', | |
level: '3', | |
parent: '#filter_main', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#universal_plug_and_play', | |
path: 'firewall_upnp_set', | |
level: '3', | |
parent: '#filter_main', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#map_port', | |
path: 'firewall_port_map', | |
level: '3', | |
parent: '#filter_main', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#foward_port', | |
path: 'firewall_port_forward', | |
level: '3', | |
parent: '#filter_main', | |
requireLogin: needLogin | |
}, { | |
hash: '#filter_port', | |
path: 'firewall_port_filter', | |
level: '3', | |
parent: '#filter_main', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#wlan_sleep', | |
path: 'wifi_sleep_mode', | |
level: '3', | |
parent: '#local_set', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#pin_mode', | |
path: 'adm_pin', | |
level: '3', | |
parent: '#local_set', | |
requireLogin: needLogin, | |
checkSIMStatus: true | |
}, { | |
hash: '#pwd_mode', | |
path: 'adm_management', | |
level: '3', | |
parent: '#local_set', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#filter_mac', | |
path: 'wifi_mac_filter', | |
level: '3', | |
parent: '#wlan_basic', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#wlan_wps', | |
path: 'wifi_wps', | |
level: '3', | |
parent: '#wlan_basic', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#wlan_adv', | |
path: 'wifi_advance', | |
level: '3', | |
parent: '#wlan_basic', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#conn_device', | |
path: 'wifi_station_info', | |
level: '3', | |
parent: '#normal_set', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#wlan_guset', | |
path: 'wifi_guest', | |
level: '3', | |
parent: '#normal_set', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#wlan_main', | |
path: 'wifi_main', | |
level: '3', | |
parent: '#normal_set', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#fota', | |
path: 'ota_update', | |
level: '3', | |
parent: '#local_set', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#dynamic_dns', | |
path: 'ddns', | |
level: '3', | |
parent: '#local_set', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#cgdcont_set', | |
path: 'network_apn_set', | |
level: '3', | |
parent: '#network_set', | |
requireLogin: needLogin, | |
checkSIMStatus: true | |
}, { | |
hash: '#network_choose', | |
path: 'network_net_select', | |
level: '3', | |
parent: '#network_set', | |
requireLogin: needLogin, | |
checkSIMStatus: true | |
}, { | |
hash: '#conn_set', | |
path: 'network_dial_set', | |
level: '3', | |
parent: '#network_set', | |
requireLogin: needLogin, | |
checkSIMStatus: true | |
}, | |
{ | |
hash: '#wlan_station', | |
path: 'wifi_ap_station', | |
level: '2', | |
parent: '#normal_set', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#msg_set', | |
path: 'sms_set', | |
level: '2', | |
parent: '#msg_main', | |
requireLogin: needLogin, | |
checkSIMStatus: true | |
}, { | |
hash: '#msg_sim', | |
path: 'sms_sim_messages', | |
level: '2', | |
parent: '#msg_main', | |
requireLogin: needLogin, | |
checkSIMStatus: true | |
}, { | |
hash: '#msg_list', | |
path: 'sms_list', | |
level: '2', | |
parent: '#msg_main', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#flow_ctl', | |
path: 'status_traffic_alert', | |
level: '1', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#pb_work_grp', | |
path: 'phonebook', | |
level: '2', | |
parent: '#pb_main', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#pb_friend_grp', | |
path: 'phonebook', | |
level: '2', | |
parent: '#pb_main', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#pb_family_grp', | |
path: 'phonebook', | |
level: '2', | |
parent: '#pb_main', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#pb_com_grp', | |
path: 'phonebook', | |
level: '2', | |
parent: '#pb_main', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#pb_all_grp', | |
path: 'phonebook', | |
level: '2', | |
parent: '#pb_main', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#usat', | |
path: 'ussd', | |
level: '2', | |
parent: '#normal_set', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#route_set', | |
path: 'adm_lan', | |
level: '2', | |
parent: '#normal_set', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#filter_main', | |
path: 'firewall', | |
level: '2', | |
parent: '#normal_set', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#local_set', | |
path: 'adm_management', | |
level: '2', | |
parent: '#normal_set', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#wlan_basic', | |
path: 'wifi_basic', | |
level: '2', | |
parent: '#normal_set', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#network_set', | |
path: 'network_dial_set_cpe', | |
level: '2', | |
parent: '#normal_set', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#fast_set', | |
path: 'adm_quick_set', | |
level: '2', | |
parent: '#normal_set', | |
requireLogin: needLogin, | |
checkSIMStatus: true | |
}, | |
{ | |
hash: '#child_ctl', | |
path: 'firewall_parental_control', | |
level: '1', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#normal_set', | |
path: 'adm_quick_set', | |
level: '1', | |
requireLogin: needLogin, | |
checkSIMStatus: true | |
}, { | |
hash: '#pb_main', | |
path: 'phonebook', | |
level: '1', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#msg_main', | |
path: 'sms_list', | |
level: '1', | |
requireLogin: needLogin, | |
checkSIMStatus: false | |
}, { | |
hash: '#main', | |
path: 'main', | |
level: '1', | |
requireLogin: needLogin, | |
checkSIMStatus: true | |
}, { | |
hash: '#entry', | |
path: 'entry', | |
level: '1', | |
requireLogin: false, | |
checkSIMStatus: false | |
}, | |
]; | |
return menu; | |
}); |