feat(data-process): 完善后台生成与失败重试

This commit is contained in:
caoxiaozhu
2026-07-28 10:56:05 +08:00
parent 8a6a6574bb
commit 01d2e6c76a
178 changed files with 4472 additions and 595 deletions

View File

@@ -0,0 +1 @@
import{aF as s,aH as d,aG as o,aI as r}from"./index-Dd84m4NL.js";const i=()=>s("/dataset-manage"),m=e=>s(`/dataset-manage/${e}`),l=e=>o("/dataset-manage",e),p=(e,a)=>d(`/dataset-manage/${e}`,a),g=e=>r(`/dataset-manage/${e}`),$=(e,a)=>{const t=new FormData;return a.forEach(n=>t.append("files",n)),o(`/dataset-manage/upload/${e}`,t,{headers:{"Content-Type":"multipart/form-data"}})},D=e=>s(`/dataset-manage/records/${encodeURIComponent(e)}/sources`),u=e=>s(`/dataset-manage/versions/${encodeURIComponent(e)}`),_=(e,a)=>s(`/dataset-manage/versions/${encodeURIComponent(e)}/${encodeURIComponent(a)}`),v=(e,a,t)=>o(`/dataset-manage/versions/${encodeURIComponent(e)}`,{content:a,description:t.description||"在线编辑",base_version_id:t.baseVersionId,expected_current_version_id:t.expectedCurrentVersionId}),C=(e,a,t)=>d(`/dataset-manage/versions/${encodeURIComponent(e)}/active`,{version_id:a,expected_current_version_id:t}),F=(e,a,t)=>r(`/dataset-manage/versions/${encodeURIComponent(e)}/${encodeURIComponent(a)}`,{expected_current_version_id:t}),U=(e,a,t)=>{const n=`/modelTF/dataset-manage/download/${e}/${a}`;return t?`${n}?version_id=${encodeURIComponent(t)}`:n},I=e=>`/modelTF/dataset-manage/download/${e}`;export{g as a,m as b,$ as c,I as d,l as e,u as f,i as g,_ as h,D as i,v as j,U as k,C as l,F as m,p as u};