|
- import r from"./todoList.b3883276.js";import{d as p,A as c,b as n,a0 as t,e as d,I as l}from"./index.32e76bb0.js";import"./useExportExc.145dbc5b.js";const m=p({name:"haveHandled"}),g=Object.assign(m,{setup(i){const a=c(),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",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=>[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":"bg-info"]}),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":"text-info"},`${e.nodeName?`${e.nodeName}-`:""}${e.processStatusName}`)]},{label:"\u521B\u5EFA\u65F6\u95F4",key:"processLaunchTime",prop:"processLaunchTime",width:180},{label:"\u5904\u7406\u65F6\u95F4",key:"processHandleTime",prop:"processHandleTime",width:180},{label:"\u64CD\u4F5C",slot:"action",width:70,fixed:"right"}]),o=e=>{a.push({name:"haveHandledDetail",query:{instanceId:e.instCode,projectId:e.projectId,nodeId:e.nodeId,taskId:e.taskId}})};return(e,u)=>(d(),l(r,{column:s,state:"2","export-data":["projectName","buildOrgName","declareAmount","projectYear","processStatusName","processLaunchTime","processHandleTime"],onToHandle:o},null,8,["column"]))}});export{g as default};
|