This commit is contained in:
yunkexin 2024-04-16 13:47:33 +08:00
parent e1e128096d
commit fa569a579b

View File

@ -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 = () => {