2 lines
2.5 KiB
JavaScript
2 lines
2.5 KiB
JavaScript
import{a6 as w,O as y,w as C,P as B,I as x,Q as D}from"./element-plus.10e48c93.js";import{d as F}from"./message.d813a158.js";import{_ as L}from"./edit.vue_vue_type_script_setup_true_lang.21b3d2d7.js";import{d as f,s as R,$ as T,af as $,o,c as N,M as d,u,K as a,L as t,U as i,R as l}from"./@vue.51d7f2d8.js";import"./@vueuse.ec90c285.js";import"./@element-plus.c80b8015.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.8f8edf86.js";import"./lodash.08438971.js";import"./axios.105476b3.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.7ac6f233.js";import"./color.44a05936.js";import"./clone.0afcbf90.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.86067895.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.40d5feba.js";import"./index.6302064d.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";const S=f({name:"shortLetter"}),kt=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=$("perms"),k=D;return o(),N("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:m})=>[m.status==1?(o(),a(_,{key:0},{default:t(()=>[l("\u5F00\u542F")]),_:1})):(o(),a(_,{key:1,type:"danger"},{default:t(()=>[l("\u5173\u95ED")]),_:1}))]),_:1}),i(n,{label:"\u64CD\u4F5C","min-width":"120",fixed:"right"},{default:t(({row:m})=>[d((o(),a(h,{type:"primary",link:"",onClick:z=>g(m.type)},{default:t(()=>[l(" \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{kt as default};
|