xiaofei 1 жил өмнө
parent
commit
9a355184bb

+ 4 - 1
src/modules/exam/views/PdfBuildManage.vue

@@ -138,7 +138,10 @@
               >查看日志</el-button
             >
             <el-button
-              v-if="checkPrivilege('link', 'createPdf')"
+              v-if="
+                checkPrivilege('link', 'createPdf') &&
+                scope.row.status === 'FINISH'
+              "
               class="btn-primary"
               type="text"
               :disabled="loading"

+ 1 - 0
src/modules/print/components/ModifyPlanPaper.vue

@@ -151,6 +151,7 @@ import { attachmentPreview } from "../../login/api";
 
 const initModalForm = {
   id: null,
+  examId: null,
   paperNumber: "",
   relatePaperType: [],
 };