import{_ as N,d as k,f as c,g as s,K as p,m as l,h as o,G as d,L as u,l as r,i as t,t as n,p as w,j as f}from"./index.9fabe127.js";const y={class:"flex items-center"},F={class:"font-semibold"},I={class:"ml-40"},D={class:"mb-8 flex items-center"},b={class:"ml-8"},B={class:"text-info"},C={key:0,class:"bg-gray-100 p-8 mt-8"},R={class:"text-info"},S={key:0},V=t("span",{class:"text-info"},"\u9644\u4EF6\uFF1A",-1),K=["href"],L=k({name:"sjFlowRecord"}),M=Object.assign(L,{props:{flowData:Array},setup(h){return(T,U)=>{const a=c("svg-icon"),v=c("el-timeline-item"),x=c("el-timeline");return s(),p(x,{class:"flowRecord"},{default:l(()=>{var i;return[(s(!0),o(d,null,u((i=h.flowData)==null?void 0:i.filter(e=>e.stepName!="\u865A\u62DF"&&e.stepName!="\u6D41\u7A0B\u7ED3\u675F"),(e,g)=>(s(),p(v,{key:g},{dot:l(()=>[r(a,{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,[r(a,{name:"portraitIcon",class:"text-32 mr-8"}),t("p",F,n(e.stepName),1)]),t("div",I,[t("p",D,[r(a,{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,n(e.label),1)]),t("p",B,n(e.approverTime),1),e.comment||e.attachmentFile?(s(),o("div",C,[t("p",R,[w(" \u610F\u89C1\uFF1A"),t("span",null,n(e.comment||"-"),1)]),(_=e.attachmentFile)!=null&&_.length?(s(),o("div",S,[V,(s(!0),o(d,null,u(e.attachmentFile,(m,j)=>(s(),o("p",{key:j},[t("a",{href:m.accessUrl},n(m.fileName),9,K)]))),128))])):f("v-if",!0)])):f("v-if",!0)])])]}),_:2},1024))),128))]}),_:1})}}}),E=N(M,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/sjFlowRecord.vue"]]);export{E as default};
