index-cebff4b2.js 4.9 KB

1
  1. import{d as Y,u as B,r as c,e as R,l as q,o as m,c as M,f as a,w as t,a as r,R as j,n,x as A,v as h,P as D,F as G,V as K,A as X,B as O,j as Q,C as W,D as E,G as J,al as L,H as Z,I as $,_ as aa,__tla as ta}from"./index-11e4820e.js";import{_ as ea,__tla as ra}from"./index-c8f58bd0.js";import{_ as la,__tla as _a}from"./ContentWrap-694014d4.js";import{d as sa,__tla as na}from"./formatTime-f6a2c881.js";import{i as oa,__tla as ca}from"./index-e62bbf09.js";import ia,{__tla as ma}from"./TaskCCDialogForm-5fcd4041.js";import{__tla as pa}from"./index-dd73c59d.js";import{__tla as ua}from"./ContentWrap.vue_vue_type_script_setup_true_lang-11f85821.js";import{__tla as da}from"./el-card-919c14be.js";import{__tla as fa}from"./Dialog-bbfaf85c.js";import{__tla as ya}from"./el-tree-select-beee4f04.js";import{__tla as ha}from"./dict-4072dcec.js";import"./tree-0af4953a.js";import{__tla as ga}from"./index-3dc0ff2a.js";import{__tla as ka}from"./index-aff1dec0.js";import{__tla as wa}from"./index-208c3aeb.js";import{__tla as va}from"./index-357f4fb9.js";import{__tla as ba}from"./index-add3c606.js";import{__tla as xa}from"./index-d16f2cb2.js";import{__tla as Ca}from"./useMessage-06ddf735.js";let S,Da=Promise.all([(()=>{try{return ta}catch{}})(),(()=>{try{return ra}catch{}})(),(()=>{try{return _a}catch{}})(),(()=>{try{return na}catch{}})(),(()=>{try{return ca}catch{}})(),(()=>{try{return ma}catch{}})(),(()=>{try{return pa}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 va}catch{}})(),(()=>{try{return ba}catch{}})(),(()=>{try{return xa}catch{}})(),(()=>{try{return Ca}catch{}})()]).then(async()=>{S=aa(Y({name:"BpmDoneTask",__name:"index",setup(Sa){const{push:V}=B(),p=c(!0),g=c(0),k=c([]),l=R({pageNo:1,pageSize:10,name:"",createTime:[]}),w=c(),u=async()=>{p.value=!0;try{const f=await oa(l);k.value=f.list,g.value=f.total}finally{p.value=!1}},d=()=>{l.pageNo=1,u()},T=()=>{w.value.resetFields(),d()},v=c();return q(()=>{u()}),(f,_)=>{const U=K,y=X,F=O,b=Q,i=W,I=E,x=la,s=J,C=L,N=Z,z=ea,H=$;return m(),M(G,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(U,{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(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(i,{onClick:d},{default:t(()=>[a(b,{class:"mr-5px",icon:"ep:search"}),n(" \u641C\u7D22 ")]),_:1}),a(i,{onClick:T},{default:t(()=>[a(b,{class:"mr-5px",icon:"ep:refresh"}),n(" \u91CD\u7F6E ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(x,null,{default:t(()=>[A((m(),h(N,{data:r(k)},{default:t(()=>[a(s,{align:"center",label:"\u4EFB\u52A1\u7F16\u53F7",prop:"id",width:"300px"}),a(s,{align:"center",label:"\u4EFB\u52A1\u540D\u79F0",prop:"name"}),a(s,{align:"center",label:"\u6240\u5C5E\u6D41\u7A0B",prop:"processInstance.name"}),a(s,{align:"center",label:"\u6D41\u7A0B\u53D1\u8D77\u4EBA",prop:"processInstance.startUserNickname"}),a(s,{formatter:r(sa),align:"center",label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime",width:"180"},null,8,["formatter"]),a(s,{label:"\u4EFB\u52A1\u72B6\u6001",prop:"suspensionState"},{default:t(e=>[e.row.suspensionState===1?(m(),h(C,{key:0,type:"success"},{default:t(()=>[n("\u6FC0\u6D3B")]),_:1})):D("",!0),e.row.suspensionState===2?(m(),h(C,{key:1,type:"warning"},{default:t(()=>[n("\u6302\u8D77")]),_:1})):D("",!0)]),_:1}),a(s,{align:"center",label:"\u64CD\u4F5C"},{default:t(e=>[a(i,{link:"",type:"primary",onClick:P=>{return o=e.row,void V({name:"BpmProcessInstanceDetail",query:{id:o.processInstance.id}});var o}},{default:t(()=>[n("\u5BA1\u6279\u8FDB\u5EA6")]),_:2},1032,["onClick"]),a(i,{link:"",type:"primary",onClick:P=>{return o=e.row,void v.value.open(o);var o}},{default:t(()=>[n("\u6284\u9001")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[H,r(p)]]),a(z,{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(ia,{ref_key:"taskCCDialogForm",ref:v},null,512)]),_:1})],64)}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/bpm/task/todo/index.vue"]])});export{Da as __tla,S as default};