You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3 lines
20 KiB

var De=Object.defineProperty,ve=Object.defineProperties;var Ee=Object.getOwnPropertyDescriptors;var re=Object.getOwnPropertySymbols;var xe=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable;var pe=(F,v,E)=>v in F?De(F,v,{enumerable:!0,configurable:!0,writable:!0,value:E}):F[v]=E,ue=(F,v)=>{for(var E in v||(v={}))xe.call(v,E)&&pe(F,E,v[E]);if(re)for(var E of re(v))Ae.call(v,E)&&pe(F,E,v[E]);return F},le=(F,v)=>ve(F,Ee(v));var te=(F,v,E)=>new Promise((j,V)=>{var Z=x=>{try{R(E.next(x))}catch(W){V(W)}},w=x=>{try{R(E.throw(x))}catch(W){V(W)}},R=x=>x.done?j(x.value):Promise.resolve(x.value).then(Z,w);R((E=E.apply(F,v)).next())});import{d as be,a0 as Se,q as de,r as M,o as n,a as B,w as m,g as d,t as u,i as g,j as N,b as c,u as a,F as $,bt as q,x as we,bY as z,a9 as Ce,h as L,bF as Me,bo as Be,$ as ce,Y as Le,a1 as Re,bs as k,bE as Pe,bp as Oe,dU as We,dV as Ke,aT as ke}from"./index-f4658ae7.js";import{a as He,T as Ie}from"./index-0a955395.js";/* empty css *//* empty css */import{D as Ue}from"./index-eb3034da.js";import{T as me}from"./index-134963ca.js";import{CCListAttr as _,CCLists as ze}from"./CCList-04aa6059.js";import{SelectAccperAttr as C}from"./SelectAccper-a68b3776.js";import{NodeSimples as je}from"./NodeSimple-4a6ef775.js";import{ActionType as A}from"./ActionType-add280ef.js";import{t as T,A as se}from"./TimeBaseExt-e1d9412b.js";import{CommonConfig as Te}from"./CommonConfig-82fb2022.js";import{NodeAttr as Q}from"./Node-6b42ba5e.js";import{D as Ve}from"./default_user_icon-73c35284.js";import{T as H}from"./Text-21ea36a6.js";import{R as h}from"./index-24b7f696.js";import{C as X}from"./index-1d383df5.js";import"./UAC-8e255d47.js";import"./Map-73575e6b.js";import"./Attrs-62391d6b.js";import"./EnumLab-3cbd0812.js";import"./DataType-33901a1c.js";import"./ParamUtils-cdc24dd6.js";import"./SystemConfig-b93c25b3.js";import"./bignumber-cf158d26.js";import"./ParamsUtils-3cbc5822.js";import"./Attr-d5feb8b8.js";import"./RefMethod-33a71db4.js";import"./SearchNormal-5c7fda42.js";import"./SearchFKEnum-31a3a609.js";import"./Glo-fda3f906.js";import"./EnMapExt-8e17025c.js";import"./EntityMyPK-e742fec8.js";import"./Entities-6a72b013.js";import"./EntityNodeID-d5ae71b1.js";import"./transButton-e61c9322.js";import"./CopyOutlined-ae720459.js";import"./EditOutlined-19d9e427.js";import"./Col-dfe054f2.js";const Ye=F=>(We("data-v-87759987"),F=F(),Ke(),F),Ge={key:0,class:"ant-tag-red"},Je={style:{"margin-left":"20px","margin-bottom":"65px"}},$e={key:0,class:"numberIconBox"},qe={class:"numberIcon"},Qe={key:0,style:{"margin-right":"10px","margin-top":"0px","font-size":"16px"}},Xe={key:1,style:{"margin-right":"10px","margin-top":"0px","font-size":"16px",color:"rgba(0, 0, 0, 0.45)"}},Ze={key:2,style:{"margin-right":"10px","margin-top":"-20px","font-size":"15px"}},eo={style:{display:"flex","flex-direction":"column","align-items":"flex-end","justify-content":"center"}},oo={style:{width:"100px",display:"flex","justify-content":"center"}},to=["src"],so={key:0},ao={key:0,style:{"margin-bottom":"10px"}},no=["src"],io={style:{"font-size":"16px"}},ro={key:1,style:{height:"50px"}},po={key:2,style:{"margin-top":"20px"}},uo={style:{color:"green"}},lo={style:{color:"green"}},co={key:3,style:{"margin-bottom":"5px"}},mo={style:{color:"green"}},To={key:4,style:{"margin-bottom":"10px"}},yo=["onClick"],No={key:5,style:{"margin-bottom":"20px"}},fo={key:0,style:{color:"green","margin-right":"10px",width:"45px"}},go={key:1,style:{color:"red","margin-right":"10px",width:"45px"}},_o={key:2,style:{color:"#108ee9","margin-right":"10px",width:"45px"}},ho={key:6,style:{"margin-bottom":"20px"}},Fo=Ye(()=>N("div",null,"\u5B50\u6D41\u7A0B\u5217\u8868\u672A\u89E3\u6790",-1)),Do=[Fo],vo={key:1},Eo={key:0,style:{"margin-bottom":"10px"}},xo=["src"],Ao={style:{"font-size":"16px"}},bo={key:1,style:{"margin-bottom":"20px"}},So={style:{color:"red"}},wo={key:0,style:{color:"green"}},Co={key:1,style:{color:"red"}},Mo={key:2,style:{color:"rgba(0, 0, 0, 0.45) !important"}},Bo={key:0,style:{"margin-bottom":"10px"}},Lo={style:{"font-size":"16px"}},Ro={key:1,style:{"margin-bottom":"20px"}},Po={key:0,style:{width:"90%"}},Oo={key:2,style:{"margin-bottom":"20px"}},Wo={key:3},Ko={style:{"font-size":"16px",color:"rgba(0, 0, 0, 0.45)"}},ko=be({__name:"TimeBase",props:{params:{type:Object,default:()=>{}}},setup(F){const{VITE_GLOB_API_URL:v}=Se(),j=v+"/DataUser/UserIcon/",V=y=>{const t=y.srcElement;t.src=Ve,t.onerror=null},{loadComponent:Z}=Oe(),w=F,R=de({hasError:!1,tips:""}),x=de({width:window.innerWidth,visiable:!1,url:"",component:{},params:{},bodyStyle:{height:window.innerHeight,width:window.innerWidth}}),W=M(!1),S=M([]),K=M([]),ae=M([]),ye=()=>te(this,null,function*(){try{W.value=!0;const y=new ce("BP.WF.HttpHandler.WF_WorkOpt_OneWork");y.AddJson(w.params);const t=yield y.DoMethodReturnString("TimeBase_Init");if(typeof t=="string"&&t.includes("err@")){Le.error(t.replace("err@",""));return}const e=JSON.parse(JSON.stringify(t)),i=new ze;yield i.Init(),yield i.Retrieve("WorkID",w.params.WorkID);const l=new ce("BP.WF.HttpHandler.WF_WorkOpt_OneWork");l.AddPara("WorkID",w.params.WorkID);const P=yield l.DoMethodReturnString("GetFutureNodes"),b=P.SelectAccpers||[];ae.value=P.Nodes||[];const Y=new je;yield Y.Retrieve("FK_Flow",w.params.FK_Flow),Ne(e,b,Y,i),fe()}catch(y){R.hasError=!0,R.tips=y}finally{W.value=!1}}),Ne=(y,t,e,i)=>{const l=y.Track,P=y.FrmWorkCheck[0],b=y.WF_GenerWorkerlist,Y=y.WF_SubFlow,I=M(0),he=l.filter(s=>s.ActionType!=A.FlowBBS&&s.ActionType!=A.WorkCheck&&!(P.FWCMsgShow=="1"&&s.NDFrom==w.params.FK_Node&&Re.No!=s.EmpTo)&&!(s.ActionType==A.ForwardFL&&s.NDFrom!=parseInt(w.params.FK_Flow)+"01"));let O=[];if(he.forEach(s=>{var f,D;s.FID!=0;const o={};if(s.ActionType===A.Route){if(o.RDT=k(s.RDT).format("MM\u6708DD\u65E5HH\u65F6mm\u5206"),o.ActionType=s.ActionType,o.ActionTypeText=s.ActionTypeText,o.IsOpenFrm=!1,o.NodeName=s.NDFromT,o.ToNodeName=s.NDToT,o.EmpFrom=s.EmpFrom,o.EmpName=s.EmpFromT,o.MyPK=s.MyPK,o.WorkID=s.WorkID,o.FK_Flow=w.params.FK_Flow,o.NDFrom=s.NDFrom,o.FID=s.FID,o.SubFlow=[],o.ToNodeLab="\u5230\u8FBE\u8282\u70B9",o.ToNodeName=s.NDToT,o.ToEmpLab="\u5230\u8FBE\u4EBA\u5458",o.ToEmpName=s.EmpToT,s.NodeData){const p=((f=s.NodeData)==null?void 0:f.split("@")).filter(U=>U.includes("DeptName"))[0].split("=")[1];o.EmpDept=p}else o.EmpDept="\u65E0";o.CCList=[],o.nodeState="finished",O.push(o);return}if(s.ActionType===A.Return&&(o.ToNodeLab="\u9000\u56DE\u5230",o.ToNodeName=s.NDToT,o.ToEmpLab="\u9000\u56DE\u7ED9",o.ToEmpName=s.EmpToT,o.MsgLab="\u9000\u56DE\u610F\u89C1\u5982\u4E0B",o.IsOpenFrm=!1,o.Msg=s.Msg),s.ActionType===A.CC&&(o.ToNodeLab="\u6284\u9001\u8282\u70B9",o.ToNodeName=s.NDToT,o.ToEmpLab="\u6284\u9001\u7ED9",o.ToEmpName=s.EmpToT||"",o.MsgLab="\u6284\u9001\u5185\u5BB9",o.IsOpenFrm=!1,o.Msg=s.Msg),s.ActionType===A.UnSend&&(o.ToNodeLab="\u64A4\u9500\u5230",o.ToNodeName=s.NDToT,o.ToEmpLab="\u64A4\u9500\u7ED9",o.ToEmpName=s.EmpToT,o.MsgLab="\u610F\u89C1",o.IsOpenFrm=!1,o.Msg="\u65E0"),s.ActionType===A.Forward||s.ActionType===A.FlowOver||s.ActionType==A.TeampUp)if(o.ToNodeLab="\u5230\u8FBE\u8282\u70B9",o.ToNodeName=s.NDToT,o.ToEmpLab="\u5230\u8FBE\u4EBA\u5458",o.ToEmpName=s.EmpToT,o.IsOpenFrm=!!Te.Hide_IsOpenFrm,o.MsgLab="\u5BA1\u6838\u610F\u89C1",s.ActionType==A.TeampUp&&(o.MsgLab="\u4F1A\u7B7E\u610F\u89C1"),P.FWCVer==0){const r=l.filter(p=>p.NDFrom==s.NDFrom&&p.ActionType==A.WorkCheck&&p.EmpFrom==s.EmpFrom);r.length>0&&(o.Msg=r[0].Msg)}else{const r=s.Msg.replace("null","").split("WorkCheck@");r.length==2&&(o.Msg=r[1])}if(s.ActionType==A.Press&&(o.ToNodeLab="\u5230\u8FBE\u8282\u70B9",o.ToNodeName=s.NDToT,o.ToEmpLab="\u63A5\u6536\u4EBA\u5458",o.ToEmpName=s.EmpToT,o.IsOpenFrm=!1,o.MsgLab="\u50AC\u529E\u4FE1\u606F",o.Msg=s.Msg),s.ActionType==A.Shift&&(o.ToNodeLab="\u5230\u8FBE\u8282\u70B9",o.ToNodeName=s.NDToT,o.ToEmpLab="\u63A5\u6536\u4EBA\u5458",o.ToEmpName=s.EmpToT,o.IsOpenFrm=!1,o.MsgLab="\u79FB\u4EA4\u4FE1\u606F",o.Msg=s.Msg),s.ActionType==A.Hungup&&(o.IsOpenFrm=!1,o.MsgLab="\u6302\u8D77\u539F\u56E0",o.Msg=s.Msg),o.Msg=o.Msg||"\u65E0",o.Msg=="0"&&(o.Msg="\u65E0"),typeof o.Msg=="boolean"&&(o.Msg=""),o.Msg&&o.Msg!="\u65E0"&&(o.Msg=o.Msg.replace(new RegExp(`
`,"g"),"<br>").replace("null","")),o.RDT=k(s.RDT).format("MM\u6708DD\u65E5HH\u65F6mm\u5206"),o.ActionType=s.ActionType,o.ActionTypeText=s.ActionTypeText,o.NodeName=s.NDFromT,o.EmpFrom=s.EmpFrom,o.EmpName=s.EmpFromT,o.idx=I.value++,o.MyPK=s.MyPK,o.WorkID=s.WorkID,o.FK_Flow=w.params.FK_Flow,o.NDFrom=s.NDFrom,o.FID=s.FID,o.SubFlow=Y.filter(r=>r.FK_Node=s.NDFrom&&r.SubFlowSta==1),s.NodeData){const p=((D=s.NodeData)==null?void 0:D.split("@")).filter(U=>U.includes("DeptName"))[0].split("=")[1];o.EmpDept=p}else o.EmpDept="\u65E0";if(o.CCList=i.filter(r=>r[_.NodeIDCC]==s.NDTo),o.nodeState="finished",s.ActionType!=A.Route&&O.length!=0){o.ToNodeName=O[0].ToNodeName,o.ToEmpName=o.EmpName,K.value.push(o);for(let r=0;r<O.length;r++){let p=O[r];r+1<O.length?(p.ToNodeName=O[r+1].NodeName,p.ToEmpName=s.EmpFromT):(p.ToNodeName=s.NDToT,p.ToEmpName=s.EmpToT),p.idx=I.value++,K.value.push(p)}O=[]}else K.value.push(o)}),Array.isArray(b)&&b.length>0){const s=Te.Hide_IsRead==!1?1:-2,o=b.filter(r=>r.IsPass!=1&&r.IsPass!=3&&r.IsPass>=0&&r.FK_Node==w.params.FK_Node&&r.IsRead!=s),f=[],D={};o.forEach(r=>{var ne,ie;const p={};if(D.NodeName=r.NodeName,p.isRead=parseInt(r.IsRead)==0?0:1,p.isReadText=parseInt(r.IsRead)==0?"\u672A\u9605":"\u5DF2\u9605",p.empNo=r.FK_Emp,p.empName=r.EmpName,r.AtPara){const J=(((ne=r.AtPara)==null?void 0:ne.split("@"))||[]).find(Fe=>Fe.includes("DeptName"));J&&(p.empDept=((ie=J==null?void 0:J.split("="))==null?void 0:ie[1])||"\u672A\u77E5")}p.RDT=r.RDT,p.SDT=r.SDT;const U=k().diff(p.RDT,"second");if(p.PassTime=ee(U),!p.SDT||p.SDT==="\u65E0")p.OverTimeLab="\u8FD8\u5269\u4F59",p.OverTime="\u65E0";else if(k().format("YYYY-MM-DD HH:mm:ss")>p.SDT){p.OverTimeLab="\u5DF2\u8D85\u65F6";const G=k().diff(p.SDT,"second");p.OverTime=ee(G)}else{p.OverTimeLab="\u8FD8\u5269\u4F59";const G=k(p.SDT).diff(new Date,"second");p.OverTime=ee(G)}f.push(p)}),D.MyPK="",D.nodeState="progress",D.ActionTypeText="\u7B49\u5F85\u5904\u7406",D.idx=I.value++,D.gwls=f,K.value.push(D)}ae.value.forEach(s=>te(this,null,function*(){let o=t.filter(f=>f[C.FK_Node]==s[Q.NodeID]);if(o=o.map(f=>Object.assign(f,{type:"\u5904\u7406\u4EBA",EmpName:f[C.EmpName]})),Array.isArray(o)&&o.length>0){let f=i.filter(r=>r[_.NodeIDWork]==s[Q.NodeID]);f=f.map(r=>Object.assign(r,{type:"\u6284\u9001\u4EBA",EmpName:r[_.CCToName]}));const D={};D.nodeState="waiting",D.idx=I.value++,D.NodeName=s[Q.Name],D.Accpers=o,D.CCList=f,K.value.push(D)}else{const f={};f.nodeState="waiting",f.idx=I.value++,f.NodeName=s[Q.Name],f.Accpers=[],f.CCList=[],f.NodeType=s.NodeType,K.value.push(f)}}))},fe=()=>{K.value.forEach(t=>{if(t.nodeState=="finished"){if(t.NodeName){const e={};e.MyPk=t.idx.toString()+"nodeInfo",e.icon="ant-design:check-circle-outlined",e.iconStyle="font-size: 32px; margin: 5px",e.nodeState=t.nodeState,e.nodeType=T.flowNode,e.lable=t.NodeName,e.actionTypeText=t.ActionTypeText,e.actionIconUrl=se(t.ActionType),e.RDT=t.RDT,S.value.push(e)}if(t.EmpName){const e={};e.MyPk=t.idx.toString()+"gwlNode",e.icon="octicon:circle-24",e.iconStyle="",e.nodeState=t.nodeState,e.nodeType=T.gwlNode,e.empNo=t.EmpFrom,e.empName=t.EmpName,e.empDept=t.EmpDept,e.empIcon=j+t.EmpFrom+".png",S.value.push(e)}if(t.ToNodeName){const e={};e.MyPk=t.idx.toString()+"toNode",e.icon="octicon:circle-24",e.iconStyle="",e.nodeState=t.nodeState,e.nodeType=T.toNode,e.ToNodeLab=t.ToNodeLab,e.ToNodeName=t.ToNodeName,e.ToEmpLab=t.ToEmpLab,e.ToEmpName=t.ToEmpName,S.value.push(e)}if(t.Msg!="\u65E0"&&t.Msg!=null){const e={};e.MyPk=t.idx.toString()+"msgNode",e.icon="octicon:circle-24",e.iconStyle="",e.nodeState=t.nodeState,e.nodeType=T.msgNode,e.msgLab=t.MsgLab,e.msg=t.Msg,S.value.push(e)}if(t.IsOpenFrm){const e={};e.MyPk=t.idx.toString()+"frmNode",e.icon="octicon:circle-24",e.iconStyle="",e.nodeState=t.nodeState,e.nodeType=T.frmNode,e.frmParams={WorkID:t.WorkID,FK_Flow:t.FK_Flow.toString(),NodeID:t.NDFrom},S.value.push(e)}if(Array.isArray(t.CCList)&&t.CCList.length>0){const e={};e.MyPk=t.idx.toString()+"ccNode",e.icon="octicon:circle-24",e.iconStyle="",e.nodeState=t.nodeState,e.nodeType=T.ccNode,e.cclist=t.CCList,S.value.push(e)}}else if(t.nodeState=="progress"){if(t.NodeName){const e={};e.MyPk=t.idx.toString()+"nodeInfo",e.icon="ant-design:check-circle-filled",e.iconStyle="font-size: 32px; margin: 5px",e.nodeState=t.nodeState,e.nodeType=T.flowNode,e.lable=t.NodeName,e.actionTypeText=t.ActionTypeText,e.actionIconUrl=se(t.ActionType),S.value.push(e)}Array.isArray(t.gwls)&&t.gwls.length>0&&t.gwls.forEach((e,i)=>{const l={};l.MyPk=t.idx.toString()+"gwlNode"+i.toString(),l.icon="cib:discover",l.iconStyle="",l.nodeState=t.nodeState,l.nodeType=T.gwlNode,l.empNo=e.empNo,l.empIcon=j+e.empNo+".png",l.empName=e.empName,l.empDept=e.empDept,l.RDT=e.RDT,l.SDT=e.SDT,l.PassTime=e.PassTime,l.OverTimeLab=e.OverTimeLab,l.OverTime=e.OverTime,l.isRead=e.isRead,l.isReadText=e.isReadText,S.value.push(l)})}else if(t.nodeState=="waiting"){if(t.NodeName){const e={};e.MyPk=t.idx.toString()+"nodeInfo",e.icon=(t.idx+1).toString(),e.iconStyle="",e.nodeState=t.nodeState,e.nodeType=T.flowNode,e.lable=t.NodeName,e.actionTypeText=t.ActionTypeText||"\u672A\u7ECF\u8FC7",e.actionIconUrl=se(t.ActionType),S.value.push(e)}if(Array.isArray(t.Accpers)&&t.Accpers.length>0){const e={};e.MyPk=t.idx.toString()+"accpersNode",e.icon="octicon:circle-24",e.iconStyle="color:rgba(0, 0, 0, 0.25)",e.nodeState=t.nodeState,e.nodeType=T.accpersNode,e.Accpers=t.Accpers,S.value.push(e)}if(Array.isArray(t.CCList)&&t.CCList.length>0){const e={};e.MyPk=t.idx.toString()+"ccNode",e.icon="octicon:circle-24",e.iconStyle="color:rgba(0, 0, 0, 0.25)",e.nodeState=t.nodeState,e.nodeType=T.ccNode,e.cclist=t.CCList,S.value.push(e)}}});const y={};y.MyPk="endNode",y.icon="bi:stop-circle",y.iconStyle="font-size: 32px; margin: 5px;color:rgba(0, 0, 0, 0.25)",y.nodeType=T.endNode,y.actionTypeText="\u6D41\u7A0B\u7ED3\u675F",S.value.push(y)},ge=y=>({"custom-timeline":y.nodeType===0}),ee=y=>{const t=M(parseInt(y)),e=M(0),i=M(0),l=M(0),P=t.value<0;P==!0&&(t.value=Math.abs(t.value)),t.value>60&&(e.value=parseInt(t.value/60),t.value=parseInt(t.value%60),e.value>60&&(i.value=parseInt(e.value/60),e.value=parseInt(e.value%60)),i.value>24&&(l.value=parseInt(i.value/24),i.value=parseInt(i.value%24)));let b=""+parseInt(t.value)+"\u79D2";return e.value>0&&(b=""+parseInt(e.value)+"\u5206"+b),i.value>0&&(b=""+parseInt(i.value)+"\u5C0F\u65F6"+b),l.value>0&&(b=""+parseInt(l.value)+"\u5929"+b),P==!0&&(b="-"+b),b},_e=y=>{x.visiable=!0,x.component=Pe(Z("/@/WF/Frm.vue")),x.params=le(ue({},y),{isComponent:!0,fieldIsReadonly:!0,isReadonly:!0})},oe=()=>{x.visiable=!1};return ye(),(y,t)=>(n(),B(a(Be),{spinning:W.value},{default:m(()=>[R.hasError?(n(),d("div",Ge,u(R.tips),1)):g("",!0),N("div",Je,[c(a(He),{mode:"left"},{default:m(()=>[(n(!0),d($,null,q(S.value,e=>(n(),B(a(Ie),{key:e.MyPk,class:we(ge(e))},{dot:m(()=>[e.nodeState=="waiting"&&e.nodeType==a(T).flowNode?(n(),d("div",$e,[c(a(z),{icon:"octicon:circle-24",class:"circle"}),N("div",qe,[N("span",null,u(e.icon),1)])])):(n(),B(a(z),{key:1,icon:e.icon,style:Ce(e.iconStyle)},null,8,["icon","style"]))]),label:m(()=>[e.nodeType==a(T).flowNode&&e.nodeState!="waiting"?(n(),d("div",Qe,u(e.lable),1)):g("",!0),e.nodeType==a(T).flowNode&&e.nodeState=="waiting"?(n(),d("div",Xe,u(e.lable),1)):g("",!0),e.nodeType==a(T).gwlNode?(n(),d("div",Ze,[N("div",eo,[N("div",oo,[N("img",{src:e.empIcon,onError:V,width:30},null,40,to)]),c(a(H),{style:{width:"100px","word-wrap":"none","text-align":"center",display:"block"},ellipsis:{tooltip:e.empName},content:e.empName},null,8,["ellipsis","content"]),c(a(H),{style:{width:"100px","word-wrap":"none","text-align":"center",display:"block"},ellipsis:{tooltip:e.empDept},content:e.empDept},null,8,["ellipsis","content"])])])):g("",!0)]),default:m(()=>[e.nodeState=="finished"?(n(),d("div",so,[e.nodeType==a(T).flowNode?(n(),d("div",ao,[c(a(h),null,{default:m(()=>[c(a(X),{span:2},{default:m(()=>[N("img",{src:e.actionIconUrl,style:{height:"30px",width:"30px"}},null,8,no)]),_:2},1024),c(a(X),{span:20},{default:m(()=>[N("div",io,u(e.actionTypeText),1)]),_:2},1024)]),_:2},1024),c(a(h),null,{default:m(()=>[N("div",null,u(e.RDT),1)]),_:2},1024)])):g("",!0),e.nodeType==a(T).gwlNode?(n(),d("div",ro)):g("",!0),e.nodeType==a(T).toNode?(n(),d("div",po,[c(a(h),null,{default:m(()=>[N("span",null,u(e.ToNodeLab)+u("\uFF1A"),1),N("span",uo,u(e.ToNodeName),1)]),_:2},1024),c(a(h),null,{default:m(()=>[N("span",null,u(e.ToEmpLab)+u("\uFF1A"),1),N("span",lo,u(e.ToEmpName),1)]),_:2},1024)])):g("",!0),e.nodeType==a(T).msgNode?(n(),d("div",co,[c(a(h),null,{default:m(()=>[N("span",null,u(e.msgLab)+u("\uFF1A"),1),N("span",mo,u(e.msg),1)]),_:2},1024)])):g("",!0),e.nodeType==a(T).frmNode?(n(),d("div",To,[N("a",{onClick:i=>_e(e.frmParams)},"\u67E5\u770B\u8868\u5355",8,yo)])):g("",!0),e.nodeType==a(T).ccNode?(n(),d("div",No,[c(a(h),null,{default:m(()=>[L(u("\u6284\u9001\u7ED9\uFF1A"))]),_:1}),(n(!0),d($,null,q(e.cclist,(i,l)=>(n(),B(a(h),{key:l,style:{"align-items":"center",height:"25px"}},{default:m(()=>[c(a(z),{icon:"entypo:dot-single"}),c(a(H),{style:{width:"100px","margin-right":"10px"},ellipsis:{tooltip:i[a(_).CCToName]+"/"+i[a(_).DeptName]},content:i[a(_).CCToName]+"/"+i[a(_).DeptName]},null,8,["ellipsis","content"]),i[a(_).Sta]==1||i[a(_).Sta]==2?(n(),d("div",fo,u(i[a(_).StaText]),1)):i[a(_).Sta]==3?(n(),d("div",go,u(i[a(_).StaText]),1)):(n(),d("div",_o,u(i[a(_).StaText]),1)),N("div",null,u(i[a(_).ReadDT]),1)]),_:2},1024))),128))])):g("",!0),e.nodeType==a(T).subFlowNode?(n(),d("div",ho,Do)):g("",!0)])):e.nodeState=="progress"?(n(),d("div",vo,[e.nodeType==a(T).flowNode?(n(),d("div",Eo,[c(a(h),null,{default:m(()=>[c(a(X),{span:2},{default:m(()=>[N("img",{src:e.actionIconUrl,style:{height:"30px",width:"30px"}},null,8,xo)]),_:2},1024),c(a(X),{span:20},{default:m(()=>[N("div",Ao,u(e.actionTypeText),1)]),_:2},1024)]),_:2},1024)])):g("",!0),e.nodeType==a(T).gwlNode?(n(),d("div",bo,[c(a(h),null,{default:m(()=>[L(u("\u5DE5\u4F5C\u5230\u8FBE\u65E5\u671F\uFF1A")+u(e.RDT),1)]),_:2},1024),c(a(h),null,{default:m(()=>[L(u("\u5DE5\u4F5C\u5E94\u5B8C\u6210\u65E5\u671F\uFF1A")+u(e.SDT),1)]),_:2},1024),c(a(h),null,{default:m(()=>[L(u("\u5DF2\u8017\u65F6\uFF1A")),N("div",So,u(e.PassTime),1)]),_:2},1024),c(a(h),null,{default:m(()=>[L(u(e.OverTimeLab+"\uFF1A")+" ",1),e.OverTimeLab=="\u8FD8\u5269\u4F59"?(n(),d("div",wo,u(e.OverTime),1)):e.OverTimeLab=="\u5DF2\u8D85\u65F6"?(n(),d("div",Co,u(e.OverTime),1)):g("",!0)]),_:2},1024),c(a(h),null,{default:m(()=>[e.isRead==1?(n(),B(a(me),{key:0,style:{"background-color":"green",color:"white",border:"0"}},{default:m(()=>[L(u(e.isReadText),1)]),_:2},1024)):e.isRead==0?(n(),B(a(me),{key:1,style:{"background-color":"#108ee9",color:"white",border:"0"}},{default:m(()=>[L(u(e.isReadText),1)]),_:2},1024)):g("",!0)]),_:2},1024)])):g("",!0)])):e.nodeState=="waiting"?(n(),d("div",Mo,[e.nodeType==a(T).flowNode?(n(),d("div",Bo,[c(a(h),null,{default:m(()=>[N("div",Lo,u(e.actionTypeText),1)]),_:2},1024)])):g("",!0),e.nodeType==a(T).accpersNode?(n(),d("div",Ro,[c(a(h),{style:{width:"100%"}},{default:m(()=>[L(u("\u5904\u7406\u4EBA\uFF1A")+" "),Array.isArray(e.Accpers)&&e.Accpers.length==1?(n(),d("div",Po,[c(a(H),{style:{width:"90%","margin-right":"10px",color:"rgba(0, 0, 0, 0.45)"},ellipsis:{tooltip:e.Accpers[0][a(C).EmpName]+"/"+e.Accpers[0][a(C).DeptName]},content:e.Accpers[0][a(C).EmpName]+"/"+e.Accpers[0][a(C).DeptName]},null,8,["ellipsis","content"])])):g("",!0)]),_:2},1024),e.Accpers.length>1?(n(!0),d($,{key:0},q(e.Accpers,(i,l)=>(n(),B(a(h),{key:l,style:{"align-items":"center",height:"25px"}},{default:m(()=>[c(a(z),{icon:"entypo:dot-single"}),c(a(H),{style:{width:"90%","margin-right":"10px",color:"rgba(0, 0, 0, 0.45)"},ellipsis:{tooltip:i[a(C).EmpName]+"/"+i[a(C).DeptName]},content:i[a(C).EmpName]+"/"+i[a(C).DeptName]},null,8,["ellipsis","content"])]),_:2},1024))),128)):g("",!0)])):g("",!0),e.nodeType==a(T).ccNode?(n(),d("div",Oo,[c(a(h),null,{default:m(()=>[L(u("\u6284\u9001\u7ED9\uFF1A"))]),_:1}),(n(!0),d($,null,q(e.cclist,(i,l)=>(n(),B(a(h),{key:l,style:{"align-items":"center",height:"25px"}},{default:m(()=>[c(a(z),{icon:"entypo:dot-single"}),c(a(H),{style:{width:"90%","margin-right":"10px",color:"rgba(0, 0, 0, 0.45)"},ellipsis:{tooltip:i[a(_).CCToName]+"/"+i[a(_).DeptName]},content:i[a(_).CCToName]+"/"+i[a(_).DeptName]},null,8,["ellipsis","content"])]),_:2},1024))),128))])):g("",!0)])):e.nodeType?(n(),d("div",Wo,[N("div",Ko,u(e.actionTypeText),1)])):g("",!0)]),_:2},1032,["class"]))),128))]),_:1}),c(a(Ue),{visible:x.visiable,title:"\u67E5\u770B\u8868\u5355",width:x.width,onOk:oe,onCancel:oe,onClose:oe},{default:m(()=>[(n(),B(Me(x.component),{params:x.params},null,8,["params"]))]),_:1},8,["visible","width"])])]),_:1},8,["spinning"]))}});const At=ke(ko,[["__scopeId","data-v-87759987"]]);export{At as default};