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
9945ff24
Commit
9945ff24
authored
May 07, 2022
by
Nguyễn Đức Thắng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ec552e9d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
2 deletions
+43
-2
PersonalInformation.ts
...t-information/personal-information/PersonalInformation.ts
+17
-1
index.vue
...ponents/artist-information/personal-information/index.vue
+6
-1
Login.ts
src/pages/login/Login.ts
+11
-0
index.vue
src/pages/nghe-sy/index.vue
+9
-0
No files found.
src/components/artist-information/personal-information/PersonalInformation.ts
View file @
9945ff24
...
...
@@ -92,7 +92,21 @@ export default defineComponent({
}
};
const
options
=
ref
(
null
)
// const filterFn = (val:string, update) => {
// if (val === '') {
// update(() => {
// })
// return
// }
// update(() => {
// const needle = val.toLowerCase()
// // options.value = stringOptions.filter(v => v.toLowerCase().indexOf(needle) > -1)
// })
// }
const
upload
=
ref
(
null
);
const
uploadBanner
=
()
=>
{
...
...
@@ -162,6 +176,7 @@ export default defineComponent({
check_infoBooking
:
ref
(
false
),
upload
,
uploadBanner
,
// filterFn,
selectedFile
,
deleteAvatar
,
BirthdayDatePicker
,
...
...
@@ -224,5 +239,6 @@ export default defineComponent({
'SetAvatar'
,
'deleteAvatar'
,
'UpdateBirtday'
,
],
});
src/components/artist-information/personal-information/index.vue
View file @
9945ff24
...
...
@@ -269,11 +269,16 @@
hide-bottom-space
clearable
dense
behavior=
"menu"
use-input
fill-input
input-debounce=
"0"
@
filter=
"filterFn"
>
<
template
v-slot:no-option
>
<q-item>
<q-item-section
class=
"text-grey"
>
No results
Không có dữ liệu
</q-item-section>
</q-item>
</
template
>
...
...
src/pages/login/Login.ts
View file @
9945ff24
...
...
@@ -28,14 +28,25 @@ export const Login = defineComponent({
(
val
:
string
)
=>
(
val
&&
val
.
trim
().
length
>
0
)
||
i18n
.
global
.
t
(
'loginPage.requireUsername'
),
(
val
:
string
)
=>
(
val
&&
/^
[
a-zA-Z0-9
\+]
*$/
.
test
(
val
))
||
'Tên đăng nhập không hợp lệ'
];
// console.log(isOK)
const
passwordInputRules
=
[
(
val
:
string
)
=>
(
val
&&
val
.
trim
().
length
>
0
)
||
i18n
.
global
.
t
(
'loginPage.requirePassword'
),
];
const
resetForm
=
()
=>
{
user_name
.
value
=
''
;
password
.
value
=
''
;
...
...
src/pages/nghe-sy/index.vue
View file @
9945ff24
...
...
@@ -222,6 +222,15 @@ export default defineComponent({
headerStyle
:
'text-align: center !important;'
,
align
:
'left'
,
sortable
:
false
,
},
{
name
:
'accountName'
,
field
:
'accountName'
,
required
:
true
,
label
:
'Tên đăng nhập'
,
headerStyle
:
'text-align: center !important;'
,
align
:
'left'
,
sortable
:
false
,
},
{
name
:
'fullName'
,
...
...
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