fix: 凭证识别
All checks were successful
构建并部署前端到测试环境 / deploy (push) Successful in 54s

This commit is contained in:
luo
2026-09-29 16:07:48 +08:00
parent f896cad34f
commit aec2a27a65
16 changed files with 374 additions and 219 deletions

View File

@@ -10,11 +10,6 @@
返回
</ElButton>
<h2 class="detail-title">导出任务详情</h2>
<div class="detail-actions" v-if="taskDetail && canViewDetail">
<ElButton v-if="canDownloadTask" type="primary" @click="downloadTask">
下载文件
</ElButton>
</div>
</div>
<div v-if="polling.loading && !taskDetail" class="detail-loading">
@@ -203,8 +198,7 @@
label: '下载地址',
fullWidth: true,
render: (data: ExportTaskDetail) => {
if (!data.download_url) return h('span', '-')
if (!canDownloadTask.value) return h('span', '-')
if (!data.download_url || !canDownloadTask.value) return h('span', '-')
return h(
ElButton,
{
@@ -276,12 +270,6 @@
font-weight: 600;
color: var(--el-text-color-primary);
}
.detail-actions {
display: flex;
gap: 10px;
margin-left: auto;
}
}
.detail-loading {

View File

@@ -96,7 +96,6 @@
const taskDetail = ref<TaskDetail | null>(null)
const taskType = ref<TaskType>('card')
const loading = ref(false)
const getOperationLabel = (operationType?: DeviceImportTaskOperationType) => {
switch (operationType) {
case 'assign_shop':