瀏覽代碼

01/16 乐团排课优化

11
mo 5 年之前
父節點
當前提交
3b60f59d4d
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/views/teamBuild/teamSeting/components/coursePlan.vue

+ 5 - 0
src/views/teamBuild/teamSeting/components/coursePlan.vue

@@ -403,6 +403,11 @@ export default {
     },
     // 确定排课
     submitInfo () {
+      // 做拦截
+      if (this.classCardList.length <= 0) {
+        this.$message.error('请先点击一键排课,再确认排课')
+        return
+      }
       this.$confirm('课表无误,确定排课', '提示', {
         confirmButtonText: '确定',
         cancelButtonText: '取消',