| | |
| | | PageParam: JSON.stringify({Template: 'CustomPage', OpenType: 'newtab'}), |
| | | LongParam: window.btoa(window.encodeURIComponent(JSON.stringify(_config))), |
| | | LText: funcs.join(' union all '), |
| | | LTexttb: '', // 表名 |
| | | LTexttb: '' // 表名 |
| | | } |
| | | |
| | | param.LText = Utils.formatOptions(param.LText) |
| | |
| | | }) |
| | | }) |
| | | }) |
| | | |
| | | // Api.getSystemConfig(param).then(response => { |
| | | // if (response.status) { |
| | | // this.setState({ |
| | | // oriConfig: fromJS(config).toJS(), |
| | | // openEdition: response.open_edition || '', |
| | | // menuloading: false |
| | | // }) |
| | | // notification.success({ |
| | | // top: 92, |
| | | // message: '保存成功', |
| | | // duration: 2 |
| | | // }) |
| | | // } else { |
| | | // this.setState({ |
| | | // openEdition: response.open_edition || '', |
| | | // menuloading: false |
| | | // }) |
| | | // notification.warning({ |
| | | // top: 92, |
| | | // message: response.message, |
| | | // duration: 5 |
| | | // }) |
| | | // } |
| | | // }) |
| | | } |
| | | |
| | | getMenuParam = () => { |
| | |
| | | MenuID: MenuId, |
| | | parentId: ParentId, |
| | | Template: 'CustomPage', |
| | | MenuType: MenuType, |
| | | easyCode: '', |
| | | enabled: false, |
| | | MenuName: MenuName, |
| | |
| | | style: { |
| | | backgroundColor: '#ffffff', backgroundImage: '', |
| | | paddingTop: '16px', paddingBottom: '80px', paddingLeft: '16px', paddingRight: '16px' |
| | | } |
| | | }, |
| | | MenuType: MenuType |
| | | } |
| | | } else { |
| | | config.uuid = MenuId |