1
This commit is contained in:
@@ -115,6 +115,37 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</el-card>
|
</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">
|
<div slot="footer">
|
||||||
<el-button @click="handleTest" :loading="testLoading" icon="el-icon-setting">
|
<el-button @click="handleTest" :loading="testLoading" icon="el-icon-setting">
|
||||||
|
|||||||
Reference in New Issue
Block a user