import React, {Component} from 'react';
import {observer} from 'mobx-react';
import { WeaDialog, WeaTab } from "ecCom";
import {WeaTableNew} from "comsMobx";

const {WeaTable} = WeaTableNew;

@observer
export default class ViewRangeSetting extends Component{
    render(){
        const {store} = this.props;
        const {dialogProps, rangeViewTabProps, rangeViewTableProps} = store;

        return (
            <WeaDialog ecId={`${this && this.props && this.props.ecId || ''}_WeaDialog@hsilps`} {...dialogProps}>
                <WeaTab ecId={`${this && this.props && this.props.ecId || ''}_WeaTab@36lgpj`} {...rangeViewTabProps} />
                <WeaTable ecId={`${this && this.props && this.props.ecId || ''}_WeaTable@fjlkzk`} {...rangeViewTableProps} />
            </WeaDialog>
        )
    }
}