import{d as I,c,e as s,I as d,i as l,f as n,F as p,J as u,h as i,g as t,t as a,j as N,k as f}from"./index.63921713.js";const y={class:"flex items-center"},F={class:"font-semibold"},b={class:"ml-40"},w={class:"mb-8 flex items-center"},B={class:"ml-8"},C={class:"text-info"},V={key:0,class:"bg-gray-100 p-8 mt-8"},j={class:"text-info"},D={key:0},R=t("span",{class:"text-info"},"\u9644\u4EF6\uFF1A",-1),T=["href"],A=I({name:"sjFlowRecord"}),O=Object.assign(A,{props:{flowData:Array},setup(h){return(E,J)=>{const o=c("svg-icon"),x=c("el-timeline-item"),g=c("el-timeline");return s(),d(g,{class:"flowRecord"},{default:l(()=>{var r;return[(s(!0),n(p,null,u((r=h.flowData)==null?void 0:r.filter(e=>e.stepName!="\u865A\u62DF"&&e.stepName!="\u6D41\u7A0B\u7ED3\u675F"),(e,v)=>(s(),d(x,{key:v},{dot:l(()=>[i(o,{name:e.status==="\u5BA1\u6838\u901A\u8FC7"||e.status==="\u53D1\u8D77\u6D41\u7A0B"?"timelineIcon1":e.status==="\u5DF2\u62D2\u7EDD"?"timelineIcon3":"timelineIcon2"},null,8,["name"])]),default:l(()=>{var _;return[t("div",null,[t("div",y,[i(o,{name:"portraitIcon",class:"text-32 mr-8"}),t("p",F,a(e.stepName),1)]),t("div",b,[t("p",w,[i(o,{name:e.status==="\u5BA1\u6838\u901A\u8FC7"||e.status==="\u53D1\u8D77\u6D41\u7A0B"?"timelineIcon1":e.status==="\u5DF2\u62D2\u7EDD"?"timelineIcon3":"timelineIcon2"},null,8,["name"]),t("span",B,a(e.label),1)]),t("p",C,a(e.approverTime),1),e.comment||e.attachmentFile?(s(),n("div",V,[t("p",j,[N(" \u610F\u89C1\uFF1A"),t("span",null,a(e.comment||"-"),1)]),(_=e.attachmentFile)!=null&&_.length?(s(),n("div",D,[R,(s(!0),n(p,null,u(e.attachmentFile,(m,k)=>(s(),n("p",{key:k},[t("a",{href:m.accessUrl},a(m.fileName),9,T)]))),128))])):f("",!0)])):f("",!0)])])]}),_:2},1024))),128))]}),_:1})}}});export{O as default};