import React, { Component } from "react"; import { observer } from "mobx-react"; import { WeaDialog } from "ecCom"; import { WeaTableNew } from "comsMobx"; import SignDetail from "./SignDetail"; import { Tabs } from "../../../../../pc4backstage/hrmComsPublic/index"; import uuid from 'uuid/v1'; const { WeaTable } = WeaTableNew; const tabHeight = 50, paginationHeight = 90; @observer export default class Detail extends Component { render(){ const { store } = this.props; const { detailDialogProps, detailDialogHeight, detailTabs, detailTabProps, detailTable, isSignDetailData } = store; const children = []; if(detailTabs.length > 0){ children.push( (
) ) }else{ children.push( ( ) ) } return ( store.detailDialogHeight = height}> { isSignDetailData ? : children } ) } }