首页
This commit is contained in:
parent
e1e128096d
commit
fa569a579b
@ -257,6 +257,43 @@ class Home extends React.Component {
|
||||
|
||||
// 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) => {
|
||||
const { tableData } = this.state;
|
||||
|
||||
@ -508,7 +545,7 @@ class Home extends React.Component {
|
||||
};
|
||||
handleCancel = () => {
|
||||
// 退出弹窗
|
||||
this.getBaseData(1, this.state.tableKey, 5);
|
||||
// this.getBaseData(1, this.state.tableKey, 5);
|
||||
this.clearData();
|
||||
};
|
||||
closeModal = () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user