fix(F006): 申请APIKey弹窗删除ConnectCode/过期时间列
无用字段清理, 弹窗结果表只保留公司名/AppID/AppSecret
This commit is contained in:
parent
366056dcac
commit
34e3c7cd71
@ -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">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user