Explorar o código

是否有子流程判断

zhangjie %!s(int64=3) %!d(string=hai) anos
pai
achega
cd4d68d905
Modificáronse 1 ficheiros con 7 adicións e 2 borrados
  1. 7 2
      src/modules/exam/components/ApplyContent.vue

+ 7 - 2
src/modules/exam/components/ApplyContent.vue

@@ -403,7 +403,9 @@ const initTaskApply = {
   // 考务规则
   review: false,
   includePaper: false,
-  customCard: false
+  customCard: false,
+  // 是否有子流程
+  subFlowReject: false
 };
 
 export default {
@@ -511,7 +513,10 @@ export default {
     },
     IS_AUDIT_APPLY() {
       // IS_PRELAST_STEP
-      return this.curTaskApply.setup === this.flows.length - 1;
+      return (
+        this.curTaskApply.subFlowReject &&
+        this.curTaskApply.setup === this.flows.length - 1
+      );
     },
     cardTodoName() {
       let name = "创建答题卡";