index-18d77e88.js 5.0 KB

1
  1. import{u as L,_ as M,a as A,__tla as R}from"./useTable-1f24862f.js";import{_ as j,__tla as U}from"./ContentWrap-043a96e0.js";import{d as q,r as z,q as D,M as F,o as c,c as G,f as l,w as _,a as t,z as s,x as i,y as u,F as O,j as B,G as E,_ as H,__tla as I}from"./index-285d5e12.js";import{a as C,__tla as J}from"./account.data-1570a662.js";import{a as K,d as N,__tla as Q}from"./index-ca4edc39.js";import T,{__tla as V}from"./MailAccountForm-b41c5e30.js";import W,{__tla as X}from"./MailAccountDetail-c5ed8a55.js";import{__tla as Y}from"./Form-be74c4bc.js";import{__tla as Z}from"./el-virtual-list-f57f77ae.js";import{__tla as $}from"./el-tree-select-7fc80c79.js";import{__tla as tt}from"./el-time-select-fa7dca0c.js";import{__tla as at}from"./InputPassword-56cba9c2.js";import{__tla as rt}from"./Editor-5723df93.js";import{__tla as _t}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-fb840f55.js";import{__tla as et}from"./index-b46de57d.js";import{__tla as lt}from"./el-image-viewer-80107329.js";import{__tla as ot}from"./useMessage-1956eb7c.js";import{__tla as ct}from"./UploadImg-757b30f3.js";import{__tla as nt}from"./UploadImgs-096d0b6b.js";import{__tla as mt}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-51d2e6fe.js";import{__tla as st}from"./UploadFile-ea9d68b2.js";import{__tla as it}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-7443a93d.js";import{__tla as ut}from"./fixed-size-list-99c35fd8.js";import{__tla as pt}from"./index-303e09d6.js";import{__tla as ft}from"./useForm-8eb92569.js";import"./download-20922b56.js";import{__tla as yt}from"./el-card-9721b057.js";import{__tla as ht}from"./formatTime-7d233183.js";import{__tla as dt}from"./formRules-1f69ee3b.js";import{__tla as gt}from"./dict-4a341aee.js";import{__tla as kt}from"./useCrudSchemas-4fb0c6af.js";import"./tree-0af4953a.js";import{__tla as St}from"./DictTag-0d34a4c9.js";import"./color-6e929987.js";import{__tla as vt}from"./Dialog-5b22d18c.js";import{__tla as zt}from"./Descriptions-026c6e1f.js";import{__tla as Ct}from"./Descriptions.vue_vue_type_style_index_0_scoped_aee191e8_lang-3965f339.js";import{__tla as Pt}from"./el-descriptions-item-8cb0a3e3.js";let P,xt=Promise.all([(()=>{try{return R}catch{}})(),(()=>{try{return U}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return Q}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 nt}catch{}})(),(()=>{try{return mt}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 zt}catch{}})(),(()=>{try{return Ct}catch{}})(),(()=>{try{return Pt}catch{}})()]).then(async()=>{P=H(q({name:"SystemMailAccount",__name:"index",setup(bt){const{tableObject:e,tableMethods:p}=L({getListApi:K,delListApi:N}),{getList:f,setSearchParams:y}=p,h=z(),d=(k,a)=>{h.value.open(k,a)},g=z();return D(()=>{f()}),(k,a)=>{const x=B,n=E,b=M,S=j,w=A,m=F("hasPermi");return c(),G(O,null,[l(S,null,{default:_(()=>[l(b,{schema:t(C).searchSchema,onSearch:t(y),onReset:t(y)},{actionMore:_(()=>[s((c(),i(n,{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(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})=>[s((c(),i(n,{link:"",type:"primary",onClick:v=>d("update",r.id)},{default:_(()=>[u(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[m,["system:mail-account:update"]]]),s((c(),i(n,{link:"",type:"primary",onClick:v=>{return o=r.id,void g.value.open(o);var o}},{default:_(()=>[u(" \u8BE6\u60C5 ")]),_:2},1032,["onClick"])),[[m,["system:mail-account:query"]]]),s((c(),i(n,{link:"",type:"danger",onClick:v=>{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(T,{ref_key:"formRef",ref:h,onSuccess:t(f)},null,8,["onSuccess"]),l(W,{ref_key:"detailRef",ref:g},null,512)],64)}}}),[["__file","D:/zhongxing/mall-newfeifan-zx-admin/src/views/system/mail/account/index.vue"]])});export{xt as __tla,P as default};