From 5db4ae0f185ab1432f97946e8210f0baef8b7295 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Thu, 27 Jun 2019 15:18:57 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E9=A2=98=E5=BA=93=E9=80=89=E7=94=A8?= =?UTF-8?q?=EF=BC=8C=E7=AB=8B=E5=8D=B3=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../react/src/modules/courses/busyWork/commonWork.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/public/react/src/modules/courses/busyWork/commonWork.js b/public/react/src/modules/courses/busyWork/commonWork.js index cc4aff4f9..7fbe33a67 100644 --- a/public/react/src/modules/courses/busyWork/commonWork.js +++ b/public/react/src/modules/courses/busyWork/commonWork.js @@ -88,10 +88,14 @@ class commonWork extends Component{ let {page,search,order}=this.state; this.getList(page,search,order); } - useBankSuccess = () => { + useBankSuccess = (checkBoxValues, newWorkIdArray) => { this.setState({ - page:1 + page:1, + checkBoxValues: newWorkIdArray + }, () => { + this.refs['publishModalRef'].open() }) + let {search, order}=this.state; this.getList(1, search, order); } @@ -418,7 +422,7 @@ class commonWork extends Component{ onClick={this.onWorkDelete}>删除
  • -
  • From d97f865305ea0698c374f07ebdfbe39c38927cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Thu, 27 Jun 2019 16:06:20 +0800 Subject: [PATCH 02/11] =?UTF-8?q?=20=E8=B0=83=E6=95=B4=E5=BA=95=E9=83=A8?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/public/index.html | 2 +- .../src/modules/courses/Resource/Fileslistitem.js | 14 +++++++------- public/react/src/modules/courses/Resource/index.js | 2 ++ public/react/src/modules/tpm/TPMIndexHOC.js | 4 ++-- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/public/react/public/index.html b/public/react/public/index.html index 1e49b874c..ff03855aa 100755 --- a/public/react/public/index.html +++ b/public/react/public/index.html @@ -55,7 +55,7 @@ - + diff --git a/public/react/src/modules/courses/Resource/Fileslistitem.js b/public/react/src/modules/courses/Resource/Fileslistitem.js index dd37c441c..1165eae5a 100644 --- a/public/react/src/modules/courses/Resource/Fileslistitem.js +++ b/public/react/src/modules/courses/Resource/Fileslistitem.js @@ -176,13 +176,13 @@ class Fileslistitem extends Component{ height: 50px; } `} - - 1?1529221779 - + {/**/} + {/**/} + {/**/}