ソースを参照

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: '取消',