feat: 导入任务列表接口返回店铺名称,下拉项显示店铺信息

后端:
- ImportTaskVO 新增 shopName 字段
- ImportTaskServiceImpl.convertToVO() 查询店铺名称填充

前端:
- ImportTaskVO 类型定义补充 shopName
- ImportTaskDropdown 任务项显示店铺名称
This commit is contained in:
小蟑螂
2026-04-14 22:57:45 +08:00
parent aee87723f4
commit 6ce2ca0e8a
4 changed files with 25 additions and 4 deletions
@@ -218,9 +218,10 @@ onUnmounted(() => {
</Button>
</div>
<!-- 任务类型 -->
<div class="text-xs text-gray-400">
类型: {{ item.type === 'order' ? '订单导入' : '商品导入' }}
<!-- 任务类型和店铺 -->
<div class="flex items-center gap-3 text-xs text-gray-400">
<span>类型: {{ item.type === 'order' ? '订单导入' : '商品导入' }}</span>
<span v-if="item.shopName">店铺: {{ item.shopName }}</span>
</div>
</div>
</List.Item>