admin_new P0+P1 全批次合并 (84 commits) #2

Merged
direv merged 85 commits from develop into main 2026-08-07 11:27:17 +08:00
Showing only changes of commit 34e3c7cd71 - Show all commits

View File

@ -32,9 +32,7 @@ interface ApplyResult {
customerName: string
customerCode: string
appId: string
connectCode: string
appSecret: string
expireAt: string
}
const props = defineProps<{ modelValue: boolean }>()
@ -344,14 +342,14 @@ function notifyContact() {
<el-descriptions-item label="备注">{{ form.remark || '—' }}</el-descriptions-item>
</el-descriptions>
<el-alert type="info" :closable="false" style="margin-top: 16px;">
后端将自动创建公司账号 + 生成 connect_code(2h 有效)
后端将自动创建公司账号 + 生成 APIKey
</el-alert>
</div>
<!-- Step 3: 生成结果 -->
<div v-if="step === 3 && result">
<el-alert type="warning" :closable="false" style="margin-bottom: 16px;">
请立即复制 connectCode 和 appSecret!关弹窗后无法再次查看
请立即复制 appId 和 appSecret!关弹窗后无法再次查看
</el-alert>
<p>已为 {{ result.length }} 个客户生成 APIKey:</p>
<el-table :data="result" border class="rr-apply-table rr-result-table" size="small">
@ -361,12 +359,6 @@ function notifyContact() {
<code class="rr-cell-code">{{ row.appId }}</code>
</template>
</el-table-column>
<el-table-column prop="connectCode" label="ConnectCode" min-width="160" show-overflow-tooltip>
<template #default="{ row }">
<code class="rr-cell-code rr-code-accent">{{ row.connectCode }}</code>
</template>
</el-table-column>
<el-table-column prop="expireAt" label="过期时间" width="100" show-overflow-tooltip />
<el-table-column label="AppSecret" min-width="200">
<template #default="{ row }">
<div class="rr-secret-cell">