From d4c390aa3bd85aa00de25a1c451317b14e90d50f Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Sat, 31 Aug 2019 14:26:05 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E9=87=91=E8=AF=BE=E7=9A=84=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/courses_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/courses_controller.rb b/app/controllers/courses_controller.rb index c16f8a97b..be75e26fb 100644 --- a/app/controllers/courses_controller.rb +++ b/app/controllers/courses_controller.rb @@ -1238,7 +1238,7 @@ class CoursesController < ApplicationController tip_exception("开始时间不能为空") if params[:start_date].blank? tip_exception("结束时间不能为空") if params[:end_date].blank? tip_exception("结束时间必须晚于开始时间") if strf_date(params[:end_date]) <= strf_date(params[:start_date]) - tip_exception("开始时间和结束时间不能与往期开课时间重叠") if @course.nil? && @subject.max_course_end_date && strf_date(params[:start_date]) <= strf_date(@subject.max_course_end_date) + tip_exception("开始时间和结束时间不能小于往期开课时间") if @course.nil? && @subject.max_course_end_date && strf_date(params[:start_date]) <= strf_date(@subject.max_course_end_date) validate_start_end_date if @course.present? tip_exception("开放课堂必须包含公告栏和在线学习模块") unless params[:course_module_types].include?("announcement") && params[:course_module_types].include?("online_learning") end From 06c3725dbb8382989d567065815883136d148026 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Sat, 31 Aug 2019 14:46:20 +0800 Subject: [PATCH 2/6] =?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/courses_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/courses_controller.rb b/app/controllers/courses_controller.rb index be75e26fb..a26b1c23b 100644 --- a/app/controllers/courses_controller.rb +++ b/app/controllers/courses_controller.rb @@ -1238,7 +1238,7 @@ class CoursesController < ApplicationController tip_exception("开始时间不能为空") if params[:start_date].blank? tip_exception("结束时间不能为空") if params[:end_date].blank? tip_exception("结束时间必须晚于开始时间") if strf_date(params[:end_date]) <= strf_date(params[:start_date]) - tip_exception("开始时间和结束时间不能小于往期开课时间") if @course.nil? && @subject.max_course_end_date && strf_date(params[:start_date]) <= strf_date(@subject.max_course_end_date) + tip_exception("开始时间和结束时间不能早于往期开课时间") if @course.nil? && @subject.max_course_end_date && strf_date(params[:start_date]) <= strf_date(@subject.max_course_end_date) validate_start_end_date if @course.present? tip_exception("开放课堂必须包含公告栏和在线学习模块") unless params[:course_module_types].include?("announcement") && params[:course_module_types].include?("online_learning") end From 063800004946d1293d084c897168c3616655e543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Mon, 2 Sep 2019 09:30:31 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E5=85=AC=E5=91=8A=E6=A0=8F=E5=AD=97?= =?UTF-8?q?=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/courses/gradinforms/Bullsubdirectory.js | 2 +- .../src/modules/courses/gradinforms/myysleduinforms.css | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js b/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js index 16a99aa8f..bc45eeece 100644 --- a/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js +++ b/public/react/src/modules/courses/gradinforms/Bullsubdirectory.js @@ -185,7 +185,7 @@ class Bullsubdirectory extends Component{
- + diff --git a/public/react/src/modules/courses/gradinforms/myysleduinforms.css b/public/react/src/modules/courses/gradinforms/myysleduinforms.css index ab2884ffe..b1efc783f 100644 --- a/public/react/src/modules/courses/gradinforms/myysleduinforms.css +++ b/public/react/src/modules/courses/gradinforms/myysleduinforms.css @@ -59,18 +59,20 @@ padding-top: 31px; padding-left: 25px; font-size: 16px; - color: #333333; + color: #05101A; text-align: left; + font-weight:bold; } .markdownysltext{ font-size: 14px; - color: #999999; + color: #333333; } .fudonyingxiangysl{ width: 100%; } .yslbianji{ padding-top: 31px; + } .yslmaxheigth80{ max-height: 80px; From 2f0d5714730108325720b232c4058d4ce0b6096d Mon Sep 17 00:00:00 2001 From: caicai8 <1149225589@qq.com> Date: Mon, 2 Sep 2019 09:36:35 +0800 Subject: [PATCH 4/6] =?UTF-8?q?=E5=88=86=E7=BB=84=E4=BD=9C=E4=B8=9A-?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../courses/busyWork/CommonWorkQuestion.js | 4 +- .../user/usersInfo/banks/BanksIndex.js | 214 ++++++++++++++++++ 2 files changed, 216 insertions(+), 2 deletions(-) create mode 100644 public/react/src/modules/user/usersInfo/banks/BanksIndex.js diff --git a/public/react/src/modules/courses/busyWork/CommonWorkQuestion.js b/public/react/src/modules/courses/busyWork/CommonWorkQuestion.js index b14f7b209..472ebd557 100644 --- a/public/react/src/modules/courses/busyWork/CommonWorkQuestion.js +++ b/public/react/src/modules/courses/busyWork/CommonWorkQuestion.js @@ -105,12 +105,12 @@ class CommonWorkQuestion extends Component{ {isGroup &&+ {crumbData && crumbData.title} + {crumbData.is_public == true ? '公开':'私有'} +
+ } + +