index-01771083.js 5.0 KB

1
  1. import{u as L,_ as M,a as R,__tla as j}from"./useTable-e3643e34.js";import{_ as F,__tla as U}from"./ContentWrap-31b34b9c.js";import{d as A,r as C,l as T,Q as D,o as c,c as I,f as l,w as _,a as t,x as n,v as i,n as p,F as O,j as Q,C as q,_ as B,__tla as E}from"./index-00b1998d.js";import{a as P,M as G,__tla as H}from"./MailTemplateForm-5a4d48ec.js";import{a as J,d as K,__tla as N}from"./index-d85ebf1c.js";import V,{__tla as W}from"./MailTemplateSendForm-4a62aea8.js";import{__tla as X}from"./Form-48c4bba9.js";import{__tla as Y}from"./el-virtual-list-a12c967a.js";import{__tla as Z}from"./el-tree-select-a872ac6f.js";import{__tla as $}from"./el-time-select-52d40ba8.js";import{__tla as tt}from"./InputPassword-a91b8523.js";import{__tla as at}from"./InputPassword.vue_vue_type_style_index_0_scoped_3f07eb1d_lang-d39c7fa1.js";import{__tla as rt}from"./Editor-f30dab21.js";import{__tla as _t}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-a7a19838.js";import{__tla as et}from"./index-e14527d5.js";import{__tla as lt}from"./el-image-viewer-612a5a0e.js";import{__tla as ot}from"./useMessage-437e6444.js";import{__tla as ct}from"./UploadImg-1a4a67d6.js";import{__tla as mt}from"./UploadImgs-e43488f4.js";import{__tla as st}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-fb8088d2.js";import{__tla as nt}from"./UploadFile-fc964417.js";import{__tla as it}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-00d2cd44.js";import{__tla as pt}from"./fixed-size-list-4f274623.js";import{__tla as ut}from"./index-1e69ec9e.js";import{__tla as ft}from"./useForm-5d735c0c.js";import"./download-20922b56.js";import{__tla as yt}from"./ContentWrap.vue_vue_type_script_setup_true_lang-d8a41a7a.js";import{__tla as ht}from"./el-card-fa7e872f.js";import{__tla as dt}from"./Dialog-5ff7ce4c.js";import{__tla as gt}from"./formatTime-4e31c660.js";import{__tla as kt}from"./index-f94a2e24.js";import{__tla as St}from"./formRules-e1a25722.js";import{__tla as vt}from"./dict-29c23f6f.js";import{__tla as Ct}from"./useCrudSchemas-bd52b1d9.js";import"./tree-0af4953a.js";import{__tla as Pt}from"./DictTag-5674b0a2.js";import"./color-6e929987.js";let x,xt=Promise.all([(()=>{try{return j}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return N}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 vt}catch{}})(),(()=>{try{return Ct}catch{}})(),(()=>{try{return Pt}catch{}})()]).then(async()=>{x=B(A({name:"SystemMailTemplate",__name:"index",setup(zt){const{tableObject:e,tableMethods:u}=L({getListApi:J,delListApi:K}),{getList:f,setSearchParams:y}=u,h=C(),d=(k,a)=>{h.value.open(k,a)},g=C();return T(()=>{f()}),(k,a)=>{const z=Q,m=q,b=M,S=F,w=R,s=D("hasPermi");return c(),I(O,null,[l(S,null,{default:_(()=>[l(b,{schema:t(P).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(w,{columns:t(P).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:v=>{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:v=>d("update",r.id)},{default:_(()=>[p(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[s,["system:mail-template:update"]]]),n((c(),i(m,{link:"",type:"danger",onClick:v=>{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(V,{ref_key:"sendFormRef",ref:g},null,512)],64)}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/mail/template/index.vue"]])});export{xt as __tla,x as default};