2025-09-26 15:47:37 +08:00
|
|
|
|
import{bo as e,aH as a,a$ as o,r as t,ag as l,b4 as s,d6 as r,dj as i,dk as n,c as u,e as d,N as p,O as c,w as _,t as m,l as w,dl as h,an as g,m as y,al as f,bb as v,g as D,a7 as b,a8 as C,c9 as F,aO as k,a_ as R,dm as S,dn as x,dp as j,dq as U,dr as A,ds as B,dt as z}from"./index.1758872782626PcEgr9Pb.js";import{_ as M}from"./index.1758872782626BaHu4okv.js";/* empty css */import{E as T}from"./el-text.1758872782626kVO24y9m.js";import I from"./modify_deposit.1758872782626CUPCQUie.js";import P from"./modify_deposit_log.1758872782626DfAHgBsY.js";import L from"./single_channel_set.1758872782626fladRa1F.js";import V from"./single_fee_set.1758872782626c-SoIC5V.js";import G from"./modify_password.1758872782626CatnbQpa.js";import E from"./clear_account.1758872782626BllDI0LI.js";import O from"./aircraft.1758872782626BCOwpYkZ.js";import W from"./user_gorup.1758872782626CTPWcvFN.js";import $ from"./detail.1758872782626_V1yN_Cf.js";import q from"./account_total.1758872782626BryAwqES.js";import{b as H}from"./payee-order.1758872782626BUOACWiH.js";import{s as N}from"./staticData.17588727826268wZxkmL4.js";import{p as X}from"./common.1758872782626CCwWzMi9.js";/* empty css */import"./el-col.1758872782626DEcn2Gm6.js";import"./el-card.1758872782626kgjo9rVZ.js";import"./settlement_log.1758872782626B8yW5B3O.js";import"./payee-count.1758872782626BDpENi7V.js";import"./lodash.1758872782626DjG_XPT7.js";import"./select_channel.1758872782626DIffh9VC.js";import"./el-link.1758872782626WDF5ZA27.js";import"./handle_balance.1758872782626DQnOP1lk.js";import"./freeze_balance.1758872782626B9ZvpA2J.js";import"./freeze_money_management.1758872782626Bf4GZgT0.js";import"./freeze_balance_management.1758872782626DOoxiDz9.js";const Z={class:"statistics-box"},J={style:{"font-size":"10px"}},K={style:{"font-size":"10px"}},Q={style:{"margin-top":"4px"}},Y={style:{"margin-top":"4px"}},ee={__name:"user-info",setup(ee,{expose:ae}){e(),a();const oe=o(),te=N.userType,le=t([]),se=t("日切清账,关闭通道"),re=t("warning"),ie=t("0"),ne=l({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:"280"},{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:te},{label:"用户分组",type:"select",prop:"user_group",value:"",options:le},{label:"用户IP",type:"input",prop:"callback_white_ip",value:""}],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",type:"textarea",value:"",placeholder:"商户的回调IP,管理员有IP池,建议每个商户独立IP,若是包网,则改为批量,切记线下一定要记录每个商户的IP,若IP被打,则及时变更不影响其他商户用英文逗号隔开"},{label:"商户等级",type:"radio",prop:"is_new",value:
|