index-CeCRTO0V.js 2.5 KB

1
  1. import{d as E,i as d,s as k,y as x,a as R,o as s,m as e,z as f,B,w as o,b as N,e as _,eg as V,C as T,v as D,q as L}from"./index-C8jdngMH.js";import{E as $,a as q}from"./el-table-column-YPYCowB1.js";import"./el-checkbox-Ch_28OZ8.js";import"./el-tag-BdsnjDKk.js";import{E as z}from"./el-card-CrmPQ1Wx.js";import{E as A}from"./el-alert-CwsZiJ-m.js";import{a as H}from"./pay-CqEsDsGI.js";import{u as I}from"./getExposeType-Chza6L1c.js";import u from"./edit-CXKH5jSL.js";import"./_Uint8Array-B6DtR79E.js";import"./_initCloneObject-DysMNCF0.js";import"./isEqual-OigS2XL6.js";/* empty css */import"./picker-PIwoN8fN.js";import"./index-BG8qwOXA.js";import"./index-8mvyCWYt.js";import"./index-Ru1AAeZA.js";import"./index.vue_vue_type_script_setup_true_lang-D46Z55lv.js";import"./el-select-BndXJERi.js";import"./index-BfI6jP_0.js";import"./token-DI9FKtlJ.js";import"./index-sUW7U8mf.js";import"./index-Dhz5FqSe.js";import"./_baseClone-sbqJ-rxe.js";import"./el-text-Uz6Yl6nJ.js";import"./index.vue_vue_type_script_setup_true_lang-BK9EFJrK.js";import"./el-popover-jgmgcoME.js";import"./usePaging-D52o6vG9.js";import"./el-form-item-BBXPH-C8.js";/* empty css */import"./useLockFn-BGmMyqk5.js";import"./index-Cpq-uHbo.js";const be=E({__name:"index",setup(P){const l=I(),m=d([]),w=k(),p=d(!1),r=async()=>{const{lists:i}=await H();m.value=i},y=async i=>{var t;(t=l.value)==null||t.openHandle(i.id,!1)};return r(),(i,t)=>{const h=A,c=z,a=q,b=V,g=D,v=$,C=x("perms");return s(),R("div",null,[e(c,{class:"!border-none",shadow:"never"},{default:o(()=>[e(h,{type:"warning",title:"温馨提示:设置系统支持的支付方式",closable:!1,"show-icon":""})]),_:1}),e(c,{shadow:"never",class:"mt-4 !border-none"},{default:o(()=>[N("div",null,[e(v,{data:_(m)},{default:o(()=>[e(a,{prop:"pay_way_name",label:"支付方式","min-width":"150"}),e(a,{prop:"name",label:"显示名称","min-width":"150"}),e(a,{label:"图标","min-width":"150"},{default:o(({row:n})=>[e(b,{src:n.icon,alt:"图标",style:{width:"34px",height:"34px"}},null,8,["src"])]),_:1}),e(a,{prop:"sort",label:"排序","min-width":"150"}),e(a,{label:"操作","min-width":"80",fixed:"right"},{default:o(({row:n})=>[T((s(),f(g,{link:"",type:"primary",onClick:S=>y(n)},{default:o(()=>t[1]||(t[1]=[L(" 配置 ")])),_:2,__:[1]},1032,["onClick"])),[[C,["setting.pay.pay_config/setConfig"]]])]),_:1})]),_:1},8,["data"])])]),_:1}),_(p)?(s(),f(u,{key:0,ref_key:"editRef",ref:w,onSuccess:r,onClose:t[0]||(t[0]=n=>p.value=!1)},null,512)):B("",!0),e(u,{ref_key:"editNewRef",ref:l,onRefresh:r},null,512)])}}});export{be as default};