فهرست منبع

是否有子流程判断

zhangjie 3 سال پیش
والد
کامیت
cd4d68d905
1فایلهای تغییر یافته به همراه7 افزوده شده و 2 حذف شده
  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 = "创建答题卡";