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