index-77ea5e78.js 3.6 KB

1
  1. import{u as L,_ as M,a as R}from"./useTable-03b88b8f.js";import{_ as j}from"./ContentWrap.vue_vue_type_script_setup_true_lang-e908c5dd.js";import{d as w,r as P,x as A,Q as U,o as p,c as q,i,w as o,a,B as l,j as c,m as u,F,_ as B,q as I}from"./index-df709923.js";import{a as v}from"./account.data-b559d3d7.js";import{a as O,d as Q}from"./index-1868e8ea.js";import{_ as D}from"./MailAccountForm.vue_vue_type_script_setup_true_lang-9866dd00.js";import{_ as E}from"./MailAccountDetail.vue_vue_type_script_setup_true_lang-fa027897.js";import"./Form-28e78230.js";import"./el-virtual-list-2b626d76.js";import"./el-tree-select-880d8b15.js";import"./el-time-select-361d5221.js";import"./InputPassword-54d560b0.js";import"./InputPassword.vue_vue_type_style_index_0_scoped_0af03974_lang-0932eb11.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./style.css_vue_type_style_index_0_src_true_lang-721caac6.js";import"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-2a8cd6e4.js";import"./index-54511734.js";import"./el-image-viewer-90ad41b7.js";import"./useMessage-89e9d1aa.js";import"./UploadImg-15376c0d.js";import"./UploadImgs-248b9428.js";import"./UploadImgs.vue_vue_type_style_index_0_scoped_bad238b9_lang-5cadf78a.js";import"./UploadFile-b5592e67.js";import"./UploadFile.vue_vue_type_style_index_0_scoped_a9e67aa2_lang-2736ca2c.js";import"./index-c8bd5ba7.js";import"./useForm-b7a6ca90.js";import"./download-20922b56.js";import"./el-card-91c2276d.js";import"./formatTime-c6262bd7.js";import"./formRules-392c4b03.js";import"./dict-017bf708.js";import"./useCrudSchemas-3931a8b9.js";import"./tree-fd3a041e.js";import"./DictTag.vue_vue_type_script_lang-6753827b.js";import"./color-6e929987.js";import"./Dialog-2f8bd685.js";import"./Descriptions-02f7fc9c.js";import"./Descriptions.vue_vue_type_style_index_0_scoped_59d56eec_lang-777aded1.js";import"./el-descriptions-item-cc479a39.js";const G=w({name:"SystemMailAccount",__name:"index",setup(H){const{tableObject:r,tableMethods:d}=L({getListApi:O,delListApi:Q}),{getList:f,setSearchParams:g}=d,_=P(),y=(k,t)=>{_.value.open(k,t)},S=P();return A(()=>{f()}),(k,t)=>{const b=B,s=I,x=M,h=j,z=R,n=U("hasPermi");return p(),q(F,null,[i(h,null,{default:o(()=>[i(x,{schema:a(v).searchSchema,onSearch:a(g),onReset:a(g)},{actionMore:o(()=>[l((p(),c(s,{type:"primary",plain:"",onClick:t[0]||(t[0]=e=>y("create"))},{default:o(()=>[i(b,{icon:"ep:plus",class:"mr-5px"}),t[3]||(t[3]=u(" \u65B0\u589E "))]),_:1})),[[n,["system:mail-account:create"]]])]),_:1},8,["schema","onSearch","onReset"])]),_:1}),i(h,null,{default:o(()=>[i(z,{columns:a(v).tableColumns,data:a(r).tableList,loading:a(r).loading,pagination:{total:a(r).total},pageSize:a(r).pageSize,"onUpdate:pageSize":t[1]||(t[1]=e=>a(r).pageSize=e),currentPage:a(r).currentPage,"onUpdate:currentPage":t[2]||(t[2]=e=>a(r).currentPage=e)},{action:o(({row:e})=>[l((p(),c(s,{link:"",type:"primary",onClick:C=>y("update",e.id)},{default:o(()=>t[4]||(t[4]=[u(" \u7F16\u8F91 ")])),_:2},1032,["onClick"])),[[n,["system:mail-account:update"]]]),l((p(),c(s,{link:"",type:"primary",onClick:C=>{return m=e.id,void S.value.open(m);var m}},{default:o(()=>t[5]||(t[5]=[u(" \u8BE6\u60C5 ")])),_:2},1032,["onClick"])),[[n,["system:mail-account:query"]]]),l((p(),c(s,{link:"",type:"danger",onClick:C=>{return m=e.id,void d.delList(m,!1);var m}},{default:o(()=>t[6]||(t[6]=[u(" \u5220\u9664 ")])),_:2},1032,["onClick"])),[[n,["system:mail-account:delete"]]])]),_:1},8,["columns","data","loading","pagination","pageSize","currentPage"])]),_:1}),i(D,{ref_key:"formRef",ref:_,onSuccess:a(f)},null,8,["onSuccess"]),i(E,{ref_key:"detailRef",ref:S},null,512)],64)}}});export{G as default};