diff --git a/public/react/src/modules/tpm/challengesnew/TPManswer.js b/public/react/src/modules/tpm/challengesnew/TPManswer.js index c44b74966..d29516422 100644 --- a/public/react/src/modules/tpm/challengesnew/TPManswer.js +++ b/public/react/src/modules/tpm/challengesnew/TPManswer.js @@ -352,7 +352,7 @@ export default class TPManswer extends Component { -
3||this.props.identity===undefined||power===false?"none":"block"}}> +
4||this.props.identity===undefined||power===false?"none":"block"}}> 提交 取消 diff --git a/public/react/src/modules/tpm/challengesnew/TPManswer2.js b/public/react/src/modules/tpm/challengesnew/TPManswer2.js index 67b0e7fe9..98c615065 100644 --- a/public/react/src/modules/tpm/challengesnew/TPManswer2.js +++ b/public/react/src/modules/tpm/challengesnew/TPManswer2.js @@ -339,7 +339,7 @@ export default class TPManswer extends Component { }) } -
3||this.props.identity===undefined||power===false?"none":"block"}}> +
4||this.props.identity===undefined||power===false?"none":"block"}}> 新增
@@ -347,7 +347,7 @@ export default class TPManswer extends Component {
-
3||this.props.identity===undefined||power===false?"none":"block"}}> +
4||this.props.identity===undefined||power===false?"none":"block"}}> 提交 取消 diff --git a/public/react/src/modules/tpm/challengesnew/TPMchallengesnew.js b/public/react/src/modules/tpm/challengesnew/TPMchallengesnew.js index e0944cac6..024f49589 100644 --- a/public/react/src/modules/tpm/challengesnew/TPMchallengesnew.js +++ b/public/react/src/modules/tpm/challengesnew/TPMchallengesnew.js @@ -575,12 +575,12 @@ export default class TPMchallengesnew extends Component { 3||this.props.identity===undefined||this.props.status===2||this.props.status===1?"none":'block'}} + style={{display:this.props.identity>4||this.props.identity===undefined||this.props.status===2||this.props.status===1?"none":'block'}} data-tip-down="新增代码编辑类型的任务">+ 实践类型 3||this.props.identity===undefined||this.props.status===2||this.props.status===1?"none":'block'}} + style={{display:this.props.identity>4||this.props.identity===undefined||this.props.status===2||this.props.status===1?"none":'block'}} data-tip-down="新增选择题类型的任务">+ 选择题类型
@@ -739,7 +739,7 @@ export default class TPMchallengesnew extends Component {
3||this.props.identity===undefined?"none":'block'}} + style={{display:this.props.identity>4||this.props.identity===undefined?"none":'block'}} > {checkpointId===undefined?提交: 提交} diff --git a/public/react/src/modules/tpm/challengesnew/TPMevaluation.js b/public/react/src/modules/tpm/challengesnew/TPMevaluation.js index 80e8b3f43..036197229 100644 --- a/public/react/src/modules/tpm/challengesnew/TPMevaluation.js +++ b/public/react/src/modules/tpm/challengesnew/TPMevaluation.js @@ -777,11 +777,11 @@ export default class TPMevaluation extends Component { 3||this.props.identity===undefined||this.props.status===2||this.props.status===1? "none":'block'}} + style={{display:this.props.identity>4||this.props.identity===undefined||this.props.status===2||this.props.status===1? "none":'block'}} data-tip-down="新增代码编辑类型的任务">+ 实践类型 3||this.props.identity===undefined||this.props.status===2||this.props.status===1?"none":'block'}} + style={{display:this.props.identity>4||this.props.identity===undefined||this.props.status===2||this.props.status===1?"none":'block'}} data-tip-down="新增选择题类型的任务">+ 选择题类型
@@ -1119,7 +1119,7 @@ export default class TPMevaluation extends Component {
-
3||this.props.identity===undefined||power===false?"none":"block"}}> +
4||this.props.identity===undefined||power===false?"none":"block"}}> 提交 取消
diff --git a/public/react/src/modules/tpm/challengesnew/TPMquestion.js b/public/react/src/modules/tpm/challengesnew/TPMquestion.js index e917b425a..c1d310ce2 100644 --- a/public/react/src/modules/tpm/challengesnew/TPMquestion.js +++ b/public/react/src/modules/tpm/challengesnew/TPMquestion.js @@ -1251,10 +1251,10 @@ editanswersMD=(initValue, id)=> { 3||this.props.identity===undefined||this.props.status===2||this.props.status===1?"none":'block'}} + style={{display:this.props.identity>4||this.props.identity===undefined||this.props.status===2||this.props.status===1?"none":'block'}} data-tip-down="新增代码编辑类型的任务">+ 实践类型 3||this.props.identity===undefined||this.props.status===2||this.props.status===1?"none":'block'}} + style={{display:this.props.identity>4||this.props.identity===undefined||this.props.status===2||this.props.status===1?"none":'block'}} data-tip-down="新增选择题类型的任务">+ 选择题类型
@@ -1345,7 +1345,7 @@ editanswersMD=(initValue, id)=> { -
3||this.props.identity===undefined||power===false?"none":"block"}}> +
4||this.props.identity===undefined||power===false?"none":"block"}}> 提交 取消 @@ -1545,7 +1545,7 @@ editanswersMD=(initValue, id)=> {
-
3||this.props.identity===undefined||power===false?"none":"block"}}> +
4||this.props.identity===undefined||power===false?"none":"block"}}> 提交 {
-
3||this.props.identity===undefined||power===false?"none":"block"}}> +
4||this.props.identity===undefined||power===false?"none":"block"}}> this.answer_subit("edit",challenge_choose_id)}>提交 3||this.props.identity===undefined ? "none" : 'block'}} + style={{display: this.props.identity >4||this.props.identity===undefined ? "none" : 'block'}} className={`${match.url.indexOf('repository') != -1 ? 'active' : ''} fl mr40`}>版本库