2 lines
3.4 KiB
JavaScript
2 lines
3.4 KiB
JavaScript
import{a7 as b,_ as v,T as A,O as k,w as y,Q as D,R as x}from"./element-plus.681b9893.js";import{_ as R,s as T}from"./edit.vue_vue_type_script_setup_true_lang.8c2529a4.js";import{d as f,s as L,Z as N,ap as S,o as i,c as V,U as t,L as o,M as d,u as F,K as a,R as m}from"./@vue.18505fe0.js";import"./lodash-es.bdeecbdb.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.a6528143.js";import"./@babel.16688d44.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.6e50aa23.js";import"./lodash.466e9fe4.js";import"./axios.4905d81f.js";import"./jspdf.54afd842.js";import"./fflate.fca59393.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.29b71fa4.js";import"./color.87d313dc.js";import"./clone.a63396d9.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"./vue-plugin-hiprint.a2d84e76.js";import"./jquery.c3f97e49.js";import"./jsbarcode.39151b53.js";import"./socket.io-client.0b5a7289.js";import"./engine.io-client.81030771.js";import"./engine.io-parser.c748e159.js";import"./@socket.io.77accf6a.js";import"./debug.b392f131.js";import"./socket.io-parser.b7256298.js";import"./html2canvas.0f5947bc.js";import"./canvg.a673c4b2.js";import"./core-js.97b94d69.js";import"./raf.407ad6ad.js";import"./performance-now.a710f6e4.js";import"./rgbcolor.20c71161.js";import"./svg-pathdata.eba17832.js";import"./stackblur-canvas.0fb5df18.js";import"./nprogress.3461658b.js";import"./vue-clipboard3.c63182fd.js";import"./clipboard.dd2c63d0.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./index.bba2f543.js";const $={class:"storage"},z=f({name:"storage"}),Mt=f({...z,setup(K){const n=L(),e=N({loading:!1,lists:[]}),l=async()=>{try{e.loading=!0,e.lists=await T(),e.loading=!1}catch{e.loading=!1}},g=u=>{var s;(s=n.value)==null||s.open(u)};return l(),(u,s)=>{const B=b,c=A,r=k,_=v,E=y,h=D,w=S("perms"),C=x;return i(),V("div",$,[t(c,{class:"!border-none",shadow:"never"},{default:o(()=>[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((i(),a(c,{class:"!border-none mt-4",shadow:"never"},{default:o(()=>[t(h,{size:"large",data:F(e).lists},{default:o(()=>[t(r,{label:"\u50A8\u5B58\u65B9\u5F0F",prop:"name","min-width":"120"}),t(r,{label:"\u50A8\u5B58\u4F4D\u7F6E",prop:"path","min-width":"160"}),t(r,{label:"\u72B6\u6001","min-width":"80"},{default:o(({row:p})=>[p.status==1?(i(),a(_,{key:0},{default:o(()=>[m("\u5F00\u542F")]),_:1})):(i(),a(_,{key:1,type:"danger"},{default:o(()=>[m("\u5173\u95ED")]),_:1}))]),_:1}),t(r,{label:"\u64CD\u4F5C","min-width":"80",fixed:"right"},{default:o(({row:p})=>[d((i(),a(E,{type:"primary",link:"",onClick:M=>g(p.engine)},{default:o(()=>[m(" \u8BBE\u7F6E ")]),_:2},1032,["onClick"])),[[w,["setting.storage/setup"]]])]),_:1})]),_:1},8,["data"])]),_:1})),[[C,F(e).loading]]),t(R,{ref_key:"editRef",ref:n,onSuccess:l},null,512)])}}});export{Mt as default};
|