Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quasar-web-base
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
Nguyễn Hải Sơn
quasar-web-base
Commits
b07b76c1
Commit
b07b76c1
authored
Apr 27, 2021
by
Võ Quang Thành Đạt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix style
parent
8178e236
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
4 deletions
+21
-4
index.ts
src/i18n/vi/index.ts
+5
-0
User.ts
src/pages/nguoi-dung/User.ts
+1
-1
index.vue
src/pages/nguoi-dung/index.vue
+15
-3
No files found.
src/i18n/vi/index.ts
View file @
b07b76c1
...
@@ -124,5 +124,10 @@ export default {
...
@@ -124,5 +124,10 @@ export default {
updateUserAccess
:
'Cập nhật thông tin tài khoản thành công'
,
updateUserAccess
:
'Cập nhật thông tin tài khoản thành công'
,
resetPasswordAccess
:
'Reset mật khẩu thành công'
,
resetPasswordAccess
:
'Reset mật khẩu thành công'
,
},
},
toolTipMessage
:
{
updateUserInfo
:
'Cập nhật'
,
resetPassword
:
'Reset mật khẩu'
,
deleteUser
:
'Xoá'
,
},
},
},
};
};
src/pages/nguoi-dung/User.ts
View file @
b07b76c1
...
@@ -305,7 +305,7 @@ export default defineComponent({
...
@@ -305,7 +305,7 @@ export default defineComponent({
mobileNumber
.
value
=
userInfo
.
mobileNumber
as
string
;
mobileNumber
.
value
=
userInfo
.
mobileNumber
as
string
;
phoneNumber
.
value
=
userInfo
.
phoneNumber
as
string
;
phoneNumber
.
value
=
userInfo
.
phoneNumber
as
string
;
sex
.
value
=
userInfo
.
sex
;
sex
.
value
=
userInfo
.
sex
;
status
.
value
=
userInfo
.
status
;
status
.
value
=
userInfo
.
status
?
true
:
false
;
unit
.
value
=
userInfo
.
unit
as
number
;
unit
.
value
=
userInfo
.
unit
as
number
;
userName
.
value
=
userInfo
.
userName
;
userName
.
value
=
userInfo
.
userName
;
groupInfo
.
map
((
item
)
=>
{
groupInfo
.
map
((
item
)
=>
{
...
...
src/pages/nguoi-dung/index.vue
View file @
b07b76c1
...
@@ -54,21 +54,33 @@
...
@@ -54,21 +54,33 @@
color=
"primary"
color=
"primary"
icon=
"mdi-account-edit-outline"
icon=
"mdi-account-edit-outline"
@
click=
"showDialogUpdateUser(item)"
@
click=
"showDialogUpdateUser(item)"
></q-btn>
>
<q-tooltip
:offset=
"[20, 10]"
>
{{
$t
(
'userPage.toolTipMessage.updateUserInfo'
)
}}
</q-tooltip>
</q-btn>
<q-btn
<q-btn
flat
flat
round
round
color=
"primary"
color=
"primary"
icon=
"mdi-account-convert-outline"
icon=
"mdi-account-convert-outline"
@
click=
"confirmResetPassword(item)"
@
click=
"confirmResetPassword(item)"
></q-btn>
>
<q-tooltip
:offset=
"[20, 10]"
>
{{
$t
(
'userPage.toolTipMessage.resetPassword'
)
}}
</q-tooltip>
</q-btn>
<q-btn
<q-btn
flat
flat
round
round
color=
"primary"
color=
"primary"
icon=
"delete"
icon=
"delete"
@
click=
"confirmDeleteUser(item)"
@
click=
"confirmDeleteUser(item)"
></q-btn>
>
<q-tooltip
:offset=
"[20, 10]"
>
{{
$t
(
'userPage.toolTipMessage.deleteUser'
)
}}
</q-tooltip>
</q-btn>
</q-td>
</q-td>
</
template
>
</
template
>
</q-table>
</q-table>
...
...
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