From 890ca0017f689638da3e8ebb92b49624d4dd1d48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Wed, 3 Jul 2019 18:26:05 +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 --- .../react/src/modules/courses/poll/PollNew.js | 171 ++++++++++-------- .../shixunHomework/Trainingjobsetting.js | 34 ++-- .../react/src/modules/login/EducoderLogin.js | 2 +- 3 files changed, 113 insertions(+), 94 deletions(-) diff --git a/public/react/src/modules/courses/poll/PollNew.js b/public/react/src/modules/courses/poll/PollNew.js index be6b7e5eb..0316cd8fe 100644 --- a/public/react/src/modules/courses/poll/PollNew.js +++ b/public/react/src/modules/courses/poll/PollNew.js @@ -2339,95 +2339,114 @@ class PollNew extends Component { {/*
*/} -
-
- + -
-
*问卷标题 -
- { - this.props.match.params.news === undefined ? "" : this.props.match.params.news === "new" ? - ( - this.state.mysave === false ? -
- this.adddomeditit()}> -
- : "") - : -
+
+
*问卷标题 +
+ { + this.props.match.params.news === undefined ? "" : this.props.match.params.news === "new" ? + ( + this.state.mysave === false ? + - } +
+ : "") + :"" + } -
+
+ + - - -
-
- + -
问卷须知
+
问卷须知
- - { - this.state.Newedit === true || this.state.mysave === true ? -
- - {cancellation === false ? - - : ""} + + { + this.state.Newedit === true || this.state.mysave === true ? +
+ + {cancellation === false ? + + : ""} + +
+ : "" + } + +
+ +
:"" + } -
- : "" - } - -

@@ -2507,7 +2526,7 @@ class PollNew extends Component { {item.question.answers === undefined ? "" : item.question.answers.map((items, i) => { return (

- + {/*
{items.answer_text}
*/} {/*
{items.answer_text}
*/} diff --git a/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js b/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js index 11017259a..8837b83c3 100644 --- a/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js +++ b/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js @@ -1715,8 +1715,8 @@ class Trainingjobsetting extends Component { {/*发布设置*/}
-

- 发布设置 (选中则所有分班使用相同的发布设置,否则各个分班单独设置) +

+ 发布设置 { !flagPageEdit && this.props.isAdmin() === true ?

- 发布时间: + 发布时间:
- -

- { - unit_p_tip && unit_p_tip != "" ? { unit_p_tip }:"" - } -

(学生收到作业的时间)
-
- 截止时间: +

+ { + unit_p_tip && unit_p_tip != "" ? { unit_p_tip } + : "" + } +

+
+ 截止时间:
- -

- { - unit_e_tip && unit_e_tip != "" ? { unit_e_tip }:"" - } -

+ (学生“按时”提交作品的时间截点)
+

+ { + unit_e_tip && unit_e_tip != "" ? { unit_e_tip } :"" + } +

:
© 2019 EduCoder湘ICP备17009477号Trustie   &   IntelliDE inside.
-
+
)