2025-09-02 19:53:33 +08:00
|
|
|
|
import{aF as e,a$ as a,r as t,ag as o,b4 as l,d9 as s,c as r,e as n,N as i,O as u,w as p,t as c,l as d,da as _,an as m,bb as w,a7 as h,a8 as g,g as y,c9 as f,aO as v,a_ as D}from"./index.1756813928779C3A0h-BU.js";import{_ as b}from"./index.1756813928779aUguXMF0.js";/* empty css */import{E as C}from"./el-text.1756813928779i47SG0f_.js";import k from"./modify_deposit.1756813928779DRVvju-9.js";import R from"./modify_deposit_log.1756813928779O-NmBOhh.js";import F from"./single_channel_set.1756813928779DhNuAwuz.js";import S from"./single_fee_set.1756813928779CZTLfjmw.js";import j from"./modify_password.1756813928779CyJL0INi.js";import x from"./clear_account.1756813928779jaZQAnc2.js";import U from"./aircraft.1756813928779BpMJp3Ke.js";import T from"./user_gorup.1756813928779C0PBgQOB.js";import A from"./detail.1756813928779DUBWOG8m.js";import z from"./account_total.1756813928779BrDoeMxR.js";import{d as B,g as M,f as I,h as P,i as L,j as V,k as G,l as E}from"./payee-user.1756813928779DYePqEGA.js";import{b as O}from"./payee-order.1756813928779C4UbJGZu.js";import{s as $}from"./staticData.17568139287798wZxkmL4.js";import{g as W,a as N}from"./payee-channel.1756813928779PB_xgNur.js";/* empty css */import"./el-col.1756813928779CnNvkunv.js";import"./el-card.1756813928779XdXzeUH6.js";import"./settlement_log.1756813928779BlHkmCkM.js";import"./payee-count.1756813928779CG-6P6l4.js";import"./select_channel.1756813928779CJC7uk9k.js";import"./el-link.1756813928779DgQmIkYX.js";import"./handle_balance.1756813928779DjAvvrXc.js";import"./freeze_balance.1756813928779Do-mPnJS.js";import"./freeze_money_management.1756813928779BSKAGw8u.js";import"./freeze_balance_management.1756813928779C3ljR3IS.js";const Z=e("payee",()=>({getUserInfo:async function(){let e=await B({saiType:"all"}),a=[];return Object.keys(e).forEach(t=>{var o;(null==(o=e[t])?void 0:o.username)&&a.push({label:e[t].username,value:e[t].username})}),a},getProductList:async function(){return(await N({saiType:"all"})).map(e=>({label:e.name,value:e.name}))},getChannelList:async function(){return(await W({saiType:"all"})).map(e=>({label:e.name,value:e.name}))}})),q={class:"statistics-box"},H={style:{"font-size":"10px"}},J={style:{"font-size":"10px"}},K=["onClick"],Q={style:{"margin-top":"4px"}},X={style:{"margin-top":"4px"}},Y={__name:"user-info",setup(e,{expose:W}){Z();const N=a(),Y=$.userType,ee=t([]),ae=t("日切清账,关闭通道"),te=t("warning"),oe=t("0"),le=o({sum_data:[],columns:[{prop:"shop_id",label:"商户号",align:"center",width:"100"},{prop:"username",label:"用户名",align:"center",slot:"username_slot",width:"100"},{prop:"group",label:"分组",align:"center",width:"100px",slot:"group_slot"},{prop:"",label:"预付操作",align:"center",slot:"modify_deposit_slot",width:"120"},{prop:"",label:"预付",align:"center",slot:"modify_deposit_log_slot"},{prop:"",label:"账号总额",align:"center",slot:"account_total_slot"},{prop:"",label:"通道",align:"center",slot:"channel_slot",width:"100px"},{prop:"",label:"费率",align:"center",slot:"fee_slot",width:"100px"},{prop:"",label:"状态",align:"center",slot:"status_slot"},{prop:"callback_white_ip",label:"回调IP",align:"center"},{prop:"",label:"操作",align:"center",slot:"operate_slot",width:"240"},{prop:"create_time",label:"注册时间",align:"center"},{prop:"login_time",label:"最后登录时间",align:"center",slot:"login_time_slot"}],tableData:[],searchFields:[{label:"商户号",prop:"shop_id",type:"input",value:""},{label:"用户名称",type:"input",prop:"username",value:""},{label:"用户定制类型",prop:"user_type",type:"select",value:"",options:Y},{label:"用户分组",type:"select",prop:"user_group",value:"",options:ee}],total:0,page:1,per_page:50,loading:!1,selectData:[],showAddDialog:!1,btnLoading:!1,addForm:{title:"新增用户",fields:[{label:"用户名称",prop:"username",type:"input",value:""},{label:"登录密码",prop:"password",type:"password"},{label:"登录IP白名单",prop:"login_white_ip",type:"textarea",value:""},{label:"回调IP白<EFBFBD><EFBFBD>
|