+
+
+
- (简明手册)
+ (简明手册)
+
+
+
+
+ (简明手册)
+
{
lives && lives.length > 0 ?
@@ -79,4 +113,4 @@ class Live extends Component{
)
}
}
-export default Live;
\ No newline at end of file
+export default Live;
diff --git a/public/react/src/modules/courses/Video/LiveNew.js b/public/react/src/modules/courses/Video/LiveNew.js
index e95400ed0..2c10bfe32 100644
--- a/public/react/src/modules/courses/Video/LiveNew.js
+++ b/public/react/src/modules/courses/Video/LiveNew.js
@@ -9,7 +9,7 @@ import axios from 'axios';
const { TextArea } = Input;
const { Option } = Select;
-const array=['腾讯课堂','斗鱼直播','Bilibili','威佰通'];
+const array=['腾讯课堂','斗鱼直播','Bilibili','威佰通','zoom'];
function range(start, end) {
const result = [];
@@ -290,7 +290,7 @@ class LiveNew extends Component{
)}
-
+
取消
@@ -303,4 +303,4 @@ class LiveNew extends Component{
}
}
const WrappedLiveNew = Form.create({name: 'LiveNew'})(LiveNew);
-export default WrappedLiveNew;
\ No newline at end of file
+export default WrappedLiveNew;
diff --git a/public/react/src/modules/courses/Video/VideoIndex.js b/public/react/src/modules/courses/Video/VideoIndex.js
index 0815bc8aa..c6d736824 100644
--- a/public/react/src/modules/courses/Video/VideoIndex.js
+++ b/public/react/src/modules/courses/Video/VideoIndex.js
@@ -299,8 +299,7 @@ class VideoIndex extends Component {
const flag = parseInt(course_identity) < 5;
const newOperation = flag;
const new_upload = flag && (is_teacher && this.props.checkIfProfessionalCertification());
-
-
+ let isAdmin = this.props&&this.props.isAdmin();
return (
@@ -404,7 +403,10 @@ class VideoIndex extends Component {
:
-
添加直播
+ isAdmin===true?
+
添加直播
+ :
+ ""
}
diff --git a/public/react/src/modules/courses/Video/images/zoom.png b/public/react/src/modules/courses/Video/images/zoom.png
new file mode 100755
index 0000000000000000000000000000000000000000..67880716191443a1ae96c009d925b30f0ff9ec91
GIT binary patch
literal 3403
zcmV-R4Ycx!P)
(k*{000dVNklU=YJN2LN#Nle*<~fPl4V5M}L4StYRxVeM
zD~xan$`BwS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zAirB4+@w#=mpbCdjwu+@urDxT%EemkU!rQGL
zZ)K+_)gaE%uA;{_#elUOQP^daPo3oIQiz4&rmYALbfF%zBuFW2GnOU07RiUP$5my*
zYDTsOlpEn&F{5g0*WH5C&MwZba@uJ-7)FSbgoTS-N0mu~u7JO1m3#Iql$SeeI}Uu8
zj!spxEETfubVUzrXN3;Q$&SHqV>^8X|6FXRv{Ekvo>mywJ*-{96V3FRz0(Q@Lx|)4
z!sB5r51U*r7oYnLT+vMfa+VxjbsD*YuCv1(p3PR-;wj5^HSkfFt~jY?Y``$GC^Lpx
zLaZis9?oi8Z`@5HcUer89brV7$tV@3Hn5@T^D@*ST~WU8(Yyy!Ls<_mlyLml0323^3;
zm~pY`G?7CpJZs_6&boW|t;Rj915FFJTStY3k+?`dw_O($u}rPPuSxTOQ#0G`IZEyO
zv83!+lvPWWXSjLi0(q^c%g>yt-uqKn;yGEu(BE2`8|o3$_*qx
hVJV8zc=?4?{Vy-q8mn7@{V)Ik002ovPDHLkV1iYQq6`24
literal 0
HcmV?d00001
diff --git a/public/react/src/modules/question/questioncss/questioncom.css b/public/react/src/modules/question/questioncss/questioncom.css
index cfe92fdeb..1f4e75f9e 100644
--- a/public/react/src/modules/question/questioncss/questioncom.css
+++ b/public/react/src/modules/question/questioncss/questioncom.css
@@ -428,7 +428,7 @@
color: #4CACFF;
}
.xiaoshou{
- cursor:pointer !important;
+ cursor:√ !important;
}
.xiaoshout{
cursor:default !important;
From e7fb988db55e226ee0c0aac65d88d98f628e75d2 Mon Sep 17 00:00:00 2001
From: cxt <853663049@qq.com>
Date: Tue, 24 Mar 2020 15:41:03 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E8=AF=95=E5=8D=B7=E7=AD=94=E9=A2=98?=
=?UTF-8?q?=E5=88=97=E8=A1=A8=E5=A2=9E=E5=8A=A0=E5=BE=85=E6=89=B9=E9=98=85?=
=?UTF-8?q?=E7=8A=B6=E6=80=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/helpers/exercises_helper.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/helpers/exercises_helper.rb b/app/helpers/exercises_helper.rb
index 1887aee5a..26a9aa9ec 100644
--- a/app/helpers/exercises_helper.rb
+++ b/app/helpers/exercises_helper.rb
@@ -714,9 +714,9 @@ module ExercisesHelper
end
teacher_review = ex_user.subjective_score < 0.0 ? false : true
if (user_status == 0 && commit_status == 1) || (user_status == 1 && ex_user_exercise_status == 3 && commit_status == 1) #老师都可以看,学生,需在试卷已提交,且已截止的情况下看
- ex_object_score = ex_user.objective_score < 0.0 ? 0.0 : ex_user.objective_score.round(1).to_s
+ ex_object_score = ex_user.objective_score <= 0.0 ? 0 : ex_user.objective_score.round(1).to_s
ex_subject_score = ex_user.subjective_score < 0.0 ? nil : ex_user.subjective_score.round(1).to_s
- score = ex_user.score.present? ? ex_user.score.round(1).to_s : 0.0.to_s
+ score = ex_user.score.present? && ex_user.score > 0.0 ? ex_user.score.round(1).to_s : 0.to_s
else
ex_object_score = nil
ex_subject_score = nil
From ad43667c941b882298111f6a02da97c45f02412e Mon Sep 17 00:00:00 2001
From: cxt <853663049@qq.com>
Date: Tue, 24 Mar 2020 15:48:07 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E8=AF=95=E5=8D=B7=E7=AD=94=E9=A2=98?=
=?UTF-8?q?=E5=88=97=E8=A1=A8=E5=A2=9E=E5=8A=A0=E5=BE=85=E6=89=B9=E9=98=85?=
=?UTF-8?q?=E7=8A=B6=E6=80=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/helpers/exercises_helper.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/helpers/exercises_helper.rb b/app/helpers/exercises_helper.rb
index 26a9aa9ec..b57c8525b 100644
--- a/app/helpers/exercises_helper.rb
+++ b/app/helpers/exercises_helper.rb
@@ -715,7 +715,7 @@ module ExercisesHelper
teacher_review = ex_user.subjective_score < 0.0 ? false : true
if (user_status == 0 && commit_status == 1) || (user_status == 1 && ex_user_exercise_status == 3 && commit_status == 1) #老师都可以看,学生,需在试卷已提交,且已截止的情况下看
ex_object_score = ex_user.objective_score <= 0.0 ? 0 : ex_user.objective_score.round(1).to_s
- ex_subject_score = ex_user.subjective_score < 0.0 ? nil : ex_user.subjective_score.round(1).to_s
+ ex_subject_score = ex_user.subjective_score < 0.0 ? nil : (ex_user.subjective_score > 0.0 ? ex_user.subjective_score.round(1).to_s : 0)
score = ex_user.score.present? && ex_user.score > 0.0 ? ex_user.score.round(1).to_s : 0.to_s
else
ex_object_score = nil