ERP-admin/build/admin/assets/index.0898ac13.js

2 lines
2.7 KiB
JavaScript
Raw Normal View History

2024-05-10 18:16:25 +08:00
import{a4 as b,a1 as v,L as A,M as k,w as y,N as D,O as x}from"./element-plus.f1cfb480.js";import{_ as L,s as R}from"./edit.vue_vue_type_script_setup_true_lang.6e33407e.js";import{d as f,s as T,Z as N,ap as M,o as a,c as S,U as t,L as e,M as d,u as F,K as s,R as l}from"./@vue.663bc523.js";import"./lodash-es.bdeecbdb.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.4b5afb22.js";import"./@element-plus.8b1118e2.js";import"./dayjs.3f38f327.js";import"./axios.18becb61.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.52f16d07.js";import"./lodash.403d4198.js";import"./vue-router.58fac957.js";import"./pinia.068f0ef2.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.e6143ca6.js";import"./color.d79aa98b.js";import"./clone.a63396d9.js";import"./color-convert.69e17089.js";import"./color-string.e356f5de.js";import"./color-name.e7a4e1d3.js";import"./nprogress.48cb4095.js";import"./vue-clipboard3.6d09ff6e.js";import"./clipboard.564aa4b9.js";import"./echarts.8485a033.js";import"./zrender.b2f30540.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.85e4ac8b.js";import"./index.6c86ef69.js";const V={class:"storage"},$=f({name:"storage"}),gt=f({...$,setup(z){const p=T(),o=N({loading:!1,lists:[]}),m=async()=>{try{o.loading=!0,o.lists=await R(),o.loading=!1}catch{o.loading=!1}},g=i=>{var r;(r=p.value)==null||r.open(i)};return m(),(i,r)=>{const B=b,c=A,u=k,_=v,E=y,h=D,w=M("perms"),C=x;return a(),S("div",V,[t(c,{class:"!border-none",shadow:"never"},{default:e(()=>[t(B,{type:"warning",title:"\u6E29\u99A8\u63D0\u793A\uFF1A1.\u5207\u6362\u5B58\u50A8\u65B9\u5F0F\u540E\uFF0C\u9700\u8981\u5C06\u8D44\u6E90\u6587\u4EF6\u4F20\u8F93\u81F3\u65B0\u7684\u5B58\u50A8\u7AEF\uFF1B2.\u8BF7\u52FF\u968F\u610F\u5207\u6362\u5B58\u50A8\u65B9\u5F0F\uFF0C\u53EF\u80FD\u5BFC\u81F4\u56FE\u7247\u65E0\u6CD5\u67E5\u770B",closable:!1,"show-icon":""})]),_:1}),d((a(),s(c,{class:"!border-none mt-4",shadow:"never"},{default:e(()=>[t(h,{size:"large",data:F(o).lists},{default:e(()=>[t(u,{label:"\u50A8\u5B58\u65B9\u5F0F",prop:"name","min-width":"120"}),t(u,{label:"\u50A8\u5B58\u4F4D\u7F6E",prop:"path","min-width":"160"}),t(u,{label:"\u72B6\u6001","min-width":"80"},{default:e(({row:n})=>[n.status==1?(a(),s(_,{key:0},{default:e(()=>[l("\u5F00\u542F")]),_:1})):(a(),s(_,{key:1,type:"danger"},{default:e(()=>[l("\u5173\u95ED")]),_:1}))]),_:1}),t(u,{label:"\u64CD\u4F5C","min-width":"80",fixed:"right"},{default:e(({row:n})=>[d((a(),s(E,{type:"primary",link:"",onClick:K=>g(n.engine)},{default:e(()=>[l(" \u8BBE\u7F6E ")]),_:2},1032,["onClick"])),[[w,["setting.storage/setup"]]])]),_:1})]),_:1},8,["data"])]),_:1})),[[C,F(o).loading]]),t(L,{ref_key:"editRef",ref:p,onSuccess:m},null,512)])}}});export{gt as default};