1 |
- import{u as M,_ as R,a as w,__tla as F}from"./useTable-b25a6b48.js";import{_ as U,__tla as j}from"./ContentWrap.vue_vue_type_script_setup_true_lang-9818245e.js";import{d as A,r as P,y as q,S as I,o as c,c as O,i as l,w as _,a as t,C as n,k as i,l as p,F as T,_ as B,q as D,__tla as E}from"./index-abaca7e8.js";import{a as v,_ as G,__tla as H}from"./MailTemplateForm.vue_vue_type_script_setup_true_lang-81be45cb.js";import{a as J,d as K,__tla as N}from"./index-4eafd4dd.js";import{_ as Q,__tla as V}from"./MailTemplateSendForm.vue_vue_type_script_setup_true_lang-a0d031fe.js";import{__tla as W}from"./Form-e797f8a0.js";import{__tla as X}from"./el-virtual-list-f7463add.js";import{__tla as Y}from"./el-tree-select-ae8992fc.js";import{__tla as Z}from"./el-time-select-ed1ed327.js";import{__tla as $}from"./InputPassword-1c07ac5e.js";import{__tla as tt}from"./InputPassword.vue_vue_type_style_index_0_scoped_38c93dba_lang-7594a8a8.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as at}from"./style.css_vue_type_style_index_0_src_true_lang-097712b4.js";import{__tla as rt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-8933ee1b.js";import{__tla as _t}from"./index-1a54edc6.js";import{__tla as et}from"./el-image-viewer-45c4debe.js";import{__tla as lt}from"./useMessage-7c79d01b.js";import{__tla as ot}from"./UploadImg-47ac0338.js";import{__tla as ct}from"./UploadImgs-9d0787c5.js";import{__tla as mt}from"./UploadImgs.vue_vue_type_style_index_0_scoped_3d27d917_lang-787db1dd.js";import{__tla as st}from"./UploadFile-fbc2d83d.js";import{__tla as nt}from"./UploadFile.vue_vue_type_style_index_0_scoped_2570c8e9_lang-af6b82f0.js";import{__tla as it}from"./index-e37a1056.js";import{__tla as pt}from"./useForm-52169487.js";import"./download-20922b56.js";import{__tla as ut}from"./el-card-ff5a526a.js";import{__tla as yt}from"./Dialog-a2f7c92a.js";import{__tla as ft}from"./formatTime-0c1ba065.js";import{__tla as ht}from"./index-fdf64a4a.js";import{__tla as dt}from"./formRules-04bbe1b7.js";import{__tla as gt}from"./dict-885a7988.js";import{__tla as kt}from"./useCrudSchemas-00ad7968.js";import"./tree-fd3a041e.js";import{__tla as St}from"./DictTag.vue_vue_type_script_lang-c84a7172.js";import"./color-6e929987.js";let b,Ct=Promise.all([(()=>{try{return F}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return V}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 yt}catch{}})(),(()=>{try{return ft}catch{}})(),(()=>{try{return ht}catch{}})(),(()=>{try{return dt}catch{}})(),(()=>{try{return gt}catch{}})(),(()=>{try{return kt}catch{}})(),(()=>{try{return St}catch{}})()]).then(async()=>{b=A({name:"SystemMailTemplate",__name:"index",setup(Pt){const{tableObject:e,tableMethods:u}=M({getListApi:J,delListApi:K}),{getList:y,setSearchParams:f}=u,h=P(),d=(k,a)=>{h.value.open(k,a)},g=P();return q(()=>{y()}),(k,a)=>{const z=B,m=D,x=R,S=U,L=w,s=I("hasPermi");return c(),O(T,null,[l(S,null,{default:_(()=>[l(x,{schema:t(v).searchSchema,onSearch:t(f),onReset:t(f)},{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(L,{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(G,{ref_key:"formRef",ref:h,onSuccess:t(y)},null,8,["onSuccess"]),l(Q,{ref_key:"sendFormRef",ref:g},null,512)],64)}}})});export{Ct as __tla,b as default};
|