From bc143aa58794a2fc47e6e20550101c9ea4ec69ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=BE=8E=E8=8D=A3?= <10755671+mei-rong-he@user.noreply.gitee.com> Date: Tue, 30 Jul 2024 09:10:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E7=94=9F=E4=BA=A7=E5=8D=95?= =?UTF-8?q?=E5=85=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CustomPages/BI/BI008FormRunAnalysis.js | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/CustomPages/BI/BI008FormRunAnalysis.js b/src/components/CustomPages/BI/BI008FormRunAnalysis.js index 395369c..99f185d 100644 --- a/src/components/CustomPages/BI/BI008FormRunAnalysis.js +++ b/src/components/CustomPages/BI/BI008FormRunAnalysis.js @@ -536,17 +536,17 @@ class BI008FormRunAnalysis extends React.Component { ] var orgId = this.props.login ? this.props.login.OrgId : ''; const jsonTemp = initFilter(orgId) - extendRule(jsonTemp, "DEPARTMENT_TYPE", 1, 0); - extendRule(jsonTemp, 'NAME', 1, this.props?.login?.currActivatedMenu?.MENU_FORM_PARAMS); - this.props.dispatch({ - type: 'app/getDataByPost', - payload: jsonTemp, - url: 'FM/Department/Get', - onComplete: (retDepart) => { - if (retDepart) { + // extendRule(jsonTemp, "DEPARTMENT_TYPE", 1, 0); + // extendRule(jsonTemp, 'NAME', 1, this.props?.login?.currActivatedMenu?.MENU_FORM_PARAMS); + // this.props.dispatch({ + // type: 'app/getDataByPost', + // payload: jsonTemp, + // url: 'FM/Department/Get', + // onComplete: (retDepart) => { + // if (retDepart) { let startTime=this.state.startTime.replace(/^(\d{4})(\d{2})(\d{2})$/,"$1-$2-$3") let endTime=this.state.endTime.replace(/^(\d{4})(\d{2})(\d{2})$/,"$1-$2-$3") - let json = initFilter(orgId,retDepart.ID,'','','',startTime,endTime); + let json = initFilter(orgId,null,'','','',startTime,endTime); this.props.dispatch({ type: 'app/getDataByPost', payload: json, @@ -605,10 +605,10 @@ class BI008FormRunAnalysis extends React.Component { } } }) - } + // } } - }) - } +// }) +// } startChange=(value)=>{ this.setState({ selectStartTime:value,