账号管理

This commit is contained in:
zzyuan 2025-05-26 17:16:11 +08:00
parent ea56ac8592
commit 2cf7b0836f
13 changed files with 75 additions and 75 deletions

View File

@ -121,7 +121,7 @@
<span>{{ (scope.row.minSubBalLimit/100).toFixed(2) }}</span>
</template>
</el-table-column>
<el-table-column label="账户状态" align="center" prop="accStatusName" :show-overflow-tooltip="true" width="120"/>
<el-table-column label="账户状态" align="center" prop="accountStatusName" :show-overflow-tooltip="true" width="120"/>
<!-- <el-table-column label="账户有效期" align="center" prop="endDate" :show-overflow-tooltip="true" width="150"/> -->
</el-table>
@ -168,7 +168,7 @@
queryParams: {
pageNum: 1,
pageSize: 10,
accStatusList:[4],
accountStatusList:[4],
deptIdList:[],
searchValue:null,
walletType:null,
@ -249,7 +249,7 @@
let param = {
"pageNum": this.queryParams.pageNum,
"pageSize": this.queryParams.pageSize,
"accStatusList": this.queryParams.accStatusList,
"accountStatusList": this.queryParams.accountStatusList,
"deptIdList": this.queryParams.deptIdList,
"searchValue": this.queryParams.searchValue,
"walletType": this.queryParams.walletType,

View File

@ -1,8 +1,8 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="账户状态" prop="accStatusList">
<el-select v-model="queryParams.accStatusList" multiple style="width: 240px" clearable>
<el-form-item label="账户状态" prop="accountStatusList">
<el-select v-model="queryParams.accountStatusList" multiple style="width: 240px" clearable>
<el-option label="正常" value="0"></el-option>
<el-option label="停用" value="1"></el-option>
</el-select>
@ -126,10 +126,10 @@
<span>{{ (scope.row.minSubBalLimit/100).toFixed(2) }}</span>
</template>
</el-table-column> -->
<el-table-column label="账户状态" align="center" prop="accStatus" :show-overflow-tooltip="true" width="120">
<el-table-column label="账户状态" align="center" prop="accountStatus" :show-overflow-tooltip="true" width="120">
<template slot-scope="scope">
<span v-if="scope.row.accStatus==0">正常</span>
<span v-if="scope.row.accStatus==1">停用</span>
<span v-if="scope.row.accountStatus==0">正常</span>
<span v-if="scope.row.accountStatus==1">停用</span>
</template>
</el-table-column>
<el-table-column label="账户有效期" align="center" prop="endDate" :show-overflow-tooltip="true" width="150"/>
@ -145,13 +145,13 @@
<el-button
size="mini"
type="text" style="color: red;"
v-if="scope.row.accStatus==0"
v-if="scope.row.accountStatus==0"
@click="handleUpdateState(scope.row,1)"
>停用</el-button>
<el-button
size="mini"
type="text"
v-if="scope.row.accStatus==1"
v-if="scope.row.accountStatus==1"
@click="handleUpdateState(scope.row,0)"
>启用</el-button>
<el-button
@ -203,7 +203,7 @@
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">账户状态</template>
{{ form.accStatusName }}
{{ form.accountStatusName }}
</el-descriptions-item>
@ -301,7 +301,7 @@
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleDialogQuery">搜索</el-button>
</el-form-item>
</el-form>
<el-table :data="dialogTableData" height="200" ref="multipleTable" :row-key="(row)=>{return row.accId}" @selection-change="handleSelectionChange">
<el-table :data="dialogTableData" height="200" ref="multipleTable" :row-key="(row)=>{return row.accountId}" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="50" align="center" :reserve-selection="true"/>
<el-table-column label="用户编号" align="center" prop="userId" :show-overflow-tooltip="true" />
<el-table-column label="用户姓名" align="center" prop="nickName" :show-overflow-tooltip="true" />
@ -384,7 +384,7 @@
queryParams: {
pageNum: 1,
pageSize: 10,
accStatusList:[],
accountStatusList:[],
deptIdList:[],
hasSum:true,
searchValue:null,
@ -410,7 +410,7 @@
dialogParams: {
pageNum: 1,
pageSize: 10,
accStatusList:[],
accountStatusList:[],
deptIdList:[],
hasSum:true,
searchValue:null,
@ -482,7 +482,7 @@
let param = {
"pageNum": this.queryParams.pageNum,
"pageSize": this.queryParams.pageSize,
"accStatusList": this.queryParams.accStatusList,
"accountStatusList": this.queryParams.accountStatusList,
"deptIdList": this.queryParams.deptIdList,
// "hasSum": this.queryParams.hasSum,
"searchValue": this.queryParams.searchValue,
@ -521,7 +521,7 @@
/** 停用(启用)按钮操作 */
handleUpdateState(row,state){
let param = {
accStatus:state,
accountStatus:state,
userId:row.userId
}
let str = ''
@ -543,7 +543,7 @@
serialNum:null
};
this.resetForm("cardForm");
this.cardForm.accId = row.accId;
this.cardForm.accountId = row.accountId;
this.openCard=true;
},
submitSendCard(){
@ -622,7 +622,7 @@
let param = {
"pageNum": this.dialogParams.pageNum,
"pageSize": this.dialogParams.pageSize,
"accStatusList": this.dialogParams.accStatusList,
"accountStatusList": this.dialogParams.accountStatusList,
"deptIdList": this.dialogParams.deptIdList,
// "hasSum": this.dialogParams.hasSum,
"searchValue": this.dialogParams.searchValue,

View File

@ -121,7 +121,7 @@
<span>{{ (scope.row.minSubBalLimit/100).toFixed(2) }}</span>
</template>
</el-table-column>
<el-table-column label="账户状态" align="center" prop="accStatusName" :show-overflow-tooltip="true" width="120"/>
<el-table-column label="账户状态" align="center" prop="accountStatusName" :show-overflow-tooltip="true" width="120"/>
<!-- <el-table-column label="账户有效期" align="center" prop="endDate" :show-overflow-tooltip="true" width="150"/> -->
</el-table>
@ -168,7 +168,7 @@
queryParams: {
pageNum: 1,
pageSize: 10,
accStatusList:[3],
accountStatusList:[3],
deptIdList:[],
searchValue:null,
walletType:null,
@ -249,7 +249,7 @@
let param = {
"pageNum": this.queryParams.pageNum,
"pageSize": this.queryParams.pageSize,
"accStatusList": this.queryParams.accStatusList,
"accountStatusList": this.queryParams.accountStatusList,
"deptIdList": this.queryParams.deptIdList,
"searchValue": this.queryParams.searchValue,
"walletType": this.queryParams.walletType,

View File

@ -105,11 +105,11 @@
<span v-if="scope.row.tradeType==130">消费退款</span> -->
</template>
</el-table-column>
<el-table-column label="钱包类型" align="center" prop="walletId" :show-overflow-tooltip="true" width="100">
<el-table-column label="钱包类型" align="center" prop="walletType" :show-overflow-tooltip="true" width="100">
<template slot-scope="scope">
<span v-if="scope.row.walletId==1">个人钱包</span>
<span v-if="scope.row.walletId==2">补贴钱包</span>
<span v-if="scope.row.walletId==4">红包</span>
<span v-if="scope.row.walletType==1">个人钱包</span>
<span v-if="scope.row.walletType==2">补贴钱包</span>
<span v-if="scope.row.walletType==4">红包</span>
</template>
</el-table-column>
<el-table-column label="变动金额" align="center" prop="amount" :show-overflow-tooltip="true">

View File

@ -16,8 +16,8 @@
<el-form-item label="关键字" prop="searchValue">
<el-input v-model="queryParams.searchValue" placeholder="请输入用户姓名,编号,手机号" maxlength="20" clearable style="width: 240px"/>
</el-form-item>
<!-- <el-form-item label="账户状态" prop="accStatusList">
<el-select v-model="queryParams.accStatusList" multiple style="width: 240px" clearable>
<!-- <el-form-item label="账户状态" prop="accountStatusList">
<el-select v-model="queryParams.accountStatusList" multiple style="width: 240px" clearable>
<el-option label="正常" value="0"></el-option>
<el-option label="停用" value="1"></el-option>
</el-select>
@ -55,10 +55,10 @@
<dict-tag :options="dict.type.sys_user_type" :value="scope.row.userType"/>
</template>
</el-table-column>
<el-table-column label="账户状态" align="center" prop="accStatus" :show-overflow-tooltip="true">
<el-table-column label="账户状态" align="center" prop="accountStatus" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span v-if="scope.row.accStatus==0">正常</span>
<span v-if="scope.row.accStatus==1">停用</span>
<span v-if="scope.row.accountStatus==0">正常</span>
<span v-if="scope.row.accountStatus==1">停用</span>
</template>
</el-table-column>
<el-table-column label="账户总余额" align="center" prop="accBalTotal" :show-overflow-tooltip="true">
@ -153,7 +153,7 @@
<el-descriptions-item>
<template slot="label">账户状态</template>
{{ form.accStatusName }}
{{ form.accountStatusName }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">用户类别</template>
@ -223,7 +223,7 @@
<el-descriptions-item>
<template slot="label">账户状态</template>
{{ form.accStatusName }}
{{ form.accountStatusName }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">用户类别</template>
@ -293,7 +293,7 @@
<el-descriptions-item>
<template slot="label">账户状态</template>
{{ form.accStatusName }}
{{ form.accountStatusName }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">用户类别</template>
@ -372,7 +372,7 @@
queryParams: {
pageNum: 1,
pageSize: 10,
accStatusList:[],
accountStatusList:[],
deptIdList:[],
hasSum:true,
searchValue:null,
@ -446,7 +446,7 @@
let param = {
"pageNum": this.queryParams.pageNum,
"pageSize": this.queryParams.pageSize,
"accStatusList": this.queryParams.accStatusList,
"accountStatusList": this.queryParams.accountStatusList,
"deptIdList": this.queryParams.deptIdList,
// "hasSum": this.queryParams.hasSum,
"searchValue": this.queryParams.searchValue,

View File

@ -52,10 +52,10 @@
<dict-tag :options="dict.type.sys_user_type" :value="scope.row.userType"/>
</template>
</el-table-column>
<el-table-column label="账户状态" align="center" prop="accStatus" :show-overflow-tooltip="true" width="120">
<el-table-column label="账户状态" align="center" prop="accountStatus" :show-overflow-tooltip="true" width="120">
<template slot-scope="scope">
<span v-if="scope.row.accStatus==0">正常</span>
<span v-if="scope.row.accStatus==1">停用</span>
<span v-if="scope.row.accountStatus==0">正常</span>
<span v-if="scope.row.accountStatus==1">停用</span>
</template>
</el-table-column>
<el-table-column label="账户总余额" align="center" prop="accBalTotal" :show-overflow-tooltip="true">
@ -138,9 +138,9 @@
<el-descriptions-item>
<template slot="label">账户状态</template>
<!-- {{ form.accStatusName }} -->
<span v-if="form.accStatus==0">正常</span>
<span v-if="form.accStatus==1">停用</span>
<!-- {{ form.accountStatusName }} -->
<span v-if="form.accountStatus==0">正常</span>
<span v-if="form.accountStatus==1">停用</span>
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">用户类别</template>
@ -240,7 +240,7 @@
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleDialogQuery">搜索</el-button>
</el-form-item>
</el-form>
<el-table :data="dialogTableData" height="300" ref="multipleTable1" :row-key="(row)=>{return row.accId}" @selection-change="handleSelectionChange">
<el-table :data="dialogTableData" height="300" ref="multipleTable1" :row-key="(row)=>{return row.accountId}" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="50" align="center" :reserve-selection="true"/>
<el-table-column label="用户编号" align="center" prop="userId" :show-overflow-tooltip="true" />
<el-table-column label="用户姓名" align="center" prop="nickName" :show-overflow-tooltip="true" />
@ -342,9 +342,9 @@
<el-descriptions-item>
<template slot="label">账户状态</template>
<!-- {{ form.accStatusName }} -->
<span v-if="form.accStatus==0">正常</span>
<span v-if="form.accStatus==1">停用</span>
<!-- {{ form.accountStatusName }} -->
<span v-if="form.accountStatus==0">正常</span>
<span v-if="form.accountStatus==1">停用</span>
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">用户类别</template>
@ -436,7 +436,7 @@
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleDialogQuery">搜索</el-button>
</el-form-item>
</el-form>
<el-table :data="dialogTableData" height="300" ref="multipleTable2" :row-key="(row)=>{return row.accId}" @selection-change="handleSelectionChange">
<el-table :data="dialogTableData" height="300" ref="multipleTable2" :row-key="(row)=>{return row.accountId}" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="50" align="center" :reserve-selection="true"/>
<el-table-column label="用户编号" align="center" prop="userId" :show-overflow-tooltip="true" />
<el-table-column label="用户姓名" align="center" prop="nickName" :show-overflow-tooltip="true" />

View File

@ -134,7 +134,7 @@
queryParams: {
pageNum: 1,
pageSize: 10,
// accStatusList:[],
// accountStatusList:[],
// deptIdList:[],
serialNum:null,
userId:null,
@ -192,7 +192,7 @@
"pageSize": this.queryParams.pageSize,
"serialNum": this.queryParams.serialNum,
"userId": this.queryParams.userId,
// "accStatusList": this.queryParams.accStatusList,
// "accountStatusList": this.queryParams.accountStatusList,
// "deptIdList": this.queryParams.deptIdList,
// "walletType": this.queryParams.walletType,
}
@ -211,7 +211,7 @@
serialNum:null
};
this.resetForm("cardForm");
this.cardForm.accId = row.accId;
this.cardForm.accountId = row.accountId;
this.openCard=true;
},
//
@ -232,7 +232,7 @@
/** 退卡按钮操作 */
handleReturn(row) {
this.$modal.confirm('是否确认退卡?').then(function() {
return accCardRefundApi({"accId":row.accId});
return accCardRefundApi({"accountId":row.accountId});
}).then(() => {
this.getList();
this.$modal.msgSuccess("退卡成功");
@ -241,7 +241,7 @@
/** 挂失按钮操作 */
handleLoss(row) {
this.$modal.confirm('是否确认挂失?').then(function() {
return accCardLossApi({"accId":row.accId});
return accCardLossApi({"accountId":row.accountId});
}).then(() => {
this.getList();
this.$modal.msgSuccess("挂失成功");
@ -250,7 +250,7 @@
/** 解挂按钮操作 */
handleRelieve(row) {
this.$modal.confirm('是否确认解挂?').then(function() {
return accCardRelieveApi({"accId":row.accId});
return accCardRelieveApi({"accountId":row.accountId});
}).then(() => {
this.getList();
this.$modal.msgSuccess("解挂成功");

View File

@ -72,7 +72,7 @@
<span>{{ (scope.row.accFreezeBalTotal/100).toFixed(2) }}</span>
</template>
</el-table-column>
<el-table-column label="账户状态" align="center" prop="accStatusName" :show-overflow-tooltip="true" width="120"/>
<el-table-column label="账户状态" align="center" prop="accountStatusName" :show-overflow-tooltip="true" width="120"/>
<!-- <el-table-column label="账户有效期" align="center" prop="endDate" :show-overflow-tooltip="true" width="150"/> -->
@ -251,7 +251,7 @@
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleDialogQuery">搜索</el-button>
</el-form-item>
</el-form>
<el-table :data="dialogTableData" height="300" ref="multipleTable" :row-key="(row)=>{return row.accId}" @selection-change="handleSelectionChange">
<el-table :data="dialogTableData" height="300" ref="multipleTable" :row-key="(row)=>{return row.accountId}" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="50" align="center" :reserve-selection="true"/>
<el-table-column label="用户编号" align="center" prop="custNum" :show-overflow-tooltip="true" />
<el-table-column label="用户姓名" align="center" prop="custName" :show-overflow-tooltip="true" />
@ -498,7 +498,7 @@
dialogParams: {
pageNum: 1,
pageSize: 10,
accStatusList:[],
accountStatusList:[],
deptIdList:[],
searchValue:null,
psnType:null

View File

@ -117,11 +117,11 @@
</template>
</el-table-column>
<el-table-column label="钱包类型" align="center" prop="walletId" :show-overflow-tooltip="true" width="100">
<el-table-column label="钱包类型" align="center" prop="walletType" :show-overflow-tooltip="true" width="100">
<template slot-scope="scope">
<span v-if="scope.row.walletId==1">个人钱包</span>
<span v-if="scope.row.walletId==2">补贴钱包</span>
<span v-if="scope.row.walletId==4">红包</span>
<span v-if="scope.row.walletType==1">个人钱包</span>
<span v-if="scope.row.walletType==2">补贴钱包</span>
<span v-if="scope.row.walletType==4">红包</span>
</template>
</el-table-column>
<el-table-column label="变动金额" align="center" prop="amount" :show-overflow-tooltip="true" width="120">

View File

@ -78,7 +78,7 @@
<span>{{ (scope.row.accFreezeBalTotal/100).toFixed(2) }}</span>
</template>
</el-table-column>
<el-table-column label="账户状态" align="center" prop="accStatusName" :show-overflow-tooltip="true" width="120"/>
<el-table-column label="账户状态" align="center" prop="accountStatusName" :show-overflow-tooltip="true" width="120"/>
<!-- <el-table-column label="账户有效期" align="center" prop="endDate" :show-overflow-tooltip="true" width="150"/> -->
<el-table-column label="操作" align="center" width="180" class-name="small-padding fixed-width" fixed="right">
<template slot-scope="scope" v-if="scope.$index!=10">
@ -128,7 +128,7 @@
<el-descriptions-item>
<template slot="label">账户状态</template>
{{ form.accStatusName }}
{{ form.accountStatusName }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">用户类别</template>
@ -238,7 +238,7 @@
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleDialogQuery">搜索</el-button>
</el-form-item>
</el-form>
<el-table :data="dialogTableData" height="300" ref="multipleTable1" :row-key="(row)=>{return row.accId}" @selection-change="handleSelectionChange">
<el-table :data="dialogTableData" height="300" ref="multipleTable1" :row-key="(row)=>{return row.accountId}" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="50" align="center" :reserve-selection="true"/>
<el-table-column label="用户编号" align="center" prop="custNum" :show-overflow-tooltip="true" />
<el-table-column label="用户姓名" align="center" prop="custName" :show-overflow-tooltip="true" />
@ -309,7 +309,7 @@
<el-descriptions-item>
<template slot="label">账户状态</template>
{{ form.accStatusName }}
{{ form.accountStatusName }}
</el-descriptions-item>
<el-descriptions-item>
<template slot="label">用户类别</template>
@ -419,7 +419,7 @@
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleDialogQuery">搜索</el-button>
</el-form-item>
</el-form>
<el-table :data="dialogTableData" height="300" ref="multipleTable2" :row-key="(row)=>{return row.accId}" @selection-change="handleSelectionChange">
<el-table :data="dialogTableData" height="300" ref="multipleTable2" :row-key="(row)=>{return row.accountId}" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="50" align="center" :reserve-selection="true"/>
<el-table-column label="用户编号" align="center" prop="custNum" :show-overflow-tooltip="true" />
<el-table-column label="用户姓名" align="center" prop="custName" :show-overflow-tooltip="true" />

View File

@ -18,8 +18,8 @@
<el-form-item label="关键字">
<el-input v-model="queryParams.keyword" placeholder="请输入关键字" maxlength="20" clearable style="width: 240px"/>
</el-form-item>
<el-form-item label="钱包类型" prop="walletId">
<el-select v-model="queryParams.walletId" style="width: 240px" clearable>
<el-form-item label="钱包类型" prop="walletType">
<el-select v-model="queryParams.walletType" style="width: 240px" clearable>
<el-option label="个人钱包" value="1"></el-option>
<el-option label="补贴钱包" value="2"></el-option>
<el-option label="红包" value="4"></el-option>
@ -156,7 +156,7 @@
pageNum: 1,
pageSize: 10,
keyword:null,
walletId:null,
walletType:null,
crBy:null,
accTradeId:null,
orgIdList:[],
@ -196,7 +196,7 @@
pageNum: 1,
pageSize: 10,
keyword:null,
walletId:null,
walletType:null,
crBy:null,
accTradeId:null,
orgIdList:[],

View File

@ -18,8 +18,8 @@
<el-form-item label="关键字">
<el-input v-model="queryParams.keyword" placeholder="请输入关键字" maxlength="20" clearable style="width: 240px"/>
</el-form-item>
<el-form-item label="钱包类型" prop="walletId">
<el-select v-model="queryParams.walletId" style="width: 240px" clearable>
<el-form-item label="钱包类型" prop="walletType">
<el-select v-model="queryParams.walletType" style="width: 240px" clearable>
<el-option label="个人钱包" value="1"></el-option>
<el-option label="补贴钱包" value="2"></el-option>
<el-option label="红包" value="4"></el-option>
@ -159,7 +159,7 @@
pageNum: 1,
pageSize: 10,
keyword:null,
walletId:null,
walletType:null,
crBy:null,
accTradeId:null,
orgIdList:[],
@ -199,7 +199,7 @@
pageNum: 1,
pageSize: 10,
keyword:null,
walletId:null,
walletType:null,
crBy:null,
accTradeId:null,
orgIdList:[],

View File

@ -66,10 +66,10 @@
<span>{{ (scope.row.accFreezeBalTotal/100).toFixed(2) }}</span>
</template>
</el-table-column>
<el-table-column label="账户状态" align="center" prop="accStatus" :show-overflow-tooltip="true" width="120">
<el-table-column label="账户状态" align="center" prop="accountStatus" :show-overflow-tooltip="true" width="120">
<template slot-scope="scope">
<span v-if="scope.row.accStatus==0">正常</span>
<span v-if="scope.row.accStatus==1">停用</span>
<span v-if="scope.row.accountStatus==0">正常</span>
<span v-if="scope.row.accountStatus==1">停用</span>
</template>
</el-table-column>
<el-table-column label="账户有效期" align="center" prop="endDate" :show-overflow-tooltip="true" width="160"/>