|
@@ -100,7 +100,7 @@ const User = Form.create()(React.createClass({
|
|
|
data: {
|
|
|
pageNo: pageNo || 1,
|
|
|
pageSize: this.state.paginations.pageSize,
|
|
|
- name: this.state.userNameSearch,
|
|
|
+ name: this.state.userNameSearchs,
|
|
|
departmentId: admin?this.state.organizationSearch:departmentId,
|
|
|
rid: this.state.rolesSearch,
|
|
|
duty: this.state.postSearch,
|
|
@@ -311,7 +311,7 @@ const User = Form.create()(React.createClass({
|
|
|
}).done(function (data) {
|
|
|
if (!data.error.length) {
|
|
|
message.success('转交成功!');
|
|
|
-
|
|
|
+ this.handleCancel()
|
|
|
} else {
|
|
|
message.warning(data.error[0].message);
|
|
|
};
|
|
@@ -631,7 +631,7 @@ const User = Form.create()(React.createClass({
|
|
|
this.loadData();
|
|
|
},
|
|
|
resets() {
|
|
|
- this.state.userNameSearch = '';
|
|
|
+ this.state.userNameSearchs = '';
|
|
|
this.state.organizationSearch = undefined;
|
|
|
this.state.rolesSearch = undefined;
|
|
|
this.state.postSearch = undefined;
|
|
@@ -847,8 +847,8 @@ const User = Form.create()(React.createClass({
|
|
|
footer=''
|
|
|
className="admin-desc-content">
|
|
|
<Input placeholder="用户姓名" style={{width:'150px',marginRight:"10px",marginBottom:"10px"}}
|
|
|
- value={this.state.userNameSearch}
|
|
|
- onChange={(e) => { this.setState({ userNameSearch: e.target.value }); }} />
|
|
|
+ value={this.state.userNameSearchs}
|
|
|
+ onChange={(e) => { this.setState({ userNameSearchs: e.target.value }); }} />
|
|
|
<Button type="primary" onClick={this.searchs}>搜索</Button>
|
|
|
<Button onClick={this.resets}>重置</Button>
|
|
|
<div className="patent-table">
|