|
@@ -1,6 +1,9 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div v-loading="pageLoading" class="app-container" :element-loading-text="loadingText">
|
|
<div v-loading="pageLoading" class="app-container" :element-loading-text="loadingText">
|
|
|
- <el-tabs v-model="activeTab" class="account-tabs" type="card">
|
|
|
|
|
|
|
+ <div v-if="!hasTransferPermission" style="text-align: center; padding: 80px 0; color: #999">
|
|
|
|
|
+ 当前企业未开通转账功能
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <el-tabs v-else v-model="activeTab" class="account-tabs" type="card">
|
|
|
<el-tab-pane label="账户概览" name="overview">
|
|
<el-tab-pane label="账户概览" name="overview">
|
|
|
<AccountOverview ref="overviewRef" :enterprise-id="currentEnterpriseId" @refresh="handleOverviewRefresh"
|
|
<AccountOverview ref="overviewRef" :enterprise-id="currentEnterpriseId" @refresh="handleOverviewRefresh"
|
|
|
@goTab="handleGoTab" @withdraw="withdrawVisible = true" />
|
|
@goTab="handleGoTab" @withdraw="withdrawVisible = true" />
|
|
@@ -782,6 +785,7 @@ const consumeFormRef = ref<FormInstance>();
|
|
|
const overviewRef = ref<InstanceType<typeof AccountOverview>>();
|
|
const overviewRef = ref<InstanceType<typeof AccountOverview>>();
|
|
|
|
|
|
|
|
const currentEnterpriseId = computed(() => enterpriseStore.getCurrentEnterprise?.enterprise_id);
|
|
const currentEnterpriseId = computed(() => enterpriseStore.getCurrentEnterprise?.enterprise_id);
|
|
|
|
|
+const hasTransferPermission = computed(() => enterpriseStore.getCurrentEnterprise?.transfer_enabled === true);
|
|
|
const cureentEnterprise = computed(() => enterpriseStore.getCurrentEnterprise);
|
|
const cureentEnterprise = computed(() => enterpriseStore.getCurrentEnterprise);
|
|
|
|
|
|
|
|
const accountInfo = ref<{
|
|
const accountInfo = ref<{
|