wq 5 years ago
parent
commit
46c871b547
1 changed files with 8 additions and 1 deletions
  1. 8 1
      src/views/financeclaims/financeClaimIndex.vue

+ 8 - 1
src/views/financeclaims/financeClaimIndex.vue

@@ -52,7 +52,14 @@ export default {
     },
     //添加
     addfinclaim() {
-      this.$router.push({ path: '/financeclaims/financeClaimDetail' });
+      if(this.user.type=='1'){
+        this.$message({
+          message: '您的机构类型权限不足!',
+          type: 'error',
+        });
+      }else{
+        this.$router.push({ path: '/financeclaims/financeClaimDetail' });
+      }
     },
     async pagechange(data) {
       var skip = data.skip;