25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
1.8KB

  1. import c from"./todoList-74059707.js";import{y as n,a as r,$ as a,c as d,L as p,k as l}from"./index-dd5fae99.js";import"./useExportExc-f315048b.js";const u=l({name:"waitMeToHandle"}),k=Object.assign(u,{setup(i){const t=n(),s=r([{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=>[a("span",{class:["dot mr-4",e.processStatusName==="审核中"?"bg-warning":e.processStatusName==="审核通过"?"bg-success":e.processStatusName==="被退回"||e.processStatusName==="被驳回"?"bg-danger":""]}),a("span",{class:e.processStatusName==="审核中"?"text-warning":e.processStatusName==="审核通过"?"text-success":e.processStatusName==="被退回"||e.processStatusName==="被驳回"?"text-danger":""},`${e.nodeName?`${e.nodeName}-`:""}${e.processStatusName}`)]},{label:"发起时间",key:"processLaunchTime",prop:"processLaunchTime",width:180},{label:"操作",slot:"action",width:70,fixed:"right"}]),o=e=>{e.processStatusName!=="被退回"?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)=>(d(),p(c,{column:s,state:"1","export-data":["projectName","buildOrgName","declareAmount","projectYear","processStatusName","processLaunchTime"],onToHandle:o},null,8,["column"]))}});export{k as default};