|
@@ -70,9 +70,25 @@ const AchievementList = React.createClass({
|
|
|
loading: false
|
|
|
});
|
|
|
}.bind(this));
|
|
|
- },
|
|
|
+ },
|
|
|
+ showModal(){
|
|
|
+ this.setState({
|
|
|
+ visible: true,
|
|
|
+ });
|
|
|
+ },
|
|
|
+ handleOk(e){
|
|
|
+ this.setState({
|
|
|
+ visible: false,
|
|
|
+ });
|
|
|
+ },
|
|
|
+ handleCancel(e){
|
|
|
+ this.setState({
|
|
|
+ visible: false,
|
|
|
+ });
|
|
|
+ },
|
|
|
getInitialState() {
|
|
|
return {
|
|
|
+ visible: false ,
|
|
|
searchMore: true,
|
|
|
searchType: 0,
|
|
|
validityPeriodDate: [],
|
|
@@ -133,9 +149,24 @@ const AchievementList = React.createClass({
|
|
|
title: '最新跟进',
|
|
|
dataIndex: 'fllowSituation',
|
|
|
key: 'fllowSituation',
|
|
|
- render: text => { return getfllowSituation(text) }
|
|
|
- },
|
|
|
- {
|
|
|
+ render: text => {
|
|
|
+ return
|
|
|
+ <div>
|
|
|
+ <Button type="primary" onClick={this.showModal}>{getfllowSituation(text)}<Icon type="plus" /></Button>
|
|
|
+ <Modal
|
|
|
+ title="修改"
|
|
|
+ visible={this.state.visible}
|
|
|
+ onOk={this.handleOk}
|
|
|
+ onCancel={this.handleCancel}
|
|
|
+ >
|
|
|
+ <p>Some contents...</p>
|
|
|
+ <p>Some contents...</p>
|
|
|
+ <p>Some contents...</p>
|
|
|
+ </Modal>
|
|
|
+ </div>
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
title: '跟单人',
|
|
|
dataIndex: 'adminName',
|
|
|
key: 'adminName',
|