import{u as R,_ as w,a as L,__tla as U}from"./useTable-7cfa4dc9.js";import{_ as j,__tla as F}from"./ContentWrap-0aca5216.js";import{d as A,r as v,q,M as D,o as s,c as G,f as l,w as _,a as t,z as n,x as i,y as u,F as H,j as O,G as T,_ as X,__tla as B}from"./index-8dc1e40a.js";import{a as P,M as E,__tla as I}from"./MailTemplateForm-b5c505be.js";import{a as J,d as K,__tla as N}from"./index-e8f11fdf.js";import Q,{__tla as V}from"./MailTemplateSendForm-f1becb8e.js";import{__tla as W}from"./Form-03af17d7.js";import{__tla as Y}from"./el-virtual-list-7d2f4f55.js";import{__tla as Z}from"./el-tree-select-d82790d8.js";import{__tla as $}from"./el-time-select-c3304867.js";import{__tla as tt}from"./InputPassword-edfbc29e.js";import{__tla as at}from"./Editor-78efff00.js";import{__tla as rt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-703a828c.js";import{__tla as _t}from"./index-519182c1.js";import{__tla as et}from"./el-image-viewer-3b8905e6.js";import{__tla as lt}from"./useMessage-7a27dd80.js";import{__tla as ot}from"./UploadImg-c2c75279.js";import{__tla as st}from"./UploadImgs-c9e344db.js";import{__tla as ct}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-c25ae3d0.js";import{__tla as mt}from"./UploadFile-8d93ebfd.js";import{__tla as nt}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-fa07b40d.js";import{__tla as it}from"./fixed-size-list-1ef224b0.js";import{__tla as ut}from"./index-803dbf9a.js";import{__tla as pt}from"./useForm-8c76e04a.js";import"./download-20922b56.js";import{__tla as ft}from"./el-card-18df90f0.js";import{__tla as yt}from"./Dialog-41802231.js";import{__tla as ht}from"./formatTime-8a155b2e.js";import{__tla as dt}from"./index-70fcb8d3.js";import{__tla as gt}from"./formRules-467f9efe.js";import{__tla as kt}from"./dict-f13a3c8f.js";import{__tla as St}from"./useCrudSchemas-2adc3ead.js";import"./tree-0af4953a.js";import{__tla as Ct}from"./DictTag-85aade2b.js";import"./color-6e929987.js";let z,vt=Promise.all([(()=>{try{return U}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return tt}catch{}})(),(()=>{try{return at}catch{}})(),(()=>{try{return rt}catch{}})(),(()=>{try{return _t}catch{}})(),(()=>{try{return et}catch{}})(),(()=>{try{return lt}catch{}})(),(()=>{try{return ot}catch{}})(),(()=>{try{return st}catch{}})(),(()=>{try{return ct}catch{}})(),(()=>{try{return mt}catch{}})(),(()=>{try{return nt}catch{}})(),(()=>{try{return it}catch{}})(),(()=>{try{return ut}catch{}})(),(()=>{try{return pt}catch{}})(),(()=>{try{return ft}catch{}})(),(()=>{try{return yt}catch{}})(),(()=>{try{return ht}catch{}})(),(()=>{try{return dt}catch{}})(),(()=>{try{return gt}catch{}})(),(()=>{try{return kt}catch{}})(),(()=>{try{return St}catch{}})(),(()=>{try{return Ct}catch{}})()]).then(async()=>{z=X(A({name:"SystemMailTemplate",__name:"index",setup(Pt){const{tableObject:e,tableMethods:p}=R({getListApi:J,delListApi:K}),{getList:f,setSearchParams:y}=p,h=v(),d=(k,a)=>{h.value.open(k,a)},g=v();return q(()=>{f()}),(k,a)=>{const x=O,c=T,b=w,S=j,M=L,m=D("hasPermi");return s(),G(H,null,[l(S,null,{default:_(()=>[l(b,{schema:t(P).searchSchema,onSearch:t(y),onReset:t(y)},{actionMore:_(()=>[n((s(),i(c,{type:"primary",plain:"",onClick:a[0]||(a[0]=r=>d("create"))},{default:_(()=>[l(x,{icon:"ep:plus",class:"mr-5px"}),u(" \u65B0\u589E ")]),_:1})),[[m,["system:mail-account:create"]]])]),_:1},8,["schema","onSearch","onReset"])]),_:1}),l(S,null,{default:_(()=>[l(M,{columns:t(P).tableColumns,data:t(e).tableList,loading:t(e).loading,pagination:{total:t(e).total},pageSize:t(e).pageSize,"onUpdate:pageSize":a[1]||(a[1]=r=>t(e).pageSize=r),currentPage:t(e).currentPage,"onUpdate:currentPage":a[2]||(a[2]=r=>t(e).currentPage=r)},{action:_(({row:r})=>[n((s(),i(c,{link:"",type:"primary",onClick:C=>{return o=r.id,void g.value.open(o);var o}},{default:_(()=>[u(" \u6D4B\u8BD5 ")]),_:2},1032,["onClick"])),[[m,["system:mail-template:send-mail"]]]),n((s(),i(c,{link:"",type:"primary",onClick:C=>d("update",r.id)},{default:_(()=>[u(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[m,["system:mail-template:update"]]]),n((s(),i(c,{link:"",type:"danger",onClick:C=>{return o=r.id,void p.delList(o,!1);var o}},{default:_(()=>[u(" \u5220\u9664 ")]),_:2},1032,["onClick"])),[[m,["system:mail-template:delete"]]])]),_:1},8,["columns","data","loading","pagination","pageSize","currentPage"])]),_:1}),l(E,{ref_key:"formRef",ref:h,onSuccess:t(f)},null,8,["onSuccess"]),l(Q,{ref_key:"sendFormRef",ref:g},null,512)],64)}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/system/mail/template/index.vue"]])});export{vt as __tla,z as default};
