sf_web_dist/js/user-info.Bqpp8pWt.js

2 lines
15 KiB
JavaScript
Raw Normal View History

2025-08-22 20:10:06 +08:00
import{a$ as e,r as a,ag as t,b4 as o,d8 as l,c as s,e as r,N as i,O as n,w as p,t as u,l as d,d9 as c,an as _,bb as w,a7 as h,a8 as m,g,c8 as y,aO as f,a_ as v}from"./index.DYePfyem.js";import{_ as D}from"./index.DYwS_xFe.js";/* empty css */import{E as C}from"./el-text.BUumAqEQ.js";import b from"./modify_deposit.CKxB2E0J.js";import F from"./modify_deposit_log.Dt3cl3YF.js";import R from"./single_channel_set.C0HJdjtG.js";import k from"./single_fee_set.D4zjK9_L.js";import S from"./modify_password.CWz73WWH.js";import j from"./clear_account.CpkZrw55.js";import x from"./aircraft.D1AapaEN.js";import U from"./user_gorup.CKMTtvvV.js";import A from"./detail.C9wvGn8K.js";import z from"./account_total.DF9xBniC.js";import{g as B,d as M,f as T,h as I,i as P,j as L,k as G,l as V}from"./payee-user.63Avc7B0.js";import{b as E}from"./payee-order.s8X1e7-s.js";import{s as O}from"./staticData.8wZxkmL4.js";import"./lodash.B0C_AyXz.js";/* empty css */import"./el-col.DpOXIyFv.js";import"./el-card.B7PWWSBO.js";import"./settlement_log.BrfDFgWL.js";import"./payee-count.CngbgP1_.js";import"./select_channel.CBbAwLNt.js";import"./payee-channel.mXsebGpJ.js";import"./handle_balance.AkAQG8k6.js";import"./freeze_balance.CeeSfWI8.js";import"./freeze_money_management.B-i-VOfA.js";import"./freeze_balance_management.igndLbh7.js";const W={class:"statistics-box"},Z={style:{"font-size":"10px"}},$={style:{"font-size":"10px"}},N=["onClick"],Q={style:{"margin-top":"4px"}},X={style:{"margin-top":"4px"}},Y={__name:"user-info",setup(Y,{expose:q}){const H=e(),J=O.userType,K=a([]),ee=a("日切清账,关闭通道"),ae=a("warning"),te=a("0"),oe=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:J},{label:"用户分组",type:"select",prop:"user_group",value:"",options:K}],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:""}),le=(e,a)=>{let t="";return(0===a?type_options:pay_type_options).some(a=>{if(a.value===e)return t=a.label,!0}),t},se=()=>{oe.s