import n from"./todoList.1b6b32b5.js";import{d as c,A as d,b as r,a0 as a,e as p,I as l}from"./index.5bb861d3.js";import"./useExportExc.e58dcd47.js";const u=c({name:"waitMeToHandle"}),I=Object.assign(u,{setup(i){const t=d(),s=r([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u9879\u76EE\u540D\u79F0",key:"projectName",prop:"projectName",minWidth:"200",showOverflowTooltip:!0},{label:"\u7533\u62A5\u5355\u4F4D",key:"buildOrg",prop:"buildOrg",minWidth:"200",showOverflowTooltip:!0},{label:"\u7533\u62A5\u91D1\u989D\uFF08\u4E07\u5143\uFF09",key:"declaredAmount",prop:"declaredAmount",width:140},{label:"\u9884\u7B97\u5E74\u5EA6",key:"projectYear",prop:"projectYear",width:100},{label:"\u6D41\u7A0B\u72B6\u6001",key:"processStatusName",prop:"processStatusName",width:180,render:e=>[a("span",{class:["dot mr-4",e.processStatusName==="\u5BA1\u6838\u4E2D"?"bg-warning":e.processStatusName==="\u5BA1\u6838\u901A\u8FC7"?"bg-success":e.processStatusName==="\u88AB\u9000\u56DE"||e.processStatusName==="\u88AB\u9A73\u56DE"?"bg-danger":""]}),a("span",{class:e.processStatusName==="\u5BA1\u6838\u4E2D"?"text-warning":e.processStatusName==="\u5BA1\u6838\u901A\u8FC7"?"text-success":e.processStatusName==="\u88AB\u9000\u56DE"||e.processStatusName==="\u88AB\u9A73\u56DE"?"text-danger":""},`${e.nodeName?`${e.nodeName}-`:""}${e.processStatusName}`)]},{label:"\u53D1\u8D77\u65F6\u95F4",key:"processLaunchTime",prop:"processLaunchTime",width:180},{label:"\u64CD\u4F5C",slot:"action",width:70,fixed:"right"}]),o=e=>{e.processStatusName!=="\u88AB\u9000\u56DE"?t.push({name:"handleDuringExamine",query:{instanceId:e.instCode,projectId:e.projectId,nodeId:e.nodeId,taskId:e.taskId}}):t.push({name:"handleAfterGiveBack",query:{id:e.projectId,instanceId:e.instCode,nodeId:e.nodeId,taskId:e.taskId}})};return(e,m)=>(p(),l(n,{column:s,state:"1","export-data":["projectName","buildOrgName","declareAmount","projectYear","processStatusName","processLaunchTime"],onToHandle:o},null,8,["column"]))}});export{I as default};
