| 1 |
- import{u as L,_ as M,a as R,__tla as j}from"./useTable-bd38ae37.js";import{_ as F,__tla as U}from"./ContentWrap-e272a077.js";import{d as A,r as P,q as T,Q as q,o as c,c as D,f as l,w as _,a as t,z as n,x as i,y as p,F as G,j as O,G as Q,_ as B,__tla as E}from"./index-f0268dea.js";import{a as v,M as H,__tla as I}from"./MailTemplateForm-9cac92d5.js";import{a as J,d as K,__tla as N}from"./index-5901db04.js";import V,{__tla as W}from"./MailTemplateSendForm-f98b4895.js";import{__tla as X}from"./Form-6485ba03.js";import{__tla as Y}from"./el-virtual-list-7ae46d04.js";import{__tla as Z}from"./el-tree-select-e2269997.js";import{__tla as $}from"./el-time-select-beeb2637.js";import{__tla as tt}from"./InputPassword-ac0c52fb.js";import{__tla as at}from"./Editor-5c67e34d.js";import{__tla as rt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-dca087cc.js";import{__tla as _t}from"./index-940e4a52.js";import{__tla as et}from"./el-image-viewer-2d93f09d.js";import{__tla as lt}from"./useMessage-5111adbe.js";import{__tla as ot}from"./UploadImg-3fa12899.js";import{__tla as ct}from"./UploadImgs-7a5dd0aa.js";import{__tla as mt}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-5b749cb3.js";import{__tla as st}from"./UploadFile-7db79c0f.js";import{__tla as nt}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-c4be4d93.js";import{__tla as it}from"./fixed-size-list-226c3ba6.js";import{__tla as pt}from"./index-2164f5de.js";import{__tla as ut}from"./useForm-9743aa8c.js";import"./download-20922b56.js";import{__tla as ft}from"./el-card-dd06867e.js";import{__tla as yt}from"./Dialog-86841680.js";import{__tla as ht}from"./formatTime-e6faaf52.js";import{__tla as dt}from"./index-e5ef0e0b.js";import{__tla as gt}from"./formRules-e69c368b.js";import{__tla as kt}from"./dict-9a671b35.js";import{__tla as St}from"./useCrudSchemas-ac85affd.js";import"./tree-0af4953a.js";import{__tla as Ct}from"./DictTag-f1e4f3db.js";import"./color-6e929987.js";let x,Pt=Promise.all([(()=>{try{return j}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return N}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 pt}catch{}})(),(()=>{try{return ut}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()=>{x=B(A({name:"SystemMailTemplate",__name:"index",setup(vt){const{tableObject:e,tableMethods:u}=L({getListApi:J,delListApi:K}),{getList:f,setSearchParams:y}=u,h=P(),d=(k,a)=>{h.value.open(k,a)},g=P();return T(()=>{f()}),(k,a)=>{const z=O,m=Q,b=M,S=F,w=R,s=q("hasPermi");return c(),D(G,null,[l(S,null,{default:_(()=>[l(b,{schema:t(v).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(z,{icon:"ep:plus",class:"mr-5px"}),p(" \u65B0\u589E ")]),_:1})),[[s,["system:mail-account:create"]]])]),_:1},8,["schema","onSearch","onReset"])]),_:1}),l(S,null,{default:_(()=>[l(w,{columns:t(v).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:C=>{return o=r.id,void g.value.open(o);var o}},{default:_(()=>[p(" \u6D4B\u8BD5 ")]),_:2},1032,["onClick"])),[[s,["system:mail-template:send-mail"]]]),n((c(),i(m,{link:"",type:"primary",onClick:C=>d("update",r.id)},{default:_(()=>[p(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[s,["system:mail-template:update"]]]),n((c(),i(m,{link:"",type:"danger",onClick:C=>{return o=r.id,void u.delList(o,!1);var o}},{default:_(()=>[p(" \u5220\u9664 ")]),_:2},1032,["onClick"])),[[s,["system:mail-template:delete"]]])]),_:1},8,["columns","data","loading","pagination","pageSize","currentPage"])]),_:1}),l(H,{ref_key:"formRef",ref:h,onSuccess:t(f)},null,8,["onSuccess"]),l(V,{ref_key:"sendFormRef",ref:g},null,512)],64)}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/mail/template/index.vue"]])});export{Pt as __tla,x as default};
|