Browse Source

教育培训代码提交

jingyuanchao 2 years ago
parent
commit
6e443e15bc
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/core/edu/plan/index.vue

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

@@ -464,15 +464,15 @@ export default {
     },
     checkCanDel(row) {
       //计划创建机构为当前机构且不是顶级机构创建的计划才显示“删除”按钮
-      return row.belongOrgId == this.$store.getters.orgId && row.createByTopOrg == 0
+      return row.belongOrgId == this.$store.getters.orgId && row.createByTopOrg == 1 && row.issue == 0
     },
     //省联社下发的计划不显示“删除”按钮
     checkCreateByTopOrg(row) {
       return row.createByTopOrg !== 1
     },
     execOrgTypeChanged(row) {
-      console.log("this.form.execOrgType", this.form.execOrgType);
       this.initRoleList(this.form.execOrgType);
+      this.form.planExecOrgIdList = [];
     },
     /** 查询机构树数据 */
     getDeptTree() {
@@ -494,6 +494,7 @@ export default {
         execTimes: null,
         planStatus: null,
         execOrgType: null,
+        planExecOrgIdList: [],
         startDate: null,
         endDate: null,
         buildTaskNow: null,