src/views/trainExam/index.vue
@@ -25,6 +25,7 @@
            ref="questionBankCrud"
            :page.sync="questionBankPage"
            @on-load="questionBankOnLoad"
            :before-open="beforeOpen"
            @selection-change="questionBankSelectionChange"
            @search-change="questionBankSearchChange"
            @search-reset="questionBankSearchReset"
@@ -709,6 +710,20 @@
        }
      );
    },
     beforeOpen(done, type) {
      if(this.userInfo.role_name=="培训公司管理员"){
         if (["edit"].includes(type)) {
            if(this.form.auditStatus==1){
              this.$message({
                type: "warning",
                message: "当前考试申请已审核通过,无法再修改考试申请信息!",
              });
              return;
            }
          }
      }
      done();
    },
    startExam(row) {
      //正式考试
      if (row.examType == 1) {