From 304aa486984478ed57a2a359c49486bd10d9e2da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 15 Nov 2019 17:09:50 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/home/shixunsHome.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/home/shixunsHome.js b/public/react/src/modules/home/shixunsHome.js index 873461600..6971cf36c 100644 --- a/public/react/src/modules/home/shixunsHome.js +++ b/public/react/src/modules/home/shixunsHome.js @@ -235,7 +235,7 @@ class ShixunsHome extends Component { {/*实训路径*/} - {pathstype===true?"":
实践课程
TRAINING COURSE
@@ -314,7 +314,7 @@ class ShixunsHome extends Component {实训项目
DEVELOPMENT COMMUNITY
From e04b68307c67efd11b8e20a1b91539870d23ea56 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Fri, 15 Nov 2019 17:20:10 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/users/recent_contacts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users/recent_contacts_controller.rb b/app/controllers/users/recent_contacts_controller.rb index bc4b8ea8f..ea8e005d1 100644 --- a/app/controllers/users/recent_contacts_controller.rb +++ b/app/controllers/users/recent_contacts_controller.rb @@ -3,6 +3,6 @@ class Users::RecentContactsController < Users::BaseController def index contacts = observed_user.recent_contacts.distinct - @contacts = contacts.order('private_messages.created_at DESC').limit(10).includes(:user_extension) + @contacts = contacts.where(laboratory_id: current_laboratory.id).order('private_messages.created_at DESC').limit(10).includes(:user_extension) end end \ No newline at end of file From 56cd10fae052cf1dee8b47ad7a7aaa78d2a64dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 15 Nov 2019 17:22:54 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/tpm/NewHeader.js | 6 +++--- public/react/src/modules/tpm/TPMIndex.css | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/public/react/src/modules/tpm/NewHeader.js b/public/react/src/modules/tpm/NewHeader.js index fc633c975..355e4a94c 100644 --- a/public/react/src/modules/tpm/NewHeader.js +++ b/public/react/src/modules/tpm/NewHeader.js @@ -1283,7 +1283,7 @@ submittojoinclass=(value)=>{