index-b8bbed42.js 5.2 KB

1
  1. import{u as L,_ as R,a as M,__tla as U}from"./useTable-272455ea.js";import{_ as j,__tla as w}from"./ContentWrap.vue_vue_type_script_setup_true_lang-bed37a76.js";import{d as D,r as P,b as F,a3 as q,o as c,c as J,f as l,A as _,a as t,k as n,C as i,D as u,F as O,_ as B,J as E,__tla as G}from"./index-6e0fa573.js";import{a as b,__tla as H}from"./account.data-bfe33a2b.js";import{a as I,d as K,__tla as N}from"./index-5e141d6c.js";import{_ as Q,__tla as T}from"./MailAccountForm.vue_vue_type_script_setup_true_lang-d9a0e949.js";import{_ as V,__tla as W}from"./MailAccountDetail.vue_vue_type_script_setup_true_lang-03222f6a.js";import{__tla as X}from"./Form-eb11acaf.js";import{__tla as Y}from"./el-virtual-list-ea1d649a.js";import{__tla as Z}from"./el-tree-select-490c6b16.js";import{__tla as $}from"./el-time-select-4b083112.js";import{__tla as tt}from"./InputPassword-ef08409c.js";import{__tla as at}from"./InputPassword.vue_vue_type_style_index_0_scoped_38c93dba_lang-8bbb0363.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as rt}from"./style.css_vue_type_style_index_0_src_true_lang-f8cebfb8.js";import{__tla as _t}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-16273a08.js";import{__tla as et}from"./index-f34352a4.js";import{__tla as lt}from"./el-image-viewer-bd37a3c0.js";import{__tla as ot}from"./useMessage-7f978edc.js";import{__tla as ct}from"./UploadImg-db85e21f.js";import{__tla as st}from"./UploadImgs-d20458da.js";import{__tla as mt}from"./UploadImgs.vue_vue_type_style_index_0_scoped_3d27d917_lang-eaa39ea2.js";import{__tla as nt}from"./UploadFile-b3a5e699.js";import{__tla as it}from"./UploadFile.vue_vue_type_style_index_0_scoped_2570c8e9_lang-4b94ac58.js";import{__tla as ut}from"./index-99c4720b.js";import{__tla as pt}from"./useForm-dda5e227.js";import"./download-20922b56.js";import{__tla as yt}from"./el-card-f999e23d.js";import{__tla as ft}from"./formatTime-4408999b.js";import{__tla as ht}from"./formRules-fc997671.js";import{__tla as dt}from"./dict-33efee75.js";import{__tla as gt}from"./useCrudSchemas-39e04c46.js";import"./tree-0af4953a.js";import{__tla as kt}from"./DictTag.vue_vue_type_script_lang-66c5118d.js";import"./color-6e929987.js";import{__tla as St}from"./Dialog-a16029e3.js";import{__tla as Ct}from"./Descriptions-8b67ba7c.js";import{__tla as Pt}from"./Descriptions.vue_vue_type_style_index_0_scoped_76061901_lang-6624a616.js";import{__tla as bt}from"./el-descriptions-item-868c8d3f.js";let v,vt=Promise.all([(()=>{try{return U}catch{}})(),(()=>{try{return w}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return T}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 st}catch{}})(),(()=>{try{return mt}catch{}})(),(()=>{try{return nt}catch{}})(),(()=>{try{return it}catch{}})(),(()=>{try{return ut}catch{}})(),(()=>{try{return pt}catch{}})(),(()=>{try{return yt}catch{}})(),(()=>{try{return ft}catch{}})(),(()=>{try{return ht}catch{}})(),(()=>{try{return dt}catch{}})(),(()=>{try{return gt}catch{}})(),(()=>{try{return kt}catch{}})(),(()=>{try{return St}catch{}})(),(()=>{try{return Ct}catch{}})(),(()=>{try{return Pt}catch{}})(),(()=>{try{return bt}catch{}})()]).then(async()=>{v=D({name:"SystemMailAccount",__name:"index",setup(zt){const{tableObject:e,tableMethods:p}=L({getListApi:I,delListApi:K}),{getList:y,setSearchParams:f}=p,h=P(),d=(k,a)=>{h.value.open(k,a)},g=P();return F(()=>{y()}),(k,a)=>{const z=B,s=E,x=R,S=j,A=M,m=q("hasPermi");return c(),J(O,null,[l(S,null,{default:_(()=>[l(x,{schema:t(b).searchSchema,onSearch:t(f),onReset:t(f)},{actionMore:_(()=>[n((c(),i(s,{type:"primary",plain:"",onClick:a[0]||(a[0]=r=>d("create"))},{default:_(()=>[l(z,{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(A,{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(s,{link:"",type:"primary",onClick:C=>d("update",r.id)},{default:_(()=>[u(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[m,["system:mail-account:update"]]]),n((c(),i(s,{link:"",type:"primary",onClick:C=>{return o=r.id,void g.value.open(o);var o}},{default:_(()=>[u(" \u8BE6\u60C5 ")]),_:2},1032,["onClick"])),[[m,["system:mail-account:query"]]]),n((c(),i(s,{link:"",type:"danger",onClick:C=>{return o=r.id,void p.delList(o,!1);var o}},{default:_(()=>[u(" \u5220\u9664 ")]),_:2},1032,["onClick"])),[[m,["system:mail-account:delete"]]])]),_:1},8,["columns","data","loading","pagination","pageSize","currentPage"])]),_:1}),l(Q,{ref_key:"formRef",ref:h,onSuccess:t(y)},null,8,["onSuccess"]),l(V,{ref_key:"detailRef",ref:g},null,512)],64)}}})});export{vt as __tla,v as default};