2 lines
3.0 KiB
JavaScript
2 lines
3.0 KiB
JavaScript
|
import{_ as b}from"./index.e28d471f.js";import{G as v,H as V,C as x,B as w,D as R,I as k,w as y}from"./element-plus.9816852d.js";import{r as d}from"./index.fdc772f5.js";import{d as I,$ as N,af as U,o as _,c as A,U as o,L as t,u,a as r,R as i,M as G,K as j}from"./@vue.51d7f2d8.js";import"./@vueuse.ec90c285.js";import"./@element-plus.a074d1f6.js";import"./lodash-es.29c53eac.js";import"./dayjs.576af3ba.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.675f209e.js";import"./axios.54f807ba.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.0a5c0f85.js";import"./color.e5eb3bba.js";import"./clone.546d9b81.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.aee266dc.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";function q(){return d.get({url:"/recharge.recharge/getConfig"})}function H(m){return d.post({url:"/recharge.recharge/setConfig",params:m})}const K=r("span",{class:"font-extrabold text-lg"},"\u5145\u503C\u8BBE\u7F6E",-1),L=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),M=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),vt=I({__name:"index",setup(m){const e=N({status:1,min_amount:""}),s=async()=>{const l=await q();Object.assign(e,l)},f=async()=>{await H(e),s()};return s(),(l,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(()=>[K]),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"]),L])]),_: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"]),M])]),_: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{vt as default};
|