1 |
- import{d as O,u as G,N as I,r as i,f as K,z as X,h as Y,S as H,o as _,c as J,i as l,w as t,D as N,a as e,j as s,k as C,t as w,m,l as U,R as b,ak as Q,F as W,K as Z,q as $,al as aa,L as ta,M as ea,__tla as la}from"./index-1e808f2e.js";import{_ as ra,__tla as oa}from"./Dialog-f44f9d78.js";import{_ as _a,__tla as na}from"./ContentWrap.vue_vue_type_script_setup_true_lang-cc335a20.js";import{_ as ia,__tla as sa}from"./index.vue_vue_type_script_setup_true_lang-571824c6.js";import{_ as ua,__tla as pa}from"./DictTag.vue_vue_type_script_lang-5c02ebfe.js";import{D as ma,__tla as ca}from"./dict-a31cb4ba.js";import{d as fa,__tla as da}from"./formatTime-a348c3be.js";import{j as ya,__tla as ha}from"./bpmn-embedded-fd00c79d.js";import{g as wa,a as ga,__tla as ka}from"./index-3c6e5ffc.js";import{b as va}from"./formCreate-a3356cdc.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as Ca}from"./el-card-03b3588b.js";import{__tla as ba}from"./index-73afebcf.js";import"./color-6e929987.js";import{__tla as Va}from"./XTextButton-c7a74f67.js";import{__tla as xa}from"./XTextButton.vue_vue_type_style_index_0_scoped_7561ab3f_lang-a71ee685.js";import{__tla as Pa}from"./XButton-5f4b0954.js";import{__tla as Sa}from"./el-collapse-item-e45787ff.js";import{__tla as Ta}from"./el-link-1faa17b5.js";import{__tla as qa}from"./useMessage-5f9e8917.js";import{__tla as Da}from"./el-drawer-6c08a2c2.js";let z,Na=Promise.all([(()=>{try{return la}catch{}})(),(()=>{try{return oa}catch{}})(),(()=>{try{return na}catch{}})(),(()=>{try{return sa}catch{}})(),(()=>{try{return pa}catch{}})(),(()=>{try{return ca}catch{}})(),(()=>{try{return da}catch{}})(),(()=>{try{return ha}catch{}})(),(()=>{try{return ka}catch{}})(),(()=>{try{return Ca}catch{}})(),(()=>{try{return ba}catch{}})(),(()=>{try{return Va}catch{}})(),(()=>{try{return xa}catch{}})(),(()=>{try{return Pa}catch{}})(),(()=>{try{return Sa}catch{}})(),(()=>{try{return Ta}catch{}})(),(()=>{try{return qa}catch{}})(),(()=>{try{return Da}catch{}})()]).then(async()=>{z=O({name:"BpmProcessDefinition",__name:"index",setup(Ua){const{push:V}=G(),{query:M}=I(),g=i(!0),x=i(0),P=i([]),u=K({pageNo:1,pageSize:10,key:M.key}),S=async()=>{g.value=!0;try{const n=await wa(u);P.value=n.list,x.value=n.total}finally{g.value=!1}},c=i(!1),k=i({rule:[],option:{}}),T=async n=>{n.formType==10?(va(k,n.formConf,n.formFields),c.value=!0):await V({path:n.formCustomCreatePath})},f=i(!1),p=i(null),q=i({prefix:"flowable"});return X(()=>{S()}),(n,r)=>{const o=Z,d=$,R=ua,y=aa,B=ta,L=ia,j=_a,A=Y("form-create"),D=ra,E=H("hasPermi"),F=ea;return _(),J(W,null,[l(j,null,{default:t(()=>[N((_(),s(B,{data:e(P)},{default:t(()=>[l(o,{label:"\u5B9A\u4E49\u7F16\u53F7",align:"center",prop:"id",width:"400"}),l(o,{label:"\u6D41\u7A0B\u540D\u79F0",align:"center",prop:"name",width:"200"},{default:t(a=>[l(d,{type:"primary",link:"",onClick:v=>(async h=>{p.value=await ga(h.id),f.value=!0})(a.row)},{default:t(()=>[C("span",null,w(a.row.name),1)]),_:2},1032,["onClick"])]),_:1}),l(o,{label:"\u5B9A\u4E49\u5206\u7C7B",align:"center",prop:"category",width:"100"},{default:t(a=>[l(R,{type:e(ma).BPM_MODEL_CATEGORY,value:a.row.category},null,8,["type","value"])]),_:1}),l(o,{label:"\u8868\u5355\u4FE1\u606F",align:"center",prop:"formType",width:"200"},{default:t(a=>[a.row.formType===10?(_(),s(d,{key:0,type:"primary",link:"",onClick:v=>T(a.row)},{default:t(()=>[C("span",null,w(a.row.formName),1)]),_:2},1032,["onClick"])):(_(),s(d,{key:1,type:"primary",link:"",onClick:v=>T(a.row)},{default:t(()=>[C("span",null,w(a.row.formCustomCreatePath),1)]),_:2},1032,["onClick"]))]),_:1}),l(o,{label:"\u6D41\u7A0B\u7248\u672C",align:"center",prop:"processDefinition.version",width:"80"},{default:t(a=>[a.row?(_(),s(y,{key:0},{default:t(()=>[m("v"+w(a.row.version),1)]),_:2},1024)):(_(),s(y,{key:1,type:"warning"},{default:t(()=>[m("\u672A\u90E8\u7F72")]),_:1}))]),_:1}),l(o,{label:"\u72B6\u6001",align:"center",prop:"version",width:"80"},{default:t(a=>[a.row.suspensionState===1?(_(),s(y,{key:0,type:"success"},{default:t(()=>[m("\u6FC0\u6D3B")]),_:1})):U("",!0),a.row.suspensionState===2?(_(),s(y,{key:1,type:"warning"},{default:t(()=>[m("\u6302\u8D77")]),_:1})):U("",!0)]),_:1}),l(o,{label:"\u90E8\u7F72\u65F6\u95F4",align:"center",prop:"deploymentTime",width:"180",formatter:e(fa)},null,8,["formatter"]),l(o,{label:"\u5B9A\u4E49\u63CF\u8FF0",align:"center",prop:"description",width:"300","show-overflow-tooltip":""}),l(o,{label:"\u64CD\u4F5C",align:"center",width:"150",fixed:"right"},{default:t(a=>[N((_(),s(d,{link:"",type:"primary",onClick:v=>{return h=a.row,void V({name:"BpmTaskAssignRuleList",query:{modelId:h.id}});var h}},{default:t(()=>[m(" \u5206\u914D\u89C4\u5219 ")]),_:2},1032,["onClick"])),[[E,["bpm:task-assign-rule:query"]]])]),_:1})]),_:1},8,["data"])),[[F,e(g)]]),l(L,{total:e(x),page:e(u).pageNo,"onUpdate:page":r[0]||(r[0]=a=>e(u).pageNo=a),limit:e(u).pageSize,"onUpdate:limit":r[1]||(r[1]=a=>e(u).pageSize=a),onPagination:S},null,8,["total","page","limit"])]),_:1}),l(D,{title:"\u8868\u5355\u8BE6\u60C5",modelValue:e(c),"onUpdate:modelValue":r[2]||(r[2]=a=>b(c)?c.value=a:null),width:"800"},{default:t(()=>[l(A,{rule:e(k).rule,option:e(k).option},null,8,["rule","option"])]),_:1},8,["modelValue"]),l(D,{title:"\u6D41\u7A0B\u56FE",modelValue:e(f),"onUpdate:modelValue":r[4]||(r[4]=a=>b(f)?f.value=a:null),width:"800"},{default:t(()=>[l(e(ya),Q({key:"designer",modelValue:e(p),"onUpdate:modelValue":r[3]||(r[3]=a=>b(p)?p.value=a:null),value:e(p)},e(q),{prefix:e(q).prefix}),null,16,["modelValue","value","prefix"])]),_:1},8,["modelValue"])],64)}}})});export{Na as __tla,z as default};
|