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-CxgHAlH4.js";import{u as d,_ as f}from"./useTable-Cd94Wh3e.js";import{_}from"./index-C74Cm-s2.js";import{u as g}from"./useRender-4sNWTYKY.js";import{D as y}from"./dictEnum-DeC8h6ZR.js";import{n as b}from"./index-BZQ-x4fz.js";import{u as C,I}from"./entry/index-2-yrRtrk-1723018314898.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-WGEU8y5x.js";import"./useWindowSizeFn-B-EvmDAM.js";import"./antd-BY-1PcYE.js";import"./onMountedOrActivated-BIJ0U1R1.js";import"./useForm-LE1nNjjX.js";import"./FormItem.vue_vue_type_script_lang-CVian0fA.js";import"./componentMap-V_hpsodh.js";import"./RadioButtonGroup.vue_vue_type_script_setup_true_lang-D3qGI2S_.js";import"./copyTextToClipboard-BBFF3Y3I.js";import"./index-CFoN8Rd1.js";import"./style-uL-203nC.js";import"./helper-CfgyYzyh.js";import"./BasicForm.vue_vue_type_style_index_0_lang-szaiWa_E.js";import"./sortable.esm-CnNXHMH-.js";import"./useSortable-CIg2I4zL.js";import"./download-dYo-2j8R.js";import"./useLoading-DkMJ65Y_.js";import"./index-x8RddcFV.js";import"./dict-soaxCSmk.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};