提交打包
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
{{ pushing ? '推送中...' : '推送到 Python 队列' }}
|
||||
</button>
|
||||
</div>
|
||||
<p class="loading-msg">Python 回传字段按 id、asin、国家、价格、标题、图片链接数组提交;后端接收分片后按 10 条一批送检。</p>
|
||||
<p class="loading-msg">Python 回传字段按 id、asin、国家、价格、标题、图片链接数组提交;后端接收分片后按 10 条一批送检,结果区展示真实 Coze 批次进度。</p>
|
||||
|
||||
<div v-if="visibleTaskSummary" class="parse-card">
|
||||
<div>任务 ID:{{ visibleTaskSummary.taskId }}</div>
|
||||
@@ -186,6 +186,7 @@ import {
|
||||
type SimilarAsinParseVo,
|
||||
type UploadedFileRef,
|
||||
type UploadFileVo,
|
||||
uploadTempFileToJava,
|
||||
} from '@/shared/api/java-modules'
|
||||
import { expandBrandFolderRecursive, type BrandExpandFolderItem } from '@/shared/api/brand'
|
||||
import { getPywebviewApi } from '@/shared/bridges/pywebview'
|
||||
@@ -326,7 +327,7 @@ async function uploadAppearancePathsToJava(paths: Array<string | BrandExpandFold
|
||||
async function selectFiles() {
|
||||
const api = getPywebviewApi()
|
||||
if (!api?.select_brand_xlsx_files || !api.upload_file_to_java) {
|
||||
ElMessage.warning('当前环境不支持文件选择或上传')
|
||||
ElMessage.warning('当前桌面端未提供文件选择或上传能力')
|
||||
return
|
||||
}
|
||||
const paths = await api.select_brand_xlsx_files()
|
||||
@@ -342,8 +343,8 @@ async function selectFiles() {
|
||||
|
||||
async function selectFolder() {
|
||||
const api = getPywebviewApi()
|
||||
if (!api?.select_brand_folder) {
|
||||
ElMessage.warning('当前环境不支持文件夹选择,请在本地客户端中打开')
|
||||
if (!api?.select_brand_folder || !api.upload_file_to_java) {
|
||||
ElMessage.warning('当前桌面端未提供文件夹选择或上传能力')
|
||||
return
|
||||
}
|
||||
try {
|
||||
@@ -721,10 +722,10 @@ function pendingResultHint(item: SimilarAsinHistoryItem) {
|
||||
if (!isResultPreparing(item)) return ''
|
||||
const fileStatus = (item.fileStatus || '').toUpperCase()
|
||||
if (fileStatus === 'RUNNING') {
|
||||
return '任务已完成,正在请求 Coze 或组装结果文件,下载按钮稍后出现'
|
||||
return '任务已完成,正在等待 Coze 回流并组装结果文件,下载按钮稍后出现'
|
||||
}
|
||||
if (fileStatus === 'PENDING') {
|
||||
return '任务已完成,结果文件已入队,正在等待后端生成'
|
||||
return '任务已完成,结果文件已入队,正在等待后端开始处理'
|
||||
}
|
||||
return '任务已完成,正在生成结果文件,下载按钮稍后出现'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user