|
@@ -1,6 +1,5 @@
|
|
|
<template>
|
|
|
<el-container>
|
|
|
- <el-header> <div class="header-title">考试明细</div> </el-header>
|
|
|
<el-main>
|
|
|
<commonFormVue :form="form" :getExamCondition="getExamCondition">
|
|
|
<el-col :span="8">
|
|
@@ -36,6 +35,7 @@
|
|
|
>查询</el-button
|
|
|
>
|
|
|
<commonExportVue
|
|
|
+ v-show="currentPagePrivileges.EXAM_DETAIL_EXPORT"
|
|
|
:form="form"
|
|
|
:exportUrl="exportUrl"
|
|
|
:exportFileName="exportFileName"
|
|
@@ -55,31 +55,25 @@
|
|
|
<el-table-column fixed sortable label="考试ID">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
+ v-show="currentPagePrivileges.SNAPSHOT_DETAILS"
|
|
|
@click="gotoCaptureDetail(scope.row.dataId);"
|
|
|
type="text"
|
|
|
- >{{ scope.row.dataId }}</el-button
|
|
|
- >
|
|
|
+ >{{ scope.row.dataId }}
|
|
|
+ </el-button>
|
|
|
+ <span v-show="!currentPagePrivileges.SNAPSHOT_DETAILS">
|
|
|
+ {{ scope.row.dataId }}
|
|
|
+ </span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column fixed sortable label="学习中心" prop="orgName">
|
|
|
</el-table-column>
|
|
|
<el-table-column fixed sortable label="姓名" prop="studentName">
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- fixed
|
|
|
- sortable
|
|
|
- label="身份证号"
|
|
|
- prop="identityNumber"
|
|
|
- >
|
|
|
+ <el-table-column sortable label="身份证号" prop="identityNumber">
|
|
|
</el-table-column>
|
|
|
- <el-table-column fixed sortable label="学号" prop="studentCode">
|
|
|
+ <el-table-column sortable label="学号" prop="studentCode">
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- fixed
|
|
|
- sortable
|
|
|
- label="课程"
|
|
|
- prop="courseNameAndCode"
|
|
|
- >
|
|
|
+ <el-table-column sortable label="课程" prop="courseNameAndCode">
|
|
|
</el-table-column>
|
|
|
<el-table-column sortable label="课程层次" prop="courseLevel">
|
|
|
</el-table-column>
|
|
@@ -111,7 +105,11 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column sortable label="是否提交" prop="isSubmit">
|
|
|
</el-table-column>
|
|
|
- <el-table-column fixed="right" label="详情">
|
|
|
+ <el-table-column
|
|
|
+ fixed="right"
|
|
|
+ label="详情"
|
|
|
+ v-if="currentPagePrivileges.EXAM_QUERY_GETPAPER"
|
|
|
+ >
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
v-show="scope.row.examType == 'ONLINE'"
|
|
@@ -150,8 +148,10 @@ import { mapState } from "vuex";
|
|
|
import commonFormVue from "../component/commonForm.vue";
|
|
|
import commonExportVue from "../component/commonExport.vue";
|
|
|
import { DISCIPLINE_TYPE_LIST } from "../constants/constants";
|
|
|
+import pagePrivilege from "../mixin/pagePrivilege.js";
|
|
|
export default {
|
|
|
components: { commonFormVue, commonExportVue },
|
|
|
+ mixins: [pagePrivilege],
|
|
|
data() {
|
|
|
return {
|
|
|
disciplineTypeList: DISCIPLINE_TYPE_LIST,
|
|
@@ -188,7 +188,12 @@ export default {
|
|
|
},
|
|
|
tableData: [],
|
|
|
exportUrl: "/api/ecs_oe_admin/exam/record/detail/list/export",
|
|
|
- exportFileName: "考试明细"
|
|
|
+ exportFileName: "考试明细",
|
|
|
+ currentPagePrivileges: {
|
|
|
+ EXAM_DETAIL_EXPORT: false, //导出
|
|
|
+ SNAPSHOT_DETAILS: false, //详情查看
|
|
|
+ EXAM_QUERY_GETPAPER: false //调卷
|
|
|
+ }
|
|
|
};
|
|
|
},
|
|
|
computed: {
|