lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | define(function () {
|
| 2 | var needLogin = true;
|
| 3 | var menu = [{
|
| 4 | hash: '#more',
|
| 5 | path: 'adm_others',
|
| 6 | level: '3',
|
| 7 | parent: '#local_set',
|
| 8 | requireLogin: needLogin,
|
| 9 | checkSIMStatus: false
|
| 10 | }, {
|
| 11 | hash: '#filter_url',
|
| 12 | path: 'firewall_url_filter',
|
| 13 | level: '3',
|
| 14 | parent: '#filter_main',
|
| 15 | requireLogin: needLogin
|
| 16 | }, {
|
| 17 | hash: '#demilitarized_zone',
|
| 18 | path: 'firewall_dmz_set',
|
| 19 | level: '3',
|
| 20 | parent: '#filter_main',
|
| 21 | requireLogin: needLogin,
|
| 22 | checkSIMStatus: false
|
| 23 | }, {
|
| 24 | hash: '#universal_plug_and_play',
|
| 25 | path: 'firewall_upnp_set',
|
| 26 | level: '3',
|
| 27 | parent: '#filter_main',
|
| 28 | requireLogin: needLogin,
|
| 29 | checkSIMStatus: false
|
| 30 | }, {
|
| 31 | hash: '#map_port',
|
| 32 | path: 'firewall_port_map',
|
| 33 | level: '3',
|
| 34 | parent: '#filter_main',
|
| 35 | requireLogin: needLogin,
|
| 36 | checkSIMStatus: false
|
| 37 | }, {
|
| 38 | hash: '#foward_port',
|
| 39 | path: 'firewall_port_forward',
|
| 40 | level: '3',
|
| 41 | parent: '#filter_main',
|
| 42 | requireLogin: needLogin
|
| 43 | }, {
|
| 44 | hash: '#filter_port',
|
| 45 | path: 'firewall_port_filter',
|
| 46 | level: '3',
|
| 47 | parent: '#filter_main',
|
| 48 | requireLogin: needLogin,
|
| 49 | checkSIMStatus: false
|
| 50 | }, {
|
| 51 | hash: '#wlan_sleep',
|
| 52 | path: 'wifi_sleep_mode',
|
| 53 | level: '3',
|
| 54 | parent: '#local_set',
|
| 55 | requireLogin: needLogin,
|
| 56 | checkSIMStatus: false
|
| 57 | }, {
|
| 58 | hash: '#pin_mode',
|
| 59 | path: 'adm_pin',
|
| 60 | level: '3',
|
| 61 | parent: '#local_set',
|
| 62 | requireLogin: needLogin,
|
| 63 | checkSIMStatus: true
|
| 64 | }, {
|
| 65 | hash: '#pwd_mode',
|
| 66 | path: 'adm_management',
|
| 67 | level: '3',
|
| 68 | parent: '#local_set',
|
| 69 | requireLogin: needLogin,
|
| 70 | checkSIMStatus: false
|
| 71 | }, {
|
| 72 | hash: '#filter_mac',
|
| 73 | path: 'wifi_mac_filter',
|
| 74 | level: '3',
|
| 75 | parent: '#wlan_basic',
|
| 76 | requireLogin: needLogin,
|
| 77 | checkSIMStatus: false
|
| 78 | }, {
|
| 79 | hash: '#wlan_wps',
|
| 80 | path: 'wifi_wps',
|
| 81 | level: '3',
|
| 82 | parent: '#wlan_basic',
|
| 83 | requireLogin: needLogin,
|
| 84 | checkSIMStatus: false
|
| 85 | }, {
|
| 86 | hash: '#wlan_adv',
|
| 87 | path: 'wifi_advance',
|
| 88 | level: '3',
|
| 89 | parent: '#wlan_basic',
|
| 90 | requireLogin: needLogin,
|
| 91 | checkSIMStatus: false
|
| 92 | }, {
|
| 93 | hash: '#conn_device',
|
| 94 | path: 'wifi_station_info',
|
| 95 | level: '3',
|
| 96 | parent: '#normal_set',
|
| 97 | requireLogin: needLogin,
|
| 98 | checkSIMStatus: false
|
| 99 | }, {
|
| 100 | hash: '#wlan_guset',
|
| 101 | path: 'wifi_guest',
|
| 102 | level: '3',
|
| 103 | parent: '#normal_set',
|
| 104 | requireLogin: needLogin,
|
| 105 | checkSIMStatus: false
|
| 106 | }, {
|
| 107 | hash: '#wlan_main',
|
| 108 | path: 'wifi_main',
|
| 109 | level: '3',
|
| 110 | parent: '#normal_set',
|
| 111 | requireLogin: needLogin,
|
| 112 | checkSIMStatus: false
|
| 113 | }, {
|
| 114 | hash: '#fota',
|
| 115 | path: 'ota_update',
|
| 116 | level: '3',
|
| 117 | parent: '#local_set',
|
| 118 | requireLogin: needLogin,
|
| 119 | checkSIMStatus: false
|
| 120 | }, {
|
| 121 | hash: '#dynamic_dns',
|
| 122 | path: 'ddns',
|
| 123 | level: '3',
|
| 124 | parent: '#local_set',
|
| 125 | requireLogin: needLogin,
|
| 126 | checkSIMStatus: false
|
| 127 | }, {
|
| 128 | hash: '#cgdcont_set',
|
| 129 | path: 'network_apn_set',
|
| 130 | level: '3',
|
| 131 | parent: '#network_set',
|
| 132 | requireLogin: needLogin,
|
| 133 | checkSIMStatus: true
|
| 134 | }, {
|
| 135 | hash: '#network_choose',
|
| 136 | path: 'network_net_select',
|
| 137 | level: '3',
|
| 138 | parent: '#network_set',
|
| 139 | requireLogin: needLogin,
|
| 140 | checkSIMStatus: true
|
| 141 | }, {
|
| 142 | hash: '#conn_set',
|
| 143 | path: 'network_dial_set',
|
| 144 | level: '3',
|
| 145 | parent: '#network_set',
|
| 146 | requireLogin: needLogin,
|
| 147 | checkSIMStatus: true
|
| 148 | },
|
| 149 | {
|
| 150 | hash: '#wlan_station',
|
| 151 | path: 'wifi_ap_station',
|
| 152 | level: '2',
|
| 153 | parent: '#normal_set',
|
| 154 | requireLogin: needLogin,
|
| 155 | checkSIMStatus: false
|
| 156 | }, {
|
| 157 | hash: '#msg_set',
|
| 158 | path: 'sms_set',
|
| 159 | level: '2',
|
| 160 | parent: '#msg_main',
|
| 161 | requireLogin: needLogin,
|
| 162 | checkSIMStatus: true
|
| 163 | }, {
|
| 164 | hash: '#msg_sim',
|
| 165 | path: 'sms_sim_messages',
|
| 166 | level: '2',
|
| 167 | parent: '#msg_main',
|
| 168 | requireLogin: needLogin,
|
| 169 | checkSIMStatus: true
|
| 170 | }, {
|
| 171 | hash: '#msg_list',
|
| 172 | path: 'sms_list',
|
| 173 | level: '2',
|
| 174 | parent: '#msg_main',
|
| 175 | requireLogin: needLogin,
|
| 176 | checkSIMStatus: false
|
| 177 | }, {
|
| 178 | hash: '#flow_ctl',
|
| 179 | path: 'status_traffic_alert',
|
| 180 | level: '1',
|
| 181 | requireLogin: needLogin,
|
| 182 | checkSIMStatus: false
|
| 183 | }, {
|
| 184 | hash: '#pb_work_grp',
|
| 185 | path: 'phonebook',
|
| 186 | level: '2',
|
| 187 | parent: '#pb_main',
|
| 188 | requireLogin: needLogin,
|
| 189 | checkSIMStatus: false
|
| 190 | }, {
|
| 191 | hash: '#pb_friend_grp',
|
| 192 | path: 'phonebook',
|
| 193 | level: '2',
|
| 194 | parent: '#pb_main',
|
| 195 | requireLogin: needLogin,
|
| 196 | checkSIMStatus: false
|
| 197 | }, {
|
| 198 | hash: '#pb_family_grp',
|
| 199 | path: 'phonebook',
|
| 200 | level: '2',
|
| 201 | parent: '#pb_main',
|
| 202 | requireLogin: needLogin,
|
| 203 | checkSIMStatus: false
|
| 204 | }, {
|
| 205 | hash: '#pb_com_grp',
|
| 206 | path: 'phonebook',
|
| 207 | level: '2',
|
| 208 | parent: '#pb_main',
|
| 209 | requireLogin: needLogin,
|
| 210 | checkSIMStatus: false
|
| 211 | }, {
|
| 212 | hash: '#pb_all_grp',
|
| 213 | path: 'phonebook',
|
| 214 | level: '2',
|
| 215 | parent: '#pb_main',
|
| 216 | requireLogin: needLogin,
|
| 217 | checkSIMStatus: false
|
| 218 | }, {
|
| 219 | hash: '#usat',
|
| 220 | path: 'ussd',
|
| 221 | level: '2',
|
| 222 | parent: '#normal_set',
|
| 223 | requireLogin: needLogin,
|
| 224 | checkSIMStatus: false
|
| 225 | }, {
|
| 226 | hash: '#route_set',
|
| 227 | path: 'adm_lan',
|
| 228 | level: '2',
|
| 229 | parent: '#normal_set',
|
| 230 | requireLogin: needLogin,
|
| 231 | checkSIMStatus: false
|
| 232 | }, {
|
| 233 | hash: '#filter_main',
|
| 234 | path: 'firewall',
|
| 235 | level: '2',
|
| 236 | parent: '#normal_set',
|
| 237 | requireLogin: needLogin,
|
| 238 | checkSIMStatus: false
|
| 239 | }, {
|
| 240 | hash: '#local_set',
|
| 241 | path: 'adm_management',
|
| 242 | level: '2',
|
| 243 | parent: '#normal_set',
|
| 244 | requireLogin: needLogin,
|
| 245 | checkSIMStatus: false
|
| 246 | }, {
|
| 247 | hash: '#wlan_basic',
|
| 248 | path: 'wifi_basic',
|
| 249 | level: '2',
|
| 250 | parent: '#normal_set',
|
| 251 | requireLogin: needLogin,
|
| 252 | checkSIMStatus: false
|
| 253 | }, {
|
| 254 | hash: '#network_set',
|
| 255 | path: 'network_dial_set_cpe',
|
| 256 | level: '2',
|
| 257 | parent: '#normal_set',
|
| 258 | requireLogin: needLogin,
|
| 259 | checkSIMStatus: false
|
| 260 | }, {
|
| 261 | hash: '#fast_set',
|
| 262 | path: 'adm_quick_set',
|
| 263 | level: '2',
|
| 264 | parent: '#normal_set',
|
| 265 | requireLogin: needLogin,
|
| 266 | checkSIMStatus: true
|
| 267 | },
|
| 268 | {
|
| 269 | hash: '#child_ctl',
|
| 270 | path: 'firewall_parental_control',
|
| 271 | level: '1',
|
| 272 | requireLogin: needLogin,
|
| 273 | checkSIMStatus: false
|
| 274 | }, {
|
| 275 | hash: '#normal_set',
|
| 276 | path: 'adm_quick_set',
|
| 277 | level: '1',
|
| 278 | requireLogin: needLogin,
|
| 279 | checkSIMStatus: true
|
| 280 | }, {
|
| 281 | hash: '#pb_main',
|
| 282 | path: 'phonebook',
|
| 283 | level: '1',
|
| 284 | requireLogin: needLogin,
|
| 285 | checkSIMStatus: false
|
| 286 | }, {
|
| 287 | hash: '#msg_main',
|
| 288 | path: 'sms_list',
|
| 289 | level: '1',
|
| 290 | requireLogin: needLogin,
|
| 291 | checkSIMStatus: false
|
| 292 | }, {
|
| 293 | hash: '#main',
|
| 294 | path: 'main',
|
| 295 | level: '1',
|
| 296 | requireLogin: needLogin,
|
| 297 | checkSIMStatus: true
|
| 298 | }, {
|
| 299 | hash: '#entry',
|
| 300 | path: 'entry',
|
| 301 | level: '1',
|
| 302 | requireLogin: false,
|
| 303 | checkSIMStatus: false
|
| 304 | },
|
| 305 | ];
|
| 306 |
|
| 307 | return menu;
|
| 308 | });
|