index-d4c6a54b.js 4.9 KB

1
  1. import{d as q,u as B,r as c,x as H,b as M,o as m,c as A,f as a,A as t,a as r,a4 as J,D as s,k as K,C as h,a2 as D,F as R,a8 as W,U as X,I as j,_ as O,J as Q,V as E,W as G,av as L,X as Z,Y as $,__tla as aa}from"./index-6e0fa573.js";import{_ as ta,__tla as ea}from"./index.vue_vue_type_script_setup_true_lang-cd12277f.js";import{_ as ra,__tla as la}from"./ContentWrap.vue_vue_type_script_setup_true_lang-bed37a76.js";import{d as _a,__tla as oa}from"./formatTime-4408999b.js";import{i as sa,__tla as na}from"./index-2ed7de54.js";import{_ as ca,__tla as pa}from"./TaskCCDialogForm.vue_vue_type_script_setup_true_lang-d5bb4cfe.js";import{__tla as ma}from"./index-99c4720b.js";import{__tla as ia}from"./el-card-f999e23d.js";import{__tla as ua}from"./Dialog-a16029e3.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as da}from"./el-tree-select-490c6b16.js";import{__tla as fa}from"./dict-33efee75.js";import"./tree-0af4953a.js";import{__tla as ya}from"./index-b8751d57.js";import{__tla as ha}from"./index-cd60b88d.js";import{__tla as ga}from"./index-bf5f582f.js";import{__tla as ka}from"./index-55e76298.js";import{__tla as ba}from"./index-f6f28fe0.js";import{__tla as wa}from"./index-8c8c5425.js";import{__tla as va}from"./useMessage-7f978edc.js";let V,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 pa}catch{}})(),(()=>{try{return ma}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 ba}catch{}})(),(()=>{try{return wa}catch{}})(),(()=>{try{return va}catch{}})()]).then(async()=>{V=q({name:"BpmDoneTask",__name:"index",setup(Ca){const{push:U}=B(),i=c(!0),g=c(0),k=c([]),l=H({pageNo:1,pageSize:10,name:"",createTime:[]}),b=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=()=>{b.value.resetFields(),d()},w=c();return M(()=>{u()}),(f,_)=>{const T=W,y=X,I=j,v=O,p=Q,N=E,x=ra,o=G,C=L,Y=Z,F=ta,z=$;return m(),A(R,null,[a(x,null,{default:t(()=>[a(N,{ref_key:"queryFormRef",ref:b,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:J(d,["enter"])},null,8,["modelValue"])]),_:1}),a(y,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime"},{default:t(()=>[a(I,{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(p,{onClick:d},{default:t(()=>[a(v,{class:"mr-5px",icon:"ep:search"}),s(" \u641C\u7D22 ")]),_:1}),a(p,{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((m(),h(Y,{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?(m(),h(C,{key:0,type:"success"},{default:t(()=>[s("\u6FC0\u6D3B")]),_:1})):D("",!0),e.row.suspensionState===2?(m(),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(p,{link:"",type:"primary",onClick:P=>{return n=e.row,void U({name:"BpmProcessInstanceDetail",query:{id:n.processInstance.id}});var n}},{default:t(()=>[s("\u5BA1\u6279\u8FDB\u5EA6")]),_:2},1032,["onClick"]),a(p,{link:"",type:"primary",onClick:P=>{return n=e.row,void w.value.open(n);var n}},{default:t(()=>[s("\u6284\u9001")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[z,r(i)]]),a(F,{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:w},null,512)]),_:1})],64)}}})});export{xa as __tla,V as default};