text: import{_ as e}from"./TableImg.a511f9b3.js";import"./useForm.aaf83584.js";import{u as s}from"./useTable.0d7aec25.js";import{_ as a}from"./PageWrapper.df7b7946.js";import{k as t,aT as n,bm as o,af as r,bi as i,b_ as d,bd as m,bg as c,ad as p,K as u,o as f,n as l,P as b,q as j,X as g,s as x,S as h,ag as v,a$ as P,W as I}from"./vendor.d660e98f.js";/* empty css              *//* empty css              *//* empty css              *//* empty css              *//* empty css              *//* empty css              *//* empty css              */import{launchedTableSchema as T,searchFormSchema as S}from"./data.cd8f3a34.js";import w from"./ProcessHeader.7871e642.js";import _ from"./LaunchButton.0e2449c1.js";import{i as y,h as A}from"./process.c572ca0f.js";/* empty css              */import"./index.ee676e78.js";/* empty css              *//* empty css              */import"./useWindowSizeFn.4f1b8c18.js";import"./useModal.47c80e94.js";import"./onMountedOrActivated.a3bdff8d.js";import"./useSortable.9da73453.js";/* empty css              */import"./CountdownInput.8522e4d7.js";import"./download.d883da4b.js";import"./StrengthMeter.30de6605.js";import"./usePageContext.741f964f.js";/* empty css              *//* empty css              *//* empty css              */var B=t({components:{BasicTable:e,ProcessHeader:w,LaunchButton:_,PageWrapper:a,[n.name]:n,[o.name]:o,AEmpty:r,[i.name]:i,[i.Item.name]:i.Item,[d.name]:d,[d.Step.name]:d.Step,[m.name]:m,[m.TabPane.name]:m.TabPane,Tag:c,Popover:p},setup(){const[e,{getForm:a}]=s({api:y,title:"",columns:T,formConfig:{labelWidth:120,schemas:S,showAdvancedButton:!1,showResetButton:!1,autoSubmitOnEnter:!0},useSearchForm:!0,pagination:!0,showIndexColumn:!0,canResize:!1});return A().then((e=>{const{updateSchema:s}=a();s({field:"appSn",componentProps:{options:e}})})),{registerLaunchedTable:e}}});const k={class:"m-1 desc-wrap process"};B.render=function(e,s,a,t,n,o){const r=u("launch-button"),i=u("process-header"),d=u("router-link"),m=u("Tag"),c=u("Popover"),p=u("BasicTable"),T=u("PageWrapper");return f(),l(T,{title:"流程中心",contentBackground:"",class:"!mt-4"},{extra:b((()=>[j(r)])),footer:b((()=>[j(i,{current:"launched"})])),default:b((()=>[j("div",k,[j(p,{onRegister:e.registerLaunchedTable},{nameRender:b((({record:e})=>[j(d,{to:`/process/view/${e.processDefinitionKey}?taskId=${e.taskId||""}&procInstId=${e.processInstanceId}&businessKey=${e.businessKey}`},{default:b((()=>[g(x(e.formName),1)])),_:2},1032,["to"])])),currentAssigneesRender:b((({record:e})=>[e.currentAssignees&&e.currentAssignees.length>0?(f(!0),l(h,{key:0},v(e.currentAssignees,(e=>(f(),l(c,{title:"user"===e.type?"人员信息":"角色信息"},P({default:b((()=>[j(m,{color:"warning"},{default:b((()=>[g(x(e.name),1)])),_:2},1024)])),_:2},["user"===e.type?{name:"content",fn:b((()=>[j("div",null,"姓名："+x(e.name),1),j("div",null,"工号："+x(e.code),1),j("div",null,"手机："+x(e.mobile),1)]))}:{name:"content",fn:b((()=>[j("div",null,"名称："+x(e.name),1),j("div",null,"标识："+x(e.code),1)]))}]),1032,["title"])))),256)):I("",!0)])),_:1},8,["onRegister"])])])),_:1})};export default B;
  