diff --git a/src/components/CustomPages/BI/BI006FormRunAnalysis.js b/src/components/CustomPages/BI/BI006FormRunAnalysis.js index 0fe4599..8961e82 100644 --- a/src/components/CustomPages/BI/BI006FormRunAnalysis.js +++ b/src/components/CustomPages/BI/BI006FormRunAnalysis.js @@ -54,6 +54,7 @@ class BI006FormRunAnalysis extends React.Component { detailDataH: [], displayHr: "none", displaydetail: "none", + searchLoading: false, columns: [ { width: "100px", @@ -862,12 +863,18 @@ class BI006FormRunAnalysis extends React.Component { let endTime = this.state.selectEndTime.format("YYYY-MM-DD 23:59:59"); let json = initFilter(orgId, "", "", "", "", startTime, endTime); extendOrder(json, "NUM", 0); + this.setState({ + searchLoading: true, + }); this.props.dispatch({ type: "app/getDataByPost", payload: json, url: "BI/BIStatiscialAnalysisController/GetDepartMouldInfos", onComplete: (ret) => { if (ret) { + this.setState({ + searchLoading: false, + }); if (ret.mouldData) { let temp = []; allData.forEach((t) => { @@ -1109,7 +1116,11 @@ class BI006FormRunAnalysis extends React.Component { {/* */}
-