Browse Source

培训/演练计划 代码提交

jingyuanchao 1 năm trước cách đây
mục cha
commit
180fdffef0
2 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 3 3
      src/views/core/drill/plan/index.vue
  2. 3 3
      src/views/core/edu/plan/index.vue

+ 3 - 3
src/views/core/drill/plan/index.vue

@@ -437,10 +437,10 @@ export default {
         return this.form.planCycle != 0
       }else {
         //如果是编辑的情况下,判断是否是标准计划
-        if (this.form.standard==1){
+        /*if (this.form.standard==1){
           return this.form.planCycle != 0&&this.form.issue == 0
-        }
-        return false;
+        }*/
+        return this.form.planStatus==0;
       }
     },
     /** 查询机构树数据 */

+ 3 - 3
src/views/core/edu/plan/index.vue

@@ -434,10 +434,10 @@ export default {
        return this.form.planCycle != 0
       }else {
         //如果是编辑的情况下,判断是否是标准计划
-        if (this.form.standard==1){
+        /*if (this.form.standard==1){
           return this.form.planCycle != 0&&this.form.issue == 0
-        }
-        return false;
+        }*/
+        return this.form.planStatus==0;
       }
     },
     /** 查询教育培训计划列表 */