import{u as y,_ as P,a as b}from"./useTable-3fdecf7d.js";import{d as z,r as L,b as k,a1 as v,o as n,c as x,f as o,B as i,a as t,l as C,A as R,G as U,F as j,L as A,__tla as M}from"./index-b8922f5d.js";import{_ as q}from"./ContentWrap.vue_vue_type_script_setup_true_lang-b3fd0fde.js";import{a as c,_ as w,g as B,__tla as F}from"./MailLogDetail.vue_vue_type_script_setup_true_lang-028e0ad1.js";import"./Form-0f597d95.js";import"./el-virtual-list-0d3e0b2a.js";import"./el-tree-select-453fa5ba.js";import"./el-time-select-e03dfa91.js";import"./InputPassword-79a98e36.js";import"./InputPassword.vue_vue_type_style_index_0_scoped_0af03974_lang-65a2758d.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./style.css_vue_type_style_index_0_src_true_lang-cb0c153a.js";import"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-73c344ff.js";import"./index-d8069e84.js";import"./el-image-viewer-63615958.js";import"./useMessage-430097f4.js";import"./UploadImg-ef5da466.js";import"./UploadImgs-62d70fde.js";import"./UploadImgs.vue_vue_type_style_index_0_scoped_bad238b9_lang-9d0e9edf.js";import"./UploadFile-bc13b3f5.js";import"./UploadFile.vue_vue_type_style_index_0_scoped_a9e67aa2_lang-5760ead2.js";import"./index-4a975c86.js";import"./useForm-e0c6a0b7.js";import"./download-20922b56.js";import"./el-card-e8cb81af.js";import"./Dialog-46d612aa.js";import"./Descriptions-0355dec6.js";import"./Descriptions.vue_vue_type_style_index_0_scoped_59d56eec_lang-e0c29275.js";import"./el-descriptions-item-977a3bff.js";import"./DictTag.vue_vue_type_script_lang-6741bf7a.js";import"./color-6e929987.js";import"./dict-592714ae.js";import"./formatTime-60385242.js";import"./index-22dba456.js";import"./useCrudSchemas-424a4dee.js";import"./tree-0af4953a.js";let u,G=Promise.all([(()=>{try{return M}catch{}})(),(()=>{try{return F}catch{}})()]).then(async()=>{u=z({name:"SystemMailLog",__name:"index",setup(O){const{tableObject:a,tableMethods:_}=y({getListApi:B}),{getList:g,setSearchParams:m}=_,p=L();return k(()=>{g()}),(D,r)=>{const d=P,s=q,h=A,f=b,S=v("hasPermi");return n(),x(j,null,[o(s,null,{default:i(()=>[o(d,{schema:t(c).searchSchema,onSearch:t(m),onReset:t(m)},null,8,["schema","onSearch","onReset"])]),_:1}),o(s,null,{default:i(()=>[o(f,{columns:t(c).tableColumns,data:t(a).tableList,loading:t(a).loading,pagination:{total:t(a).total},pageSize:t(a).pageSize,"onUpdate:pageSize":r[0]||(r[0]=e=>t(a).pageSize=e),currentPage:t(a).currentPage,"onUpdate:currentPage":r[1]||(r[1]=e=>t(a).currentPage=e)},{action:i(({row:e})=>[C((n(),R(h,{link:"",type:"primary",onClick:E=>{return l=e.id,void p.value.open(l);var l}},{default:i(()=>r[2]||(r[2]=[U(" \u8BE6\u60C5 ")])),_:2},1032,["onClick"])),[[S,["system:mail-log:query"]]])]),_:1},8,["columns","data","loading","pagination","pageSize","currentPage"])]),_:1}),o(w,{ref_key:"detailRef",ref:p},null,512)],64)}}})});export{G as __tla,u as default};