wq 5 năm trước cách đây
mục cha
commit
46c871b547
1 tập tin đã thay đổi với 8 bổ sung1 xóa
  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;