| | |
| | | |
| | | export default class NormalTable extends Component { |
| | | static propTpyes = { |
| | | MenuNo: PropTypes.string, // 菜单参数 |
| | | MenuName: PropTypes.string, // 菜单参数 |
| | | MenuID: PropTypes.string // 菜单Id |
| | | BID: PropTypes.string, // 上级数据ID |
| | | MenuID: PropTypes.string, // 菜单Id |
| | | SupMenuID: PropTypes.string // 上级菜单Id |
| | | } |
| | | |
| | | state = { |
| | |
| | | MenuID: this.props.MenuID |
| | | } |
| | | let result = await Api.getSystemCacheConfig(param) |
| | | if (result.status && result.LongParam) { |
| | | if (result.status) { |
| | | let config = '' |
| | | |
| | | try { // 配置信息解析 |
| | |
| | | |
| | | // 页面配置解析错误时提示 |
| | | if (!config) { |
| | | notification.warning({ |
| | | top: 92, |
| | | message: this.state.dict['main.page.settingerror'], |
| | | duration: 10 |
| | | // notification.warning({ |
| | | // top: 92, |
| | | // message: this.state.dict['main.page.settingerror'], |
| | | // duration: 10 |
| | | // }) |
| | | this.setState({ |
| | | loadingview: false, |
| | | viewlost: true |
| | | // lostmsg: this.state.dict['main.page.settingerror'] |
| | | }) |
| | | return |
| | | } |
| | |
| | | <SubAction |
| | | ref="subButton" |
| | | MenuID={this.props.MenuID} |
| | | BID={this.props.BID} |
| | | setting={setting} |
| | | refreshdata={this.refreshbyaction} |
| | | gettableselected={this.gettableselected} |