index-3f0ccb23.js 5.3 KB

1
  1. import{u as w,_ as R,a as j,__tla as A}from"./useTable-b20a1fd5.js";import{_ as M,__tla as U}from"./ContentWrap-1ba5c8ca.js";import{d as F,r as C,l as q,Q as D,o as c,c as I,f as l,w as _,a as t,x as s,v as i,n as u,F as O,j as Q,C as B,_ as E,__tla as G}from"./index-6d7b82ba.js";import{a as P,__tla as H}from"./account.data-8fc6f3f2.js";import{a as J,d as K,__tla as N}from"./index-82c369c5.js";import T,{__tla as V}from"./MailAccountForm-68a834ed.js";import W,{__tla as X}from"./MailAccountDetail-e299b4da.js";import{__tla as Y}from"./Form-bee7ccb5.js";import{__tla as Z}from"./el-virtual-list-2b25c1ae.js";import{__tla as $}from"./el-tree-select-23e10a37.js";import{__tla as tt}from"./el-time-select-34f55ab8.js";import{__tla as at}from"./InputPassword-975a1e0c.js";import{__tla as rt}from"./InputPassword.vue_vue_type_style_index_0_scoped_3f07eb1d_lang-94902465.js";import{__tla as _t}from"./Editor-1d56306f.js";import{__tla as et}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-b2231227.js";import{__tla as lt}from"./index-8e19be94.js";import{__tla as ot}from"./el-image-viewer-4a19ded4.js";import{__tla as ct}from"./useMessage-be161634.js";import{__tla as mt}from"./UploadImg-f5f3b1db.js";import{__tla as nt}from"./UploadImgs-dc546496.js";import{__tla as st}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-aa91c91b.js";import{__tla as it}from"./UploadFile-0f52005e.js";import{__tla as ut}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-5325525b.js";import{__tla as pt}from"./fixed-size-list-02c43dbf.js";import{__tla as ft}from"./index-e37504b6.js";import{__tla as yt}from"./useForm-089edf95.js";import"./download-20922b56.js";import{__tla as ht}from"./ContentWrap.vue_vue_type_script_setup_true_lang-68bb15fa.js";import{__tla as dt}from"./el-card-1a4b93b1.js";import{__tla as gt}from"./formatTime-d24faf41.js";import{__tla as kt}from"./formRules-7ebbbdb0.js";import{__tla as St}from"./dict-efb5f3b6.js";import{__tla as vt}from"./useCrudSchemas-94006a3e.js";import"./tree-0af4953a.js";import{__tla as Ct}from"./DictTag-300da1c0.js";import"./color-6e929987.js";import{__tla as Pt}from"./Dialog-78181bae.js";import{__tla as xt}from"./Descriptions-cd924016.js";import{__tla as zt}from"./Descriptions.vue_vue_type_style_index_0_scoped_aee191e8_lang-53d59f79.js";import{__tla as bt}from"./el-descriptions-item-a49b1792.js";let x,Lt=Promise.all([(()=>{try{return A}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return H}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 mt}catch{}})(),(()=>{try{return nt}catch{}})(),(()=>{try{return st}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 Ct}catch{}})(),(()=>{try{return Pt}catch{}})(),(()=>{try{return xt}catch{}})(),(()=>{try{return zt}catch{}})(),(()=>{try{return bt}catch{}})()]).then(async()=>{x=E(F({name:"SystemMailAccount",__name:"index",setup(wt){const{tableObject:e,tableMethods:p}=w({getListApi:J,delListApi:K}),{getList:f,setSearchParams:y}=p,h=C(),d=(k,a)=>{h.value.open(k,a)},g=C();return q(()=>{f()}),(k,a)=>{const z=Q,m=B,b=R,S=M,L=j,n=D("hasPermi");return c(),I(O,null,[l(S,null,{default:_(()=>[l(b,{schema:t(P).searchSchema,onSearch:t(y),onReset:t(y)},{actionMore:_(()=>[s((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})),[[n,["system:mail-account:create"]]])]),_:1},8,["schema","onSearch","onReset"])]),_:1}),l(S,null,{default:_(()=>[l(L,{columns:t(P).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})=>[s((c(),i(m,{link:"",type:"primary",onClick:v=>d("update",r.id)},{default:_(()=>[u(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[n,["system:mail-account:update"]]]),s((c(),i(m,{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"]]]),s((c(),i(m,{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(T,{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-admin/src/views/system/mail/account/index.vue"]])});export{Lt as __tla,x as default};