1 |
- import{u as R,_ as A,a as F}from"./useTable-b172ecf2.js";import{_ as M}from"./ContentWrap.vue_vue_type_script_setup_true_lang-f3ab50e7.js";import{d as U,r as P,b as j,a1 as w,o as p,c as B,f as r,B as i,a,l as n,A as c,G as u,F as G,_ as I,L as O,__tla as T}from"./index-39d329c4.js";import{a as b,_ as q,__tla as D}from"./MailTemplateForm.vue_vue_type_script_setup_true_lang-682e577a.js";import{a as E,d as H}from"./index-566a0d0b.js";import{_ as J}from"./MailTemplateSendForm.vue_vue_type_script_setup_true_lang-c7e5b679.js";import"./Form-07785310.js";import"./el-virtual-list-8640efd2.js";import"./el-tree-select-2af4c3cc.js";import"./el-time-select-5ff8534d.js";import"./InputPassword-a123672c.js";import"./InputPassword.vue_vue_type_style_index_0_scoped_0af03974_lang-a3396367.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./style.css_vue_type_style_index_0_src_true_lang-1943bea4.js";import"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-94e6c5c2.js";import"./index-0c406c8d.js";import"./el-image-viewer-b66eac2e.js";import"./useMessage-47346882.js";import"./UploadImg-e9385982.js";import"./UploadImgs-07e5001f.js";import"./UploadImgs.vue_vue_type_style_index_0_scoped_bad238b9_lang-86ec22fb.js";import"./UploadFile-559f918e.js";import"./UploadFile.vue_vue_type_style_index_0_scoped_a9e67aa2_lang-3dfd3bb9.js";import"./index-e66b1f22.js";import"./useForm-c23b6ff0.js";import"./download-20922b56.js";import"./el-card-5cc80b8a.js";import"./Dialog-6a91c005.js";import"./formatTime-4c4af720.js";import"./index-a1708abf.js";import"./formRules-28b76147.js";import"./dict-0856c143.js";import"./useCrudSchemas-cdc6cc84.js";import"./tree-fd3a041e.js";import"./DictTag.vue_vue_type_script_lang-b95bb985.js";import"./color-6e929987.js";let v,K=Promise.all([(()=>{try{return T}catch{}})(),(()=>{try{return D}catch{}})()]).then(async()=>{v=U({name:"SystemMailTemplate",__name:"index",setup(N){const{tableObject:o,tableMethods:d}=R({getListApi:E,delListApi:H}),{getList:_,setSearchParams:f}=d,g=P(),y=(S,t)=>{g.value.open(S,t)},k=P();return j(()=>{_()}),(S,t)=>{const L=I,l=O,z=A,h=M,x=F,s=w("hasPermi");return p(),B(G,null,[r(h,null,{default:i(()=>[r(z,{schema:a(b).searchSchema,onSearch:a(f),onReset:a(f)},{actionMore:i(()=>[n((p(),c(l,{type:"primary",plain:"",onClick:t[0]||(t[0]=e=>y("create"))},{default:i(()=>[r(L,{icon:"ep:plus",class:"mr-5px"}),t[3]||(t[3]=u(" \u65B0\u589E "))]),_:1})),[[s,["system:mail-account:create"]]])]),_:1},8,["schema","onSearch","onReset"])]),_:1}),r(h,null,{default:i(()=>[r(x,{columns:a(b).tableColumns,data:a(o).tableList,loading:a(o).loading,pagination:{total:a(o).total},pageSize:a(o).pageSize,"onUpdate:pageSize":t[1]||(t[1]=e=>a(o).pageSize=e),currentPage:a(o).currentPage,"onUpdate:currentPage":t[2]||(t[2]=e=>a(o).currentPage=e)},{action:i(({row:e})=>[n((p(),c(l,{link:"",type:"primary",onClick:C=>{return m=e.id,void k.value.open(m);var m}},{default:i(()=>t[4]||(t[4]=[u(" \u6D4B\u8BD5 ")])),_:2},1032,["onClick"])),[[s,["system:mail-template:send-mail"]]]),n((p(),c(l,{link:"",type:"primary",onClick:C=>y("update",e.id)},{default:i(()=>t[5]||(t[5]=[u(" \u7F16\u8F91 ")])),_:2},1032,["onClick"])),[[s,["system:mail-template:update"]]]),n((p(),c(l,{link:"",type:"danger",onClick:C=>{return m=e.id,void d.delList(m,!1);var m}},{default:i(()=>t[6]||(t[6]=[u(" \u5220\u9664 ")])),_:2},1032,["onClick"])),[[s,["system:mail-template:delete"]]])]),_:1},8,["columns","data","loading","pagination","pageSize","currentPage"])]),_:1}),r(q,{ref_key:"formRef",ref:g,onSuccess:a(_)},null,8,["onSuccess"]),r(J,{ref_key:"sendFormRef",ref:k},null,512)],64)}}})});export{K as __tla,v as default};
|