1 |
- import{u as R,_ as j,a as w,__tla as F}from"./useTable-8b826451.js";import{_ as M,__tla as U}from"./ContentWrap.vue_vue_type_script_setup_true_lang-cc335a20.js";import{d as A,r as C,z as q,S as D,o as c,c as I,i as l,w as _,a as t,D as n,j as i,m as p,F as O,_ as T,q as B,__tla as E}from"./index-1e808f2e.js";import{a as v,_ as G,__tla as H}from"./MailTemplateForm.vue_vue_type_script_setup_true_lang-1bc25949.js";import{a as J,d as K,__tla as N}from"./index-6f8c2fdb.js";import{_ as Q,__tla as V}from"./MailTemplateSendForm.vue_vue_type_script_setup_true_lang-f9f9299b.js";import{__tla as W}from"./Form-18c0747a.js";import{__tla as X}from"./el-virtual-list-c88c2cf8.js";import{__tla as Y}from"./el-tree-select-e8e05888.js";import{__tla as Z}from"./el-time-select-9e66b75c.js";import{__tla as $}from"./InputPassword-b3d7a3e7.js";import{__tla as tt}from"./InputPassword.vue_vue_type_style_index_0_scoped_38c93dba_lang-ad69fd33.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as at}from"./style.css_vue_type_style_index_0_src_true_lang-507ff6a6.js";import{__tla as rt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-b3df4382.js";import{__tla as _t}from"./index-b59955b6.js";import{__tla as et}from"./el-image-viewer-dddb6285.js";import{__tla as lt}from"./useMessage-5f9e8917.js";import{__tla as ot}from"./UploadImg-3538b5a5.js";import{__tla as ct}from"./UploadImgs-d9af51cb.js";import{__tla as mt}from"./UploadImgs.vue_vue_type_style_index_0_scoped_3d27d917_lang-531188a2.js";import{__tla as st}from"./UploadFile-5a50d6dd.js";import{__tla as nt}from"./UploadFile.vue_vue_type_style_index_0_scoped_2570c8e9_lang-d79157f5.js";import{__tla as it}from"./index-73afebcf.js";import{__tla as pt}from"./useForm-66c046ed.js";import"./download-20922b56.js";import{__tla as ut}from"./el-card-03b3588b.js";import{__tla as yt}from"./Dialog-f44f9d78.js";import{__tla as ft}from"./formatTime-a348c3be.js";import{__tla as ht}from"./index-724522b7.js";import{__tla as dt}from"./formRules-83fad61e.js";import{__tla as gt}from"./dict-a31cb4ba.js";import{__tla as kt}from"./useCrudSchemas-0ab1b807.js";import"./tree-fd3a041e.js";import{__tla as St}from"./DictTag.vue_vue_type_script_lang-5c02ebfe.js";import"./color-6e929987.js";let z,Pt=Promise.all([(()=>{try{return F}catch{}})(),(()=>{try{return U}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()=>{z=A({name:"SystemMailTemplate",__name:"index",setup(Ct){const{tableObject:e,tableMethods:u}=R({getListApi:J,delListApi:K}),{getList:y,setSearchParams:f}=u,h=C(),d=(k,a)=>{h.value.open(k,a)},g=C();return q(()=>{y()}),(k,a)=>{const b=T,m=B,L=j,S=M,x=w,s=D("hasPermi");return c(),I(O,null,[l(S,null,{default:_(()=>[l(L,{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(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(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(y)},null,8,["onSuccess"]),l(Q,{ref_key:"sendFormRef",ref:g},null,512)],64)}}})});export{Pt as __tla,z as default};
|