Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saas-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chehuidong
saas-manage
Commits
0941c8a3
Commit
0941c8a3
authored
Aug 02, 2025
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加收款账户管理页面
parent
95ba9bde
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
5 deletions
+81
-5
src/common/api/user/user.js
+67
-0
src/views/system/sysSecuritySettings.vue
+14
-5
src/views/user/baseProceedsAccount.vue
+0
-0
No files found.
src/common/api/user/user.js
View file @
0941c8a3
...
...
@@ -6,3 +6,70 @@ export function getUserRechargeRecordListApi(params) {
export
function
getSubjectListApi
(
params
)
{
return
axios
.
get
(
'/pay/businessPayRecord/subjectList'
,
params
)
}
// 获取账户类型
export
function
getAccountTypeListApi
()
{
return
axios
.
get
(
'/baseProceedsAccount/accountTypeList'
)
}
// 获取收款方式
export
function
getReceiverTypeListApi
()
{
return
axios
.
get
(
'/baseProceedsAccount/receiverTypeList'
)
}
// 获取币种
export
function
getCurrencyTypeListApi
()
{
return
axios
.
get
(
'/manage/rest/baseCurrencyInfo/uniList'
)
}
// 获取安全设置
export
function
getSecuritySettingApi
()
{
return
axios
.
get
(
'/sysSecuritySettings/getOne'
)
}
// 获取收款账户列表
export
function
getBaseProceedsAccountListApi
(
params
)
{
return
axios
.
post
(
'/baseProceedsAccount/list_page'
,
params
)
}
// 获取收款账户详情
export
function
getBaseProceedsAccountDetailApi
(
id
)
{
return
axios
.
get
(
`/baseProceedsAccount/get?id=
${
id
}
`
)
}
// 获取收款账户操作日志
export
function
getBaseProceedsAccountLogApi
(
id
)
{
return
axios
.
get
(
`/baseProceedsAccountLog/getList?relaId=
${
id
}
`
)
}
// 更新收款账户启用状态
export
function
updateBaseProceedsAccountEnableApi
(
params
)
{
return
axios
.
post
(
'/baseProceedsAccount/updateEnable'
,
params
)
}
// 新增收款账户
export
function
addBaseProceedsAccountApi
(
params
)
{
return
axios
.
post
(
'/baseProceedsAccount/add'
,
params
)
}
// 更新收款账户
export
function
updateBaseProceedsAccountApi
(
params
)
{
return
axios
.
post
(
'/baseProceedsAccount/update'
,
params
)
}
// 删除收款账户
export
function
deleteBaseProceedsAccountApi
(
params
)
{
return
axios
.
post
(
'/baseProceedsAccount/delete'
,
params
)
}
// 发送手机验证码
export
function
sendPhoneCodeApi
(
params
)
{
return
axios
.
post
(
'/sysSecuritySettings/sendPhoneCode'
,
params
)
}
// 发送邮箱验证码
export
function
sendEmailCodeApi
(
email
,
operateType
)
{
return
axios
.
get
(
`/sysSecuritySettings/sendEmailCode?email=
${
email
}
&operateType=
${
operateType
}
`
)
}
src/views/system/sysSecuritySettings.vue
View file @
0941c8a3
...
...
@@ -183,7 +183,10 @@
type
=
"warning"
size
=
"small"
v
-
if
=
"currentMethod !== 'phone' && securityData.phone"
@
click
=
"currentMethod = 'phone'"
@
click
=
"
currentMethod = 'phone'
resetForm()
"
style
=
"width: 100%"
>
手机验证
<
/el-button
>
...
...
@@ -192,7 +195,10 @@
type
=
"success"
size
=
"small"
v
-
if
=
"currentMethod !== 'mailbox' && securityData.mailbox"
@
click
=
"currentMethod = 'mailbox'"
@
click
=
"
currentMethod = 'mailbox'
resetForm()
"
style
=
"width: 100%"
>
邮箱验证
<
/el-button
>
...
...
@@ -205,7 +211,10 @@
dialogType !== 'addPassword' &&
securityData.superPassword
"
@
click
=
"currentMethod = 'superPassword'"
@
click
=
"
currentMethod = 'superPassword'
resetForm()
"
style
=
"width: 100%"
>
超级密码验证
<
/el-button
>
...
...
@@ -504,8 +513,8 @@ export default {
resetForm
()
{
this
.
$refs
.
dialogForm
?.
resetFields
()
this
.
dialogForm
=
{
phone
:
''
,
mailbox
:
''
,
phone
:
this
.
securityData
.
phone
||
''
,
mailbox
:
this
.
securityData
.
mailbox
||
''
,
code
:
''
,
superPassword
:
''
,
newSuperPassword1
:
''
,
...
...
src/views/user/baseProceedsAccount.vue
View file @
0941c8a3
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment