瀏覽代碼

考试特殊设置按钮控制

WANG 5 年之前
父節點
當前提交
df49449083
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      src/modules/examwork/view/examInfo.vue

+ 6 - 2
src/modules/examwork/view/examInfo.vue

@@ -195,7 +195,9 @@
                           !(
                             rolePrivileges.update_exam &&
                             (scope.row.examType == 'OFFLINE' ||
-                              scope.row.examType == 'ONLINE')
+                              scope.row.examType == 'ONLINE') &&
+                            scope.row.specialSettingsEnabled &&
+                            scope.row.specialSettingsType == 'ORG_BASED'
                           )
                         "
                         size="mini"
@@ -212,7 +214,9 @@
                           !(
                             rolePrivileges.update_exam &&
                             (scope.row.examType == 'OFFLINE' ||
-                              scope.row.examType == 'ONLINE')
+                              scope.row.examType == 'ONLINE') &&
+                            scope.row.specialSettingsEnabled &&
+                            scope.row.specialSettingsType == 'STUDENT_BASED'
                           )
                         "
                         size="mini"