sf_web_dist/js/user-info.DDXplOOD.js

2 lines
15 KiB
JavaScript
Raw Normal View History

2025-08-21 18:35:44 +08:00
import{a$ as e,r as a,ag as o,b4 as t,c as l,e as s,N as r,O as i,w as n,t as p,l as u,d8 as d,an as c,bb as _,a7 as h,a8 as w,g as m,c8 as g,aO as y,a_ as f}from"./index.Cxgo2F4i.js";import{_ as v}from"./index.BBiKmX1D.js";/* empty css */import{E as D}from"./el-text.UvGVdR1X.js";import C from"./modify_deposit.DwwhgLr0.js";import b from"./modify_deposit_log.CGyeba-F.js";import F from"./single_channel_set.BeRhHt1J.js";import k from"./single_fee_set.Ckfgqjpn.js";import R from"./modify_password.pO6IZMij.js";import S from"./clear_account.MCgEZSHZ.js";import j from"./aircraft.44cWMB-T.js";import x from"./user_gorup.q2l8iLJY.js";import U from"./detail.DVaW-vPm.js";import A from"./account_total.lpNnctlv.js";import{g as z,c as B,d as M,f as T,h as P,i as I,j as L,k as G}from"./payee-user.BO37c0Pf.js";import{s as V}from"./staticData.8wZxkmL4.js";/* empty css */import"./el-col.BCbWeUI0.js";import"./payee-order.Wu5VAv38.js";import"./el-card.CyUg5h3K.js";import"./settlement_log.BIbAOrpi.js";import"./payee-count._gVyI00_.js";import"./select_channel.Npx2YY58.js";import"./payee-channel.DIVowoRd.js";import"./handle_balance.BjxQQgCk.js";import"./freeze_balance.9R8fAfTw.js";import"./freeze_money_management.B3iqFF9d.js";import"./freeze_balance_management.BAJ6jxLR.js";const E={class:"statistics-box"},O={style:{"font-size":"10px"}},W={style:{"font-size":"10px"}},Z=["onClick"],$={style:{"margin-top":"4px"}},N={style:{"margin-top":"4px"}},Q={__name:"user-info",setup(Q,{expose:X}){const Y=e(),q=V.userType,H=a([]),J=a("日切清账,关闭通道"),K=a("warning"),ee=a("0"),ae=o({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:q},{label:"用户分组",type:"select",prop:"user_group",value:"",options:H}],total:0,page:1,per_page:10,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被打则及时变更不影响其他商户用英文逗号隔开"}],rules:{},values:{username:"",name:"",user_type:"",password:"",login_white_ip:"",callback_white_ip:"",id:""}},showBatchChannel:!1,showBatchFee:!1,showWrongAccount:!1,showRepairRecord:!1,showModifyDeposit:!1,showModifyDepositLog:!1,showSingleChannelSet:!1,showSingleFeeSet:!1,showModifyPassword:!1,showClearAccount:!1,showBindAircraftDialog:!1,showUserGroupDialog:!1,showDetailDialog:!1,showTotalDetailDialog:!1,currentRow:{},freezeStatus:""}),oe=(e,a)=>{let o="";return(0===a?type_options:pay_type_options).some(a=>{if(a.value===e)return o=a.label,!0}),o},te=()=>{ae.searchFields.forEach(e=>{"datetimerange"==e.dat