Browse Source

导入导出任务:算分无文件下载

Michael Wang 4 years ago
parent
commit
37e31f56d8
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/features/examwork/ImportExportTask/ImportExportTask.vue

+ 5 - 1
src/features/examwork/ImportExportTask/ImportExportTask.vue

@@ -47,7 +47,11 @@
             size="mini"
             type="primary"
             plain
-            v-if="scope.row.status === 'FINISH'"
+            v-if="
+              scope.row.status === 'FINISH' &&
+              (scope.row.hasResultFile === '1' ||
+                scope.row.importFileName !== null)
+            "
             @click="
               download({
                 id: scope.row.id,