1 |
- import{u as w,_ as L,a as M,__tla as U}from"./useTable-12359fde.js";import{_ as F,__tla as j}from"./ContentWrap-e91b2b5a.js";import{d as A,r as C,B as T,P as B,o as s,c as D,i as l,w as _,a as t,C as n,l as i,j as u,F as H,v as J,J as O,_ as X,__tla as q}from"./index-b2b3c6c4.js";import{a as P,M as E,__tla as G}from"./MailTemplateForm-bcec2321.js";import{a as I,d as K,__tla as N}from"./index-b17187f6.js";import Q,{__tla as V}from"./MailTemplateSendForm-cb2850ee.js";import{__tla as W}from"./Form-f495436f.js";import{__tla as Y}from"./el-virtual-list-f175adc8.js";import{__tla as Z}from"./el-tree-select-7784ba1b.js";import{__tla as $}from"./el-time-select-4cedd484.js";import{__tla as tt}from"./InputPassword-d9e76ad7.js";import{__tla as at}from"./Editor-b514e2f8.js";import{__tla as rt}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-2554109a.js";import{__tla as _t}from"./index-677601df.js";import{__tla as et}from"./el-image-viewer-b5664270.js";import{__tla as lt}from"./useMessage-a5edbb0f.js";import{__tla as ot}from"./UploadImg-5f639045.js";import{__tla as st}from"./UploadImgs-5ed43a7f.js";import{__tla as ct}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-0ec352e2.js";import{__tla as mt}from"./UploadFile-cd46855d.js";import{__tla as nt}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-5cfa6a42.js";import{__tla as it}from"./index-2d76a87c.js";import{__tla as ut}from"./useForm-0546a4b3.js";import"./download-20922b56.js";import{__tla as pt}from"./el-card-bd6e27c9.js";import{__tla as ft}from"./Dialog-70b24cbf.js";import{__tla as yt}from"./formatTime-7e07ce72.js";import{__tla as ht}from"./index-1e57c3a7.js";import{__tla as dt}from"./formRules-6084ed5c.js";import{__tla as gt}from"./dict-7f0cc6d2.js";import{__tla as kt}from"./useCrudSchemas-427e66c8.js";import"./tree-0af4953a.js";import{__tla as St}from"./DictTag-4199ec8d.js";import"./color-6e929987.js";let x,vt=Promise.all([(()=>{try{return U}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return W}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 st}catch{}})(),(()=>{try{return ct}catch{}})(),(()=>{try{return mt}catch{}})(),(()=>{try{return nt}catch{}})(),(()=>{try{return it}catch{}})(),(()=>{try{return ut}catch{}})(),(()=>{try{return pt}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()=>{x=X(A({name:"SystemMailTemplate",__name:"index",setup(Ct){const{tableObject:e,tableMethods:p}=w({getListApi:I,delListApi:K}),{getList:f,setSearchParams:y}=p,h=C(),d=(k,a)=>{h.value.open(k,a)},g=C();return T(()=>{f()}),(k,a)=>{const b=J,c=O,z=L,S=F,R=M,m=B("hasPermi");return s(),D(H,null,[l(S,null,{default:_(()=>[l(z,{schema:t(P).searchSchema,onSearch:t(y),onReset:t(y)},{actionMore:_(()=>[n((s(),i(c,{type:"primary",plain:"",onClick:a[0]||(a[0]=r=>d("create"))},{default:_(()=>[l(b,{icon:"ep:plus",class:"mr-5px"}),u(" \u65B0\u589E ")]),_:1})),[[m,["system:mail-account:create"]]])]),_:1},8,["schema","onSearch","onReset"])]),_:1}),l(S,null,{default:_(()=>[l(R,{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((s(),i(c,{link:"",type:"primary",onClick:v=>{return o=r.id,void g.value.open(o);var o}},{default:_(()=>[u(" \u6D4B\u8BD5 ")]),_:2},1032,["onClick"])),[[m,["system:mail-template:send-mail"]]]),n((s(),i(c,{link:"",type:"primary",onClick:v=>d("update",r.id)},{default:_(()=>[u(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[m,["system:mail-template:update"]]]),n((s(),i(c,{link:"",type:"danger",onClick:v=>{return o=r.id,void p.delList(o,!1);var o}},{default:_(()=>[u(" \u5220\u9664 ")]),_:2},1032,["onClick"])),[[m,["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)}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/system/mail/template/index.vue"]])});export{vt as __tla,x as default};
|