import{d as F,p as m,r as G,C as H,o as l,l as u,w as s,N as J,i as r,g as c,c as e,k as q,j as i,t as o,a as _,ao as K,a2 as n,F as Q,v as V,J as W,ak as X,E as Y,_ as Z,__tla as $}from"./index-2c56227b.js";import{E as aa,a as ta,__tla as la}from"./el-timeline-item-8dcea2c5.js";import{E as sa,__tla as ra}from"./el-card-9c148b4f.js";import{_ as ea,__tla as na}from"./DictTag-cfe1898d.js";import{f as L,a as oa,__tla as ia}from"./formatTime-7f0ec2bf.js";import{D as _a,__tla as ca}from"./dict-763dd292.js";import ma,{__tla as ua}from"./ProcessInstanceChildrenTaskList-f616d647.js";import"./color-6e929987.js";import{__tla as fa}from"./el-drawer-b586217d.js";import{__tla as pa}from"./TaskSubSignDialogForm-4cf754c6.js";import{__tla as ya}from"./Dialog-1050d437.js";import{__tla as da}from"./index-f96e4e1e.js";import{__tla as ha}from"./useMessage-96878a4a.js";let M,ka=Promise.all([(()=>{try{return $}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return ra}catch{}})(),(()=>{try{return na}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return ca}catch{}})(),(()=>{try{return ua}catch{}})(),(()=>{try{return fa}catch{}})(),(()=>{try{return pa}catch{}})(),(()=>{try{return ya}catch{}})(),(()=>{try{return da}catch{}})(),(()=>{try{return ha}catch{}})()]).then(async()=>{let f,p,y,d,h,k,g,b,w,T,v;f=c("span",{class:"el-icon-picture-outline"},"\u5BA1\u6279\u8BB0\u5F55",-1),p={class:"block"},y={style:{"font-weight":"700"}},d={key:0,style:{"margin-right":"30px","font-weight":"normal"}},h={key:1,style:{"font-weight":"normal"}},k={style:{"font-weight":"normal",color:"#8a909c"}},g={key:2,style:{"margin-left":"30px","font-weight":"normal"}},b={key:3,style:{"font-weight":"normal",color:"#8a909c"}},w={key:4,style:{"margin-left":"30px","font-weight":"normal"}},T={key:5,style:{"font-weight":"normal",color:"#8a909c"}},v={key:6},M=Z(F({name:"BpmProcessInstanceTaskList",__name:"ProcessInstanceTaskList",props:{loading:m.bool,tasks:m.arrayOf(m.object)},setup(I){const N=t=>t.result===1?"el-icon-time":t.result===2?"el-icon-check":t.result===3?"el-icon-close":t.result===4?"el-icon-remove-outline":t.result===5?"el-icon-back":"",x=t=>t.result===1?"primary":t.result===2?"success":t.result===3?"danger":t.result===4?"info":t.result===5?"warning":t.result===6?"default":t.result===7||t.result===8?"warning":"",E=G();return(t,ga)=>{const S=ea,U=V,O=W,P=X,C=sa,j=aa,z=ta,A=Y,B=J;return H((l(),u(C,{class:"box-card"},{header:s(()=>[f]),default:s(()=>[r(A,{offset:4,span:16},{default:s(()=>[c("div",p,[r(z,null,{default:s(()=>[(l(!0),e(Q,null,q(I.tasks,(a,R)=>(l(),u(j,{key:R,icon:N(a),type:x(a)},{default:s(()=>[c("p",y,[i(" \u4EFB\u52A1\uFF1A"+o(a.name)+" ",1),r(S,{type:_(_a).BPM_PROCESS_INSTANCE_RESULT,value:a.result},null,8,["type","value"]),_(K)(a.children)?n("",!0):(l(),u(O,{key:0,style:{"margin-left":"5px"},onClick:ba=>(D=>{E.value.open(D)})(a)},{default:s(()=>[r(U,{icon:"ep:memo"}),i(" \u5B50\u4EFB\u52A1 ")]),_:2},1032,["onClick"]))]),r(C,{"body-style":{padding:"10px"}},{default:s(()=>[a.assigneeUser?(l(),e("label",d,[i(" \u5BA1\u6279\u4EBA\uFF1A"+o(a.assigneeUser.nickname)+" ",1),r(P,{size:"small",type:"info"},{default:s(()=>[i(o(a.assigneeUser.deptName),1)]),_:2},1024)])):n("",!0),a.createTime?(l(),e("label",h,"\u521B\u5EFA\u65F6\u95F4\uFF1A")):n("",!0),c("label",k,o(_(L)(a==null?void 0:a.createTime)),1),a.endTime?(l(),e("label",g," \u5BA1\u6279\u65F6\u95F4\uFF1A ")):n("",!0),a.endTime?(l(),e("label",b,o(_(L)(a==null?void 0:a.endTime)),1)):n("",!0),a.durationInMillis?(l(),e("label",w," \u8017\u65F6\uFF1A ")):n("",!0),a.durationInMillis?(l(),e("label",T,o(_(oa)(a==null?void 0:a.durationInMillis)),1)):n("",!0),a.reason?(l(),e("p",v,[r(P,{type:x(a)},{default:s(()=>[i(o(a.reason),1)]),_:2},1032,["type"])])):n("",!0)]),_:2},1024)]),_:2},1032,["icon","type"]))),128))]),_:1})])]),_:1}),r(ma,{ref_key:"processInstanceChildrenTaskList",ref:E},null,512)]),_:1})),[[B,I.loading]])}}}),[["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/bpm/processInstance/detail/ProcessInstanceTaskList.vue"]])});export{ka as __tla,M as default};
