From 32ec3be58557fb96c97585bcedfd383c1953822e Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期三, 20 八月 2025 15:52:01 +0800
Subject: [PATCH] 赛事模块
---
cloud-server-management/src/main/webapp/static/modular/system/course/course.js | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/cloud-server-management/src/main/webapp/static/modular/system/course/course.js b/cloud-server-management/src/main/webapp/static/modular/system/course/course.js
index a5a23a8..c1aa138 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/course/course.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/course/course.js
@@ -1,7 +1,7 @@
/**
* 系统管理--用户管理的单例对象
*/
-let Course = {
+var Course = {
id: "managerTable",//表格id
seItem: null, //选中的条目
table: null,
@@ -99,6 +99,11 @@
*/
Course.delCourse = function () {
if (this.check()) {
+ console.log()
+ if (Course.seItem.state == 1){
+ Feng.error("只能删除已下架的视频课");
+ return;
+ }
let operation = function(){
let ajax = new $ax(Feng.ctxPath + "/course/delCourse", function () {
Feng.success("删除成功!");
--
Gitblit v1.7.1