wq 5 年之前
父节点
当前提交
46c871b547
共有 1 个文件被更改,包括 8 次插入1 次删除
  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;