sf_web_dist/js/user-info.1756209308902BtCp8Pmm.js

2 lines
16 KiB
JavaScript
Raw Normal View History

2025-08-26 19:56:16 +08:00
import{aF as e,a$ as a,r as o,ag as t,b4 as l,d8 as s,c as r,e as n,N as i,O as p,w as u,t as c,l as d,d9 as _,an as h,bb as w,a7 as m,a8 as g,g as y,c8 as f,aO as v,a_ as D}from"./index.1756209308902tjU7eogt.js";import{_ as b}from"./index.1756209308902DD5S3apE.js";/* empty css */import{E as C}from"./el-text.1756209308902CIqUW2yc.js";import F from"./modify_deposit.1756209308902I07ShEaF.js";import R from"./modify_deposit_log.1756209308902BeiiMTYT.js";import k from"./single_channel_set.1756209308902zsOm476s.js";import S from"./single_fee_set.1756209308902gKoyaUOW.js";import j from"./modify_password.1756209308902D9ZiwnCc.js";import x from"./clear_account.1756209308902c2uCayZ7.js";import U from"./aircraft.1756209308902DgV5QPZV.js";import T from"./user_gorup.1756209308902mo0x4VWg.js";import A from"./detail.1756209308902C33_REQg.js";import B from"./account_total.1756209308902Dvtcwj5N.js";import{d as z,g as M,f as I,h as P,i as L,j as G,k as V,l as E}from"./payee-user.1756209308902CnJak6nR.js";import{b as O}from"./payee-order.1756209308902BSCnUXWH.js";import{s as $}from"./staticData.17562093089028wZxkmL4.js";import{g as W,a as Z}from"./payee-channel.1756209308902txUCHyXS.js";/* empty css */import"./el-col.1756209308902DcxKfSHw.js";import"./el-card.1756209308902-HuZOdO7.js";import"./settlement_log.1756209308902CUfxxJqZ.js";import"./payee-count.1756209308902B6AaXJif.js";import"./select_channel.1756209308902B35u3V4v.js";import"./handle_balance.1756209308902Cmm0r3Fu.js";import"./freeze_balance.1756209308902CIv4b0hY.js";import"./freeze_money_management.17562093089027YHEOCnV.js";import"./freeze_balance_management.1756209308902D_qIArUP.js";const N=e("payee",()=>({getUserInfo:async function(){let e=await z({saiType:"all"});console.log("getUserInfo",e);let a=[];return Object.keys(e).forEach(o=>{var t;(null==(t=e[o])?void 0:t.username)&&a.push({label:e[o].username,value:e[o].username})}),a},getProductList:async function(){return(await Z({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}))}})),Y={class:"statistics-box"},q={style:{"font-size":"10px"}},H={style:{"font-size":"10px"}},J=["onClick"],K={style:{"margin-top":"4px"}},Q={style:{"margin-top":"4px"}},X={__name:"user-info",setup(e,{expose:W}){N();const Z=a(),X=$.userType,ee=o([]),ae=o("日切清账,关闭通道"),oe=o("warning"),te=o("0"),le=t({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:"created_at",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:X},{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白名单",prop:"callback_white_ip