| | |
| | | } catch (e) { |
| | | trdItem.PageParam = {OpenType: 'newtab'} |
| | | } |
| | | if (trdItem.PageParam.Template === 'RolePermission' || trdItem.PageParam.Template === 'NewPage') { |
| | | trdItem.PageParam.backend = 'level1' |
| | | } |
| | | |
| | | if (trdItem.type === 'CustomPage' && window.GLOB.memberLevel < 20) { // 会员等级大于等于20时,有编辑权限 |
| | | trdItem.forbidden = true |
| | |
| | | let interfaces = getFuncsAndInters(config) |
| | | let msg = getOutMessage(config) |
| | | roleParam.interfaces = interfaces |
| | | roleParam.msg = msg |
| | | roleParam.backend = 'level1' |
| | | let langSql = getLangTrans(config) |
| | | |
| | | let param = { |
| | |
| | | TypeCharOne: sessionStorage.getItem('kei_no'), |
| | | Typename: sessionStorage.getItem('typename'), |
| | | MenuName: config.MenuName || '', |
| | | PageParam: JSON.stringify({Template: 'webPage', interfaces, msg, backend: 'level1'}), |
| | | PageParam: JSON.stringify({Template: 'webPage', interfaces, msg}), |
| | | open_edition: config.open_edition, |
| | | menus_rolelist: window.btoa(window.encodeURIComponent(JSON.stringify(roleParam))), |
| | | long_data: long_data, |
| | |
| | | TypeCharOne: sessionStorage.getItem('kei_no'), |
| | | Typename: sessionStorage.getItem('typename'), |
| | | MenuName: NavBar.name || '', |
| | | PageParam: JSON.stringify({Template: NavBar.type, backend: 'level1'}), |
| | | PageParam: JSON.stringify({Template: NavBar.type}), |
| | | open_edition: _item ? (_item.open_edition || '') : '', |
| | | menus_rolelist: window.btoa(window.encodeURIComponent(JSON.stringify(roles))), |
| | | // LText: '', |
| | |
| | | let interfaces = getFuncsAndInters(config) |
| | | let msg = getOutMessage(config) |
| | | roleParam.interfaces = interfaces |
| | | roleParam.msg = msg |
| | | roleParam.backend = 'level1' |
| | | let langSql = getLangTrans(config) |
| | | |
| | | let param = { |
| | |
| | | TypeCharOne: sessionStorage.getItem('kei_no'), |
| | | Typename: 'pc', |
| | | MenuName: config.MenuName || '', |
| | | PageParam: JSON.stringify({Template: 'webPage', interfaces, msg, backend: 'level1'}), |
| | | PageParam: JSON.stringify({Template: 'webPage', interfaces, msg}), |
| | | menus_rolelist: window.btoa(window.encodeURIComponent(JSON.stringify(roleParam))), |
| | | open_edition: config.open_edition, |
| | | long_data: long_data, |
| | |
| | | TypeCharOne: sessionStorage.getItem('kei_no'), |
| | | Typename: 'pc', |
| | | MenuName: NavBar.name || '', |
| | | PageParam: JSON.stringify({Template: NavBar.type, backend: 'level1'}), |
| | | PageParam: JSON.stringify({Template: NavBar.type}), |
| | | menus_rolelist: window.btoa(window.encodeURIComponent(JSON.stringify(roles))), |
| | | open_edition: NavBar.open_edition, |
| | | // LText: '', |
| | |
| | | item.type = pageParam.type |
| | | } |
| | | |
| | | if (item.type === 'navbar') { |
| | | item.backend = 'level1' |
| | | } |
| | | |
| | | if (pageParam.version !== '1.0') { |
| | | item.nodes = '' |
| | | } else if (pageParam.login || pageParam.pass) { |