multiStoreAdmin/build/store/assets/index.380ff1e4.js

2 lines
2.9 KiB
JavaScript
Raw Normal View History

2024-09-19 11:09:33 +08:00
import{_ as B}from"./index.d5f74f82.js";import{H as v,I as V,F as x,D as w,G as R,J as k,w as y}from"./element-plus.6b125791.js";import{r as d}from"./index.8eb121a3.js";import{d as I,$ as N,ap as U,o as _,c as A,W as o,Q as t,u,a as r,U as i,R as G,P as j}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.6b964ca4.js";import"./axios.ebd1d4d0.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.0f9ce7c3.js";import"./lodash.ab1d8f92.js";import"./vue-router.9ddb0e92.js";import"./pinia.97fe9b12.js";import"./css-color-function.7a4c1284.js";import"./color.10b8b3bd.js";import"./clone.623e4e2d.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.518a19eb.js";import"./vue-clipboard3.c098b37d.js";import"./clipboard.a67a48a7.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.309a94da.js";function q(){return d.get({url:"/recharge.recharge/getConfig"})}function H(s){return d.post({url:"/recharge.recharge/setConfig",params:s})}const J=r("span",{class:"font-extrabold text-lg"},"\u5145\u503C\u8BBE\u7F6E",-1),O=r("div",{class:"form-tips"},"\u5173\u95ED\u6216\u5F00\u542F\u5145\u503C\u529F\u80FD\uFF0C\u5173\u95ED\u540E\u5C06\u4E0D\u663E\u793A\u5145\u503C\u5165\u53E3",-1),P=r("div",{class:"form-tips"}," \u6700\u4F4E\u5145\u503C\u91D1\u989D\u8981\u6C42\uFF0C\u4E0D\u586B\u6216\u586B0\u8868\u793A\u4E0D\u9650\u5236\u6700\u4F4E\u5145\u503C\u91D1\u989D ",-1),bt=I({__name:"index",setup(s){const e=N({status:1,min_amount:""}),l=async()=>{const m=await q();Object.assign(e,m)},f=async()=>{await H(e),l()};return l(),(m,a)=>{const p=v,E=V,c=x,g=w,C=R,D=k,F=y,h=B,b=U("perms");return _(),A("div",null,[o(D,{shadow:"never",class:"!border-none"},{header:t(()=>[J]),default:t(()=>[o(C,{model:u(e),"label-width":"120px"},{default:t(()=>[o(c,{label:"\u72B6\u6001"},{default:t(()=>[r("div",null,[o(E,{modelValue:u(e).status,"onUpdate:modelValue":a[0]||(a[0]=n=>u(e).status=n),class:"ml-4"},{default:t(()=>[o(p,{label:1},{default:t(()=>[i("\u5F00\u542F")]),_:1}),o(p,{label:0},{default:t(()=>[i("\u5173\u95ED")]),_:1})]),_:1},8,["modelValue"]),O])]),_:1}),o(c,{label:"\u6700\u4F4E\u5145\u503C\u91D1\u989D"},{default:t(()=>[r("div",null,[o(g,{modelValue:u(e).min_amount,"onUpdate:modelValue":a[1]||(a[1]=n=>u(e).min_amount=n),placeholder:"\u8BF7\u8F93\u5165\u6700\u4F4E\u5145\u503C\u91D1\u989D",clearable:""},null,8,["modelValue"]),P])]),_:1})]),_:1},8,["model"])]),_:1}),G((_(),j(h,null,{default:t(()=>[o(F,{type:"primary",onClick:f},{default:t(()=>[i("\u4FDD\u5B58")]),_:1})]),_:1})),[[b,["recharge.recharge/setConfig"]]])])}}});export{bt as default};