From eebc428d42d7cc0f03c08b580d26bf79c9a50f59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com>
Date: Wed, 3 Jul 2019 16:17:27 +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/tpm/challengesnew/TPManswer.js | 2 +-
.../react/src/modules/tpm/challengesnew/TPManswer2.js | 4 ++--
.../src/modules/tpm/challengesnew/TPMchallengesnew.js | 6 +++---
.../src/modules/tpm/challengesnew/TPMevaluation.js | 6 +++---
.../react/src/modules/tpm/challengesnew/TPMquestion.js | 10 +++++-----
public/react/src/modules/tpm/component/TPMNav.js | 2 +-
6 files changed, 15 insertions(+), 15 deletions(-)
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"}}>
+
@@ -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 {
-