Ver Fonte

考试明细-离线考试,去除抓拍详情链接

chenken há 6 anos atrás
pai
commit
586061f2af
1 ficheiros alterados com 10 adições e 2 exclusões
  1. 10 2
      src/modules/oe/views/examDetail.vue

+ 10 - 2
src/modules/oe/views/examDetail.vue

@@ -91,12 +91,20 @@
             <el-table-column label="考试ID" width="120">
             <el-table-column label="考试ID" width="120">
               <template slot-scope="scope">
               <template slot-scope="scope">
                 <el-button
                 <el-button
-                  v-show="currentPagePrivileges.SNAPSHOT_DETAILS"
+                  v-show="
+                    scope.row.examType == 'ONLINE' &&
+                      currentPagePrivileges.SNAPSHOT_DETAILS
+                  "
                   @click="gotoCaptureDetail(scope.row.dataId)"
                   @click="gotoCaptureDetail(scope.row.dataId)"
                   type="text"
                   type="text"
                   >{{ scope.row.dataId }}
                   >{{ scope.row.dataId }}
                 </el-button>
                 </el-button>
-                <span v-show="!currentPagePrivileges.SNAPSHOT_DETAILS">
+                <span
+                  v-show="
+                    scope.row.examType != 'ONLINE' ||
+                      !currentPagePrivileges.SNAPSHOT_DETAILS
+                  "
+                >
                   {{ scope.row.dataId }}
                   {{ scope.row.dataId }}
                 </span>
                 </span>
               </template>
               </template>