import{u as L,_ as M,a as R,__tla as A}from"./useTable-a506499b.js";import{_ as F,__tla as U}from"./ContentWrap-f1610353.js";import{d as j,r as C,B as O,P as T,o as c,c as B,i as l,w as _,a as t,C as n,l as i,j as u,F as E,v as G,J as H,_ as J,__tla as q}from"./index-2c56227b.js";import{a as P,M as D,__tla as I}from"./MailTemplateForm-b7124149.js";import{a as K,d as N,__tla as Q}from"./index-47dfa0f9.js";import V,{__tla as W}from"./MailTemplateSendForm-fbd99f64.js";import{__tla as X}from"./Form-8cd0e8df.js";import{__tla as Y}from"./el-virtual-list-beaed7d2.js";import{__tla as Z}from"./el-tree-select-97cbdeb3.js";import{__tla as $}from"./el-time-select-cf117266.js";import{__tla as tt}from"./InputPassword-9eb7a182.js";import{__tla as at}from"./Editor-d05caa83.js";import{__tla as rt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-6a2e2b1d.js";import{__tla as _t}from"./index-8d031f1e.js";import{__tla as et}from"./el-image-viewer-da1b6008.js";import{__tla as lt}from"./useMessage-96878a4a.js";import{__tla as ot}from"./UploadImg-6d25031e.js";import{__tla as ct}from"./UploadImgs-91d4d385.js";import{__tla as mt}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-e792c2fc.js";import{__tla as st}from"./UploadFile-9004484d.js";import{__tla as nt}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-ed1f393e.js";import{__tla as it}from"./index-d17bd909.js";import{__tla as ut}from"./useForm-572c074d.js";import"./download-20922b56.js";import{__tla as pt}from"./el-card-9c148b4f.js";import{__tla as ft}from"./Dialog-1050d437.js";import{__tla as yt}from"./formatTime-7f0ec2bf.js";import{__tla as ht}from"./index-a8f04a89.js";import{__tla as dt}from"./formRules-5c913959.js";import{__tla as gt}from"./dict-763dd292.js";import{__tla as kt}from"./useCrudSchemas-b0f546dc.js";import"./tree-0af4953a.js";import{__tla as St}from"./DictTag-cfe1898d.js";import"./color-6e929987.js";let b,vt=Promise.all([(()=>{try{return A}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return X}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 ct}catch{}})(),(()=>{try{return mt}catch{}})(),(()=>{try{return st}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()=>{b=J(j({name:"SystemMailTemplate",__name:"index",setup(Ct){const{tableObject:e,tableMethods:p}=L({getListApi:K,delListApi:N}),{getList:f,setSearchParams:y}=p,h=C(),d=(k,a)=>{h.value.open(k,a)},g=C();return O(()=>{f()}),(k,a)=>{const x=G,m=H,w=M,S=F,z=R,s=T("hasPermi");return c(),B(E,null,[l(S,null,{default:_(()=>[l(w,{schema:t(P).searchSchema,onSearch:t(y),onReset:t(y)},{actionMore:_(()=>[n((c(),i(m,{type:"primary",plain:"",onClick:a[0]||(a[0]=r=>d("create"))},{default:_(()=>[l(x,{icon:"ep:plus",class:"mr-5px"}),u(" \u65B0\u589E ")]),_:1})),[[s,["system:mail-account:create"]]])]),_:1},8,["schema","onSearch","onReset"])]),_:1}),l(S,null,{default:_(()=>[l(z,{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((c(),i(m,{link:"",type:"primary",onClick:v=>{return o=r.id,void g.value.open(o);var o}},{default:_(()=>[u(" \u6D4B\u8BD5 ")]),_:2},1032,["onClick"])),[[s,["system:mail-template:send-mail"]]]),n((c(),i(m,{link:"",type:"primary",onClick:v=>d("update",r.id)},{default:_(()=>[u(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[s,["system:mail-template:update"]]]),n((c(),i(m,{link:"",type:"danger",onClick:v=>{return o=r.id,void p.delList(o,!1);var o}},{default:_(()=>[u(" \u5220\u9664 ")]),_:2},1032,["onClick"])),[[s,["system:mail-template:delete"]]])]),_:1},8,["columns","data","loading","pagination","pageSize","currentPage"])]),_:1}),l(D,{ref_key:"formRef",ref:h,onSuccess:t(f)},null,8,["onSuccess"]),l(V,{ref_key:"sendFormRef",ref:g},null,512)],64)}}}),[["__file","E:/GAOHP_2023/mall/newfeifan-front/yudao-ui-admin-vue3/src/views/system/mail/template/index.vue"]])});export{vt as __tla,b as default};
