소스 검색

权限登录

suxinf 4 년 전
부모
커밋
03a6775811
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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>