xiaofei 1 rok temu
rodzic
commit
ff5fed7efd

+ 1 - 1
src/modules/exam/components/ApplyContent.vue

@@ -784,7 +784,7 @@ export default {
         await this.getFlowList();
       } else {
         await this.getFlowHistory();
-        if (!this.IS_PREVIEW) this.getCurFlowNodeInfo();
+        if (!this.IS_PREVIEW && this.examTask.review) this.getCurFlowNodeInfo();
       }
 
       // if (this.IS_AUDIT) this.getCurFlowNodeInfo();

+ 7 - 3
src/modules/exam/views/TaskApplyManage.vue

@@ -129,9 +129,13 @@
             >
             <el-button
               v-if="
-                (scope.row.auditStatus === 'START' ||
-                  scope.row.auditStatus === 'REJECT' ||
-                  scope.row.auditStatus === 'CANCEL') &&
+                ((!scope.row.review &&
+                  scope.row.auditStatus === null &&
+                  scope.row.status === 'STAGE') ||
+                  (scope.row.review &&
+                    (scope.row.auditStatus === 'START' ||
+                      scope.row.auditStatus === 'REJECT' ||
+                      scope.row.auditStatus === 'CANCEL'))) &&
                 checkPrivilege('link', 'edit')
               "
               class="btn-primary"