f
This commit is contained in:
@@ -862,7 +862,7 @@ const handleExport = async () => {
|
|||||||
const response = await apiCallApi.exportAdminApiCalls(params)
|
const response = await apiCallApi.exportAdminApiCalls(params)
|
||||||
|
|
||||||
// 创建下载链接
|
// 创建下载链接
|
||||||
const blob = new Blob([response], {
|
const blob = new Blob([response.data], {
|
||||||
type: exportOptions.format === 'excel'
|
type: exportOptions.format === 'excel'
|
||||||
? 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
? 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
||||||
: 'text/csv;charset=utf-8'
|
: 'text/csv;charset=utf-8'
|
||||||
|
|||||||
@@ -746,8 +746,8 @@ const handleExport = async (options) => {
|
|||||||
// 调用导出API(需要在后端添加相应的API)
|
// 调用导出API(需要在后端添加相应的API)
|
||||||
const response = await financeApi.exportAdminPurchaseRecords(params)
|
const response = await financeApi.exportAdminPurchaseRecords(params)
|
||||||
|
|
||||||
// 创建下载链接
|
// 创建下载链接(二进制在 response.data,见 request 响应拦截器包装)
|
||||||
const blob = new Blob([response], {
|
const blob = new Blob([response.data], {
|
||||||
type: options.format === 'excel'
|
type: options.format === 'excel'
|
||||||
? 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
? 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
||||||
: 'text/csv;charset=utf-8'
|
: 'text/csv;charset=utf-8'
|
||||||
|
|||||||
@@ -701,7 +701,7 @@ const handleExport = async (options) => {
|
|||||||
const response = await rechargeRecordApi.exportAdminRechargeRecords(params)
|
const response = await rechargeRecordApi.exportAdminRechargeRecords(params)
|
||||||
|
|
||||||
// 创建下载链接
|
// 创建下载链接
|
||||||
const blob = new Blob([response], {
|
const blob = new Blob([response.data], {
|
||||||
type: options.format === 'excel'
|
type: options.format === 'excel'
|
||||||
? 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
? 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
||||||
: 'text/csv;charset=utf-8'
|
: 'text/csv;charset=utf-8'
|
||||||
|
|||||||
@@ -575,7 +575,7 @@ const handleExport = async (options) => {
|
|||||||
const response = await walletTransactionApi.exportAdminWalletTransactions(params)
|
const response = await walletTransactionApi.exportAdminWalletTransactions(params)
|
||||||
|
|
||||||
// 创建下载链接
|
// 创建下载链接
|
||||||
const blob = new Blob([response], {
|
const blob = new Blob([response.data], {
|
||||||
type: options.format === 'excel'
|
type: options.format === 'excel'
|
||||||
? 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
? 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
||||||
: 'text/csv;charset=utf-8'
|
: 'text/csv;charset=utf-8'
|
||||||
|
|||||||
@@ -620,8 +620,8 @@ const handleExport = async (options) => {
|
|||||||
// 调用导出API
|
// 调用导出API
|
||||||
const response = await apiCallApi.exportAdminApiCalls(params)
|
const response = await apiCallApi.exportAdminApiCalls(params)
|
||||||
|
|
||||||
// 创建下载链接
|
// 创建下载链接(二进制在 response.data,见 request 响应拦截器包装)
|
||||||
const blob = new Blob([response], {
|
const blob = new Blob([response.data], {
|
||||||
type: options.format === 'excel'
|
type: options.format === 'excel'
|
||||||
? 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
? 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
||||||
: 'text/csv;charset=utf-8'
|
: 'text/csv;charset=utf-8'
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 充值提示:赠送开启时显示充值优惠,关闭时显示 API 商店充值提示 -->
|
<!-- 充值优惠提示(仅在开启赠送时显示) -->
|
||||||
<div class="recharge-benefit-alert" v-if="rechargeConfig.recharge_bonus_enabled">
|
<div class="recharge-benefit-alert" v-if="rechargeConfig.recharge_bonus_enabled">
|
||||||
<el-alert
|
<el-alert
|
||||||
title="充值优惠"
|
title="充值优惠"
|
||||||
@@ -50,27 +50,22 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-alert>
|
</el-alert>
|
||||||
</div>
|
</div>
|
||||||
<div class="recharge-benefit-alert" v-else-if="rechargeConfig.api_store_recharge_tip">
|
|
||||||
<el-alert
|
<!-- API商店充值提示:只要后端配置了就直接展示在页面中 -->
|
||||||
title="API商店充值提示"
|
<div v-if="rechargeConfig.api_store_recharge_tip" class="recharge-benefit-alert api-store-recharge-tip">
|
||||||
type="info"
|
<div class="benefit-content">
|
||||||
:closable="false"
|
<span class="api-store-recharge-tip-text">
|
||||||
show-icon
|
{{ rechargeConfig.api_store_recharge_tip }}
|
||||||
>
|
</span>
|
||||||
<template #default>
|
<el-button
|
||||||
<div class="benefit-content">
|
type="primary"
|
||||||
{{ rechargeConfig.api_store_recharge_tip }}
|
size="small"
|
||||||
<el-button
|
@click="showBusinessConsultation = true"
|
||||||
type="primary"
|
class="consultation-btn"
|
||||||
size="small"
|
>
|
||||||
@click="showBusinessConsultation = true"
|
商务洽谈
|
||||||
class="consultation-btn"
|
</el-button>
|
||||||
>
|
</div>
|
||||||
商务洽谈
|
|
||||||
</el-button>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</el-alert>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 余额状态提示 -->
|
<!-- 余额状态提示 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user