You cannot 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.3 KiB
JavaScript

import{u as s}from"./useRender-4sNWTYKY.js";import{D as c}from"./dictEnum-DeC8h6ZR.js";import{k as m,i as l}from"./vue-aEZWZQSa.js";import{T as p}from"./antd-BY-1PcYE.js";import"./index-x8RddcFV.js";import"./entry/index-2-yrRtrk-1723018314898.js";import"./useWindowSizeFn-B-EvmDAM.js";import"./dict-soaxCSmk.js";function d(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!l(e)}const{renderTag:o,renderDict:u}=s(),g=[{dataIndex:"processDefinitionName",title:"流程名称"},{dataIndex:"processDefinitionKey",title:"流程KEY"},{dataIndex:"name",title:"任务名称"},{dataIndex:"assigneeName",title:"办理人",customRender({record:e}){let n;const{participantVo:i}=e;if(!i)return o("未选择","red");const{candidateName:t=[]}=i;if(t.length===1)return o(t[0]);const r=t.join(","),a=t[t.length-1];return m(p,{placement:"top",title:r},d(n=o(a))?n:{default:()=>[n]})}},{dataIndex:"businessStatus",title:"流程状态",customRender({value:e}){return u(e,c.WF_BUSINESS_STATUS)}},{dataIndex:"createTime",title:"创建时间"}],j=[{field:"name",label:"任务名称",component:"Input"},{field:"processDefinitionName",label:"流程名称",component:"Input"},{field:"processDefinitionKey",label:"流程KEY",component:"Input"}];export{g as columns,j as schemas};