import{u as w,_ as L,a as M,__tla as U}from"./useTable-4ffdf253.js";import{_ as F,__tla as j}from"./ContentWrap-1defc267.js";import{d as A,r as C,B as T,P as B,o as s,c as D,i as l,w as _,a as t,C as n,l as i,j as u,F as H,v as J,J as O,_ as X,__tla as q}from"./index-8c6726e5.js";import{a as P,M as E,__tla as G}from"./MailTemplateForm-2d774209.js";import{a as I,d as K,__tla as N}from"./index-5bcf93ef.js";import Q,{__tla as V}from"./MailTemplateSendForm-338bd5fc.js";import{__tla as W}from"./Form-61b815db.js";import{__tla as Y}from"./el-virtual-list-be990069.js";import{__tla as Z}from"./el-tree-select-9a22c115.js";import{__tla as $}from"./el-time-select-4d3bcab0.js";import{__tla as tt}from"./InputPassword-870dfa66.js";import{__tla as at}from"./Editor-1fcaafc3.js";import{__tla as rt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-7c0b71fe.js";import{__tla as _t}from"./index-bd7c5832.js";import{__tla as et}from"./el-image-viewer-49715a4b.js";import{__tla as lt}from"./useMessage-9f6930df.js";import{__tla as ot}from"./UploadImg-48cb4efb.js";import{__tla as st}from"./UploadImgs-69b202a7.js";import{__tla as ct}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-931c78ff.js";import{__tla as mt}from"./UploadFile-77591840.js";import{__tla as nt}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-b1b5de5c.js";import{__tla as it}from"./index-ffb232b7.js";import{__tla as ut}from"./useForm-bda3e18c.js";import"./download-20922b56.js";import{__tla as pt}from"./el-card-17d153e8.js";import{__tla as ft}from"./Dialog-336bccec.js";import{__tla as yt}from"./formatTime-43b4aa50.js";import{__tla as ht}from"./index-436d3e0b.js";import{__tla as dt}from"./formRules-7a1e0413.js";import{__tla as gt}from"./dict-1c98488d.js";import{__tla as kt}from"./useCrudSchemas-b904d173.js";import"./tree-0af4953a.js";import{__tla as St}from"./DictTag-bbdf2078.js";import"./color-6e929987.js";let x,vt=Promise.all([(()=>{try{return U}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return G}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{}})()]).then(async()=>{x=X(A({name:"SystemMailTemplate",__name:"index",setup(Ct){const{tableObject:e,tableMethods:p}=w({getListApi:I,delListApi:K}),{getList:f,setSearchParams:y}=p,h=C(),d=(k,a)=>{h.value.open(k,a)},g=C();return T(()=>{f()}),(k,a)=>{const b=J,c=O,z=L,S=F,R=M,m=B("hasPermi");return s(),D(H,null,[l(S,null,{default:_(()=>[l(z,{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(b,{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(R,{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:v=>{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:v=>d("update",r.id)},{default:_(()=>[u(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[m,["system:mail-template:update"]]]),n((s(),i(c,{link:"",type:"danger",onClick:v=>{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,x as default};
