index-55d2e44c.js 5.1 KB

1
  1. import{u as L,_ as A,a as R,__tla as M}from"./useTable-68ab97a4.js";import{_ as U,__tla as j}from"./ContentWrap-60842994.js";import{d as D,r as C,k as F,Q as q,o as c,c as O,f as l,w as _,a as t,x as s,v as i,m as u,F as Q,n as B,C as E,_ as G,__tla as H}from"./index-430b3151.js";import{a as P,__tla as I}from"./account.data-e49d1435.js";import{a as J,d as K,__tla as N}from"./index-ee0126d6.js";import T,{__tla as V}from"./MailAccountForm-38e70d93.js";import W,{__tla as X}from"./MailAccountDetail-b16a6798.js";import{__tla as Y}from"./Form-1f6ef679.js";import{__tla as Z}from"./el-virtual-list-b1804f1c.js";import{__tla as $}from"./el-tree-select-eb1ce80a.js";import{__tla as tt}from"./el-time-select-c848a9f2.js";import{__tla as at}from"./InputPassword-cbfb2a68.js";import{__tla as rt}from"./InputPassword.vue_vue_type_style_index_0_scoped_3f07eb1d_lang-cb4e4b93.js";import{__tla as _t}from"./Editor-6ca3ff9c.js";import{__tla as et}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-f5de6f1b.js";import{__tla as lt}from"./index-255e3b1c.js";import{__tla as ot}from"./el-image-viewer-467ebe35.js";import{__tla as ct}from"./useMessage-d226ba89.js";import{__tla as mt}from"./UploadImg-2f818d4f.js";import{__tla as nt}from"./UploadImgs-6e3d2ca2.js";import{__tla as st}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-7ba47553.js";import{__tla as it}from"./UploadFile-823f3db0.js";import{__tla as ut}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-3bbc6c3b.js";import{__tla as pt}from"./index-555139e7.js";import{__tla as ft}from"./useForm-bb4f8ae2.js";import"./download-20922b56.js";import{__tla as yt}from"./el-card-dee5b36b.js";import{__tla as ht}from"./formatTime-00eecbb7.js";import{__tla as dt}from"./formRules-51914dec.js";import{__tla as gt}from"./dict-603b6a58.js";import{__tla as kt}from"./useCrudSchemas-5a874fb6.js";import"./tree-0af4953a.js";import{__tla as St}from"./DictTag-c94c3188.js";import"./color-6e929987.js";import{__tla as vt}from"./Dialog-cd42c639.js";import{__tla as Ct}from"./Descriptions-6ec66e84.js";import{__tla as Pt}from"./Descriptions.vue_vue_type_style_index_0_scoped_aee191e8_lang-7500e8d4.js";import{__tla as xt}from"./el-descriptions-item-f31a472b.js";let x,zt=Promise.all([(()=>{try{return M}catch{}})(),(()=>{try{return j}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 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{}})()]).then(async()=>{x=G(D({name:"SystemMailAccount",__name:"index",setup(bt){const{tableObject:e,tableMethods:p}=L({getListApi:J,delListApi:K}),{getList:f,setSearchParams:y}=p,h=C(),d=(k,a)=>{h.value.open(k,a)},g=C();return F(()=>{f()}),(k,a)=>{const z=B,m=E,b=A,S=U,w=R,n=q("hasPermi");return c(),O(Q,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(w,{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{zt as __tla,x as default};