index-1e95122b.js 5.2 KB

1
  1. import{u as L,_ as M,a as R,__tla as U}from"./useTable-14fc7605.js";import{_ as j,__tla as D}from"./ContentWrap.vue_vue_type_script_setup_true_lang-6b7b4656.js";import{d as F,r as P,b as q,a3 as w,o as c,c as I,f as l,A as _,a as t,k as n,C as i,D as u,F as J,_ as O,J as B,__tla as E}from"./index-a9d538d5.js";import{a as b,__tla as G}from"./account.data-5f32173d.js";import{a as H,d as K,__tla as N}from"./index-8d37fcb2.js";import{_ as Q,__tla as T}from"./MailAccountForm.vue_vue_type_script_setup_true_lang-78e1ed98.js";import{_ as V,__tla as W}from"./MailAccountDetail.vue_vue_type_script_setup_true_lang-0a205766.js";import{__tla as X}from"./Form-2529eb66.js";import{__tla as Y}from"./el-virtual-list-978aca79.js";import{__tla as Z}from"./el-tree-select-ca2609f2.js";import{__tla as $}from"./el-time-select-50ad4b9b.js";import{__tla as tt}from"./InputPassword-5927e1a4.js";import{__tla as at}from"./InputPassword.vue_vue_type_style_index_0_scoped_38c93dba_lang-328730e0.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as rt}from"./style.css_vue_type_style_index_0_src_true_lang-0456a07b.js";import{__tla as _t}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-7f19656e.js";import{__tla as et}from"./index-ab25a150.js";import{__tla as lt}from"./el-image-viewer-2e77a3e7.js";import{__tla as ot}from"./useMessage-d5cbbfad.js";import{__tla as ct}from"./UploadImg-4d05829d.js";import{__tla as st}from"./UploadImgs-bafc3b8f.js";import{__tla as mt}from"./UploadImgs.vue_vue_type_style_index_0_scoped_3d27d917_lang-e129a17c.js";import{__tla as nt}from"./UploadFile-26820e1b.js";import{__tla as it}from"./UploadFile.vue_vue_type_style_index_0_scoped_2570c8e9_lang-86429bd4.js";import{__tla as ut}from"./index-95ad39b3.js";import{__tla as pt}from"./useForm-28ded248.js";import"./download-20922b56.js";import{__tla as yt}from"./el-card-0ea446a3.js";import{__tla as ft}from"./formatTime-8985a9d0.js";import{__tla as ht}from"./formRules-08c9aa65.js";import{__tla as dt}from"./dict-0e53af99.js";import{__tla as gt}from"./useCrudSchemas-a9ddfbe1.js";import"./tree-fd3a041e.js";import{__tla as kt}from"./DictTag.vue_vue_type_script_lang-9e4dd0a0.js";import"./color-6e929987.js";import{__tla as St}from"./Dialog-f354f369.js";import{__tla as Ct}from"./Descriptions-93fe9d86.js";import{__tla as Pt}from"./Descriptions.vue_vue_type_style_index_0_scoped_76061901_lang-925d59b4.js";import{__tla as bt}from"./el-descriptions-item-fc5f9080.js";let v,vt=Promise.all([(()=>{try{return U}catch{}})(),(()=>{try{return D}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return G}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=F({name:"SystemMailAccount",__name:"index",setup(xt){const{tableObject:e,tableMethods:p}=L({getListApi:H,delListApi:K}),{getList:y,setSearchParams:f}=p,h=P(),d=(k,a)=>{h.value.open(k,a)},g=P();return q(()=>{y()}),(k,a)=>{const x=O,s=B,z=M,S=j,A=R,m=w("hasPermi");return c(),I(J,null,[l(S,null,{default:_(()=>[l(z,{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(x,{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};