index-8f881961.js 4.8 KB

1
  1. import{d as B,u as H,r as c,e as P,k as M,o as p,c as A,f as a,w as t,a as r,Q as G,m as s,v as K,q as h,O as D,F as O,U as Q,z as R,A as j,_ as L,B as W,C as E,D as J,ak as X,G as Z,H as $,__tla as aa}from"./index-2eab2d23.js";import{_ as ta,__tla as ea}from"./index.vue_vue_type_script_setup_true_lang-5730b053.js";import{_ as ra,__tla as la}from"./ContentWrap.vue_vue_type_script_setup_true_lang-5a63038a.js";import{d as _a,__tla as oa}from"./formatTime-41155543.js";import{i as sa,__tla as na}from"./index-86220392.js";import{_ as ca,__tla as ma}from"./TaskCCDialogForm.vue_vue_type_script_setup_true_lang-7fe5c41f.js";import{__tla as pa}from"./index-cc63c3c4.js";import{__tla as ia}from"./el-card-c558f0ec.js";import{__tla as ua}from"./Dialog-c2716df6.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as da}from"./el-tree-select-4ae7c290.js";import{__tla as fa}from"./dict-1ad71b6f.js";import"./tree-fd3a041e.js";import{__tla as ya}from"./index-a1993285.js";import{__tla as ha}from"./index-7a06606e.js";import{__tla as ga}from"./index-06f833f4.js";import{__tla as ka}from"./index-2402488f.js";import{__tla as wa}from"./index-e191a423.js";import{__tla as ba}from"./index-ac0857aa.js";import{__tla as va}from"./useMessage-171aa63e.js";let U,xa=Promise.all([(()=>{try{return aa}catch{}})(),(()=>{try{return ea}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return oa}catch{}})(),(()=>{try{return na}catch{}})(),(()=>{try{return ma}catch{}})(),(()=>{try{return pa}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return ua}catch{}})(),(()=>{try{return da}catch{}})(),(()=>{try{return fa}catch{}})(),(()=>{try{return ya}catch{}})(),(()=>{try{return ha}catch{}})(),(()=>{try{return ga}catch{}})(),(()=>{try{return ka}catch{}})(),(()=>{try{return wa}catch{}})(),(()=>{try{return ba}catch{}})(),(()=>{try{return va}catch{}})()]).then(async()=>{U=B({name:"BpmDoneTask",__name:"index",setup(Ca){const{push:V}=H(),i=c(!0),g=c(0),k=c([]),l=P({pageNo:1,pageSize:10,name:"",createTime:[]}),w=c(),u=async()=>{i.value=!0;try{const f=await sa(l);k.value=f.list,g.value=f.total}finally{i.value=!1}},d=()=>{l.pageNo=1,u()},S=()=>{w.value.resetFields(),d()},b=c();return M(()=>{u()}),(f,_)=>{const T=Q,y=R,N=j,v=L,m=W,z=E,x=ra,o=J,C=X,F=Z,I=ta,Y=$;return p(),A(O,null,[a(x,null,{default:t(()=>[a(z,{ref_key:"queryFormRef",ref:w,inline:!0,model:r(l),class:"-mb-15px","label-width":"68px"},{default:t(()=>[a(y,{label:"\u4EFB\u52A1\u540D\u79F0",prop:"name"},{default:t(()=>[a(T,{modelValue:r(l).name,"onUpdate:modelValue":_[0]||(_[0]=e=>r(l).name=e),class:"!w-240px",clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4EFB\u52A1\u540D\u79F0",onKeyup:G(d,["enter"])},null,8,["modelValue"])]),_:1}),a(y,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime"},{default:t(()=>[a(N,{modelValue:r(l).createTime,"onUpdate:modelValue":_[1]||(_[1]=e=>r(l).createTime=e),"default-time":[new Date("1 00:00:00"),new Date("1 23:59:59")],class:"!w-240px","end-placeholder":"\u7ED3\u675F\u65E5\u671F","start-placeholder":"\u5F00\u59CB\u65E5\u671F",type:"daterange","value-format":"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue","default-time"])]),_:1}),a(y,null,{default:t(()=>[a(m,{onClick:d},{default:t(()=>[a(v,{class:"mr-5px",icon:"ep:search"}),s(" \u641C\u7D22 ")]),_:1}),a(m,{onClick:S},{default:t(()=>[a(v,{class:"mr-5px",icon:"ep:refresh"}),s(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(x,null,{default:t(()=>[K((p(),h(F,{data:r(k)},{default:t(()=>[a(o,{align:"center",label:"\u4EFB\u52A1\u7F16\u53F7",prop:"id",width:"300px"}),a(o,{align:"center",label:"\u4EFB\u52A1\u540D\u79F0",prop:"name"}),a(o,{align:"center",label:"\u6240\u5C5E\u6D41\u7A0B",prop:"processInstance.name"}),a(o,{align:"center",label:"\u6D41\u7A0B\u53D1\u8D77\u4EBA",prop:"processInstance.startUserNickname"}),a(o,{formatter:r(_a),align:"center",label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime",width:"180"},null,8,["formatter"]),a(o,{label:"\u4EFB\u52A1\u72B6\u6001",prop:"suspensionState"},{default:t(e=>[e.row.suspensionState===1?(p(),h(C,{key:0,type:"success"},{default:t(()=>[s("\u6FC0\u6D3B")]),_:1})):D("",!0),e.row.suspensionState===2?(p(),h(C,{key:1,type:"warning"},{default:t(()=>[s("\u6302\u8D77")]),_:1})):D("",!0)]),_:1}),a(o,{align:"center",label:"\u64CD\u4F5C"},{default:t(e=>[a(m,{link:"",type:"primary",onClick:q=>{return n=e.row,void V({name:"BpmProcessInstanceDetail",query:{id:n.processInstance.id}});var n}},{default:t(()=>[s("\u5BA1\u6279\u8FDB\u5EA6")]),_:2},1032,["onClick"]),a(m,{link:"",type:"primary",onClick:q=>{return n=e.row,void b.value.open(n);var n}},{default:t(()=>[s("\u6284\u9001")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[Y,r(i)]]),a(I,{limit:r(l).pageSize,"onUpdate:limit":_[2]||(_[2]=e=>r(l).pageSize=e),page:r(l).pageNo,"onUpdate:page":_[3]||(_[3]=e=>r(l).pageNo=e),total:r(g),onPagination:u},null,8,["limit","page","total"]),a(ca,{ref_key:"taskCCDialogForm",ref:b},null,512)]),_:1})],64)}}})});export{xa as __tla,U as default};