店铺列表

共 {{ shops.length }} 个店铺
@if (loading) { } @if (!loading && shops.length > 0) {
@for (shop of shops; track shop.objectId) { }
店铺名称 Need IDs 站点 平台 最后同步时间 操作
{{ shop.name }}
@if (shop.nodeIds && shop.nodeIds.length > 0) {
@for (needId of shop.nodeIds; track needId) { {{ needId }} }
} @else { - }
{{ getShopSiteDisplay(shop) }} {{ shop.marketplaceId || '-' }}
{{ getPlatformDisplay(shop.platform) }} @if (shop.last_sync_at) { {{ shop.last_sync_at | date:'yyyy-MM-dd HH:mm' }} } @else { 未同步 }
} @if (!loading && shops.length === 0) { }
@if (showDialog) {

{{ isEditing ? '编辑店铺' : '新增店铺' }}

@for (needId of currentShop.nodeIds; track needId; let i = $index) { {{ needId }} }
@if (currentShop.platform === 'amazon') {

亚马逊配置信息

}
} @if (showDeleteDialog) {

确认删除

确定要删除店铺 {{ shopToDelete?.name }} 吗?

此操作不可恢复,请谨慎操作。

} @if (showUpdateDialog) {

数据更新 - {{ currentUpdateShop?.name }}

请选择要更新的数据类型(两者不可同时进行):

更新亚马逊数据

依次采集 Listing、订单、报表并解析(SP-API SSE)

@if (amazonLogs.length > 0) {
@if (amazonCurrentStep) {
{{ amazonCurrentStep }}...
}
@for (log of amazonLogs; track $index) {
{{ getLogIcon(log.type) }} {{ log.message }} @if (log.processed != null) { {{ log.processed }} 条 }
}
@if (amazonResult) {
{{ amazonResult.success ? '✅ 全部数据触发完成' : '❌ 执行失败' }}:{{ amazonResult.message }}
}
}

更新竞品数据

依次采集竞品产品、热销产品、类目关键词及市场趋势(SSE)

@if (competitorLogs.length > 0) {
@if (competitorCurrentStep) {
{{ competitorCurrentStep }}...
}
@for (log of competitorLogs; track $index) {
{{ getLogIcon(log.type) }} {{ log.message }} @if (log.processed != null) { {{ log.processed }} 条 }
}
@if (competitorResult) {
{{ competitorResult.success ? '✅ 全部完成' : '❌ 执行失败' }}:{{ competitorResult.message }}
}
}
}