2025-09-12 15:57:08 +08:00
|
|
|
|
import{bo as e,a$ as a,r as o,ag as t,b4 as l,d6 as s,dj as r,dk as n,c as i,e as u,N as p,O as d,w as c,t as _,l as w,dl as m,an as h,bb as g,g as y,a7 as f,a8 as v,c9 as D,aO as b,a_ as C,dm as R,dn as k,dp as F,dq as S,dr as j,ds as x}from"./index.1757663736095CNlFqFYq.js";import{_ as U}from"./index.1757663736095BCGc5zZi.js";/* empty css */import{E as A}from"./el-text.175766373609504Zceaja.js";import z from"./modify_deposit.1757663736095DOXp7WZz.js";import B from"./modify_deposit_log.1757663736095DoGa6B5N.js";import M from"./single_channel_set.1757663736095DDhLm6a-.js";import T from"./single_fee_set.1757663736095Dafq3d1Q.js";import I from"./modify_password.1757663736095Bh5RW72x.js";import P from"./clear_account.1757663736095CpYaTAWu.js";import L from"./aircraft.1757663736095CiJjNlhB.js";import V from"./user_gorup.1757663736095YXAZJY1K.js";import G from"./detail.1757663736095D4cp--yt.js";import E from"./account_total.1757663736095Btk4AlVd.js";import{b as O}from"./payee-order.1757663736095jzKqhlYs.js";import{s as $}from"./staticData.17576637360958wZxkmL4.js";import{p as W}from"./common.1757663736095CCwWzMi9.js";/* empty css */import"./el-col.1757663736095BJKP-zKe.js";import"./el-card.1757663736095C3ofxm25.js";import"./settlement_log.1757663736095DAWr-g1O.js";import"./payee-count.1757663736095CpuTjNDD.js";import"./lodash.1757663736095BRYOGS6Y.js";import"./select_channel.1757663736095BVoagEov.js";import"./el-link.1757663736095ckkrIzpa.js";import"./handle_balance.1757663736095BedDjZVL.js";import"./freeze_balance.1757663736095DikcsAPu.js";import"./freeze_money_management.1757663736095BZVK7iH1.js";import"./freeze_balance_management.175766373609512clyvIq.js";const q={class:"statistics-box"},N={style:{"font-size":"10px"}},Z={style:{"font-size":"10px"}},H=["onClick"],J={style:{"margin-top":"4px"}},K={style:{"margin-top":"4px"}},Q={__name:"user-info",setup(Q,{expose:X}){e();const Y=a(),ee=$.userType,ae=o([]),oe=o("日切清账,关闭通道"),te=o("warning"),le=o("0"),se=t({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:ee},{label:"用户分组",type:"select",prop:"user_group",value:"",options:ae}],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被打,则及时变更不影响其他商户用英文逗号隔开"}],rules:{},values:{username:"",name:"",user_type:"",password:"",login_white_ip:"",callback_white_ip:"",id:""}},showBatchChannel:!1,showBatchFee:!1,
|