Browse Source

权限登录

suxinf 4 years ago
parent
commit
03a6775811
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/views/data/UploadInfor.vue

+ 5 - 0
src/views/data/UploadInfor.vue

@@ -531,11 +531,16 @@ export default {
     this.getLocalMonth();
   },
   created() {
+    if (this.isManufacturer === 'distributor') {
+      this.$router.replace({ path: "/inforList" });
+    }
     this.getAllDlr({}, true);
     this.getAllDataName();
     this.selectGroupList();
     this.getAreaList();
   },
+  beforeCreate() {
+  }
 };
 </script>