|
@@ -197,6 +197,20 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
|
>
|
|
|
转交记录
|
|
|
</Button>
|
|
|
+ <Button
|
|
|
+ style={{ marginLeft: 10 }}
|
|
|
+ type="primary"
|
|
|
+ onClick={(e)=>{
|
|
|
+ e.stopPropagation();
|
|
|
+ this.setState({
|
|
|
+ defaultActiveKey: '6'
|
|
|
+ },()=>{
|
|
|
+ this.tableRowClick(record);
|
|
|
+ })
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 转交业务
|
|
|
+ </Button>
|
|
|
</div>
|
|
|
);
|
|
|
},
|
|
@@ -479,8 +493,8 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
|
onChange: (selectedRowKeys, selectedRows) => {
|
|
|
this.setState({
|
|
|
modalVisible:false,
|
|
|
- selectedRows: selectedRows.slice(-1),
|
|
|
- selectedRowKeys: selectedRowKeys.slice(-1)
|
|
|
+ selectedRows: selectedRows,
|
|
|
+ selectedRowKeys: selectedRowKeys
|
|
|
});
|
|
|
},
|
|
|
onSelect: (recordt, selected, selectedRows) => {
|
|
@@ -618,20 +632,6 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
|
>
|
|
|
转交客户
|
|
|
</Button>
|
|
|
- <Button
|
|
|
- disabled={this.state.selectedRows.length === 0}
|
|
|
- type="primary"
|
|
|
- onClick={()=>{
|
|
|
- this.setState({
|
|
|
- defaultActiveKey: '5'
|
|
|
- },()=>{
|
|
|
- this.tableRowClick(this.state.selectedRows[0]);
|
|
|
- })
|
|
|
- }}
|
|
|
- style={{float: 'right' }}
|
|
|
- >
|
|
|
- 转交业务
|
|
|
- </Button>
|
|
|
</div>
|
|
|
</TabPane>
|
|
|
<TabPane tab="更改表格显示数据" key="3">
|