diff --git a/web/client/src/sections/service/actions/report.js b/web/client/src/sections/service/actions/report.js index 3e94b0b..2e42916 100644 --- a/web/client/src/sections/service/actions/report.js +++ b/web/client/src/sections/service/actions/report.js @@ -105,6 +105,10 @@ export function postGenerateReport (data = {}) { //生成报表 actionType: 'POST_GENERATE_REPORT', url: `${ApiTable.generateReport}`, msg: { option: "生成报表" }, + reducer: { + name: "generateReport", + params: { noClear: true } + } }); } diff --git a/web/client/src/sections/service/containers/automaticReport.jsx b/web/client/src/sections/service/containers/automaticReport.jsx index f311b05..bc27b72 100644 --- a/web/client/src/sections/service/containers/automaticReport.jsx +++ b/web/client/src/sections/service/containers/automaticReport.jsx @@ -8,7 +8,7 @@ import AutomaticModal from '../components/automatic-Modal' import SimpleBar from 'simplebar-react'; -const AutomaticReport = ({ dispatch, actions, user, clientHeight, loading, socket, projectPoms, pepProjectId }) => { +const AutomaticReport = ({ dispatch, actions, user, clientHeight, loading, generateloading, socket, projectPoms, pepProjectId }) => { const { service, } = actions; @@ -103,7 +103,7 @@ const AutomaticReport = ({ dispatch, actions, user, clientHeight, loading, socke > -