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.4 KiB
JavaScript

import{P as u}from"./index-D4Z9ODzF.js";import{u as d,_ as f}from"./useTable-BYZpzJPm.js";import{_}from"./index-BRqXDmQx.js";import{u as g}from"./useRender-DwBE0jb3.js";import{D as y}from"./dictEnum-DeC8h6ZR.js";import{n as b}from"./index-2whCcYrW.js";import{u as C,I}from"./entry/index-CT2bBVPU-1724922878694.js";import{d as x,_ as a,a8 as s,a9 as m,k as h,u as e,ac as k}from"./vue-aEZWZQSa.js";import"./useContentViewHeight-CLqhWZ1e.js";import"./useWindowSizeFn-BWwSyuoE.js";import"./antd-BY-1PcYE.js";import"./onMountedOrActivated-BIJ0U1R1.js";import"./useForm-koea_hsc.js";import"./FormItem.vue_vue_type_script_lang-fyvFSOLP.js";import"./componentMap-CWMsMsGY.js";import"./RadioButtonGroup.vue_vue_type_script_setup_true_lang-RC179q1_.js";import"./copyTextToClipboard-BBFF3Y3I.js";import"./index-COQSZY7c.js";import"./style-Cslz80qp.js";import"./helper-BqaPddWo.js";import"./BasicForm.vue_vue_type_style_index_0_lang-CUDTou-T.js";import"./sortable.esm-CnNXHMH-.js";import"./useSortable-CKONboZ0.js";import"./download-Dzju1Gbo.js";import"./useLoading-CR9OIhwN.js";import"./index-C4J1QZTF.js";import"./dict-CrNwQRtO.js";const{renderTag:w,renderDict:S}=g(),D=[{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,y.WF_BUSINESS_STATUS)}}],E=[{field:"name",label:"任务名称",component:"Input"},{field:"processDefinitionName",label:"流程名称",component:"Input"},{field:"processDefinitionKey",label:"流程KEY",component:"Input"}],te=x({__name:"taskCopyList",setup(t){const[p]=d({rowSelection:{type:"checkbox"},title:"我的抄送列表",showIndexColumn:!1,api:b,rowKey:"id",useSearchForm:!0,formConfig:{schemas:E,name:"taskCopyList",baseColProps:{xs:24,sm:24,md:24,lg:6},labelWidth:80},columns:D,actionColumn:{width:150,title:"操作",key:"action",fixed:"right"}}),c=C();function l(o){const i=o.wfNodeConfigVo.wfFormManageVo.router;c({path:i,query:{id:o.businessKey,type:"preview"}})}return(o,i)=>(a(),s(e(u),{dense:""},{default:m(()=>[h(e(f),{onRegister:e(p)},{bodyCell:m(({column:n,record:r})=>[n&&r&&n.key==="action"?(a(),s(e(_),{key:0,stopButtonPropagation:"",actions:[{label:"审批记录",icon:e(I).PREVIEW,onClick:l.bind(null,r)}]},null,8,["actions"])):k("",!0)]),_:1},8,["onRegister"])]),_:1}))}});export{te as default};