tangzy
2021-11-16 3da442cd47a206d0edffb4606d07c305f9d54cd9
src/views/trainExam/modifiedGrades.vue
@@ -52,7 +52,7 @@
                            <el-button :type="type"
                                       :size="size"
                                       icon="el-icon-folder-checked"
                                       v-if="permission.score_audit_check"
                                       v-if="permission.score_audit_check || check"
                                       @click="handleAudit(row)">审核
                            </el-button>
                        </template>
@@ -152,6 +152,7 @@
                editBtn: true,
                addBtn: false,
                selection: false,
                check:false,
                // 导出按钮
                // excelBtn: true,
                // excelBtnText: "成绩导出",
@@ -468,7 +469,16 @@
        };
    },
    created () { },
    created(){
      if (this.userInfo.role_name == "公安管理员") {
        //判断是否为市局管理员
        if(this.userInfo.jurisdiction=="1372091709474910209"){
            this.check = true;
        }else{
            this.check = false;
        }
      }
    },
    mounted () { },
    computed: {
        ...mapGetters(["userInfo", "permission"]),
@@ -553,8 +563,11 @@
                        //如果是培训公司管理员
                        params["trainUnitId"] = that.userInfo.dept_id;
                    }
                    if (this.userInfo.role_name == "公安管理员") {
                        //如果是公安管理员
                        params["jurisdiction"] = this.userInfo.jurisdiction;
                    }
                    that.questionBankLoading = false;
                    params["examType"] = 2;
                    getList(
                        page.currentPage,
                        page.pageSize,