视频任务管理更新
This commit is contained in:
@@ -71,6 +71,8 @@
|
||||
</el-table>
|
||||
</div>
|
||||
|
||||
<ZiniaoVersionSetting v-model="ziniaoVersion" />
|
||||
|
||||
<div class="run-row">
|
||||
<button
|
||||
type="button"
|
||||
@@ -354,8 +356,11 @@ import { getPywebviewApi } from "@/shared/bridges/pywebview";
|
||||
import { getTaskPollIntervalMs } from "@/shared/task-progress-config";
|
||||
import { createCategorizedTimers } from "@/shared/utils/categorized-timers";
|
||||
import { saveUrlWithProgress } from "@/shared/utils/download-progress";
|
||||
import ZiniaoVersionSetting from "@/shared/components/ZiniaoVersionSetting.vue";
|
||||
import { useZiniaoVersion } from "@/shared/utils/ziniao-version";
|
||||
|
||||
const MAX_TRANSIENT_ERRORS = 30;
|
||||
const ziniaoVersion = useZiniaoVersion();
|
||||
|
||||
type WithdrawTaskBatchQueueItem = {
|
||||
batchId: string;
|
||||
@@ -1048,6 +1053,7 @@ function buildQueuePayload(taskId: number, batch: WithdrawTaskBatchQueueItem) {
|
||||
ts: Date.now(),
|
||||
data: {
|
||||
task_id: taskId,
|
||||
ziniao_version: ziniaoVersion.value,
|
||||
user_id: Number(uidForStorage()) || 0,
|
||||
source: "frontend-vue-withdraw",
|
||||
reserved_amount: batch.reservedAmount,
|
||||
|
||||
Reference in New Issue
Block a user