{ setCheckItem(item) }}>
+
{ changeitem(item) }}>
{item.name}
@@ -266,7 +276,7 @@ export default (props) => {
{itemDetail.image_url &&
})
}
{itemDetail.userName}
-
上次修改于{checkItem.commit ? timeAgo(checkItem.commit.author.when):'刚刚'}
+
上次修改于{checkItem.commit ? timeAgo(checkItem.commit.author.when) : '刚刚'}
{permission &&
}
diff --git a/src/glcc/check/index.jsx b/src/glcc/check/index.jsx
index ea2e5af9..5b66e803 100644
--- a/src/glcc/check/index.jsx
+++ b/src/glcc/check/index.jsx
@@ -23,6 +23,8 @@ function Check({ current_user, showNotification, history }) {
const [taskId, setTaskId] = useState();
const [havePass, setHavePass] = useState(false);
+ const disabledCheck = new Date().getTime() > new Date('2022-07-01').getTime();
+
const columns = [
{
title: '学生姓名',
@@ -128,8 +130,8 @@ function Check({ current_user, showNotification, history }) {
return (
{
- text ? :
-
+ text ? :
+
}
)
diff --git a/src/modules/tpm/TPMIndex.css b/src/modules/tpm/TPMIndex.css
index 8701a8aa..4e3288dd 100644
--- a/src/modules/tpm/TPMIndex.css
+++ b/src/modules/tpm/TPMIndex.css
@@ -27,7 +27,7 @@ body>.-task-title {
width: 100%;
height:58px;
min-width: 1200px;
- z-index: 1000;
+ z-index: 1031;
position: fixed;
background: #1B2440;
color: #fff;