Browse Source

增加用户查询接口

lichao 3 years ago
parent
commit
d6a7e93243
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/components/finance/financialAccount.vue

+ 7 - 0
src/components/finance/financialAccount.vue

@@ -109,6 +109,7 @@
 <script>
   import {applyLoan, paymentApply} from "@/api/financialManagement/paymentRequest";
   import option from "./config/option.json"
+  import {getUserInfo} from "@/api/system/user";
   export default {
     name: "financialAccount",
     props: {
@@ -144,9 +145,15 @@
           placeholder: '请点击右边按钮选择',
           dicData: []
         },
+        category: '',
       }
     },
     created() {
+      getUserInfo().then(res=>{
+        this.category = res.data.data.billType
+        if (this.category == 2) {
+        }
+      })
       //币别
       this.getWorkDicts("currency").then(res => {
         this.currencyDic = res.data.data