Преглед на файлове

培训/演练:新增任务时机构类型下拉框移除网点业务库(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);
         }
       });