import React, { Component } from 'react' import {observer} from 'mobx-react' import {WeaSearchGroup,WeaLocaleProvider,WeaRadioGroup} from 'ecCom' import {toJS} from 'mobx'; import Table from './Table' const getLabel = WeaLocaleProvider.getLabel; @observer export default class Detailed extends Component { componentDidMount () { const {newOutSide} = this.props; const {getRadioGroupConfig} = newOutSide; getRadioGroupConfig() } componentWillUnmount(){ const {newOutSide} = this.props; const {clearConfig} = newOutSide; clearConfig(); } onChange = (params) => { const {newOutSide} = this.props; const {getData} = newOutSide; const flag = params.dataScope =="0" || params.subcomId || params.resourceId || params.deptId || params.dataScope =="4" || params.allLevel; if(flag){ getData(params); } } render() { const {newOutSide} = this.props; const {config} = newOutSide; return (