import {
	inject,
	observer,
} from 'mobx-react'
import {
	WeaTableNew,
} from 'comsMobx'
const WeaTable = WeaTableNew.WeaTable;

@inject('hrmPersonalSalaryAdjustment')
@observer
export default class Table extends React.Component {
	constructor(props) {
		super(props);
	}

	render() {
		const {
			hrmPersonalSalaryAdjustment
		} = this.props, {
			table,
		} = hrmPersonalSalaryAdjustment, {
			tableStore
		} = table;

		return (
			<WeaTable ecId={`${this && this.props && this.props.ecId || ''}_WeaTable@mhhnty`} 
				comsWeaTableStore={tableStore}
				hasOrder={true}
				needScroll={true}
			/>
		)

	}
}