2 lines
2.4 KiB
JavaScript
2 lines
2.4 KiB
JavaScript
import{a1 as w,M as y,w as C,N as B,J as x,O as D}from"./element-plus.ab0703f2.js";import{d as F}from"./message.cb9bf606.js";import{_ as L}from"./edit.vue_vue_type_script_setup_true_lang.1efca976.js";import{d as f,s as R,$ as T,ap as N,o,c as $,R as d,u,P as a,Q as t,W as i,U as m}from"./@vue.340249d8.js";import"./lodash-es.edba6135.js";import"./@vueuse.e3650918.js";import"./@element-plus.558a564d.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.9886411c.js";import"./axios.45058a27.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.0f9ce7c3.js";import"./index.5ab034a5.js";import"./lodash.3d784a58.js";import"./vue-router.9ddb0e92.js";import"./pinia.97fe9b12.js";import"./css-color-function.5c1c877d.js";import"./color.97e03886.js";import"./clone.cfa55f7b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.8c276ac9.js";import"./vue-clipboard3.44194d32.js";import"./clipboard.47836ecb.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.309a94da.js";import"./index.5670c3d4.js";const S=f({name:"shortLetter"}),vt=f({...S,setup(V){const p=R(),e=T({loading:!1,lists:[]}),c=async()=>{try{e.loading=!0,e.lists=await F(),e.loading=!1}catch{e.loading=!1}},g=r=>{var s;(s=p.value)==null||s.open(r)};return c(),(r,s)=>{const n=y,_=w,h=C,E=B,v=x,b=N("perms"),k=D;return o(),$("div",null,[d((o(),a(v,{class:"!border-none",shadow:"never"},{default:t(()=>[i(E,{size:"large",data:u(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(()=>[m("\u5F00\u542F")]),_:1})):(o(),a(_,{key:1,type:"danger"},{default:t(()=>[m("\u5173\u95ED")]),_:1}))]),_:1}),i(n,{label:"\u64CD\u4F5C","min-width":"120",fixed:"right"},{default:t(({row:l})=>[d((o(),a(h,{type:"primary",link:"",onClick:z=>g(l.type)},{default:t(()=>[m(" \u8BBE\u7F6E ")]),_:2},1032,["onClick"])),[[b,["notice.sms_config/setConfig"]]])]),_:1})]),_:1},8,["data"])]),_:1})),[[k,u(e).loading]]),i(L,{ref_key:"editRef",ref:p,onSuccess:c},null,512)])}}});export{vt as default};
|