import r from"./todoList.d016669a.js";import{d as c,y as p,b as n,Z as t,e as d,G as i}from"./index.149277cd.js";import"./useExportExc.c4f93108.js";const l=c({name:"initiatedByMe"}),g=Object.assign(l,{setup(u){const a=p(),s=n([{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:100,render:e=>[t("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":""]}),t("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.processStatusName)]},{label:"\u53D1\u8D77\u65F6\u95F4",key:"processLaunchTime",prop:"processLaunchTime",width:180},{label:"\u64CD\u4F5C",slot:"action",width:70,fixed:"right"}]),o=e=>{a.push({name:"initiatedByMeDetail",query:{instanceId:e.instCode,projectId:e.projectId,nodeId:e.nodeId,taskId:e.taskId}})};return(e,m)=>(d(),i(r,{column:s,state:"3","export-data":["projectName","buildOrgName","declareAmount","projectYear","processStatusName","processLaunchTime"],onToHandle:o},null,8,["column"]))}});export{g as default};