From b5e140a50f9575ff586002639ebdc58332c38442 Mon Sep 17 00:00:00 2001 From: yunkexin <760754045@qq.com> Date: Sun, 7 Apr 2024 14:38:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9F=A5=E8=AF=A2loading?= =?UTF-8?q?=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomPages/BI/BI006FormRunAnalysis.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 { {/* */}
-