|
@@ -573,7 +573,6 @@ const Organization=Form.create()(React.createClass({
|
|
|
this.setState({
|
|
|
loading: true
|
|
|
});
|
|
|
- //上级组织字典
|
|
|
let nameText=this.state.SuperArr;
|
|
|
let superText=nameText[parseInt(this.state.publishPlatform)].id;
|
|
|
let nameTexts=this.state.SuperArrs;
|
|
@@ -599,7 +598,7 @@ const Organization=Form.create()(React.createClass({
|
|
|
if (!data.error.length) {
|
|
|
message.success('保存成功!');
|
|
|
this.handleCancel();
|
|
|
- this.selectSuperId();
|
|
|
+ this.reset();
|
|
|
} else {
|
|
|
message.warning(data.error[0].message);
|
|
|
}
|
|
@@ -704,7 +703,7 @@ const Organization=Form.create()(React.createClass({
|
|
|
this.state.publishClient = undefined;//发布客户端清零
|
|
|
this.state.publishPage = undefined;//发布页面清零
|
|
|
this.state.ifTop = undefined;//是否置顶清零
|
|
|
- this.loadData();
|
|
|
+ this.selectSuperId();
|
|
|
},
|
|
|
resets() {
|
|
|
this.state.expertSearch = undefined;
|