Browse Source

发布按钮修改

zhangjie 3 years ago
parent
commit
79b8a02fd5
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/modules/analysis/components/ModifyAnalysisBatchPaper.vue

+ 4 - 1
src/modules/analysis/components/ModifyAnalysisBatchPaper.vue

@@ -72,7 +72,10 @@
           >
           >
             <template slot-scope="scope">
             <template slot-scope="scope">
               <el-button
               <el-button
-                v-if="scope.row.status === 'FINISH_CALCULATE'"
+                v-if="
+                  scope.row.status === 'FINISH_CALCULATE' &&
+                    !scope.row.publishStatus
+                "
                 class="btn-primary"
                 class="btn-primary"
                 type="text"
                 type="text"
                 @click="toPublish(scope.row)"
                 @click="toPublish(scope.row)"