| | |
| | | |
| | | async loadmenu () { |
| | | // 获取主菜单 |
| | | let _param = {func: 'sPC_Get_MainMenu', systemType: options.systemType} |
| | | let _param = {func: 'sPC_Get_MainMenu', systemType: options.sysType} |
| | | if (sessionStorage.getItem('isEditState') === 'true') { // 编辑状态时,获取一级菜单,增加参数debug |
| | | _param.debug = 'Y' |
| | | } |
| | | if (options.systemType !== 'cloud' && window.GLOB.systemType !== 'official') { |
| | | if (options.sysType !== 'cloud' && window.GLOB.systemType !== 'official') { |
| | | _param.linkurl = window.GLOB.linkurl |
| | | } |
| | | |
| | |
| | | |
| | | // 获取主菜单参数 |
| | | let promiseMenu = new Promise(resolve => { |
| | | let _param = {func: 'sPC_Get_MainMenu', systemType: options.systemType} |
| | | if (options.systemType !== 'cloud' && window.GLOB.systemType !== 'official') { |
| | | let _param = {func: 'sPC_Get_MainMenu', systemType: options.sysType} |
| | | if (options.sysType !== 'cloud' && window.GLOB.systemType !== 'official') { |
| | | _param.linkurl = window.GLOB.linkurl |
| | | } |
| | | |
| | |
| | | {this.props.editLevel === 'HS' ? <Button className="level4-close" type="primary" onClick={this.exitManage}>退出</Button> : null} |
| | | {/* 进入编辑按钮 */} |
| | | {this.props.editState && !this.props.editLevel ? <Icon onClick={this.enterEdit} className="edit-check" type="edit" /> : null} |
| | | {/* {this.props.editState && !this.props.editLevel && options.systemType === 'local' && window.GLOB.systemType !== 'official' ? |
| | | {/* {this.props.editState && !this.props.editLevel && options.sysType === 'local' && window.GLOB.systemType !== 'official' ? |
| | | <a href="#/mobmanage" target="_blank" className="mobile" type="edit"> 应用管理 <Icon type="arrow-right" /></a> : null |
| | | } */} |
| | | {/* 编辑菜单 */} |