2023-12-19 18:03:06 +08:00
|
|
|
import{L as k,_ as w,w as y,M as C,I as B,N as L}from"./element-plus.5df6f736.js";import{d as x}from"./message.98a8cc78.js";import{_ as D}from"./edit.vue_vue_type_script_setup_true_lang.dff3ff5d.js";import{d as u,s as F,_ as T,ae as R,o,c as N,L as d,J as a,K as t,T as i,R as l}from"./@vue.108c970a.js";import"./@vueuse.d3d080b7.js";import"./@element-plus.d6eabd08.js";import"./lodash-es.29c53eac.js";import"./dayjs.50c3b6f7.js";import"./axios.c2a2014a.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.eba5ee3f.js";import"./lodash.33f675f2.js";import"./vue-router.ed788fee.js";import"./pinia.eff1ffd5.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.5d5b8bda.js";import"./color.da05fa89.js";import"./clone.06747a68.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.1c707d7b.js";import"./ms.a9ae1d6d.js";import"./nprogress.fc605139.js";import"./vue-clipboard3.dc900a40.js";import"./clipboard.6beb87aa.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.241b9b5d.js";import"./index.1a7ccb5b.js";const S=l("\u5F00\u542F"),V=l("\u5173\u95ED"),$=l(" \u8BBE\u7F6E "),z=u({name:"shortLetter"}),wt=u({...z,setup(I){const p=F(),e=T({loading:!1,lists:[]}),c=async()=>{try{e.loading=!0,e.lists=await x(),e.loading=!1}catch{e.loading=!1}},f=r=>{var s;(s=p.value)==null||s.open(r)};return c(),(r,s)=>{const n=k,_=w,g=y,h=C,E=B,v=R("perms"),b=L;return o(),N("div",null,[d((o(),a(E,{class:"!border-none",shadow:"never"},{default:t(()=>[i(h,{size:"large",data:e.lists},{default:t(()=>[i(n,{label:"\u77ED\u4FE1\u6E20\u9053",prop:"name","min-width":"120"}),i(n,{label:"\u72B6\u6001","min-width":"120"},{default:t(({row:m})=>[m.status==1?(o(),a(_,{key:0},{default:t(()=>[S]),_:1})):(o(),a(_,{key:1,type:"danger"},{default:t(()=>[V]),_:1}))]),_:1}),i(n,{label:"\u64CD\u4F5C","min-width":"120",fixed:"right"},{default:t(({row:m})=>[d((o(),a(g,{type:"primary",link:"",onClick:J=>f(m.type)},{default:t(()=>[$]),_:2},1032,["onClick"])),[[v,["notice.sms_config/setConfig"]]])]),_:1})]),_:1},8,["data"])]),_:1})),[[b,e.loading]]),i(D,{ref_key:"editRef",ref:p,onSuccess:c},null,512)])}}});export{wt as default};
|