index-758d6f56.js 5.2 KB

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