index-b2ba1c05.js 4.8 KB

1
  1. import{d as H,u as P,r as p,g as B,y as K,o as i,c as M,i as a,w as t,a as r,T as R,l as s,C as J,k as h,R as D,F as L,X,H as j,p as E,_ as G,q as W,I as A,J as O,al as Q,K as Z,L as $,__tla as aa}from"./index-abaca7e8.js";import{_ as ta,__tla as ea}from"./index.vue_vue_type_script_setup_true_lang-f7ebf07b.js";import{_ as ra,__tla as la}from"./ContentWrap.vue_vue_type_script_setup_true_lang-9818245e.js";import{d as _a,__tla as oa}from"./formatTime-0c1ba065.js";import{i as sa,__tla as na}from"./index-36241ff7.js";import{_ as pa,__tla as ca}from"./TaskCCDialogForm.vue_vue_type_script_setup_true_lang-28d28564.js";import{__tla as ia}from"./index-e37a1056.js";import{__tla as ma}from"./el-card-ff5a526a.js";import{__tla as ua}from"./Dialog-a2f7c92a.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as da}from"./el-tree-select-ae8992fc.js";import{__tla as fa}from"./dict-885a7988.js";import"./tree-fd3a041e.js";import{__tla as ya}from"./index-35995af6.js";import{__tla as ha}from"./index-ee7af1bd.js";import{__tla as ga}from"./index-15747431.js";import{__tla as ka}from"./index-5dc2864b.js";import{__tla as wa}from"./index-aafccc71.js";import{__tla as ba}from"./index-a9fc0b3a.js";import{__tla as va}from"./useMessage-7c79d01b.js";let T,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 ca}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return ma}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()=>{T=H({name:"BpmDoneTask",__name:"index",setup(Ca){const{push:S}=P(),m=p(!0),g=p(0),k=p([]),l=B({pageNo:1,pageSize:10,name:"",createTime:[]}),w=p(),u=async()=>{m.value=!0;try{const f=await sa(l);k.value=f.list,g.value=f.total}finally{m.value=!1}},d=()=>{l.pageNo=1,u()},U=()=>{w.value.resetFields(),d()},b=p();return K(()=>{u()}),(f,_)=>{const V=X,y=j,F=E,v=G,c=W,I=A,x=ra,o=O,C=Q,N=Z,Y=ta,q=$;return i(),M(L,null,[a(x,null,{default:t(()=>[a(I,{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(V,{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:R(d,["enter"])},null,8,["modelValue"])]),_:1}),a(y,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime"},{default:t(()=>[a(F,{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(c,{onClick:d},{default:t(()=>[a(v,{class:"mr-5px",icon:"ep:search"}),s(" \u641C\u7D22 ")]),_:1}),a(c,{onClick:U},{default:t(()=>[a(v,{class:"mr-5px",icon:"ep:refresh"}),s(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(x,null,{default:t(()=>[J((i(),h(N,{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?(i(),h(C,{key:0,type:"success"},{default:t(()=>[s("\u6FC0\u6D3B")]),_:1})):D("",!0),e.row.suspensionState===2?(i(),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(c,{link:"",type:"primary",onClick:z=>{return n=e.row,void S({name:"BpmProcessInstanceDetail",query:{id:n.processInstance.id}});var n}},{default:t(()=>[s("\u5BA1\u6279\u8FDB\u5EA6")]),_:2},1032,["onClick"]),a(c,{link:"",type:"primary",onClick:z=>{return n=e.row,void b.value.open(n);var n}},{default:t(()=>[s("\u6284\u9001")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[q,r(m)]]),a(Y,{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(pa,{ref_key:"taskCCDialogForm",ref:b},null,512)]),_:1})],64)}}})});export{xa as __tla,T as default};