xiaofei 1 년 전
부모
커밋
9a355184bb
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      src/modules/exam/views/PdfBuildManage.vue
  2. 1 0
      src/modules/print/components/ModifyPlanPaper.vue

+ 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: [],
 };