Browse Source

取消学习中心角色的用户默认选中自己学习中心

deason 3 years ago
parent
commit
5d647a1cb7
1 changed files with 8 additions and 7 deletions
  1. 8 7
      src/modules/examwork/view/examStudent.vue

+ 8 - 7
src/modules/examwork/view/examStudent.vue

@@ -1631,11 +1631,12 @@ export default {
       this.examStudentForm.examStageOrder = null;
 
       this.getOrgList4InsertOrUpdate("");
-      if (this.pureLC) {
-        this.examStudentForm.orgId = this.lc_id;
-      } else {
-        this.examStudentForm.orgId = null;
-      }
+      this.examStudentForm.orgId = null;
+      // if (this.pureLC) {
+      //   this.examStudentForm.orgId = this.lc_id;
+      // } else {
+      //   this.examStudentForm.orgId = null;
+      // }
 
       this.examList4InsertOrUpdate = [];
       this.courseList4InsertOrUpdate = [];
@@ -1947,8 +1948,8 @@ export default {
           // this.orgList4InsertOrUpdate = [
           //   { id: this.lc_id, name: this.lc_name, code: this.lc_code },
           // ];
-          this.formSearch.orgId = this.lc_id;
-          this.examStudentForm.orgId = this.lc_id;
+          // this.formSearch.orgId = this.lc_id;
+          // this.examStudentForm.orgId = this.lc_id;
         });
 
         // this.searchForm();