Ver Fonte

重新生成pdf按钮条件控制

xiaofei há 1 ano atrás
pai
commit
e8949b71d8
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/modules/print/views/PrintTaskManage.vue

+ 1 - 1
src/modules/print/views/PrintTaskManage.vue

@@ -332,7 +332,7 @@
               >查看pdf</el-button
             >
             <el-button
-              v-if="checkPrivilege('link', 'createpdf')"
+              v-if="scope.row.taskId && checkPrivilege('link', 'createpdf')"
               class="btn-primary"
               type="text"
               @click="toRebuildPdf(scope.row)"