This commit is contained in:
2025-11-06 17:23:45 +08:00
parent ab9ec7e530
commit 79b32c887d

View File

@@ -115,6 +115,37 @@
</el-form>
</el-card>
<!-- 同步进度显示 -->
<el-card v-if="config.progressHint" shadow="never" style="margin-top: 15px;">
<div slot="header" style="display: flex; align-items: center;">
<i class="el-icon-data-line" style="margin-right: 8px;"></i>
<span>同步进度</span>
</div>
<el-alert
:title="config.progressHint"
:type="config.currentProgress ? 'success' : 'info'"
:closable="false"
show-icon
>
<template v-if="config.currentProgress">
<div style="margin-top: 10px; font-size: 13px;">
<p style="margin: 5px 0;">
<i class="el-icon-circle-check" style="color: #67c23a;"></i>
当前进度已处理到第 <strong>{{ config.currentProgress }}</strong>
</p>
<p style="margin: 5px 0;">
<i class="el-icon-right"></i>
下次同步将从第 <strong>{{ config.nextStartRow }}</strong> 行继续
</p>
<p style="margin: 5px 0; color: #909399; font-size: 12px;">
<i class="el-icon-info"></i>
如需重新从第 {{ form.startRow }} 行开始请点击"清除配置"后重新保存
</p>
</div>
</template>
</el-alert>
</el-card>
<!-- 操作按钮 -->
<div slot="footer">
<el-button @click="handleTest" :loading="testLoading" icon="el-icon-setting">