| | |
| | | let _this = this |
| | | let param = {} |
| | | param.func = 'sPC_Menu_SortUpt' |
| | | param.LText = [] |
| | | let _text = [] |
| | | previewList.forEach((item, index) => { |
| | | param.LText.push('selectmspace\'' + item.MenuID + '\'mspaceasmspaceMenuid,' + (index + 1) * 10 + 'mspaceasmspacesort') |
| | | _text.push('select \'' + item.MenuID + '\' as Menuid,' + (index + 1) * 10 + ' as sort') |
| | | }) |
| | | param.LText = param.LText.join('mspaceunionmspace') |
| | | _text = _text.join(' union ') |
| | | param.LText = Utils.formatOptions(_text) |
| | | |
| | | confirm({ |
| | | title: this.state.dict['header.menu.resetorder'], |
| | | content: '', |
| | |
| | | |
| | | handleSubConfig = (item, originMenu, config) => { |
| | | if (item.OpenType === 'pop') { |
| | | item.pageParam = '' |
| | | if (config && config.type === 'modal') { |
| | | item.pageParam = config |
| | | } |
| | | |
| | | this.setState({ |
| | | editMenu: originMenu, |
| | | editAction: item, |
| | | tabview: 'Modal' |
| | | }) |
| | | } |
| | | console.log(item) |
| | | console.log(originMenu) |
| | | } |
| | | |
| | | UNSAFE_componentWillMount () { |