dedsudiyu 2 年之前
父節點
當前提交
6e2c550c9e
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/views/safetyCheck/checkConfiguration/configDialog.vue

+ 6 - 0
src/views/safetyCheck/checkConfiguration/configDialog.vue

@@ -262,6 +262,12 @@
           }
         }
         obj.sysUserVoList = obj.setStudent?this.dialogTableList:[]
+        if(obj.setStudent){
+          if(!obj.sysUserVoList[0]){
+            this.msgError('并未勾选任何学生')
+            return
+          }
+        }
         checkSetAdd(obj).then(response => {
           this.msgSuccess(response.msg);
           this.$parent.configButton(3)