1 |
- import{u as M,_ as w,a as R,__tla as A}from"./useTable-e0cce587.js";import{_ as F,__tla as U}from"./ContentWrap-96bb70ec.js";import{d as j,r as v,b as D,a4 as I,o as c,c as J,f as l,A as _,a as t,k as n,C as i,D as p,F as O,Q,J as T,_ as q,__tla as B}from"./index-f6fb8e95.js";import{a as P,M as E,__tla as G}from"./MailTemplateForm-79cc3e7d.js";import{a as H,d as K,__tla as N}from"./index-855d8e19.js";import V,{__tla as W}from"./MailTemplateSendForm-20743299.js";import{__tla as X}from"./Form-c8590e57.js";import{__tla as Y}from"./el-virtual-list-4f889e98.js";import{__tla as Z}from"./el-tree-select-25b2ed74.js";import{__tla as $}from"./el-time-select-feefe315.js";import{__tla as tt}from"./InputPassword-c89f4b20.js";import{__tla as at}from"./InputPassword.vue_vue_type_style_index_0_scoped_3f07eb1d_lang-51c9e28d.js";import{__tla as rt}from"./Editor-87b5f27a.js";import{__tla as _t}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-8b438c45.js";import{__tla as et}from"./index-b76b57e5.js";import{__tla as lt}from"./el-image-viewer-cfdb08a7.js";import{__tla as ot}from"./useMessage-3b767a67.js";import{__tla as ct}from"./UploadImg-76a51b31.js";import{__tla as mt}from"./UploadImgs-52ac4257.js";import{__tla as st}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-1b59ad7e.js";import{__tla as nt}from"./UploadFile-6ff40d47.js";import{__tla as it}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-3d49d983.js";import{__tla as pt}from"./index-07a2f7ed.js";import{__tla as ut}from"./useForm-c4f532c3.js";import"./download-20922b56.js";import{__tla as ft}from"./el-card-8db16709.js";import{__tla as yt}from"./Dialog-ac2b0e4e.js";import{__tla as ht}from"./formatTime-ddd96ac8.js";import{__tla as dt}from"./index-9e35a85e.js";import{__tla as gt}from"./formRules-e7596da3.js";import{__tla as kt}from"./dict-c9a7f6a4.js";import{__tla as St}from"./useCrudSchemas-85091c4a.js";import"./tree-0af4953a.js";import{__tla as Ct}from"./DictTag-81730a57.js";import"./color-6e929987.js";let z,vt=Promise.all([(()=>{try{return A}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return G}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()=>{z=q(j({name:"SystemMailTemplate",__name:"index",setup(Pt){const{tableObject:e,tableMethods:u}=M({getListApi:H,delListApi:K}),{getList:f,setSearchParams:y}=u,h=v(),d=(k,a)=>{h.value.open(k,a)},g=v();return D(()=>{f()}),(k,a)=>{const b=Q,m=T,x=w,S=F,L=R,s=I("hasPermi");return c(),J(O,null,[l(S,null,{default:_(()=>[l(x,{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(b,{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(L,{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: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(E,{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{vt as __tla,z as default};
|