import React from 'react'; import { Modal, Spin } from 'antd'; import CreateFrom from '@/account/evaluate/create'; class DemandDesc extends React.Component { constructor(props) { super(props); this.state = { loading: false, showState:false }; } handleCancel() { this.setState({ visible: false, }); this.props.closeDesc(false, true); } handOk() { this.setState({ visible: false, }); this.props.closeDesc(false, true); } componentWillReceiveProps(nextProps) { this.state.visible = nextProps.showDesc; } render() { let data = this.props.data || {}; return (