index-3806049f.js 4.9 KB

1
  1. import{u as R,_ as A,a as F,__tla as M}from"./useTable-bbcf724c.js";import{_ as U,__tla as j}from"./ContentWrap.vue_vue_type_script_setup_true_lang-a87dc5ee.js";import{d as w,r as P,b as T,a3 as D,o as c,c as I,f as l,A as _,a as t,k as n,C as i,D as p,F as J,_ as O,J as q,__tla as B}from"./index-e8bcd6ed.js";import{a as b,_ as E,__tla as G}from"./MailTemplateForm.vue_vue_type_script_setup_true_lang-95717b80.js";import{a as H,d as K,__tla as N}from"./index-e645380d.js";import{_ as Q,__tla as V}from"./MailTemplateSendForm.vue_vue_type_script_setup_true_lang-8d01bb9e.js";import{__tla as W}from"./Form-0d20e8e0.js";import{__tla as X}from"./el-virtual-list-dc3f17e9.js";import{__tla as Y}from"./el-tree-select-6141f777.js";import{__tla as Z}from"./el-time-select-8a7a9590.js";import{__tla as $}from"./InputPassword-e1771546.js";import{__tla as tt}from"./InputPassword.vue_vue_type_style_index_0_scoped_38c93dba_lang-dc6bd542.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as at}from"./style.css_vue_type_style_index_0_src_true_lang-284d49ed.js";import{__tla as rt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-12190757.js";import{__tla as _t}from"./index-414ce28c.js";import{__tla as et}from"./el-image-viewer-5abcb2c7.js";import{__tla as lt}from"./useMessage-c9898ef4.js";import{__tla as ot}from"./UploadImg-9c9e020e.js";import{__tla as ct}from"./UploadImgs-e5c956d7.js";import{__tla as mt}from"./UploadImgs.vue_vue_type_style_index_0_scoped_3d27d917_lang-2d6950e6.js";import{__tla as st}from"./UploadFile-d98d4f1b.js";import{__tla as nt}from"./UploadFile.vue_vue_type_style_index_0_scoped_2570c8e9_lang-7ef58eca.js";import{__tla as it}from"./index-fdcd0193.js";import{__tla as pt}from"./useForm-be44f015.js";import"./download-20922b56.js";import{__tla as ut}from"./el-card-5eb68390.js";import{__tla as ft}from"./Dialog-e8e59ffc.js";import{__tla as yt}from"./formatTime-da9b941e.js";import{__tla as ht}from"./index-b6bba116.js";import{__tla as dt}from"./formRules-62b57bfb.js";import{__tla as gt}from"./dict-6c101698.js";import{__tla as kt}from"./useCrudSchemas-2c098b62.js";import"./tree-0af4953a.js";import{__tla as St}from"./DictTag.vue_vue_type_script_lang-096e9741.js";import"./color-6e929987.js";let v,Ct=Promise.all([(()=>{try{return M}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return G}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{}})()]).then(async()=>{v=w({name:"SystemMailTemplate",__name:"index",setup(Pt){const{tableObject:e,tableMethods:u}=R({getListApi:H,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,L=A,S=U,x=F,s=D("hasPermi");return c(),I(J,null,[l(S,null,{default:_(()=>[l(L,{schema:t(b).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(b).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(Q,{ref_key:"sendFormRef",ref:g},null,512)],64)}}})});export{Ct as __tla,v as default};