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
2aad3d47
Commit
2aad3d47
authored
Dec 12, 2022
by
Nguyễn Đức Thắng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
b5ba012e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
14 deletions
+21
-14
browser-new-artist-dialog.vue
...mponents/artist-information/browser-new-artist-dialog.vue
+7
-5
updateInformationArtist.ts
...ges/cap-nhat-thong-tin-nghe-sy/updateInformationArtist.ts
+1
-1
index.vue
src/pages/linh-vuc-hoat-dong/index.vue
+4
-0
index.vue
src/pages/nghe-si-cho-duyet/index.vue
+9
-8
No files found.
src/components/artist-information/browser-new-artist-dialog.vue
View file @
2aad3d47
...
@@ -213,7 +213,8 @@
...
@@ -213,7 +213,8 @@
</q-dialog>
</q-dialog>
</
template
>
</
template
>
</q-input>
</q-input>
</div>
</div>
</div>
</div>
<div
class=
"row flex-center"
>
<div
class=
"row flex-center"
>
<div
class=
"col-3 text-weight-medium"
>
<div
class=
"col-3 text-weight-medium"
>
...
@@ -304,7 +305,6 @@
...
@@ -304,7 +305,6 @@
:model-value=
"fields"
:model-value=
"fields"
@
update:model-value=
"$emit('update:fields', $event)"
@
update:model-value=
"$emit('update:fields', $event)"
:options=
"fieldOptions"
:options=
"fieldOptions"
multiple
map-options
map-options
option-value=
"id"
option-value=
"id"
option-label=
"name"
option-label=
"name"
...
@@ -314,6 +314,7 @@
...
@@ -314,6 +314,7 @@
hide-bottom-space
hide-bottom-space
clearable
clearable
dense
dense
multiple
use-input
use-input
use-chips
use-chips
></q-select>
></q-select>
...
@@ -330,7 +331,7 @@
...
@@ -330,7 +331,7 @@
:model-value=
"musics"
:model-value=
"musics"
@
update:model-value=
"$emit('update:musics', $event)"
@
update:model-value=
"$emit('update:musics', $event)"
:options=
"musicOptions"
:options=
"musicOptions"
multiple
map-options
map-options
option-value=
"id"
option-value=
"id"
option-label=
"name"
option-label=
"name"
...
@@ -340,6 +341,7 @@
...
@@ -340,6 +341,7 @@
hide-bottom-space
hide-bottom-space
clearable
clearable
dense
dense
multiple
use-input
use-input
use-chips
use-chips
></q-select>
></q-select>
...
@@ -740,8 +742,8 @@ export default defineComponent({
...
@@ -740,8 +742,8 @@ export default defineComponent({
nationality
:
{
type
:
Object
as
PropType
<
NationalityType
>
,
required
:
true
},
nationality
:
{
type
:
Object
as
PropType
<
NationalityType
>
,
required
:
true
},
status
:
{
type
:
Number
,
required
:
true
},
status
:
{
type
:
Number
,
required
:
true
},
address
:
{
type
:
String
,
required
:
true
},
address
:
{
type
:
String
,
required
:
true
},
fields
:
{
type
:
Object
as
PropType
<
FieldType
>
,
required
:
true
},
fields
:
{
type
:
Number
,
required
:
true
},
musics
:
{
type
:
String
,
required
:
true
},
musics
:
{
type
:
Number
,
required
:
true
},
works
:
{
type
:
Number
,
required
:
true
},
works
:
{
type
:
Number
,
required
:
true
},
qualification
:
{
type
:
Number
,
required
:
true
},
qualification
:
{
type
:
Number
,
required
:
true
},
artistLevel
:
{
type
:
Number
,
required
:
true
},
artistLevel
:
{
type
:
Number
,
required
:
true
},
...
...
src/pages/cap-nhat-thong-tin-nghe-sy/updateInformationArtist.ts
View file @
2aad3d47
...
@@ -364,7 +364,7 @@ export default defineComponent({
...
@@ -364,7 +364,7 @@ export default defineComponent({
fullName
.
value
=
ArtistInformation
.
fullName
;
fullName
.
value
=
ArtistInformation
.
fullName
;
artistName
.
value
=
ArtistInformation
.
artistName
;
artistName
.
value
=
ArtistInformation
.
artistName
;
birthday
.
value
=
birthday
.
value
=
birthday
.
value
===
null
ArtistInformation
.
birthday
===
null
?
null
?
null
:
moment
(
ArtistInformation
.
birthday
,
'DD/MM/YYYY HH:mm:ss'
).
format
(
:
moment
(
ArtistInformation
.
birthday
,
'DD/MM/YYYY HH:mm:ss'
).
format
(
'DD/MM/YYYY'
'DD/MM/YYYY'
...
...
src/pages/linh-vuc-hoat-dong/index.vue
View file @
2aad3d47
...
@@ -44,7 +44,11 @@
...
@@ -44,7 +44,11 @@
:no-data-label=
"$t('emptyData')"
:no-data-label=
"$t('emptyData')"
hide-pagination
hide-pagination
wrap-cells
wrap-cells
virtual-scroll
class=
"sticky-header-table"
class=
"sticky-header-table"
:pagination=
"
{
rowsPerPage: 0,
}"
>
>
<template
v-slot:body-cell-action=
"item"
>
<template
v-slot:body-cell-action=
"item"
>
<q-td
style=
"padding: 0; text-align: center"
>
<q-td
style=
"padding: 0; text-align: center"
>
...
...
src/pages/nghe-si-cho-duyet/index.vue
View file @
2aad3d47
...
@@ -186,6 +186,7 @@
...
@@ -186,6 +186,7 @@
v-model:address=
"address"
v-model:address=
"address"
v-model:fields=
"fields"
v-model:fields=
"fields"
v-model:works=
"works"
v-model:works=
"works"
v-model:musics=
"musics"
v-model:qualification=
"qualification"
v-model:qualification=
"qualification"
v-model:artist-level=
"artistLevel"
v-model:artist-level=
"artistLevel"
v-model:phone-number=
"phoneNumber"
v-model:phone-number=
"phoneNumber"
...
@@ -422,7 +423,7 @@ export default defineComponent({
...
@@ -422,7 +423,7 @@ export default defineComponent({
const
qualification
:
Ref
<
QualificationType
|
null
>
=
ref
(
null
);
const
qualification
:
Ref
<
QualificationType
|
null
>
=
ref
(
null
);
const
artistLevel
:
Ref
<
ArtistLevelType
|
null
>
=
ref
(
null
);
const
artistLevel
:
Ref
<
ArtistLevelType
|
null
>
=
ref
(
null
);
const
status
:
Ref
<
number
>
=
ref
(
1
);
const
status
:
Ref
<
number
>
=
ref
(
1
);
const
fields
:
Ref
<
FieldType
|
null
>
=
ref
(
null
);
const
fields
:
Ref
<
FieldType
[]
>
=
ref
([]
);
const
fieldsPrivate
:
Ref
<
FieldType
|
null
>
=
ref
(
null
);
const
fieldsPrivate
:
Ref
<
FieldType
|
null
>
=
ref
(
null
);
const
works
:
Ref
<
WorkType
[]
>
=
ref
([]);
const
works
:
Ref
<
WorkType
[]
>
=
ref
([]);
const
phoneNumber
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
phoneNumber
:
Ref
<
string
|
null
>
=
ref
(
null
);
...
@@ -503,7 +504,7 @@ export default defineComponent({
...
@@ -503,7 +504,7 @@ export default defineComponent({
artistLevel
:
artistLevel
.
value
,
artistLevel
:
artistLevel
.
value
,
// fields: fields.value === null ? [] : [fields.value],
// fields: fields.value === null ? [] : [fields.value],
// fields: fields.value === null ? [] : [fields.value],
// fields: fields.value === null ? [] : [fields.value],
fields
:
[]
,
fields
:
fields
.
value
,
nationality
:
nationality
.
value
,
nationality
:
nationality
.
value
,
qualification
:
qualification
.
value
,
qualification
:
qualification
.
value
,
works
:
works
.
value
,
works
:
works
.
value
,
...
@@ -533,7 +534,9 @@ export default defineComponent({
...
@@ -533,7 +534,9 @@ export default defineComponent({
}
}
}
catch
(
error
)
{}
}
catch
(
error
)
{}
};
};
const
UpdateBirtday
=
(
value
:
string
)
=>
{
birthday
.
value
=
value
;
};
const
callApiUploadAvatar
=
async
(
file
:
File
)
=>
{
const
callApiUploadAvatar
=
async
(
file
:
File
)
=>
{
try
{
try
{
const
bodyFormData
=
new
FormData
();
const
bodyFormData
=
new
FormData
();
...
@@ -564,9 +567,6 @@ export default defineComponent({
...
@@ -564,9 +567,6 @@ export default defineComponent({
avatar
.
value
=
value
.
url
as
string
;
avatar
.
value
=
value
.
url
as
string
;
};
};
const
UpdateBirtday
=
(
value
:
string
)
=>
{
birthday
.
value
=
value
;
};
const
getDetailArtist
=
async
(
id
:
number
)
=>
{
const
getDetailArtist
=
async
(
id
:
number
)
=>
{
try
{
try
{
const
response
=
(
await
api
({
const
response
=
(
await
api
({
...
@@ -590,7 +590,7 @@ export default defineComponent({
...
@@ -590,7 +590,7 @@ export default defineComponent({
fullName
.
value
=
ArtistInformation
.
fullName
;
fullName
.
value
=
ArtistInformation
.
fullName
;
artistName
.
value
=
ArtistInformation
.
artistName
;
artistName
.
value
=
ArtistInformation
.
artistName
;
birthday
.
value
=
birthday
.
value
=
birthday
.
value
===
null
ArtistInformation
.
birthday
===
null
?
null
?
null
:
moment
(
:
moment
(
ArtistInformation
.
birthday
,
ArtistInformation
.
birthday
,
...
@@ -619,7 +619,7 @@ export default defineComponent({
...
@@ -619,7 +619,7 @@ export default defineComponent({
works
.
value
=
ArtistInformation
.
works
;
works
.
value
=
ArtistInformation
.
works
;
artistLevel
.
value
=
ArtistInformation
.
artistLevel
;
artistLevel
.
value
=
ArtistInformation
.
artistLevel
;
sex
.
value
=
ArtistInformation
.
sex
;
sex
.
value
=
ArtistInformation
.
sex
;
fields
.
value
=
ArtistInformation
.
fields
[
0
]
;
fields
.
value
=
ArtistInformation
.
fields
;
fieldsPrivate
.
value
=
ArtistInformation
.
fields
[
0
];
fieldsPrivate
.
value
=
ArtistInformation
.
fields
[
0
];
musics
.
value
=
ArtistInformation
.
musicTypeDto
;
musics
.
value
=
ArtistInformation
.
musicTypeDto
;
address
.
value
=
ArtistInformation
.
provinceDto
;
address
.
value
=
ArtistInformation
.
provinceDto
;
...
@@ -797,6 +797,7 @@ export default defineComponent({
...
@@ -797,6 +797,7 @@ export default defineComponent({
getFieldOptions
,
getFieldOptions
,
address
,
address
,
fields
,
fields
,
musics
,
getNationalityOptions
,
getNationalityOptions
,
status
,
status
,
nationality
,
nationality
,
...
...
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