初始化数据

This commit is contained in:
liuye
2022-04-11 11:28:20 +08:00
parent 15bdd4951d
commit b29694352d

View File

@@ -335,14 +335,17 @@ export default {
},
created() {
this.search.areaId = this.user.info.areaId
this.dict.load('financialOrganizationType', 'financialLoanApplyStatus', 'financingDemandStatus')
},
mounted() {
if (this.user.financeUser && this.user.financeUser.id) { //机构
this.search.organizationId = this.user.financeUser.organizationId
this.userOrgId = this.user.financeUser.organizationId
}
this.getTableData()
this.dict.load('financialOrganizationType', 'financialLoanApplyStatus', 'financingDemandStatus').then(() => {
this.getTableData()
})
},
mounted() {
}
}
</script>