diff --git a/public/react/src/modules/courses/poll/PollDetailTabForth.js b/public/react/src/modules/courses/poll/PollDetailTabForth.js index aa9038d9b..e5cbfdce7 100644 --- a/public/react/src/modules/courses/poll/PollDetailTabForth.js +++ b/public/react/src/modules/courses/poll/PollDetailTabForth.js @@ -584,7 +584,7 @@ class PollDetailTabForth extends Component{
截止时间:
- + @@ -619,6 +619,7 @@ class PollDetailTabForth extends Component{ {...this.state} ref="pollDetailTabForthRules" rules={rules} + type={"polls"} course_group={course_group} flagPageEdit={flagPageEdit} rulesCheckInfo={(info)=>this.rulesCheckInfo(info)} diff --git a/public/react/src/modules/courses/poll/PollDetailTabForthRules.js b/public/react/src/modules/courses/poll/PollDetailTabForthRules.js index 72aceb87e..c531d20b7 100644 --- a/public/react/src/modules/courses/poll/PollDetailTabForthRules.js +++ b/public/react/src/modules/courses/poll/PollDetailTabForthRules.js @@ -461,7 +461,11 @@ class PollDetailTabForthRules extends Component{ format="YYYY-MM-DD HH:mm" disabledTime={disabledDateTime} disabledDate={disabledDate} - disabled={rule.e_timeflag === undefined ? rule.publish_time === null ? false : moment(rule.end_time, dataformat) <= moment() ?this.props.isAdmin()?!flagPageEdit: true : !flagPageEdit : rule.e_timeflag == true ? this.props.isAdmin()?!flagPageEdit :true : !flagPageEdit} + disabled={ + this.props.type==="polls"||this.props.type==="Exercise"? + rule.e_timeflag === undefined ? rule.publish_time === null ? false : moment(rule.end_time, dataformat) <= moment() ?this.props.isAdmin()?!flagPageEdit: true : !flagPageEdit : rule.e_timeflag == true ? this.props.isAdmin()?!flagPageEdit :true : !flagPageEdit: + rule.e_timeflag === undefined ? rule.publish_time === null ? false : moment(rule.end_time, dataformat) <= moment() ? true : !flagPageEdit : rule.e_timeflag == true ? true : !flagPageEdit + } style={{"height":"42px"}} > diff --git a/public/react/src/modules/tpm/shixunchild/shixunchildCss/Challenges.css b/public/react/src/modules/tpm/shixunchild/shixunchildCss/Challenges.css index f8b499e1f..34f71fb1e 100644 --- a/public/react/src/modules/tpm/shixunchild/shixunchildCss/Challenges.css +++ b/public/react/src/modules/tpm/shixunchild/shixunchildCss/Challenges.css @@ -140,11 +140,13 @@ .shixunstartbutton33BD8C{ background: #33BD8C !important; border: #33BD8C !important; + cursor: inherit !important; } .shixunstartbuttonFF6601{ background: #FF6601 !important; border: #FF6601 !important; + cursor: inherit !important; } .shixunstartbutton666666{