1 |
- import{u as M,_ as R,a as w,__tla as F}from"./useTable-5e3cee6f.js";import{_ as U,__tla as j}from"./ContentWrap.vue_vue_type_script_setup_true_lang-5a63038a.js";import{d as A,r as C,k as q,P as B,o as c,c as I,f as l,w as _,a as t,v as n,q as i,m as p,F as O,_ as T,B as D,__tla as E}from"./index-2eab2d23.js";import{a as v,_ as G,__tla as H}from"./MailTemplateForm.vue_vue_type_script_setup_true_lang-a35c8aa6.js";import{a as J,d as K,__tla as N}from"./index-024d69cf.js";import{_ as Q,__tla as V}from"./MailTemplateSendForm.vue_vue_type_script_setup_true_lang-4c628175.js";import{__tla as W}from"./Form-3e912ee1.js";import{__tla as X}from"./el-virtual-list-197311ca.js";import{__tla as Y}from"./el-tree-select-4ae7c290.js";import{__tla as Z}from"./el-time-select-5c827818.js";import{__tla as $}from"./InputPassword-37d35f11.js";import{__tla as tt}from"./InputPassword.vue_vue_type_style_index_0_scoped_38c93dba_lang-46e660ed.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as at}from"./style.css_vue_type_style_index_0_src_true_lang-2706eaa9.js";import{__tla as rt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-4db00aa5.js";import{__tla as _t}from"./index-d3f876ab.js";import{__tla as et}from"./el-image-viewer-5d14bc77.js";import{__tla as lt}from"./useMessage-171aa63e.js";import{__tla as ot}from"./UploadImg-90fe71c2.js";import{__tla as ct}from"./UploadImgs-88de5939.js";import{__tla as mt}from"./UploadImgs.vue_vue_type_style_index_0_scoped_0ff04634_lang-20f165d6.js";import{__tla as st}from"./UploadFile-09195073.js";import{__tla as nt}from"./UploadFile.vue_vue_type_style_index_0_scoped_2570c8e9_lang-df9c704a.js";import{__tla as it}from"./fixed-size-list-a23c3278.js";import{__tla as pt}from"./index-cc63c3c4.js";import{__tla as ut}from"./useForm-a4597643.js";import"./download-20922b56.js";import{__tla as ft}from"./el-card-c558f0ec.js";import{__tla as yt}from"./Dialog-c2716df6.js";import{__tla as ht}from"./formatTime-41155543.js";import{__tla as dt}from"./index-da8b3c13.js";import{__tla as gt}from"./formRules-228bd511.js";import{__tla as kt}from"./dict-1ad71b6f.js";import{__tla as St}from"./useCrudSchemas-68789bb8.js";import"./tree-fd3a041e.js";import{__tla as Pt}from"./DictTag.vue_vue_type_script_lang-cb1e47ff.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 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 Pt}catch{}})()]).then(async()=>{b=A({name:"SystemMailTemplate",__name:"index",setup(vt){const{tableObject:e,tableMethods:u}=M({getListApi:J,delListApi:K}),{getList:f,setSearchParams:y}=u,h=C(),d=(k,a)=>{h.value.open(k,a)},g=C();return q(()=>{f()}),(k,a)=>{const z=T,m=D,L=R,S=U,x=w,s=B("hasPermi");return c(),I(O,null,[l(S,null,{default:_(()=>[l(L,{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(x,{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:P=>{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:P=>d("update",r.id)},{default:_(()=>[p(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[s,["system:mail-template:update"]]]),n((c(),i(m,{link:"",type:"danger",onClick:P=>{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(f)},null,8,["onSuccess"]),l(Q,{ref_key:"sendFormRef",ref:g},null,512)],64)}}})});export{Ct as __tla,b as default};
|