首页
This commit is contained in:
		
							parent
							
								
									e1e128096d
								
							
						
					
					
						commit
						fa569a579b
					
				@ -257,6 +257,43 @@ class Home extends React.Component {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  //   return retrundate;
 | 
					  //   return retrundate;
 | 
				
			||||||
  // };
 | 
					  // };
 | 
				
			||||||
 | 
					  showTodayModal = (
 | 
				
			||||||
 | 
					    dataId,
 | 
				
			||||||
 | 
					    formCode,
 | 
				
			||||||
 | 
					    TaskID,
 | 
				
			||||||
 | 
					    title,
 | 
				
			||||||
 | 
					    taskCode,
 | 
				
			||||||
 | 
					    taskStartdt,
 | 
				
			||||||
 | 
					    taskStatus
 | 
				
			||||||
 | 
					  ) => {
 | 
				
			||||||
 | 
					    const newtmpData = {
 | 
				
			||||||
 | 
					      data: {
 | 
				
			||||||
 | 
					        id: dataId,
 | 
				
			||||||
 | 
					        TaskID: TaskID,
 | 
				
			||||||
 | 
					        onCancel: this.handleCancel,
 | 
				
			||||||
 | 
					        taskCode: taskCode,
 | 
				
			||||||
 | 
					        tableKey: this.state.tableKey,
 | 
				
			||||||
 | 
					        noticeTitle: title,
 | 
				
			||||||
 | 
					        taskStartdt: taskStartdt,
 | 
				
			||||||
 | 
					        taskStatus: taskStatus,
 | 
				
			||||||
 | 
					        homeReload: true,
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      formCode: "PF135",
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					    this.setState(
 | 
				
			||||||
 | 
					      {
 | 
				
			||||||
 | 
					        noticeTitle: "今日提醒",
 | 
				
			||||||
 | 
					        taskCode: taskCode,
 | 
				
			||||||
 | 
					        tmpData: newtmpData,
 | 
				
			||||||
 | 
					        currActivatedMenu: "",
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      () =>
 | 
				
			||||||
 | 
					        this.setState({
 | 
				
			||||||
 | 
					          formVisible: true,
 | 
				
			||||||
 | 
					        })
 | 
				
			||||||
 | 
					    );
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  showAll = (key) => {
 | 
					  showAll = (key) => {
 | 
				
			||||||
    const { tableData } = this.state;
 | 
					    const { tableData } = this.state;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -508,7 +545,7 @@ class Home extends React.Component {
 | 
				
			|||||||
  };
 | 
					  };
 | 
				
			||||||
  handleCancel = () => {
 | 
					  handleCancel = () => {
 | 
				
			||||||
    // 退出弹窗
 | 
					    // 退出弹窗
 | 
				
			||||||
    this.getBaseData(1, this.state.tableKey, 5);
 | 
					    // this.getBaseData(1, this.state.tableKey, 5);
 | 
				
			||||||
    this.clearData();
 | 
					    this.clearData();
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
  closeModal = () => {
 | 
					  closeModal = () => {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user