index-a8669acb.js 5.3 KB

1
  1. import{u as M,_ as R,a as w,__tla as A}from"./useTable-5e3cee6f.js";import{_ as U,__tla as j}from"./ContentWrap.vue_vue_type_script_setup_true_lang-5a63038a.js";import{d as q,r as C,k as F,P as B,o as c,c as I,f as l,w as _,a as t,v as n,q as i,m as u,F as O,_ as D,B as E,__tla as G}from"./index-2eab2d23.js";import{a as v,__tla as H}from"./account.data-7c67ff9b.js";import{a as J,d as K,__tla as N}from"./index-da8b3c13.js";import{_ as Q,__tla as T}from"./MailAccountForm.vue_vue_type_script_setup_true_lang-dba914ab.js";import{_ as V,__tla as W}from"./MailAccountDetail.vue_vue_type_script_setup_true_lang-96f02340.js";import{__tla as X}from"./Form-3e912ee1.js";import{__tla as Y}from"./el-virtual-list-197311ca.js";import{__tla as Z}from"./el-tree-select-4ae7c290.js";import{__tla as $}from"./el-time-select-5c827818.js";import{__tla as tt}from"./InputPassword-37d35f11.js";import{__tla as at}from"./InputPassword.vue_vue_type_style_index_0_scoped_38c93dba_lang-46e660ed.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as rt}from"./style.css_vue_type_style_index_0_src_true_lang-2706eaa9.js";import{__tla as _t}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-4db00aa5.js";import{__tla as et}from"./index-d3f876ab.js";import{__tla as lt}from"./el-image-viewer-5d14bc77.js";import{__tla as ot}from"./useMessage-171aa63e.js";import{__tla as ct}from"./UploadImg-90fe71c2.js";import{__tla as mt}from"./UploadImgs-88de5939.js";import{__tla as st}from"./UploadImgs.vue_vue_type_style_index_0_scoped_0ff04634_lang-20f165d6.js";import{__tla as nt}from"./UploadFile-09195073.js";import{__tla as it}from"./UploadFile.vue_vue_type_style_index_0_scoped_2570c8e9_lang-df9c704a.js";import{__tla as ut}from"./fixed-size-list-a23c3278.js";import{__tla as pt}from"./index-cc63c3c4.js";import{__tla as yt}from"./useForm-a4597643.js";import"./download-20922b56.js";import{__tla as ft}from"./el-card-c558f0ec.js";import{__tla as ht}from"./formatTime-41155543.js";import{__tla as dt}from"./formRules-228bd511.js";import{__tla as gt}from"./dict-1ad71b6f.js";import{__tla as kt}from"./useCrudSchemas-68789bb8.js";import"./tree-fd3a041e.js";import{__tla as St}from"./DictTag.vue_vue_type_script_lang-cb1e47ff.js";import"./color-6e929987.js";import{__tla as Pt}from"./Dialog-c2716df6.js";import{__tla as Ct}from"./Descriptions-b098cb04.js";import{__tla as vt}from"./Descriptions.vue_vue_type_style_index_0_scoped_76061901_lang-01b3dacb.js";import{__tla as bt}from"./el-descriptions-item-fd42286f.js";let b,zt=Promise.all([(()=>{try{return A}catch{}})(),(()=>{try{return j}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 mt}catch{}})(),(()=>{try{return st}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 Pt}catch{}})(),(()=>{try{return Ct}catch{}})(),(()=>{try{return vt}catch{}})(),(()=>{try{return bt}catch{}})()]).then(async()=>{b=q({name:"SystemMailAccount",__name:"index",setup(xt){const{tableObject:e,tableMethods:p}=M({getListApi:J,delListApi:K}),{getList:y,setSearchParams:f}=p,h=C(),d=(k,a)=>{h.value.open(k,a)},g=C();return F(()=>{y()}),(k,a)=>{const z=D,m=E,x=R,S=U,L=w,s=B("hasPermi");return c(),I(O,null,[l(S,null,{default:_(()=>[l(x,{schema:t(v).searchSchema,onSearch:t(f),onReset:t(f)},{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"}),u(" \u65B0\u589E ")]),_:1})),[[s,["system:mail-account:create"]]])]),_:1},8,["schema","onSearch","onReset"])]),_:1}),l(S,null,{default:_(()=>[l(L,{columns:t(v).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:P=>d("update",r.id)},{default:_(()=>[u(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[s,["system:mail-account:update"]]]),n((c(),i(m,{link:"",type:"primary",onClick:P=>{return o=r.id,void g.value.open(o);var o}},{default:_(()=>[u(" \u8BE6\u60C5 ")]),_:2},1032,["onClick"])),[[s,["system:mail-account:query"]]]),n((c(),i(m,{link:"",type:"danger",onClick:P=>{return o=r.id,void p.delList(o,!1);var o}},{default:_(()=>[u(" \u5220\u9664 ")]),_:2},1032,["onClick"])),[[s,["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{zt as __tla,b as default};