|
|
@ -311,7 +311,7 @@ export default class DrawerComponents extends React.Component {
|
|
|
|
changeDetail = () => {
|
|
|
|
changeDetail = () => {
|
|
|
|
const { detailType, params } = this.state;
|
|
|
|
const { detailType, params } = this.state;
|
|
|
|
let type = detailType == 'chart' ? 'table' : 'chart';
|
|
|
|
let type = detailType == 'chart' ? 'table' : 'chart';
|
|
|
|
const showJob = params.fclass == '0' ? '1' : '0';
|
|
|
|
const showJob = this.state.showJob ? '1' : '0';
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
detailType: type,
|
|
|
|
detailType: type,
|
|
|
|
});
|
|
|
|
});
|
|
|
|