|
@@ -452,7 +452,7 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
|
} else {
|
|
|
message.warning(data.error[0].message);
|
|
|
};
|
|
|
- this.loadData(this.state.ispage);
|
|
|
+ this.loadData(Math.min(this.state.ispage==undefined?1:this.state.ispage,Math.ceil((this.state.pagination.total-1)/10)));
|
|
|
}.bind(this));
|
|
|
}else{
|
|
|
message.warning('请输入转交人姓名')
|
|
@@ -559,14 +559,14 @@ const IntentionCustomer = Form.create()(React.createClass({
|
|
|
}} >
|
|
|
<Button>上传批量内容</Button>
|
|
|
</Upload>
|
|
|
- */}
|
|
|
+
|
|
|
{adminData.isSuperAdmin?<Popconfirm title="是否删除?" onConfirm={this.delectRow} okText="是" cancelText="否">
|
|
|
<Button type="danger" style={{marginLeft:'10px'}}
|
|
|
disabled={!hasSelected}
|
|
|
>删除<Icon type="minus" />
|
|
|
</Button>
|
|
|
</Popconfirm>:''
|
|
|
- }
|
|
|
+ }*/}
|
|
|
<AutoComplete
|
|
|
className="certain-category-search"
|
|
|
dropdownClassName="certain-category-search-dropdown"
|