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
2.5 KiB
JavaScript

import{P as d}from"./index-BOexY1T-.js";import{u,_ as f}from"./useTable--thsDsLA.js";import{_}from"./index-B4wZYO02.js";import{u as g}from"./useRender-BJHJeiBI.js";import{D as h}from"./dictEnum-DeC8h6ZR.js";import{o as I}from"./index-BkzFoE48.js";import{u as b,I as x}from"./entry/index-CwTXVJ2d-1723001953242.js";import{d as y,_ as r,a8 as s,a9 as m,k,u as e,ac as C}from"./vue-aEZWZQSa.js";import"./useContentViewHeight-C-BEyhbS.js";import"./useWindowSizeFn-C93ItSr2.js";import"./antd-BY-1PcYE.js";import"./onMountedOrActivated-BIJ0U1R1.js";import"./useForm-Ca7JThS8.js";import"./FormItem.vue_vue_type_script_lang-DhGC9etS.js";import"./componentMap-S705cJLS.js";import"./RadioButtonGroup.vue_vue_type_script_setup_true_lang-Cx2YeHC7.js";import"./copyTextToClipboard-BBFF3Y3I.js";import"./index-DVEqH4Di.js";import"./style-DTWqfx8n.js";import"./helper-BPjqq6ZQ.js";import"./BasicForm.vue_vue_type_style_index_0_lang-D34fDasZ.js";import"./sortable.esm-CnNXHMH-.js";import"./useSortable-BAwH_r98.js";import"./download-Da_OLLnH.js";import"./useLoading-B4X4QuoY.js";import"./index-4SGburFo.js";import"./dict-yGEj6H2j.js";const{renderTag:w,renderDict:S}=g(),T=[{dataIndex:"processDefinitionName",title:"流程名称"},{dataIndex:"processDefinitionKey",title:"流程KEY"},{dataIndex:"name",title:"任务名称"},{dataIndex:"assigneeName",title:"办理人",customRender({value:t}){return w(t)}},{dataIndex:"businessStatus",title:"流程状态",customRender({value:t}){return S(t,h.WF_BUSINESS_STATUS)}},{dataIndex:"startTime",title:"创建时间"}],D=[{field:"name",label:"任务名称",component:"Input"},{field:"processDefinitionName",label:"流程名称",component:"Input"},{field:"processDefinitionKey",label:"流程KEY",component:"Input"}],te=y({__name:"taskFinish",setup(t){const[p]=u({rowSelection:{type:"checkbox"},title:"我的已办列表",showIndexColumn:!1,api:I,rowKey:"id",useSearchForm:!0,formConfig:{schemas:D,name:"taskFinish",baseColProps:{xs:24,sm:24,md:24,lg:6},labelWidth:80},columns:T,actionColumn:{width:150,title:"操作",key:"action",fixed:"right"}}),c=b();function l(o){const i=o.wfNodeConfigVo.wfFormManageVo.router;c({path:i,query:{id:o.businessKey,type:"preview"}})}return(o,i)=>(r(),s(e(d),{dense:""},{default:m(()=>[k(e(f),{onRegister:e(p)},{bodyCell:m(({column:n,record:a})=>[n&&a&&n.key==="action"?(r(),s(e(_),{key:0,stopButtonPropagation:"",actions:[{label:"审批记录",icon:e(x).PREVIEW,onClick:l.bind(null,a)}]},null,8,["actions"])):C("",!0)]),_:1},8,["onRegister"])]),_:1}))}});export{te as default};