Browse Source

Merge branch 'master' of https://git.coding.net/aft/AFT-WEB

liting2017 7 years ago
parent
commit
97bd23675e
1 changed files with 8 additions and 5 deletions
  1. 8 5
      js/component/manageCenter/set/messagePush/systemMessage.jsx

+ 8 - 5
js/component/manageCenter/set/messagePush/systemMessage.jsx

@@ -1059,11 +1059,10 @@ const SystemMessage=Form.create()(React.createClass({
 		})
 	},
     addClick() {
-    	this.state.nameOrganization='';//组织名称清零
-    	this.state.managerIdOrganization= '';//负责人ID清零
-        this.state.typeOrganization= undefined; //组织类型清零
-        this.state.upOrganization= undefined;//上级组织清零
-        this.state.remarksOrganization= '';//组织职能说明清零
+    	this.state.addTitle= undefined;//消息标题
+    	this.state.addContent= undefined;//消息内容
+    	this.state.addType= undefined;//消息类型
+        this.state.addObject= undefined; //指定对象
         this.state.RowData = {};
         this.setState({
             visible: true
@@ -1096,6 +1095,10 @@ const SystemMessage=Form.create()(React.createClass({
         });
     },
    	handleCancel() {
+   		this.state.addTitle= undefined;//消息标题
+    	this.state.addContent= undefined;//消息内容
+    	this.state.addType= undefined;//消息类型
+        this.state.addObject= undefined; //指定对象
         this.setState({ visible: false })
     },
     handleCancel1() {