import{d as C,i as c,a as e,c as t,j as r,F as i,q as p,B as _,t as a,z as l,m as u,_ as L}from"./index-deffec86.js";const w={key:0,class:"progress-container"},F={class:"timeline-container"},B={class:"time-left"},S={class:"time-center"},A={key:1,class:"round"},P={class:"time-right"},z=C({__name:"AuditProgress",props:{progressList:{default:()=>[]}},setup(d){const g=d,m=o=>o.organ_unit_id_str.length+o.review_comments.length>50;return(o,E)=>{const v=c("SuccessFilled"),h=c("CircleCloseFilled"),y=c("el-icon"),k=c("el-tooltip"),f=c("el-empty");return g.progressList.length?(e(),t("div",w,[r("div",F,[r("div",B,[(e(!0),t(i,null,p(o.progressList,(s,n)=>(e(),t("span",{key:n,class:_([s.status=="4"?"danger":"primary"])},a(s.status_str),3))),128))]),r("div",S,[(e(!0),t(i,null,p(o.progressList,(s,n)=>(e(),t("div",{key:n},[s.status=="3"||s.status=="4"?(e(),l(y,{key:0,color:s.status=="3"?"#67c23a":"#f57575",class:"icon"},{default:u(()=>[s.status=="3"?(e(),l(v,{key:0})):(e(),l(h,{key:1}))]),_:2},1032,["color"])):(e(),t("span",A)),r("span",{class:_(["line",s.status!="1"?"active":""])},null,2)]))),128))]),r("div",P,[(e(!0),t(i,null,p(o.progressList,(s,n)=>(e(),t("div",{key:n},[m(s)?(e(),l(k,{key:0,placement:"top",class:"max-width","popper-class":"popper",content:`${s.organ_unit_id_str}: ${s.review_comments}`},{default:u(()=>[r("span",{class:_([n==o.progressList.length-1?"active":""])},a(s.organ_unit_id_str)+": "+a(s.review_comments),3)]),_:2},1032,["content"])):(e(),t("span",{key:1,class:_([n==o.progressList.length-1?"active":""])},a(s.organ_unit_id_str)+": "+a(s.review_comments),3)),r("span",null,a(s.check_time),1)]))),128))])])])):(e(),l(f,{key:1,description:"\u6682\u65E0"}))}}});const j=L(z,[["__scopeId","data-v-82158261"]]);export{j as default};
