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.

2 lines
1.7KB

  1. import r from"./todoList-74059707.js";import{y as c,a as p,$ as t,c as n,L as d,k as l}from"./index-dd5fae99.js";import"./useExportExc-f315048b.js";const m=l({name:"haveHandled"}),g=Object.assign(m,{setup(i){const a=c(),s=p([{label:"序号",type:"index",width:"80"},{label:"项目名称",key:"projectName",prop:"projectName",minWidth:"200",showOverflowTooltip:!0},{label:"申报单位",key:"buildOrg",prop:"buildOrg",minWidth:"200",showOverflowTooltip:!0},{label:"申报金额",key:"declaredAmount",prop:"declaredAmount",width:140},{label:"预算年度",key:"projectYear",prop:"projectYear",width:100},{label:"流程状态",key:"processStatusName",prop:"processStatusName",width:180,render:e=>[t("span",{class:["dot mr-4",e.processStatusName==="审核中"?"bg-warning":e.processStatusName==="审核通过"?"bg-success":e.processStatusName==="被退回"||e.processStatusName==="被驳回"?"bg-danger":"bg-info"]}),t("span",{class:e.processStatusName==="审核中"?"text-warning":e.processStatusName==="审核通过"?"text-success":e.processStatusName==="被退回"||e.processStatusName==="被驳回"?"text-danger":"text-info"},`${e.nodeName?`${e.nodeName}-`:""}${e.processStatusName}`)]},{label:"创建时间",key:"processLaunchTime",prop:"processLaunchTime",width:180},{label:"处理时间",key:"processHandleTime",prop:"processHandleTime",width:180},{label:"操作",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)=>(n(),d(r,{column:s,state:"2","export-data":["projectName","buildOrgName","declareAmount","projectYear","processStatusName","processLaunchTime","processHandleTime"],onToHandle:o},null,8,["column"]))}});export{g as default};