import React from "react"; import { Spin, Button, Tabs, Table, message, Modal } from "antd"; const project = React.createClass({ getInitialState() { return { newVisible: false }; }, componentWillReceiveProps(nextProps) { this.setState({ newVisible: nextProps.ShowModal }); }, handleOk() { this.setState({ newVisible: false }); // window.setTimeout( () => { // this.setState({ // newVisible: true // }); // },) }, componentDidMount() { }, render() { return (
{this.state.status ? "暂停" : "开启"} {this.state.contractNo}
{getProcessStatus(this.state.projectStatus)} {getApproval(this.state.approval)} {getLiquidationStatus(this.state.liquidationStatus)} {getProcessStatus(this.state.processStatus)} {this.state.orderNo} {this.state.outsource == 0 ? "否" : "是"}
{utils.getSatisfaction(this.state.formRetrieve)} {utils.getChargeback(this.state.taskRefund)}
{ {this.state.retrieveContent} } { {this.state.refundContent} }

任务信息

{this.state.id} {this.state.taskName} {getTaskStatus(this.state.taskStatus)} {this.state.cname} {this.state.certificateNumber}
{this.state.outsource === 1 ? (

外包信息

{this.state.outsourceName} {this.state.outsourcePrice}
) : ( "" )} {/*
*/}

联系信息

{this.state.userName} {this.state.legalPerson} {this.state.legalPersonTel} {this.state.contacts} {this.state.contactMobile} {getprovince(this.state.locationProvince)}/ {getprovince(this.state.locationCity)}/ {getprovince(this.state.locationArea)} {this.state.postalAddress}
{/*
*/}

订单负责人信息

{this.state.salesmanName + "(" + this.state.depName + ")"} {this.state.salesmanMobile} {this.state.nowFinance} {this.state.nowFinanceMobile} {this.state.oldSalesmanName} {this.state.oldSalesmanMobile} {this.state.financeName} {this.state.financeMobile}

申报系统账户信息

{/*注:仅技术部可见*/} {this.state.declareUser ? "*" : ""} {this.state.declarePwd ? "*" : ""}

项目申报进度

{this.state.startDate} {this.state.endDate} {this.state.acceptDate} {this.state.reviewDate} {this.state.publicityDate} {this.state.licenceDate} {this.state.setUpAmount} {this.state.arrivalMoney ? "已到企业" : "未到企业"}
{ this.setState({ previewImage: file.url || file.thumbUrl, previewVisible: true }); }} > { this.setState({ previewVisible: false }); }} >
{this.state.taskComment}

项目业务

{this.state.processStatus == 0 ? ( ) : ( "" )}
); } }); export default project;