File tree Expand file tree Collapse file tree 4 files changed +21
-27
lines changed Expand file tree Collapse file tree 4 files changed +21
-27
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import request from '@/config/axios'
3
3
/** 用户钱包查询参数 */
4
4
export interface PayWalletUserReqVO {
5
5
userId : number
6
- userType : number
7
6
}
8
7
/** 钱包 VO */
9
8
export interface WalletVO {
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ const getUserWallet = async () => {
65
65
wallet .value = WALLET_INIT_DATA
66
66
return
67
67
}
68
- const params = { userId: props .user .id , userType: UserTypeEnum . MEMBER }
68
+ const params = { userId: props .user .id }
69
69
wallet .value = (await WalletApi .getWallet (params )) || WALLET_INIT_DATA
70
70
}
71
71
Original file line number Diff line number Diff line change 69
69
</el-form-item >
70
70
</div >
71
71
<div v-if =" formData.config.mode === 2" >
72
+ <el-form-item label-width =" 180px" label =" 应用私钥" prop =" config.privateKey" >
73
+ <el-input
74
+ type =" textarea"
75
+ :autosize =" { minRows: 8, maxRows: 8 }"
76
+ v-model =" formData.config.privateKey"
77
+ placeholder =" 请输入应用私钥"
78
+ clearable
79
+ :style =" { width: '100%' }"
80
+ />
81
+ </el-form-item >
72
82
<el-form-item label-width =" 180px" label =" 商户公钥应用证书" prop =" config.appCertContent" >
73
83
<el-input
74
84
v-model =" formData.config.appCertContent"
Original file line number Diff line number Diff line change 8
8
:inline =" true"
9
9
label-width =" 68px"
10
10
>
11
- <el-form-item label =" 用户编号 " prop =" userId " >
11
+ <el-form-item label =" 用户昵称 " prop =" nickname " >
12
12
<el-input
13
- v-model =" queryParams.userId "
14
- placeholder =" 请输入用户编号 "
13
+ v-model =" queryParams.nickname "
14
+ placeholder =" 请输入用户昵称 "
15
15
clearable
16
16
@keyup.enter =" handleQuery"
17
17
class =" !w-240px"
18
18
/>
19
19
</el-form-item >
20
- <el-form-item label =" 用户类型" prop =" userType" >
21
- <el-select
22
- v-model =" queryParams.userType"
23
- placeholder =" 请选择用户类型"
24
- clearable
25
- class =" !w-240px"
26
- >
27
- <el-option
28
- v-for =" dict in getIntDictOptions(DICT_TYPE.USER_TYPE)"
29
- :key =" dict.value"
30
- :label =" dict.label"
31
- :value =" dict.value"
32
- />
33
- </el-select >
34
- </el-form-item >
35
20
<el-form-item label =" 创建时间" prop =" createTime" >
36
21
<el-date-picker
37
22
v-model =" queryParams.createTime"
54
39
<ContentWrap >
55
40
<el-table v-loading =" loading" :data =" list" :stripe =" true" :show-overflow-tooltip =" true" >
56
41
<el-table-column label =" 编号" align =" center" prop =" id" />
57
- <el-table-column label =" 用户编号" align =" center" prop =" userId" />
42
+ <el-table-column label =" 用户昵称" align =" center" prop =" nickname" />
43
+ <el-table-column label =" 头像" align =" center" prop =" avatar" width =" 80px" >
44
+ <template #default =" scope " >
45
+ <img :src =" scope.row.avatar" style =" width : 40px " />
46
+ </template >
47
+ </el-table-column >
58
48
<el-table-column label =" 用户类型" align =" center" prop =" userType" >
59
49
<template #default =" scope " >
60
50
<dict-tag :type =" DICT_TYPE.USER_TYPE" :value =" scope.row.userType" />
@@ -116,12 +106,7 @@ const list = ref([]) // 列表的数据
116
106
const queryParams = reactive ({
117
107
pageNo: 1 ,
118
108
pageSize: 10 ,
119
- userId: null ,
120
- userType: null ,
121
- balance: null ,
122
- totalExpense: null ,
123
- totalRecharge: null ,
124
- freezePrice: null ,
109
+ nickname: null ,
125
110
createTime: []
126
111
})
127
112
const queryFormRef = ref () // 搜索的表单
You can’t perform that action at this time.
0 commit comments