1 |
- import{u as w,_ as L,a as U,__tla as A}from"./useTable-980b8039.js";import{_ as M,__tla as j}from"./ContentWrap-abe0694e.js";import{d as D,r as C,B as F,P as q,o as c,c as B,i as l,w as _,a as t,C as n,l as i,j as u,F as H,v as J,J as O,_ as X,__tla as E}from"./index-afaf388d.js";import{a as P,__tla as G}from"./account.data-054d6919.js";import{a as I,d as K,__tla as N}from"./index-2e7f81ef.js";import Q,{__tla as T}from"./MailAccountForm-fffee1c8.js";import V,{__tla as W}from"./MailAccountDetail-c4552e57.js";import{__tla as Y}from"./Form-7db80151.js";import{__tla as Z}from"./el-virtual-list-b9de369f.js";import{__tla as $}from"./el-tree-select-190eecb6.js";import{__tla as tt}from"./el-time-select-a42090a8.js";import{__tla as at}from"./InputPassword-424f0833.js";import{__tla as rt}from"./Editor-7453cc9a.js";import{__tla as _t}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-6a6e9523.js";import{__tla as et}from"./index-6149057d.js";import{__tla as lt}from"./el-image-viewer-9330e340.js";import{__tla as ot}from"./useMessage-a290df31.js";import{__tla as ct}from"./UploadImg-f909692d.js";import{__tla as st}from"./UploadImgs-a15847a2.js";import{__tla as mt}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-e548deac.js";import{__tla as nt}from"./UploadFile-20e8f946.js";import{__tla as it}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-f19c84d5.js";import{__tla as ut}from"./index-0eed91e1.js";import{__tla as pt}from"./useForm-f99194bf.js";import"./download-20922b56.js";import{__tla as ft}from"./el-card-9c18d881.js";import{__tla as yt}from"./formatTime-42952e7f.js";import{__tla as ht}from"./formRules-2ee9e3cd.js";import{__tla as dt}from"./dict-0449a0a1.js";import{__tla as gt}from"./useCrudSchemas-e7ea74c9.js";import"./tree-0af4953a.js";import{__tla as kt}from"./DictTag-3a1a976c.js";import"./color-6e929987.js";import{__tla as St}from"./Dialog-82c2009c.js";import{__tla as vt}from"./Descriptions-be07884b.js";import{__tla as Ct}from"./Descriptions.vue_vue_type_style_index_0_scoped_aee191e8_lang-957e6132.js";import{__tla as Pt}from"./el-descriptions-item-fe161f2c.js";let x,xt=Promise.all([(()=>{try{return A}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return E}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return W}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 mt}catch{}})(),(()=>{try{return nt}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{}})()]).then(async()=>{x=X(D({name:"SystemMailAccount",__name:"index",setup(zt){const{tableObject:e,tableMethods:p}=w({getListApi:I,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=J,s=O,b=L,S=M,R=U,m=q("hasPermi");return c(),B(H,null,[l(S,null,{default:_(()=>[l(b,{schema:t(P).searchSchema,onSearch:t(y),onReset:t(y)},{actionMore:_(()=>[n((c(),i(s,{type:"primary",plain:"",onClick:a[0]||(a[0]=r=>d("create"))},{default:_(()=>[l(z,{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(R,{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})=>[n((c(),i(s,{link:"",type:"primary",onClick:v=>d("update",r.id)},{default:_(()=>[u(" \u7F16\u8F91 ")]),_:2},1032,["onClick"])),[[m,["system:mail-account:update"]]]),n((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"])),[[m,["system:mail-account:query"]]]),n((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"])),[[m,["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(V,{ref_key:"detailRef",ref:g},null,512)],64)}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/system/mail/account/index.vue"]])});export{xt as __tla,x as default};
|