index-c31f4cbd.js 5.3 KB

1
  1. import{u as w,_ as R,a as j,__tla as A}from"./useTable-39903efb.js";import{_ as M,__tla as U}from"./ContentWrap-1470ffc8.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-c6f9ee0e.js";import{a as P,__tla as H}from"./account.data-5c94f225.js";import{a as J,d as K,__tla as N}from"./index-45df3ad2.js";import T,{__tla as V}from"./MailAccountForm-f9713c0a.js";import W,{__tla as X}from"./MailAccountDetail-24b77355.js";import{__tla as Y}from"./Form-b1e90caa.js";import{__tla as Z}from"./el-virtual-list-edba2e53.js";import{__tla as $}from"./el-tree-select-efee5b23.js";import{__tla as tt}from"./el-time-select-30cefec6.js";import{__tla as at}from"./InputPassword-565a653f.js";import{__tla as rt}from"./InputPassword.vue_vue_type_style_index_0_scoped_3f07eb1d_lang-123da0b1.js";import{__tla as _t}from"./Editor-27247565.js";import{__tla as et}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-e8b91668.js";import{__tla as lt}from"./index-7a4d19dc.js";import{__tla as ot}from"./el-image-viewer-7498b9bf.js";import{__tla as ct}from"./useMessage-04fcbc39.js";import{__tla as mt}from"./UploadImg-c59f0149.js";import{__tla as nt}from"./UploadImgs-8b13c573.js";import{__tla as st}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-a923fb3d.js";import{__tla as it}from"./UploadFile-b30bc6e2.js";import{__tla as ut}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-3780f935.js";import{__tla as pt}from"./fixed-size-list-6dd54cb8.js";import{__tla as ft}from"./index-75e9b2f8.js";import{__tla as yt}from"./useForm-340f0a44.js";import"./download-20922b56.js";import{__tla as ht}from"./ContentWrap.vue_vue_type_script_setup_true_lang-e83f65ab.js";import{__tla as dt}from"./el-card-b8cdac7a.js";import{__tla as gt}from"./formatTime-c0345509.js";import{__tla as kt}from"./formRules-89328b2c.js";import{__tla as St}from"./dict-44cf9190.js";import{__tla as vt}from"./useCrudSchemas-53b91f10.js";import"./tree-0af4953a.js";import{__tla as Ct}from"./DictTag-f2364695.js";import"./color-6e929987.js";import{__tla as Pt}from"./Dialog-a9930e5b.js";import{__tla as xt}from"./Descriptions-30c28f49.js";import{__tla as zt}from"./Descriptions.vue_vue_type_style_index_0_scoped_aee191e8_lang-f4dbc839.js";import{__tla as bt}from"./el-descriptions-item-dc512e09.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};