text: import{_ as e}from"./TableImg.4999f0f8.js";import"./useForm.6952a806.js";import{u as s}from"./useTable.56e0200e.js";import{P as o}from"./index.55f1fb99.js";import{y as a,aX as t,b6 as r,am as n,bn as i,c3 as m,bk as d,Z as p,B as c,F as f,a1 as u,v as j,a8 as b,J as l}from"./vendor.3dc066e5.js";/* empty css              *//* empty css              *//* empty css              *//* empty css              *//* empty css              *//* empty css              */import{haveDownTableSchema as x,searchFormSchema as h}from"./data.967d8bb0.js";import g from"./ProcessHeader.5bab29be.js";import w from"./LaunchButton.544e0d2e.js";import{b as v,h as I}from"./process.99e51905.js";/* empty css              */import"./index.f77a0916.js";/* empty css              *//* empty css              *//* empty css              */import"./useWindowSizeFn.308e6090.js";import"./index.f892cb46.js";import"./onMountedOrActivated.c01d8630.js";import"./useSortable.121e2df4.js";/* empty css              *//* empty css              */import"./index.d12a2c0f.js";import"./download.36d5ff94.js";import"./index.932a5062.js";/* empty css              *//* empty css              */import"./useContentViewHeight.0ff5ff24.js";var B=a({components:{BasicTable:e,ProcessHeader:g,LaunchButton:w,PageWrapper:o,[t.name]:t,[r.name]:r,AEmpty:n,[i.name]:i,[i.Item.name]:i.Item,[m.name]:m,[m.Step.name]:m.Step,[d.name]:d,[d.TabPane.name]:d.TabPane},setup(){const[e,{getForm:o}]=s({api:v,title:"",columns:x,formConfig:{labelWidth:120,schemas:h,showAdvancedButton:!1,showResetButton:!1,autoSubmitOnEnter:!0},useSearchForm:!0,pagination:!0,showIndexColumn:!0,canResize:!1});return I().then((e=>{const{updateSchema:s}=o();s({field:"appSn",componentProps:{options:e}})})),{registerHaveDownTable:e}}});const P={class:"m-1 desc-wrap process"};B.render=function(e,s,o,a,t,r){const n=p("launch-button"),i=p("process-header"),m=p("router-link"),d=p("BasicTable"),x=p("PageWrapper");return c(),f(x,{title:"流程中心",contentBackground:"",class:"!mt-4"},{extra:u((()=>[j(n)])),footer:u((()=>[j(i,{current:"have-down"})])),default:u((()=>[j("div",P,[j(d,{onRegister:e.registerHaveDownTable},{nameRender:u((({record:e})=>[j(m,{to:`/process/view/${e.processDefinitionKey}?taskId=${e.taskId}&procInstId=${e.processInstanceId}&businessKey=${e.businessKey}`},{default:u((()=>[b(l(e.formName),1)])),_:2},1032,["to"])])),_:1},8,["onRegister"])])])),_:1})};export default B;
  