1 |
- import{u as L,_ as R,a as A,__tla as D}from"./useTable-da1c4f2c.js";import{_ as M,__tla as U}from"./ContentWrap-9da801df.js";import{d as j,r as z,z as F,T as q,o as c,c as O,i as l,w as _,a as t,D as m,k as i,l as u,F as T,n as B,s as E,_ as G,__tla as H}from"./index-2f799233.js";import{a as C,__tla as I}from"./account.data-faafd088.js";import{a as J,d as K,__tla as N}from"./index-7a704c83.js";import Q,{__tla as V}from"./MailAccountForm-5094dbef.js";import W,{__tla as X}from"./MailAccountDetail-d1d3dcb3.js";import{__tla as Y}from"./Form-5e5465c1.js";import{__tla as Z}from"./el-virtual-list-febfeb66.js";import{__tla as $}from"./el-tree-select-ef4257fc.js";import{__tla as tt}from"./el-time-select-4b5478df.js";import{__tla as at}from"./InputPassword-9f2a11af.js";import{__tla as rt}from"./InputPassword.vue_vue_type_style_index_0_scoped_3f07eb1d_lang-f411c0c0.js";import{__tla as _t}from"./Editor-3a97a075.js";import{__tla as et}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-ac19fa49.js";import{__tla as lt}from"./index-5f6db4a5.js";import{__tla as ot}from"./el-image-viewer-8e9e3571.js";import{__tla as ct}from"./useMessage-e567ad40.js";import{__tla as st}from"./UploadImg-d46c0539.js";import{__tla as nt}from"./UploadImgs-0a2b8085.js";import{__tla as mt}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-872107b3.js";import{__tla as it}from"./UploadFile-92910b0f.js";import{__tla as ut}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-bc6f7cfd.js";import{__tla as pt}from"./index-1c180a16.js";import{__tla as ft}from"./useForm-3d001d61.js";import"./download-20922b56.js";import{__tla as yt}from"./el-card-c64c83d1.js";import{__tla as ht}from"./formatTime-2157894c.js";import{__tla as dt}from"./formRules-8aa12f76.js";import{__tla as gt}from"./dict-20c916e2.js";import{__tla as kt}from"./useCrudSchemas-13251276.js";import"./tree-0af4953a.js";import{__tla as St}from"./DictTag-ea4c6cc2.js";import"./color-6e929987.js";import{__tla as vt}from"./Dialog-6fd39e06.js";import{__tla as zt}from"./Descriptions-72c81041.js";import{__tla as Ct}from"./Descriptions.vue_vue_type_style_index_0_scoped_aee191e8_lang-4add047b.js";import{__tla as Pt}from"./el-descriptions-item-0a78cef7.js";let P,bt=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return V}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 nt}catch{}})(),(()=>{try{return mt}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{}})(),(()=>{try{return vt}catch{}})(),(()=>{try{return zt}catch{}})(),(()=>{try{return Ct}catch{}})(),(()=>{try{return Pt}catch{}})()]).then(async()=>{P=G(j({name:"SystemMailAccount",__name:"index",setup(xt){const{tableObject:e,tableMethods:p}=L({getListApi:J,delListApi:K}),{getList:f,setSearchParams:y}=p,h=z(),d=(k,a)=>{h.value.open(k,a)},g=z();return F(()=>{f()}),(k,a)=>{const b=B,s=E,x=R,S=M,w=A,n=q("hasPermi");return c(),O(T,null,[l(S,null,{default:_(()=>[l(x,{schema:t(C).searchSchema,onSearch:t(y),onReset:t(y)},{actionMore:_(()=>[m((c(),i(s,{type:"primary",plain:"",onClick:a[0]||(a[0]=r=>d("create"))},{default:_(()=>[l(b,{icon:"ep:plus",class:"mr-5px"}),u(" \u65B0\u589E ")]),_:1})),[[n,["system:mail-account:create"]]])]),_:1},8,["schema","onSearch","onReset"])]),_:1}),l(S,null,{default:_(()=>[l(w,{columns:t(C).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})=>[m((c(),i(s,{link:"",type:"primary",onClick:v=>d("update",r.id)},{default:_(()=>[u(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[n,["system:mail-account:update"]]]),m((c(),i(s,{link:"",type:"primary",onClick:v=>{return o=r.id,void g.value.open(o);var o}},{default:_(()=>[u(" \u8BE6\u60C5 ")]),_:2},1032,["onClick"])),[[n,["system:mail-account:query"]]]),m((c(),i(s,{link:"",type:"danger",onClick:v=>{return o=r.id,void p.delList(o,!1);var o}},{default:_(()=>[u(" \u5220\u9664 ")]),_:2},1032,["onClick"])),[[n,["system:mail-account:delete"]]])]),_:1},8,["columns","data","loading","pagination","pageSize","currentPage"])]),_:1}),l(Q,{ref_key:"formRef",ref:h,onSuccess:t(f)},null,8,["onSuccess"]),l(W,{ref_key:"detailRef",ref:g},null,512)],64)}}}),[["__file","D:/zx/mall-newfeifan-zx-business/src/views/system/mail/account/index.vue"]])});export{bt as __tla,P as default};
|