Files
zyt/server/public/admin/assets/index-iHmh1D6J.js
T
2026-03-14 11:16:04 +08:00

2 lines
3.2 KiB
JavaScript

import{K as k,J as E,M as x,N,v as R,i as B}from"./element-plus-CW0okzRn.js";import{a as V}from"./pay-BQWIPKZy.js";import{u as T}from"./getExposeType-DgZD9Qj6.js";import d from"./edit-Ki4xTLJD.js";import{f as D,as as H,ak as n,I,a as t,aN as e,J,aP as L,G as f,O as P,H as $}from"./@vue/runtime-core-D7eUgySO.js";import{y as _,o as u,u as A}from"./@vue/reactivity-maRK_BBd.js";import"./@vue/runtime-dom-DVgibYoU.js";import"./nprogress-BpICrWuH.js";import"./@vue/shared-C75lBtbe.js";import"./@element-plus/icons-vue-DBw-wZMr.js";import"./lodash-es-BADexyn7.js";import"./@popperjs/core-C5az9QE8.js";import"./dayjs-BOuxpn4j.js";import"./@ctrl/tinycolor-BuyEbX8F.js";import"./async-validator-CFA_igpM.js";import"./normalize-wheel-es-BQoi3Ox2.js";import"./index-B-xN0T_Y.js";import"./vue-router-CJXI7XhX.js";import"./pinia-BhomUS5m.js";import"./axios-C80V62Fs.js";import"./lodash-Ct9_CZb9.js";import"./@vueuse/core-DCeljLnb.js";import"./@vueuse/shared-B444yVpD.js";import"./css-color-function-BVb6B1lA.js";import"./balanced-match-BdS7OldZ.js";import"./color-B2zxaWkI.js";import"./clone-DBZ6_OiU.js";import"./color-convert-OrFsTA_V.js";import"./color-name-Dju3oUBS.js";import"./color-string-pUQDDJII.js";import"./ms-CzQ2E3wO.js";import"./vue-clipboard3-ChYu0NfX.js";import"./clipboard-Bmfw2kIN.js";import"./echarts-DYKKs4Al.js";import"./tslib-BDyQ-Jie.js";import"./zrender-CTTuYiLF.js";import"./highlight.js-jaPyNblr.js";import"./@highlightjs/vue-plugin-ASXrwou_.js";import"./picker-BTfE-579.js";import"./index-D0yckGv3.js";import"./index-BZIFSND_.js";import"./index.vue_vue_type_script_setup_true_lang-DiGHetBS.js";import"./index-DuKRmu-Q.js";import"./index-lZTBZPpA.js";import"./index.vue_vue_type_script_setup_true_lang-DJ9KkFch.js";import"./usePaging-CPrBIeJ2.js";import"./vuedraggable-DoxySVw6.js";import"./vue-BWLcg9DT.js";import"./@vue/compiler-dom-Ddn9Zm90.js";import"./@vue/compiler-core-KYniu4wC.js";import"./sortablejs-BkVvOzsn.js";import"./useLockFn-LHwh8e2K.js";const Gt=D({__name:"index",setup(G){const p=T(),s=u([]),w=A(),l=u(!1),m=async()=>{const{lists:r}=await V();s.value=r},y=async r=>{var o;(o=p.value)==null||o.openHandle(r.id,!1)};return m(),(r,o)=>{const h=k,c=E,i=N,v=R,b=B,g=x,C=H("perms");return n(),I("div",null,[t(c,{class:"!border-none",shadow:"never"},{default:e(()=>[t(h,{type:"warning",title:"温馨提示:设置系统支持的支付方式",closable:!1,"show-icon":""})]),_:1}),t(c,{shadow:"never",class:"mt-4 !border-none"},{default:e(()=>[J("div",null,[t(g,{data:_(s)},{default:e(()=>[t(i,{prop:"pay_way_name",label:"支付方式","min-width":"150"}),t(i,{prop:"name",label:"显示名称","min-width":"150"}),t(i,{label:"图标","min-width":"150"},{default:e(({row:a})=>[t(v,{src:a.icon,alt:"图标",style:{width:"34px",height:"34px"}},null,8,["src"])]),_:1}),t(i,{prop:"sort",label:"排序","min-width":"150"}),t(i,{label:"操作","min-width":"80",fixed:"right"},{default:e(({row:a})=>[L((n(),f(b,{link:"",type:"primary",onClick:K=>y(a)},{default:e(()=>[...o[1]||(o[1]=[P(" 配置 ",-1)])]),_:1},8,["onClick"])),[[C,["setting.pay.pay_config/setConfig"]]])]),_:1})]),_:1},8,["data"])])]),_:1}),_(l)?(n(),f(d,{key:0,ref_key:"editRef",ref:w,onSuccess:m,onClose:o[0]||(o[0]=a=>l.value=!1)},null,512)):$("",!0),t(d,{ref_key:"editNewRef",ref:p,onRefresh:m},null,512)])}}});export{Gt as default};