|
@@ -1,5 +1,5 @@
|
|
|
import React from 'react';
|
|
|
-import {Form,Button,Spin,message,Table,Popconfirm} from 'antd';
|
|
|
+import {Form, Button, Spin, message, Table, Popconfirm, Tooltip} from 'antd';
|
|
|
import ajax from 'jquery/src/ajax/xhr.js';
|
|
|
import $ from 'jquery/src/ajax';
|
|
|
import {getfllowSituation,getcustomerStatue} from '@/tools.js';
|
|
@@ -28,6 +28,18 @@ const Business = React.createClass({
|
|
|
title: "客户名称",
|
|
|
dataIndex: "identifyName",
|
|
|
key: "identifyName",
|
|
|
+ render:(text)=>{
|
|
|
+ return (
|
|
|
+ <Tooltip title={text}>
|
|
|
+ <div style={{
|
|
|
+ maxWidth:'150px',
|
|
|
+ overflow:'hidden',
|
|
|
+ textOverflow: "ellipsis",
|
|
|
+ whiteSpace:'nowrap',
|
|
|
+ }}>{text}</div>
|
|
|
+ </Tooltip>
|
|
|
+ )
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
title: "业务名",
|
|
@@ -156,13 +168,13 @@ const Business = React.createClass({
|
|
|
return(
|
|
|
<div className="clearfix">
|
|
|
<Spin spinning={this.state.loading}>
|
|
|
- <Table
|
|
|
+ <Table
|
|
|
pagination={this.state.paginationt}
|
|
|
- columns={this.state.businessIntentionList}
|
|
|
+ columns={this.state.businessIntentionList}
|
|
|
dataSource={this.state.dataBusiness}
|
|
|
/>
|
|
|
- </Spin>
|
|
|
- <BusinessDetail
|
|
|
+ </Spin>
|
|
|
+ <BusinessDetail
|
|
|
ids={this.props.data.id}
|
|
|
data={this.state.followData}
|
|
|
businessModul={this.state.businessModul}
|
|
@@ -172,4 +184,4 @@ const Business = React.createClass({
|
|
|
}
|
|
|
})
|
|
|
|
|
|
-export default Business;
|
|
|
+export default Business;
|