This commit is contained in:
@@ -45,7 +45,6 @@
|
|||||||
:pageSize="pagination.pageSize"
|
:pageSize="pagination.pageSize"
|
||||||
:total="pagination.total"
|
:total="pagination.total"
|
||||||
:marginTop="10"
|
:marginTop="10"
|
||||||
:height="400"
|
|
||||||
@size-change="handleSizeChange"
|
@size-change="handleSizeChange"
|
||||||
@current-change="handleCurrentChange"
|
@current-change="handleCurrentChange"
|
||||||
>
|
>
|
||||||
@@ -170,8 +169,7 @@
|
|||||||
<ElTag size="small" type="info">{{ rowItems.length }} 条</ElTag>
|
<ElTag size="small" type="info">{{ rowItems.length }} 条</ElTag>
|
||||||
</div>
|
</div>
|
||||||
<ElTable v-if="rowItems.length" :data="rowItems" border stripe max-height="420">
|
<ElTable v-if="rowItems.length" :data="rowItems" border stripe max-height="420">
|
||||||
<ElTableColumn label="行号" prop="line" width="80" align="center" />
|
<ElTableColumn label="店铺编码" prop="shop_code" min-width="160" />
|
||||||
<ElTableColumn label="店铺编码" prop="shop_code" min-width="140" />
|
|
||||||
<ElTableColumn label="操作类型" prop="operation_type" width="100" align="center" />
|
<ElTableColumn label="操作类型" prop="operation_type" width="100" align="center" />
|
||||||
<ElTableColumn label="结果" width="110" align="center">
|
<ElTableColumn label="结果" width="110" align="center">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
@@ -484,12 +482,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const openDetail = (row: BusinessOwnerImportDetail) => {
|
const openDetail = (row: BusinessOwnerImportDetail) => {
|
||||||
currentTask.value = row
|
void openDetailById(row.id)
|
||||||
rowItems.value = row.items || []
|
|
||||||
detailDrawerVisible.value = true
|
|
||||||
if (isTaskRunning(row.status)) {
|
|
||||||
schedulePoll()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const openDetailById = async (taskId: number) => {
|
const openDetailById = async (taskId: number) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user