This commit is contained in:
yin 2026-05-27 18:14:43 +08:00
parent d7d57446e0
commit d86c65d0df
85 changed files with 437 additions and 652 deletions

View File

@ -72,7 +72,7 @@ export function shopsEdit(data: {
/** 按店铺所属平台生成授权会话 */
export function shopGetAuthorizeSessionKey(data: {
id: number
callbackurl: string
callbackurl?: string
}) {
return request({
url: '/system',

View File

@ -48,74 +48,6 @@
</div>
</div>
<div v-if="batchAllocateExpressTaskProgress.taskId" class="task-progress-panel task-progress-panel--toolbar">
<div class="task-progress-panel__header">
<span class="task-progress-panel__title">快递号分配任务进度</span>
<span class="task-progress-panel__meta">任务ID:{{ batchAllocateExpressTaskProgress.taskId }}</span>
</div>
<el-progress :percentage="batchAllocateExpressTaskPercent" :status="batchAllocateExpressTaskProgressBarStatus" :stroke-width="16" />
<div class="task-progress-panel__info">
<span>状态:{{ getFetchTaskStatusText(batchAllocateExpressTaskProgress.status) }}</span>
<span>已完成订单:{{ batchAllocateExpressTaskProgress.successCount }} / {{ batchAllocateExpressTaskProgress.totalCount }}</span>
<span>失败订单:{{ batchAllocateExpressTaskProgress.failedCount }}</span>
<span v-if="batchAllocateExpressTaskProgress.updateTime">更新时间:{{ formatDateTime(batchAllocateExpressTaskProgress.updateTime) }}</span>
</div>
<div v-if="batchAllocateExpressTaskProgress.message || batchAllocateExpressTaskProgress.error" class="task-progress-panel__message">
{{ batchAllocateExpressTaskProgress.error || batchAllocateExpressTaskProgress.message }}
</div>
</div>
<div v-if="batchAllocateStorageTaskProgress.taskId" class="task-progress-panel task-progress-panel--toolbar">
<div class="task-progress-panel__header">
<span class="task-progress-panel__title">储位分配任务进度</span>
<span class="task-progress-panel__meta">任务ID:{{ batchAllocateStorageTaskProgress.taskId }}</span>
</div>
<el-progress :percentage="batchAllocateStorageTaskPercent" :status="batchAllocateStorageTaskProgressBarStatus" :stroke-width="16" />
<div class="task-progress-panel__info">
<span>状态:{{ getFetchTaskStatusText(batchAllocateStorageTaskProgress.status) }}</span>
<span>已完成订单:{{ batchAllocateStorageTaskProgress.successCount }} / {{ batchAllocateStorageTaskProgress.totalCount }}</span>
<span>失败订单:{{ batchAllocateStorageTaskProgress.failedCount }}</span>
<span v-if="batchAllocateStorageTaskProgress.updateTime">更新时间:{{ formatDateTime(batchAllocateStorageTaskProgress.updateTime) }}</span>
</div>
<div v-if="batchAllocateStorageTaskProgress.message || batchAllocateStorageTaskProgress.error" class="task-progress-panel__message">
{{ batchAllocateStorageTaskProgress.error || batchAllocateStorageTaskProgress.message }}
</div>
</div>
<div v-if="batchRemoveExceptionOrdersTaskProgress.taskId" class="task-progress-panel task-progress-panel--toolbar">
<div class="task-progress-panel__header">
<span class="task-progress-panel__title">移除异常订单任务进度</span>
<span class="task-progress-panel__meta">任务ID:{{ batchRemoveExceptionOrdersTaskProgress.taskId }}</span>
</div>
<el-progress :percentage="batchRemoveExceptionOrdersTaskPercent" :status="batchRemoveExceptionOrdersTaskProgressBarStatus" :stroke-width="16" />
<div class="task-progress-panel__info">
<span>状态:{{ getFetchTaskStatusText(batchRemoveExceptionOrdersTaskProgress.status) }}</span>
<span>已移除订单:{{ batchRemoveExceptionOrdersTaskProgress.successCount }} / {{ batchRemoveExceptionOrdersTaskProgress.totalCount }}</span>
<span>失败订单:{{ batchRemoveExceptionOrdersTaskProgress.failedCount }}</span>
<span v-if="batchRemoveExceptionOrdersTaskProgress.updateTime">更新时间:{{ formatDateTime(batchRemoveExceptionOrdersTaskProgress.updateTime) }}</span>
</div>
<div v-if="batchRemoveExceptionOrdersTaskProgress.message || batchRemoveExceptionOrdersTaskProgress.error" class="task-progress-panel__message">
{{ batchRemoveExceptionOrdersTaskProgress.error || batchRemoveExceptionOrdersTaskProgress.message }}
</div>
</div>
<div v-if="batchCancelTaskProgress.taskId" class="task-progress-panel task-progress-panel--toolbar">
<div class="task-progress-panel__header">
<span class="task-progress-panel__title">批量取消波次任务进度</span>
<span class="task-progress-panel__meta">任务ID:{{ batchCancelTaskProgress.taskId }}</span>
</div>
<el-progress :percentage="batchCancelTaskPercent" :status="batchCancelTaskProgressBarStatus" :stroke-width="16" />
<div class="task-progress-panel__info">
<span>状态:{{ getFetchTaskStatusText(batchCancelTaskProgress.status) }}</span>
<span>已处理波次:{{ batchCancelTaskProgress.successCount }} / {{ batchCancelTaskProgress.totalCount }}</span>
<span>失败波次:{{ batchCancelTaskProgress.failedCount }}</span>
<span v-if="batchCancelTaskProgress.updateTime">更新时间:{{ formatDateTime(batchCancelTaskProgress.updateTime) }}</span>
</div>
<div v-if="batchCancelTaskProgress.message || batchCancelTaskProgress.error" class="task-progress-panel__message">
{{ batchCancelTaskProgress.error || batchCancelTaskProgress.message }}
</div>
</div>
<div class="split-stack" ref="splitStackRef">
<div class="upper-wrapper" :style="detailVisible ? upperPaneStyle : upperPaneFullStyle">
<upper-table
@ -676,6 +608,34 @@
:model-value="Boolean(fetchTaskProgress.taskId)"
:progress="fetchTaskProgress"
/>
<wave-batch-task-progress-dialog
:model-value="Boolean(batchAllocateExpressTaskProgress.taskId)"
title="快递号分配任务进度"
:progress="batchAllocateExpressTaskProgress"
success-count-label="已完成订单"
failed-count-label="失败订单"
/>
<wave-batch-task-progress-dialog
:model-value="Boolean(batchAllocateStorageTaskProgress.taskId)"
title="储位分配任务进度"
:progress="batchAllocateStorageTaskProgress"
success-count-label="已完成订单"
failed-count-label="失败订单"
/>
<wave-batch-task-progress-dialog
:model-value="Boolean(batchRemoveExceptionOrdersTaskProgress.taskId)"
title="移除异常订单任务进度"
:progress="batchRemoveExceptionOrdersTaskProgress"
success-count-label="已移除订单"
failed-count-label="失败订单"
/>
<wave-batch-task-progress-dialog
:model-value="Boolean(batchCancelTaskProgress.taskId)"
title="批量取消波次任务进度"
:progress="batchCancelTaskProgress"
success-count-label="已处理波次"
failed-count-label="失败波次"
/>
<wave-strategy-quick-scan-progress-dialog
v-model="waveStrategyQuickScanDialogVisible"
:progress="waveStrategyQuickScanResult"
@ -886,7 +846,6 @@ import {
waveStrategyFormRules,
waveStrategyStatusOptions,
waveBooleanOptions,
waveFetchTaskStatusTextMap,
waveStatusTextMap,
waveTypeTextMap,
waveStorageAssignmentStatusTextMap,
@ -902,6 +861,7 @@ import WavePlatformPrintPreviewDialog from './component/WavePlatformPrintPreview
import PendingOrderListPanel from './component/PendingOrderListPanel.vue'
import WaveBatchDetailPanel from './component/WaveBatchDetailPanel.vue'
import WaveFetchTaskProgressDialog from './component/WaveFetchTaskProgressDialog.vue'
import WaveBatchTaskProgressDialog from './component/WaveBatchTaskProgressDialog.vue'
import WaveStrategyQuickScanProgressDialog from './component/WaveStrategyQuickScanProgressDialog.vue'
import * as indexApi from '@/api/index/index'
import {
@ -1377,46 +1337,6 @@ const selectedWaveOrderTotal = computed(() => {
const batchPrintDisabled = computed(() => {
return !printableSelectionRows.value.length || (waveMaxOrderLimit.value !== null && selectedWaveOrderTotal.value > waveMaxOrderLimit.value)
})
const batchAllocateExpressTaskPercent = computed(() => {
const value = Number(batchAllocateExpressTaskProgress.progressPercent || 0)
if (!Number.isFinite(value)) return 0
return Math.min(100, Math.max(0, value))
})
const batchAllocateExpressTaskProgressBarStatus = computed(() => {
if (batchAllocateExpressTaskProgress.status === 'failed' || batchAllocateExpressTaskProgress.status === 'not_found') return 'exception'
if (batchAllocateExpressTaskProgress.status === 'success' || batchAllocateExpressTaskPercent.value >= 100) return 'success'
return undefined
})
const batchAllocateStorageTaskPercent = computed(() => {
const value = Number(batchAllocateStorageTaskProgress.progressPercent || 0)
if (!Number.isFinite(value)) return 0
return Math.min(100, Math.max(0, value))
})
const batchAllocateStorageTaskProgressBarStatus = computed(() => {
if (batchAllocateStorageTaskProgress.status === 'failed' || batchAllocateStorageTaskProgress.status === 'not_found') return 'exception'
if (batchAllocateStorageTaskProgress.status === 'success' || batchAllocateStorageTaskPercent.value >= 100) return 'success'
return undefined
})
const batchRemoveExceptionOrdersTaskPercent = computed(() => {
const value = Number(batchRemoveExceptionOrdersTaskProgress.progressPercent || 0)
if (!Number.isFinite(value)) return 0
return Math.min(100, Math.max(0, value))
})
const batchRemoveExceptionOrdersTaskProgressBarStatus = computed(() => {
if (batchRemoveExceptionOrdersTaskProgress.status === 'failed' || batchRemoveExceptionOrdersTaskProgress.status === 'not_found') return 'exception'
if (batchRemoveExceptionOrdersTaskProgress.status === 'success' || batchRemoveExceptionOrdersTaskPercent.value >= 100) return 'success'
return undefined
})
const batchCancelTaskPercent = computed(() => {
const value = Number(batchCancelTaskProgress.progressPercent || 0)
if (!Number.isFinite(value)) return 0
return Math.min(100, Math.max(0, value))
})
const batchCancelTaskProgressBarStatus = computed(() => {
if (batchCancelTaskProgress.status === 'failed' || batchCancelTaskProgress.status === 'not_found') return 'exception'
if (batchCancelTaskProgress.status === 'success' || batchCancelTaskPercent.value >= 100) return 'success'
return undefined
})
const pendingOrderDialogTitle = computed(() => pendingOrderDialogWaveNo.value ? `待处理订单 - ${pendingOrderDialogWaveNo.value}` : '待处理订单')
watch(
@ -1625,10 +1545,6 @@ function handlePendingOrderDialogClosed() {
loadData()
}
function getFetchTaskStatusText(status: string) {
return waveFetchTaskStatusTextMap[status] || status || '—'
}
function getStatusValue(row: any) {
return row?.status ?? row?.wave_status ?? row?.batch_status
}
@ -3649,50 +3565,6 @@ async function submitFallbackOrderFetchByIds() {
<style scoped lang="scss">
@use "../orderManagement/styles/order-sub.scss";
.task-progress-panel--toolbar {
margin-bottom: 3px;
}
.task-progress-panel {
padding: 12px 14px;
background: #fff;
border: 1px solid #ebeef5;
}
.task-progress-panel__header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
gap: 12px;
}
.task-progress-panel__title {
font-size: 14px;
font-weight: 600;
color: #303133;
}
.task-progress-panel__meta {
font-size: 12px;
color: #909399;
}
.task-progress-panel__info {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 8px;
font-size: 12px;
color: #606266;
}
.task-progress-panel__message {
margin-top: 6px;
font-size: 12px;
color: #606266;
}
.order-sub-container .main-content .lower-level .detail-container {
padding: 10px;
overflow: auto;

View File

@ -48,74 +48,6 @@
</div>
</div>
<div v-if="batchAllocateExpressTaskProgress.taskId" class="task-progress-panel task-progress-panel--toolbar">
<div class="task-progress-panel__header">
<span class="task-progress-panel__title">快递号分配任务进度</span>
<span class="task-progress-panel__meta">任务ID:{{ batchAllocateExpressTaskProgress.taskId }}</span>
</div>
<el-progress :percentage="batchAllocateExpressTaskPercent" :status="batchAllocateExpressTaskProgressBarStatus" :stroke-width="16" />
<div class="task-progress-panel__info">
<span>状态:{{ getFetchTaskStatusText(batchAllocateExpressTaskProgress.status) }}</span>
<span>已完成订单:{{ batchAllocateExpressTaskProgress.successCount }} / {{ batchAllocateExpressTaskProgress.totalCount }}</span>
<span>失败订单:{{ batchAllocateExpressTaskProgress.failedCount }}</span>
<span v-if="batchAllocateExpressTaskProgress.updateTime">更新时间:{{ formatDateTime(batchAllocateExpressTaskProgress.updateTime) }}</span>
</div>
<div v-if="batchAllocateExpressTaskProgress.message || batchAllocateExpressTaskProgress.error" class="task-progress-panel__message">
{{ batchAllocateExpressTaskProgress.error || batchAllocateExpressTaskProgress.message }}
</div>
</div>
<div v-if="batchAllocateStorageTaskProgress.taskId" class="task-progress-panel task-progress-panel--toolbar">
<div class="task-progress-panel__header">
<span class="task-progress-panel__title">储位分配任务进度</span>
<span class="task-progress-panel__meta">任务ID:{{ batchAllocateStorageTaskProgress.taskId }}</span>
</div>
<el-progress :percentage="batchAllocateStorageTaskPercent" :status="batchAllocateStorageTaskProgressBarStatus" :stroke-width="16" />
<div class="task-progress-panel__info">
<span>状态:{{ getFetchTaskStatusText(batchAllocateStorageTaskProgress.status) }}</span>
<span>已完成订单:{{ batchAllocateStorageTaskProgress.successCount }} / {{ batchAllocateStorageTaskProgress.totalCount }}</span>
<span>失败订单:{{ batchAllocateStorageTaskProgress.failedCount }}</span>
<span v-if="batchAllocateStorageTaskProgress.updateTime">更新时间:{{ formatDateTime(batchAllocateStorageTaskProgress.updateTime) }}</span>
</div>
<div v-if="batchAllocateStorageTaskProgress.message || batchAllocateStorageTaskProgress.error" class="task-progress-panel__message">
{{ batchAllocateStorageTaskProgress.error || batchAllocateStorageTaskProgress.message }}
</div>
</div>
<div v-if="batchRemoveExceptionOrdersTaskProgress.taskId" class="task-progress-panel task-progress-panel--toolbar">
<div class="task-progress-panel__header">
<span class="task-progress-panel__title">移除异常订单任务进度</span>
<span class="task-progress-panel__meta">任务ID:{{ batchRemoveExceptionOrdersTaskProgress.taskId }}</span>
</div>
<el-progress :percentage="batchRemoveExceptionOrdersTaskPercent" :status="batchRemoveExceptionOrdersTaskProgressBarStatus" :stroke-width="16" />
<div class="task-progress-panel__info">
<span>状态:{{ getFetchTaskStatusText(batchRemoveExceptionOrdersTaskProgress.status) }}</span>
<span>已移除订单:{{ batchRemoveExceptionOrdersTaskProgress.successCount }} / {{ batchRemoveExceptionOrdersTaskProgress.totalCount }}</span>
<span>失败订单:{{ batchRemoveExceptionOrdersTaskProgress.failedCount }}</span>
<span v-if="batchRemoveExceptionOrdersTaskProgress.updateTime">更新时间:{{ formatDateTime(batchRemoveExceptionOrdersTaskProgress.updateTime) }}</span>
</div>
<div v-if="batchRemoveExceptionOrdersTaskProgress.message || batchRemoveExceptionOrdersTaskProgress.error" class="task-progress-panel__message">
{{ batchRemoveExceptionOrdersTaskProgress.error || batchRemoveExceptionOrdersTaskProgress.message }}
</div>
</div>
<div v-if="batchCancelTaskProgress.taskId" class="task-progress-panel task-progress-panel--toolbar">
<div class="task-progress-panel__header">
<span class="task-progress-panel__title">批量取消波次任务进度</span>
<span class="task-progress-panel__meta">任务ID:{{ batchCancelTaskProgress.taskId }}</span>
</div>
<el-progress :percentage="batchCancelTaskPercent" :status="batchCancelTaskProgressBarStatus" :stroke-width="16" />
<div class="task-progress-panel__info">
<span>状态:{{ getFetchTaskStatusText(batchCancelTaskProgress.status) }}</span>
<span>已处理波次:{{ batchCancelTaskProgress.successCount }} / {{ batchCancelTaskProgress.totalCount }}</span>
<span>失败波次:{{ batchCancelTaskProgress.failedCount }}</span>
<span v-if="batchCancelTaskProgress.updateTime">更新时间:{{ formatDateTime(batchCancelTaskProgress.updateTime) }}</span>
</div>
<div v-if="batchCancelTaskProgress.message || batchCancelTaskProgress.error" class="task-progress-panel__message">
{{ batchCancelTaskProgress.error || batchCancelTaskProgress.message }}
</div>
</div>
<div class="split-stack" ref="splitStackRef">
<div class="upper-wrapper" :style="detailVisible ? upperPaneStyle : upperPaneFullStyle">
<upper-table
@ -434,6 +366,34 @@
:model-value="Boolean(fetchTaskProgress.taskId)"
:progress="fetchTaskProgress"
/>
<wave-batch-task-progress-dialog
:model-value="Boolean(batchAllocateExpressTaskProgress.taskId)"
title="快递号分配任务进度"
:progress="batchAllocateExpressTaskProgress"
success-count-label="已完成订单"
failed-count-label="失败订单"
/>
<wave-batch-task-progress-dialog
:model-value="Boolean(batchAllocateStorageTaskProgress.taskId)"
title="储位分配任务进度"
:progress="batchAllocateStorageTaskProgress"
success-count-label="已完成订单"
failed-count-label="失败订单"
/>
<wave-batch-task-progress-dialog
:model-value="Boolean(batchRemoveExceptionOrdersTaskProgress.taskId)"
title="移除异常订单任务进度"
:progress="batchRemoveExceptionOrdersTaskProgress"
success-count-label="已移除订单"
failed-count-label="失败订单"
/>
<wave-batch-task-progress-dialog
:model-value="Boolean(batchCancelTaskProgress.taskId)"
title="批量取消波次任务进度"
:progress="batchCancelTaskProgress"
success-count-label="已处理波次"
failed-count-label="失败波次"
/>
<batch-receiving-print-dialog
v-model="wavePrintDialogVisible"
@ -468,7 +428,6 @@ import {
waveBatchColumns,
waveWhereAllowedFields,
getWaveToolbarButtons,
waveFetchTaskStatusTextMap,
waveStatusTextMap,
waveTypeTextMap,
waveStorageAssignmentStatusTextMap,
@ -484,6 +443,7 @@ import WavePlatformPrintPreviewDialog from './component/WavePlatformPrintPreview
import PendingOrderListPanel from './component/PendingOrderListPanel.vue'
import WaveBatchDetailPanel from './component/WaveBatchDetailPanel.vue'
import WaveFetchTaskProgressDialog from './component/WaveFetchTaskProgressDialog.vue'
import WaveBatchTaskProgressDialog from './component/WaveBatchTaskProgressDialog.vue'
import * as indexApi from '@/api/index/index'
import {
settingWarehouseGetSettings as getWarehouseSettings,
@ -802,46 +762,6 @@ const selectedWaveOrderTotal = computed(() => {
const batchPrintDisabled = computed(() => {
return !printableSelectionRows.value.length || (waveMaxOrderLimit.value !== null && selectedWaveOrderTotal.value > waveMaxOrderLimit.value)
})
const batchAllocateExpressTaskPercent = computed(() => {
const value = Number(batchAllocateExpressTaskProgress.progressPercent || 0)
if (!Number.isFinite(value)) return 0
return Math.min(100, Math.max(0, value))
})
const batchAllocateExpressTaskProgressBarStatus = computed(() => {
if (batchAllocateExpressTaskProgress.status === 'failed' || batchAllocateExpressTaskProgress.status === 'not_found') return 'exception'
if (batchAllocateExpressTaskProgress.status === 'success' || batchAllocateExpressTaskPercent.value >= 100) return 'success'
return undefined
})
const batchAllocateStorageTaskPercent = computed(() => {
const value = Number(batchAllocateStorageTaskProgress.progressPercent || 0)
if (!Number.isFinite(value)) return 0
return Math.min(100, Math.max(0, value))
})
const batchAllocateStorageTaskProgressBarStatus = computed(() => {
if (batchAllocateStorageTaskProgress.status === 'failed' || batchAllocateStorageTaskProgress.status === 'not_found') return 'exception'
if (batchAllocateStorageTaskProgress.status === 'success' || batchAllocateStorageTaskPercent.value >= 100) return 'success'
return undefined
})
const batchRemoveExceptionOrdersTaskPercent = computed(() => {
const value = Number(batchRemoveExceptionOrdersTaskProgress.progressPercent || 0)
if (!Number.isFinite(value)) return 0
return Math.min(100, Math.max(0, value))
})
const batchRemoveExceptionOrdersTaskProgressBarStatus = computed(() => {
if (batchRemoveExceptionOrdersTaskProgress.status === 'failed' || batchRemoveExceptionOrdersTaskProgress.status === 'not_found') return 'exception'
if (batchRemoveExceptionOrdersTaskProgress.status === 'success' || batchRemoveExceptionOrdersTaskPercent.value >= 100) return 'success'
return undefined
})
const batchCancelTaskPercent = computed(() => {
const value = Number(batchCancelTaskProgress.progressPercent || 0)
if (!Number.isFinite(value)) return 0
return Math.min(100, Math.max(0, value))
})
const batchCancelTaskProgressBarStatus = computed(() => {
if (batchCancelTaskProgress.status === 'failed' || batchCancelTaskProgress.status === 'not_found') return 'exception'
if (batchCancelTaskProgress.status === 'success' || batchCancelTaskPercent.value >= 100) return 'success'
return undefined
})
const pendingOrderDialogTitle = computed(() => pendingOrderDialogWaveNo.value ? `待处理订单 - ${pendingOrderDialogWaveNo.value}` : '待处理订单')
onMounted(() => {
@ -1040,10 +960,6 @@ function handlePendingOrderDialogClosed() {
loadData()
}
function getFetchTaskStatusText(status: string) {
return waveFetchTaskStatusTextMap[status] || status || '—'
}
function getStatusValue(row: any) {
return row?.status ?? row?.wave_status ?? row?.batch_status
}
@ -2359,50 +2275,6 @@ async function submitGroupOrderDialog() {
<style scoped lang="scss">
@use "../orderManagement/styles/order-sub.scss";
.task-progress-panel--toolbar {
margin-bottom: 3px;
}
.task-progress-panel {
padding: 12px 14px;
background: #fff;
border: 1px solid #ebeef5;
}
.task-progress-panel__header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
gap: 12px;
}
.task-progress-panel__title {
font-size: 14px;
font-weight: 600;
color: #303133;
}
.task-progress-panel__meta {
font-size: 12px;
color: #909399;
}
.task-progress-panel__info {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 8px;
font-size: 12px;
color: #606266;
}
.task-progress-panel__message {
margin-top: 6px;
font-size: 12px;
color: #606266;
}
.order-sub-container .main-content .lower-level .detail-container {
padding: 10px;
overflow: auto;

View File

@ -0,0 +1,132 @@
<template>
<el-dialog
:model-value="modelValue"
:title="title"
width="min(520px, 92vw)"
append-to-body
align-center
:show-close="false"
:close-on-click-modal="false"
:close-on-press-escape="false"
class="wave-batch-task-progress-dialog"
>
<div v-if="progress.taskId" class="task-progress-panel">
<div class="task-progress-panel__header">
<span class="task-progress-panel__meta">任务ID:{{ progress.taskId }}</span>
</div>
<el-progress :percentage="progressPercent" :status="progressBarStatus" :stroke-width="16" />
<div class="task-progress-panel__info">
<span>状态:{{ statusText }}</span>
<span>{{ successCountLabel }}:{{ progress.successCount }} / {{ progress.totalCount }}</span>
<span>{{ failedCountLabel }}:{{ progress.failedCount }}</span>
<span v-if="progress.updateTime">更新时间:{{ formattedUpdateTime }}</span>
</div>
<div v-if="progress.message || progress.error" class="task-progress-panel__message">
{{ progress.error || progress.message }}
</div>
</div>
</el-dialog>
</template>
<script setup lang="ts">
import { computed } from 'vue'
import { waveFetchTaskStatusTextMap } from '../config/wave-config'
export interface WaveBatchTaskProgressViewModel {
taskId: string
status: string
totalCount: number
successCount: number
failedCount: number
progressPercent: number
durationMs: number
updateTime: string
error: string
message: string
}
const props = withDefaults(defineProps<{
modelValue: boolean
title: string
progress: WaveBatchTaskProgressViewModel
successCountLabel?: string
failedCountLabel?: string
}>(), {
successCountLabel: '已完成',
failedCountLabel: '失败'
})
const progressPercent = computed(() => {
const value = Number(props.progress.progressPercent || 0)
if (!Number.isFinite(value)) return 0
return Math.min(100, Math.max(0, value))
})
const progressBarStatus = computed(() => {
const status = props.progress.status
if (status === 'failed' || status === 'not_found') return 'exception'
if (status === 'success' || progressPercent.value >= 100) return 'success'
return undefined
})
const statusText = computed(() => waveFetchTaskStatusTextMap[props.progress.status] || props.progress.status || '—')
const formattedUpdateTime = computed(() => formatDateTime(props.progress.updateTime))
function formatDateTime(value: string | number | null | undefined) {
if (!value) return '—'
let normalizedValue: string | number = value
if (typeof value === 'string' && /^\d+$/.test(value.trim())) {
const numericValue = Number(value.trim())
normalizedValue = value.trim().length <= 10 ? numericValue * 1000 : numericValue
} else if (typeof value === 'number' && Number.isFinite(value) && value > 0 && value < 1000000000000) {
normalizedValue = value * 1000
}
const date = new Date(normalizedValue)
if (Number.isNaN(date.getTime())) return String(value)
const y = date.getFullYear()
const m = String(date.getMonth() + 1).padStart(2, '0')
const d = String(date.getDate()).padStart(2, '0')
const hh = String(date.getHours()).padStart(2, '0')
const mm = String(date.getMinutes()).padStart(2, '0')
const ss = String(date.getSeconds()).padStart(2, '0')
return `${y}-${m}-${d} ${hh}:${mm}:${ss}`
}
</script>
<style scoped lang="scss">
.task-progress-panel {
padding: 4px 0 0;
}
.task-progress-panel__header {
display: flex;
justify-content: flex-end;
align-items: center;
margin-bottom: 8px;
gap: 12px;
}
.task-progress-panel__meta {
font-size: 12px;
color: #909399;
word-break: break-all;
text-align: right;
}
.task-progress-panel__info {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 8px;
font-size: 12px;
color: #606266;
}
.task-progress-panel__message {
margin-top: 6px;
font-size: 12px;
color: #606266;
}
</style>

View File

@ -492,7 +492,7 @@ import {
expressInterfaceListByWarehousePlatformCode,
expressInterfaceUpdate,
getPrintPlatformList
} from '@/api/setting.expressinterface/expressInterface'
} from '@/api/setting.expressInterface/expressInterface'
import { useUserStore } from '@/stores/modules/user'
import { useSettingsStore } from '@/stores/modules/settings'
import { useVerticalSplitPane } from '@/composables/useVerticalSplitPane'

View File

@ -117,22 +117,31 @@
<el-form-item label="平台">
<el-input :model-value="authForm.platform_name || authForm.platformCode || '--'" disabled />
</el-form-item>
<el-form-item label="回调地址" prop="callbackurl">
<div class="callback-input-row">
<el-button type="primary" plain :loading="authSubmitting" @click="handleOpenAuthorizeLink">
去授权
</el-button>
<el-input
v-model="authForm.callbackurl"
placeholder="请输入授权完成后的回调 URL"
clearable
/>
</div>
<el-form-item label="授权">
<el-button type="primary" plain :loading="authLinkLoading" @click="handleOpenAuthorizeLink">
去授权
</el-button>
<!-- <el-text v-if="authNeedCallbackUrl" type="info" size="small" class="auth-tip">
请先在平台完成授权,再将回调地址粘贴到上方输入框后点击「确认授权」。
</el-text>
<el-text v-else type="info" size="small" class="auth-tip">
请先在平台完成授权,再点击「确认授权」完成绑定。
</el-text> -->
</el-form-item>
<el-form-item v-if="authNeedCallbackUrl" label="回调地址" prop="callbackurl">
<el-input
v-model="authForm.callbackurl"
placeholder="请输入授权完成后的回调 URL"
clearable
/>
</el-form-item>
</el-form>
<template #footer>
<el-button @click="authDialogVisible = false">取消</el-button>
<el-button type="primary" :loading="authSubmitting" @click="submitAuthorize">确认授权</el-button>
<el-button type="primary" :loading="authConfirmLoading" @click="submitConfirmAuthorize">
确认授权
</el-button>
</template>
</el-dialog>
</div>
@ -144,7 +153,8 @@ import { ElMessage, ElMessageBox } from 'element-plus'
import type { FormInstance, FormRules } from 'element-plus'
import ScanBox from '@/components/ScanBox/index.vue'
import UpperTable from '@/components/UpperTable/index.vue'
import { getPrintPlatformList } from '@/api/setting.expressinterface/expressInterface'
import { getPrintPlatformList } from '@/api/setting.expressInterface/expressInterface'
import { getPlatformOauthLink } from '@/api/index/index'
import {
shopGetAuthorizeSessionKey,
shopsAdd,
@ -166,6 +176,7 @@ type PlatformOption = {
code: string
name: string
label?: string
need_callback_url?: number | boolean
}
const settingsStore = useSettingsStore()
@ -184,7 +195,8 @@ const columns = shopColumns
const loading = ref(false)
const saving = ref(false)
const authDialogVisible = ref(false)
const authSubmitting = ref(false)
const authLinkLoading = ref(false)
const authConfirmLoading = ref(false)
const authFormRef = ref<FormInstance>()
const tableData = ref<ShopRecord[]>([])
const platformOptions = ref<PlatformOption[]>([])
@ -219,12 +231,45 @@ const authForm = reactive({
callbackurl: ''
})
const authRules: FormRules = {
callbackurl: [{ required: true, message: '请输入回调地址', trigger: 'blur' }]
}
const authNeedCallbackUrl = computed(() => {
const code = String(authForm.platformCode || '').trim()
if (!code) return false
const platform = platformOptions.value.find((item) => item.code === code)
return isNeedCallbackUrl(platform?.need_callback_url)
})
const authRules = computed<FormRules>(() => {
if (!authNeedCallbackUrl.value) return {}
return {
callbackurl: [{ required: true, message: '请输入回调地址', trigger: 'blur' }]
}
})
const isSuccess = (res: any) => res && [0, 1, 200].includes(res.code)
function isNeedCallbackUrl(value: unknown): boolean {
return value === 1 || value === '1' || value === true
}
function extractOauthUrl(res: any): string {
const data = res?.data
if (typeof data === 'string') return data
if (!data || typeof data !== 'object') return ''
const candidates = [
data.url,
data.link,
data.oauth_link,
data.authorize_url,
data.authLink,
data.oauth_url,
data.oauthUrl,
data.redirect_url,
data.redirectUrl
]
const hit = candidates.find((item) => typeof item === 'string' && item.trim())
return hit ? String(hit).trim() : ''
}
function syncSelectOptions() {
const platformField = availableFieldsRef.find((f: any) => f.value === 'platform_code')
if (platformField) {
@ -310,7 +355,8 @@ async function loadPlatformOptions() {
platformOptions.value = (res?.data || []).map((item: any) => ({
code: item.platform_code || item.code,
name: item.platform_name || item.name,
label: item.label || item.platform_name || item.name
label: item.label || item.platform_name || item.name,
need_callback_url: item.need_callback_url
}))
} catch {
platformOptions.value = []
@ -472,59 +518,68 @@ function openAuthorize(row: ShopRecord) {
authFormRef.value?.clearValidate()
}
async function submitAuthorize() {
if (!authFormRef.value || authSubmitting.value || !authForm.shopId) return
const valid = await authFormRef.value.validate().catch(() => false)
if (!valid) return
async function handleOpenAuthorizeLink() {
if (authLinkLoading.value || !authForm.shopId) return
const opened = await openShopAuthorizeInNewTab()
if (opened) {
authDialogVisible.value = false
}
}
async function openShopAuthorizeInNewTab() {
if (authSubmitting.value || !authForm.shopId) return false
const callbackurl = String(authForm.callbackurl || '').trim()
if (!callbackurl) {
ElMessage.warning('请输入回调地址')
return false
const platformCode = String(authForm.platformCode || '').trim()
if (!platformCode) {
ElMessage.warning('未获取到平台编码')
return
}
authSubmitting.value = true
authLinkLoading.value = true
try {
const res: any = await shopGetAuthorizeSessionKey({
id: authForm.shopId,
callbackurl
const res: any = await getPlatformOauthLink({
code: platformCode,
platform_code: platformCode,
platformCode
})
if (!isSuccess(res)) {
ElMessage.error(res?.message || '获取授权链接失败')
return false
return
}
const oauthUrl = String(res?.data?.authorize_url || '').trim()
const oauthUrl = extractOauthUrl(res)
if (!oauthUrl) {
ElMessage.error('未获取到有效的授权链接')
return false
return
}
const win = window.open(oauthUrl, '_blank')
if (!win) {
window.location.href = oauthUrl
}
return true
} catch {
ElMessage.error('获取授权链接失败')
return false
} finally {
authSubmitting.value = false
authLinkLoading.value = false
}
}
async function handleOpenAuthorizeLink() {
if (authSubmitting.value || !authForm.shopId || !authFormRef.value) return
async function submitConfirmAuthorize() {
if (authConfirmLoading.value || !authForm.shopId || !authFormRef.value) return
const valid = await authFormRef.value.validate().catch(() => false)
if (!valid) return
await openShopAuthorizeInNewTab()
authConfirmLoading.value = true
try {
const payload: { id: number; callbackurl?: string } = { id: authForm.shopId }
if (authNeedCallbackUrl.value) {
payload.callbackurl = String(authForm.callbackurl || '').trim()
}
const res: any = await shopGetAuthorizeSessionKey(payload)
if (!isSuccess(res)) {
ElMessage.error(res?.message || '确认授权失败')
return
}
ElMessage.success(res?.message || '授权成功')
authDialogVisible.value = false
loadList()
} catch {
ElMessage.error('确认授权失败')
} finally {
authConfirmLoading.value = false
}
}
onMounted(async () => {
@ -587,18 +642,10 @@ onMounted(async () => {
}
}
.callback-input-row {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
.auth-tip {
display: block;
margin-top: 8px;
line-height: 1.5;
}
.callback-input-row .el-button {
flex-shrink: 0;
}
.callback-input-row .el-input {
flex: 1;
}
</style>

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {
@ -17,62 +17,21 @@
"summary": {
"moduleAdded": 0,
"moduleDeleted": 0,
"moduleUpdated": 1,
"interfaceAdded": 1,
"interfaceDeleted": 1,
"interfaceParamsUpdated": 1,
"moduleUpdated": 0,
"interfaceAdded": 0,
"interfaceDeleted": 0,
"interfaceParamsUpdated": 0,
"interfaceResponseUpdated": 0
},
"moduleUpdates": {
"added": [],
"deleted": [],
"updated": [
{
"moduleName": "店铺模块",
"moduleKey": "shops",
"folder": "shops",
"previousModuleName": "店铺模块",
"previousModuleKey": "shops",
"interfaceChanges": {
"addedMethods": [
"shops.GetAuthorizeSessionKey"
],
"deletedMethods": [
"shop.GetAuthorizeSessionKey"
],
"paramsUpdatedMethods": [
"shops.add"
],
"responseUpdatedMethods": []
}
}
]
"updated": []
},
"interfaceUpdates": {
"added": [
{
"moduleName": "店铺模块",
"moduleKey": "shops",
"folder": "shops",
"method": "shops.GetAuthorizeSessionKey"
}
],
"deleted": [
{
"moduleName": "店铺模块",
"moduleKey": "shops",
"folder": "shops",
"method": "shop.GetAuthorizeSessionKey"
}
],
"paramsUpdated": [
{
"moduleName": "店铺模块",
"moduleKey": "shops",
"folder": "shops",
"method": "shops.add"
}
],
"added": [],
"deleted": [],
"paramsUpdated": [],
"responseUpdated": []
}
},

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {
@ -18,62 +18,21 @@
"summary": {
"moduleAdded": 0,
"moduleDeleted": 0,
"moduleUpdated": 1,
"interfaceAdded": 1,
"interfaceDeleted": 1,
"interfaceParamsUpdated": 1,
"moduleUpdated": 0,
"interfaceAdded": 0,
"interfaceDeleted": 0,
"interfaceParamsUpdated": 0,
"interfaceResponseUpdated": 0
},
"moduleUpdates": {
"added": [],
"deleted": [],
"updated": [
{
"moduleName": "店铺模块",
"moduleKey": "shops",
"folder": "shops",
"previousModuleName": "店铺模块",
"previousModuleKey": "shops",
"interfaceChanges": {
"addedMethods": [
"shops.GetAuthorizeSessionKey"
],
"deletedMethods": [
"shop.GetAuthorizeSessionKey"
],
"paramsUpdatedMethods": [
"shops.add"
],
"responseUpdatedMethods": []
}
}
]
"updated": []
},
"interfaceUpdates": {
"added": [
{
"moduleName": "店铺模块",
"moduleKey": "shops",
"folder": "shops",
"method": "shops.GetAuthorizeSessionKey"
}
],
"deleted": [
{
"moduleName": "店铺模块",
"moduleKey": "shops",
"folder": "shops",
"method": "shop.GetAuthorizeSessionKey"
}
],
"paramsUpdated": [
{
"moduleName": "店铺模块",
"moduleKey": "shops",
"folder": "shops",
"method": "shops.add"
}
],
"added": [],
"deleted": [],
"paramsUpdated": [],
"responseUpdated": []
}
},

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": "2026-04-17 19:16:50"
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": "2026-04-17 19:16:50"
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": "2026-04-17 19:16:50"
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": "2026-04-17 19:16:50"
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": "2026-04-17 19:16:50"
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": "2026-04-17 19:16:50"
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": "2026-04-17 19:16:50"
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": "2026-04-17 19:16:50"
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-05-05 09:15:19",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-05-20 08:59:09",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": "2026-04-17 19:16:50"
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-05-04 09:11:04",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-05-09 09:52:14",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-05-04 17:23:48",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-17 19:37:49",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-17 20:21:27",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-17 19:16:50",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-05-04 09:11:04",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-05-25 17:05:16",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {
@ -23,15 +23,9 @@
"moduleAdded": false,
"moduleRenamed": false,
"interfaceChanges": {
"addedMethods": [
"shops.GetAuthorizeSessionKey"
],
"deletedMethods": [
"shop.GetAuthorizeSessionKey"
],
"paramsUpdatedMethods": [
"shops.add"
],
"addedMethods": [],
"deletedMethods": [],
"paramsUpdatedMethods": [],
"responseUpdatedMethods": []
}
}

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-05-15 17:32:36",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": "2026-04-17 19:16:50"
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -6,7 +6,7 @@
},
"status": "active",
"createdAt": "2026-04-16 11:15:05",
"updatedAt": "2026-05-26 09:05:07",
"updatedAt": "2026-05-27 17:22:48",
"deletedAt": null,
"restoredAt": null
}

View File

@ -1,6 +1,6 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"generatedAt": "2026-05-27 17:22:48",
"generatedAtLocal": "2026-05-27 17:22:48",
"source": "remote",
"filter": {
"platform": {

View File

@ -1,51 +1 @@
{
"generatedAt": "2026-05-26 09:05:07",
"generatedAtLocal": "2026-05-26 09:05:07",
"source": "remote",
"filter": {
"platform": {
"value": "web",
"label": "网页端"
},
"project": {
"value": "all",
"label": "全部"
}
},
"summary": {
"moduleAdded": 0,
"moduleDeleted": 0,
"interfaceAdded": 1,
"interfaceDeleted": 1,
"interfaceParamsUpdated": 1,
"interfaceResponseUpdated": 0,
"totalChangedItems": 3
},
"interfaceUpdates": {
"added": [
{
"moduleName": "店铺模块",
"moduleKey": "shops",
"folder": "shops",
"method": "shops.GetAuthorizeSessionKey"
}
],
"deleted": [
{
"moduleName": "店铺模块",
"moduleKey": "shops",
"folder": "shops",
"method": "shop.GetAuthorizeSessionKey"
}
],
"paramsUpdated": [
{
"moduleName": "店铺模块",
"moduleKey": "shops",
"folder": "shops",
"method": "shops.add"
}
],
"responseUpdated": []
}
}
{}