Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
boyueCEnd
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
游洁
boyueCEnd
Commits
8bde77b4
Commit
8bde77b4
authored
Dec 01, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
97337284
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
17 deletions
+19
-17
zh-CN.ts
src/i18n/locales/zh-CN.ts
+2
-0
UserService.ts
src/services/UserService.ts
+3
-3
basicInfor.vue
...ws/personalCenter/components/accountCenter/basicInfor.vue
+14
-14
No files found.
src/i18n/locales/zh-CN.ts
View file @
8bde77b4
...
@@ -200,6 +200,8 @@ export default {
...
@@ -200,6 +200,8 @@ export default {
basicInfo
:
'基础资料'
,
basicInfo
:
'基础资料'
,
accountInfor
:
'账户信息'
,
accountInfor
:
'账户信息'
,
commonPassenger
:
'常用旅客'
,
commonPassenger
:
'常用旅客'
,
firstName
:
'名'
,
lastName
:
'姓'
},
},
// HTTP 错误状态码
// HTTP 错误状态码
httpError
:
{
httpError
:
{
...
...
src/services/UserService.ts
View file @
8bde77b4
...
@@ -584,7 +584,7 @@ class UserService {
...
@@ -584,7 +584,7 @@ class UserService {
}
}
/**
/**
*
更新
密码
*
修改
密码
* @param email 邮箱地址
* @param email 邮箱地址
* @param code 验证码
* @param code 验证码
* @param newPassword 新密码
* @param newPassword 新密码
...
@@ -601,8 +601,8 @@ class UserService {
...
@@ -601,8 +601,8 @@ class UserService {
oldPassword
,
oldPassword
,
newPassword
,
newPassword
,
}
}
const
response
=
await
OtaRequest
.
p
u
t
(
const
response
=
await
OtaRequest
.
p
os
t
(
'/member-auth/password'
,
'/member-auth/
update-
password'
,
data
,
data
,
{
{
headers
:
tenantId
?
{
headers
:
tenantId
?
{
...
...
src/views/personalCenter/components/accountCenter/basicInfor.vue
View file @
8bde77b4
...
@@ -5,9 +5,9 @@
...
@@ -5,9 +5,9 @@
<a-form
:model=
"formData"
:rules=
"rules"
layout=
"vertical"
class=
"w-full"
>
<a-form
:model=
"formData"
:rules=
"rules"
layout=
"vertical"
class=
"w-full"
>
<a-row
class=
"w-full"
>
<a-row
class=
"w-full"
>
<a-col
:span=
"8"
>
<a-col
:span=
"8"
>
<a-form-item
field=
"
email"
:label=
"t('login.emailLogin
')"
>
<a-form-item
field=
"
firstName"
:label=
"t('personal.firstName
')"
>
<a-input
class=
"formData-input"
<a-input
class=
"formData-input
!w-[319px]
"
v-model=
"formData.
email
"
v-model=
"formData.
firstName
"
:placeholder=
"t('login.emailRequired')"
:placeholder=
"t('login.emailRequired')"
size=
"large"
size=
"large"
@
blur=
"handleEmailBlur"
@
input=
"handleEmailChange"
>
@
blur=
"handleEmailBlur"
@
input=
"handleEmailChange"
>
...
@@ -15,9 +15,9 @@
...
@@ -15,9 +15,9 @@
</a-form-item>
</a-form-item>
</a-col>
</a-col>
<a-col
:span=
"8"
>
<a-col
:span=
"8"
>
<a-form-item
field=
"
verificationCode"
:label=
"t('login.verifyCod
e')"
class=
""
>
<a-form-item
field=
"
lastName"
:label=
"t('personal.lastNam
e')"
class=
""
>
<a-input
class=
"formData-input"
<a-input
class=
"formData-input
!w-[319px]
"
v-model=
"formData.
verificationCod
e"
v-model=
"formData.
lastNam
e"
size=
"large"
size=
"large"
:placeholder=
"t('login.verifyCodeRequired')"
:placeholder=
"t('login.verifyCodeRequired')"
:maxLength=
"6"
:maxLength=
"6"
...
@@ -114,19 +114,19 @@ const AreaCodeList = ref([
...
@@ -114,19 +114,19 @@ const AreaCodeList = ref([
const
formData
=
reactive
({
const
formData
=
reactive
({
tenantId
:
systemConfigStore
.
tenantId
,
// 必需
tenantId
:
systemConfigStore
.
tenantId
,
// 必需
temporaryToken
:
""
,
//临时token
firstName
:
''
,
email
:
""
,
lastName
:
''
,
verificationCode
:
""
,
//验证码 必需
password
:
""
,
//密码 必需 >= 6 字符 yj950815
newPassword
:
""
,
//确认密码 必需 与密码一致
scene
:
'register'
,
//注册register 登录login 重置密码ResetPassword
})
})
// 验证规则调整
// 验证规则调整
const
rules
=
computed
(()
=>
({
const
rules
=
computed
(()
=>
({
email
:
[
firstName
:
[
{
required
:
true
,
message
:
t
(
'login.emailRequired'
)
},
{
type
:
'email'
,
message
:
t
(
'login.emailInvalid'
)
}
],
lastName
:
[
{
required
:
true
,
message
:
t
(
'login.emailRequired'
)
},
{
required
:
true
,
message
:
t
(
'login.emailRequired'
)
},
{
type
:
'email'
,
message
:
t
(
'login.emailInvalid'
)
}
{
type
:
'email'
,
message
:
t
(
'login.emailInvalid'
)
}
],
],
...
...
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