2 lines
2.4 KiB
JavaScript
2 lines
2.4 KiB
JavaScript
import{L as b,V as k,w,M as y,C as B,N as L}from"./element-plus.258bf9e7.js";import{d as x}from"./message.e9e7ea2d.js";import{_ as D}from"./edit.vue_vue_type_script_setup_true_lang.3b9ae3ba.js";import{d as u,s as F,a0 as T,ai as V,o,c as N,O as d,L as a,M as t,V as i,T as m}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.ec401e3b.js";import"./lodash.1d82ee7c.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.50cbfcc9.js";import"./tslib.60310f1a.js";import"./zrender.a255a587.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";import"./index.9492d03b.js";const R=m("\u5F00\u542F"),M=m("\u5173\u95ED"),S=m(" \u8BBE\u7F6E "),$=u({name:"shortLetter"}),bt=u({...$,setup(z){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=b,_=k,g=w,h=y,E=B,v=V("perms"),C=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:l})=>[l.status==1?(o(),a(_,{key:0},{default:t(()=>[R]),_:1})):(o(),a(_,{key:1,type:"danger"},{default:t(()=>[M]),_:1}))]),_:1}),i(n,{label:"\u64CD\u4F5C","min-width":"120",fixed:"right"},{default:t(({row:l})=>[d((o(),a(g,{type:"primary",link:"",onClick:O=>f(l.type)},{default:t(()=>[S]),_:2},1032,["onClick"])),[[v,["notice.sms_config/setConfig"]]])]),_:1})]),_:1},8,["data"])]),_:1})),[[C,e.loading]]),i(D,{ref_key:"editRef",ref:p,onSuccess:c},null,512)])}}});export{bt as default};
|