From 7e7f901b2172281dc294dfbc67e6ad00625f09f4 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期一, 04 三月 2024 10:11:21 +0800 Subject: [PATCH] 合并代码 --- 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