← Back
Editing: transfer-result.js
import{k as s}from"./utils-lib.js?v=1765440387";import{c as a,r as t,q as e,v as l,y as c,J as p,B as r,z as o,e as i,aC as m}from"./base-lib.js?v=1765440387";import"./__commonjsHelpers__.js?v=1765440387";const n={class:"flex p-[2rem] flex-col"},x={class:"flex items-center mb-[16px]"},d={class:"pl-[4px] text-[15px] leading-8 ml-[4px]"},u={class:"text-[#20a53a]"},f={class:"text-[#dc2626]"},h=a({__name:"transfer-result",props:{compData:{default:()=>({success:0,fail:0,sendList:t([])})}},setup(a){const t=[{label:"目标路径",prop:"target_path",minWidth:200,showOverflowTooltip:!0},{label:"状态",prop:"status",fixed:"right",align:"right",render:s=>m("span",{class:"complete"===s.status?"text-[#20a53a]":"text-[#dc2626]"},"complete"===s.status?"成功":"失败")}];return(m,h)=>{const b=s;return e(),l("div",n,[c("div",x,[h[3]||(h[3]=c("i",{class:p("!text-[4rem] text-[#20a53a] svgtofont-el-circle-check-filled")},null,-1)),c("div",d,[h[0]||(h[0]=r(o("传输任务已完成,")+" ",-1)),c("span",u,o(a.compData.success),1),h[1]||(h[1]=r(" "+o("个成功,")+" ",-1)),c("span",f,o(a.compData.fail),1),h[2]||(h[2]=r(" "+o("个失败"),-1))])]),i(b,{ref:"batchTable",column:t,data:a.compData.sendList.value,"max-height":300},null,8,["data"])])}}});export{h as default};
Save File
Cancel