浏览代码

培训/演练:新增任务时机构类型下拉框移除网点业务库(7),保管箱库(8)

jingyuanchao 1 年之前
父节点
当前提交
bf747c302a
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/core/drill/plan/index.vue
  2. 1 1
      src/views/core/edu/plan/index.vue

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

@@ -594,7 +594,7 @@ export default {
     getUserOrgType() {
       let tempArray = [];
       this.dict.type.sys_org_type.forEach((x) => {
-        if (Number(x.value) >= this.$store.getters.orgType) {
+        if (Number(x.value) >= this.$store.getters.orgType && (x.value != 7 && x.value != 8)) {
           tempArray.push(x);
         }
       });

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

@@ -642,7 +642,7 @@ export default {
     getUserOrgType() {
       let tempArry = [];
       this.dict.type.sys_org_type.forEach((x) => {
-        if (Number(x.value) >= this.$store.getters.orgType) {
+        if (Number(x.value) >= this.$store.getters.orgType && (x.value != 7 && x.value != 8)) {
           tempArry.push(x);
         }
       });