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-DUrcXr1R.js";import{u,_ as f}from"./useTable-Bbyr2JHM.js";import{_}from"./index-BYFe0x3M.js";import{u as g}from"./useRender-CuBarcLn.js";import{D as h}from"./dictEnum-DeC8h6ZR.js";import{o as I}from"./index-DcJ6M4lz.js";import{u as b,I as x}from"./entry/index-CruxN-Hs-1723019140439.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-DllDxCXH.js";import"./useWindowSizeFn--jCT5E3A.js";import"./antd-BY-1PcYE.js";import"./onMountedOrActivated-BIJ0U1R1.js";import"./useForm-CdUGloRq.js";import"./FormItem.vue_vue_type_script_lang-B_ueKfdL.js";import"./componentMap-uxp1OCze.js";import"./RadioButtonGroup.vue_vue_type_script_setup_true_lang-D6-xDLMZ.js";import"./copyTextToClipboard-BBFF3Y3I.js";import"./index-B6biQger.js";import"./style-Bwlk8Loa.js";import"./helper-CuUont7-.js";import"./BasicForm.vue_vue_type_style_index_0_lang-C-Cj0P69.js";import"./sortable.esm-CnNXHMH-.js";import"./useSortable-CSRkxIlp.js";import"./download-BageIVpd.js";import"./useLoading-C0EEZ3ab.js";import"./index-VnRLIvr7.js";import"./dict-B_9qLt7l.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};