index-ade94d49.js 4.9 KB

1
  1. import{u as R,_ as A,a as F,__tla as M}from"./useTable-309e73a4.js";import{_ as U,__tla as j}from"./ContentWrap.vue_vue_type_script_setup_true_lang-a4de6de9.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-1f518666.js";import{a as b,_ as E,__tla as G}from"./MailTemplateForm.vue_vue_type_script_setup_true_lang-9d142b64.js";import{a as H,d as K,__tla as N}from"./index-469a5106.js";import{_ as Q,__tla as V}from"./MailTemplateSendForm.vue_vue_type_script_setup_true_lang-91398907.js";import{__tla as W}from"./Form-7f57868f.js";import{__tla as X}from"./el-virtual-list-2d1fef5d.js";import{__tla as Y}from"./el-tree-select-fc145135.js";import{__tla as Z}from"./el-time-select-873ba52b.js";import{__tla as $}from"./InputPassword-a5c79952.js";import{__tla as tt}from"./InputPassword.vue_vue_type_style_index_0_scoped_38c93dba_lang-c46d3c28.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as at}from"./style.css_vue_type_style_index_0_src_true_lang-4c80b346.js";import{__tla as rt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-f02ca529.js";import{__tla as _t}from"./index-32463859.js";import{__tla as et}from"./el-image-viewer-91778fd6.js";import{__tla as lt}from"./useMessage-633c11d2.js";import{__tla as ot}from"./UploadImg-832a2277.js";import{__tla as ct}from"./UploadImgs-cff47360.js";import{__tla as mt}from"./UploadImgs.vue_vue_type_style_index_0_scoped_3d27d917_lang-c1ca9484.js";import{__tla as st}from"./UploadFile-85a5c4e2.js";import{__tla as nt}from"./UploadFile.vue_vue_type_style_index_0_scoped_2570c8e9_lang-d48dad9e.js";import{__tla as it}from"./index-a37b14c7.js";import{__tla as pt}from"./useForm-6df02e07.js";import"./download-20922b56.js";import{__tla as ut}from"./el-card-955661ed.js";import{__tla as ft}from"./Dialog-4c960d8c.js";import{__tla as yt}from"./formatTime-a4909bb5.js";import{__tla as ht}from"./index-094a9059.js";import{__tla as dt}from"./formRules-c96b6a75.js";import{__tla as gt}from"./dict-167d9193.js";import{__tla as kt}from"./useCrudSchemas-c735f1e7.js";import"./tree-0af4953a.js";import{__tla as St}from"./DictTag.vue_vue_type_script_lang-8a012661.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};