import{P as d}from"./index-CnbNoayZ.js";import{u,_ as f}from"./useTable-CUkvZ0go.js";import{_}from"./index-DVy1eUzr.js";import{u as g}from"./useRender-C6_44OXE.js";import{D as h}from"./dictEnum-DeC8h6ZR.js";import{o as I}from"./index-CAYHmA45.js";import{u as b,I as x}from"./entry/index-C2Ijy48E-1723706691540.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-BBd42TOY.js";import"./useWindowSizeFn-CjdUjzGl.js";import"./antd-BY-1PcYE.js";import"./onMountedOrActivated-BIJ0U1R1.js";import"./useForm-fILnWqWp.js";import"./FormItem.vue_vue_type_script_lang-CKJUw6EQ.js";import"./componentMap-zBHKqdNc.js";import"./RadioButtonGroup.vue_vue_type_script_setup_true_lang-CVQ-sEzT.js";import"./copyTextToClipboard-BBFF3Y3I.js";import"./index-fya05jI8.js";import"./style-apcQnL4e.js";import"./helper-D0Efh3UP.js";import"./BasicForm.vue_vue_type_style_index_0_lang-D499EpF5.js";import"./sortable.esm-CnNXHMH-.js";import"./useSortable-Bra4jKJL.js";import"./download-Cu3oizbN.js";import"./useLoading-C2GeNIUj.js";import"./index-JkNHdZh2.js";import"./dict-1X4Pwk-Z.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};