index-4895e148.js 5.0 KB

1
  1. import{u as w,_ as L,a as M,__tla as U}from"./useTable-5162a1e3.js";import{_ as j,__tla as F}from"./ContentWrap-694014d4.js";import{d as A,r as C,l as D,Q as H,o as c,c as O,f as l,w as _,a as t,x as n,v as i,n as u,F as Q,j as T,C as X,_ as q,__tla as B}from"./index-11e4820e.js";import{a as P,M as E,__tla as G}from"./MailTemplateForm-3ff29165.js";import{a as I,d as J,__tla as K}from"./index-be76868c.js";import N,{__tla as V}from"./MailTemplateSendForm-fce308d9.js";import{__tla as W}from"./Form-bdf04c6b.js";import{__tla as Y}from"./el-virtual-list-5114e5c2.js";import{__tla as Z}from"./el-tree-select-beee4f04.js";import{__tla as $}from"./el-time-select-92a99e05.js";import{__tla as tt}from"./InputPassword-2273b9ca.js";import{__tla as at}from"./InputPassword.vue_vue_type_style_index_0_scoped_3f07eb1d_lang-fd75f8c7.js";import{__tla as rt}from"./Editor-0f5cadc2.js";import{__tla as _t}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-8854a0f2.js";import{__tla as et}from"./index-4203485c.js";import{__tla as lt}from"./el-image-viewer-c4f5814f.js";import{__tla as ot}from"./useMessage-06ddf735.js";import{__tla as ct}from"./UploadImg-a1807be8.js";import{__tla as mt}from"./UploadImgs-0c26a9a3.js";import{__tla as st}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-fafbf7e3.js";import{__tla as nt}from"./UploadFile-1c802daa.js";import{__tla as it}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-bab9318f.js";import{__tla as ut}from"./fixed-size-list-9d501189.js";import{__tla as pt}from"./index-dd73c59d.js";import{__tla as ft}from"./useForm-c0e5ac93.js";import"./download-20922b56.js";import{__tla as yt}from"./ContentWrap.vue_vue_type_script_setup_true_lang-11f85821.js";import{__tla as ht}from"./el-card-919c14be.js";import{__tla as dt}from"./Dialog-bbfaf85c.js";import{__tla as gt}from"./formatTime-f6a2c881.js";import{__tla as kt}from"./index-ff491970.js";import{__tla as St}from"./formRules-a3633e47.js";import{__tla as vt}from"./dict-4072dcec.js";import{__tla as Ct}from"./useCrudSchemas-06af04e6.js";import"./tree-0af4953a.js";import{__tla as Pt}from"./DictTag-e41ec8de.js";import"./color-6e929987.js";let b,bt=Promise.all([(()=>{try{return U}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return K}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 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{}})(),(()=>{try{return vt}catch{}})(),(()=>{try{return Ct}catch{}})(),(()=>{try{return Pt}catch{}})()]).then(async()=>{b=q(A({name:"SystemMailTemplate",__name:"index",setup(xt){const{tableObject:e,tableMethods:p}=w({getListApi:I,delListApi:J}),{getList:f,setSearchParams:y}=p,h=C(),d=(k,a)=>{h.value.open(k,a)},g=C();return D(()=>{f()}),(k,a)=>{const x=T,m=X,z=L,S=j,R=M,s=H("hasPermi");return c(),O(Q,null,[l(S,null,{default:_(()=>[l(z,{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(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((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(E,{ref_key:"formRef",ref:h,onSuccess:t(f)},null,8,["onSuccess"]),l(N,{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{bt as __tla,b as default};