From 5f69f5207ad82b9a905bcd2df1b230fb078e01e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Mon, 11 Nov 2019 16:43:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../exercise/Exercisestatisticalresult.js | 21 ++++++++++--------- .../modules/tpm/shixuns/ShixunSearchBar.js | 3 +++ 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/public/react/src/modules/courses/exercise/Exercisestatisticalresult.js b/public/react/src/modules/courses/exercise/Exercisestatisticalresult.js index 17377c4c4..000859e39 100644 --- a/public/react/src/modules/courses/exercise/Exercisestatisticalresult.js +++ b/public/react/src/modules/courses/exercise/Exercisestatisticalresult.js @@ -87,15 +87,16 @@ class Exercisestatisticalresult extends Component { funtaskstatustwo=(checkedValues,list)=>{ let{sort,page,limit}=this.state; - if(checkedValues.length===list.length){ - this.setState({ - exercise_group_id:[] - }) - }else{ - this.setState({ - exercise_group_id:checkedValues - }) - } + // if(checkedValues.length===list.length){ + // this.setState({ + // exercise_group_id:[] + // }) + // }else{ + // + // } + this.setState({ + exercise_group_id:checkedValues + }) this.updatefun(sort,checkedValues,page,limit) } @@ -144,7 +145,7 @@ class Exercisestatisticalresult extends Component { this.alldatalist()}>不限 + onClick={() => this.alldatalist()}>全部 this.funtaskstatustwo(e,data&&data.course_groups)} value={this.state.exercise_group_id} style={{width:'87%',paddingTop: '4px'}}> { data&&data.course_groups.map((item, key) => { diff --git a/public/react/src/modules/tpm/shixuns/ShixunSearchBar.js b/public/react/src/modules/tpm/shixuns/ShixunSearchBar.js index 75930f1df..2df0c7f4a 100644 --- a/public/react/src/modules/tpm/shixuns/ShixunSearchBar.js +++ b/public/react/src/modules/tpm/shixuns/ShixunSearchBar.js @@ -229,6 +229,9 @@ render() { } .ant-dropdown-menu-item, .ant-dropdown-menu-submenu-title{ padding: 0px 12px; + } + .ant-dropdown-menu-item:hover, .ant-dropdown-menu-submenu-title:hover{ + background:transparent !important; } ` }