From 7bb60b7448ce40d28bc9662c7e56477551c98e0b Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期三, 13 三月 2024 09:03:21 +0800
Subject: [PATCH] bug修改
---
cloud-server-management/src/main/webapp/static/modular/system/coursePackage/classRecord.js | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/cloud-server-management/src/main/webapp/static/modular/system/coursePackage/classRecord.js b/cloud-server-management/src/main/webapp/static/modular/system/coursePackage/classRecord.js
index 5fda9e2..4d4f177 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/coursePackage/classRecord.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/coursePackage/classRecord.js
@@ -258,15 +258,9 @@
console.log("最终结果");
console.log(res);
// 获取当前时间
- let now = new Date();
-// 将指定时间转换为 Date 对象
- let specifiedTime = new Date(res);
+
// 比较当前时间是否大于指定时间
- if (now > specifiedTime) {
- console.log("当前时间大于指定时间");
- Feng.error("当前课程还未结束,不能上传消课记录")
- return
- }
+
let htmlStr =
'<div class="form-horizontal">' +
' <div class="col-sm-11" style="padding: 20px;">' +
--
Gitblit v1.7.1