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
b11eb923
Commit
b11eb923
authored
May 19, 2021
by
Võ Quang Thành Đạt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug artist-page
parent
b1b14c35
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
46 additions
and
32 deletions
+46
-32
VabAccount.ts
src/components/artist-information/VAB-account/VabAccount.ts
+2
-2
index.vue
src/components/artist-information/VAB-account/index.vue
+1
-0
PersonalInformation.ts
...t-information/personal-information/PersonalInformation.ts
+2
-2
index.ts
src/i18n/vi/index.ts
+27
-25
updateInformationArtist.ts
...ges/cap-nhat-thong-tin-nghe-sy/updateInformationArtist.ts
+6
-1
AddArtist.ts
src/pages/them-nghe-sy/AddArtist.ts
+8
-2
No files found.
src/components/artist-information/VAB-account/VabAccount.ts
View file @
b11eb923
...
@@ -41,7 +41,7 @@ export default defineComponent({
...
@@ -41,7 +41,7 @@ export default defineComponent({
(
val
?:
string
)
=>
(
val
?:
string
)
=>
(
val
&&
val
.
trim
().
length
)
||
(
val
&&
val
.
trim
().
length
)
||
i18n
.
global
.
t
(
i18n
.
global
.
t
(
'artist.artistInformation.validateMessages.require
FullName
'
'artist.artistInformation.validateMessages.require
Account
'
),
),
];
];
const
uploadBanner
=
(
value
:
FileList
)
=>
{
const
uploadBanner
=
(
value
:
FileList
)
=>
{
...
@@ -56,7 +56,7 @@ export default defineComponent({
...
@@ -56,7 +56,7 @@ export default defineComponent({
'managingUnit.confirmActionsTitle.confirmDeleteManagingUnitsTitle'
'managingUnit.confirmActionsTitle.confirmDeleteManagingUnitsTitle'
),
),
message
:
i18n
.
global
.
t
(
message
:
i18n
.
global
.
t
(
'
managingUnit.confirmActionsTitle.confirmDeleteManagingUnits
Content'
'
artist.confirmActionsTitle.confirmDeleteBanner
Content'
),
),
cancel
:
i18n
.
global
.
t
(
cancel
:
i18n
.
global
.
t
(
'managingUnit.confirmActionsTitle.confirmDeleteManagingUnitsCancelBtnLabel'
'managingUnit.confirmActionsTitle.confirmDeleteManagingUnitsCancelBtnLabel'
...
...
src/components/artist-information/VAB-account/index.vue
View file @
b11eb923
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
:model-value=
"account"
:model-value=
"account"
@
update:model-value=
"$emit('update:account', $event)"
@
update:model-value=
"$emit('update:account', $event)"
:rules=
"accountRules"
:rules=
"accountRules"
type=
"text"
dense
dense
hide-bottom-space
hide-bottom-space
outlined
outlined
...
...
src/components/artist-information/personal-information/PersonalInformation.ts
View file @
b11eb923
...
@@ -2,7 +2,7 @@ import { defineComponent, PropType, ref, Ref } from 'vue';
...
@@ -2,7 +2,7 @@ import { defineComponent, PropType, ref, Ref } from 'vue';
import
{
i18n
}
from
'src/boot/i18n'
;
import
{
i18n
}
from
'src/boot/i18n'
;
import
UploadImage
from
'../../upload-image/index.vue'
;
import
UploadImage
from
'../../upload-image/index.vue'
;
import
moment
from
'moment'
;
import
moment
from
'moment'
;
import
{
FieldType
}
from
'src/assets/type'
;
import
{
FieldType
,
NationalityType
}
from
'src/assets/type'
;
export
default
defineComponent
({
export
default
defineComponent
({
props
:
{
props
:
{
id
:
{
type
:
Number
,
required
:
true
},
id
:
{
type
:
Number
,
required
:
true
},
...
@@ -12,7 +12,7 @@ export default defineComponent({
...
@@ -12,7 +12,7 @@ export default defineComponent({
artistName
:
{
type
:
String
,
required
:
true
},
artistName
:
{
type
:
String
,
required
:
true
},
birthday
:
{
type
:
String
,
required
:
true
},
birthday
:
{
type
:
String
,
required
:
true
},
sex
:
{
type
:
Number
,
required
:
true
},
sex
:
{
type
:
Number
,
required
:
true
},
nationality
:
{
type
:
Number
,
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
:
Object
as
PropType
<
FieldType
>
,
required
:
true
},
...
...
src/i18n/vi/index.ts
View file @
b11eb923
...
@@ -13,8 +13,8 @@ export default {
...
@@ -13,8 +13,8 @@ export default {
pageTitle
:
'Đăng nhập'
,
pageTitle
:
'Đăng nhập'
,
usernameInputLabel
:
'Tên đăng nhập'
,
usernameInputLabel
:
'Tên đăng nhập'
,
passwordInputLabel
:
'Mật khẩu'
,
passwordInputLabel
:
'Mật khẩu'
,
requireUsername
:
'Vui lòng
n
hập tên đăng nhập'
,
requireUsername
:
'Vui lòng
N
hập tên đăng nhập'
,
requirePassword
:
'Vui lòng
n
hập mật khẩu'
,
requirePassword
:
'Vui lòng
N
hập mật khẩu'
,
submitLoginBtnLabel
:
'Đăng nhập'
,
submitLoginBtnLabel
:
'Đăng nhập'
,
loginSuccess
:
'Đăng nhập thành công'
,
loginSuccess
:
'Đăng nhập thành công'
,
},
},
...
@@ -90,7 +90,7 @@ export default {
...
@@ -90,7 +90,7 @@ export default {
fullName
:
'Họ Tên *'
,
fullName
:
'Họ Tên *'
,
email
:
'Email *'
,
email
:
'Email *'
,
mobileNumber
:
'Số điện thoại *'
,
mobileNumber
:
'Số điện thoại *'
,
address
:
'Địa chỉ
*
'
,
address
:
'Địa chỉ'
,
phoneNumber
:
'Số máy bàn'
,
phoneNumber
:
'Số máy bàn'
,
unit
:
'Đơn vị phòng ban *'
,
unit
:
'Đơn vị phòng ban *'
,
sex
:
'Giới tính *'
,
sex
:
'Giới tính *'
,
...
@@ -369,11 +369,11 @@ export default {
...
@@ -369,11 +369,11 @@ export default {
isEmail
:
'Email không hợp lệ'
,
isEmail
:
'Email không hợp lệ'
,
requirePhone
:
'Vui lòng nhập Số điện thoại'
,
requirePhone
:
'Vui lòng nhập Số điện thoại'
,
isPhone
:
'Số điện thoại không hợp lệ'
,
isPhone
:
'Số điện thoại không hợp lệ'
,
requireAddress
:
'Vui lòng nhập
đ
ịa chỉ'
,
requireAddress
:
'Vui lòng nhập
Đ
ịa chỉ'
,
requireBusinessType
:
'Vui lòng nhập Loại doanh nghiệp'
,
requireBusinessType
:
'Vui lòng nhập Loại doanh nghiệp'
,
requireRatings
:
'Vui lòng chọn
x
ếp hạng'
,
requireRatings
:
'Vui lòng chọn
X
ếp hạng'
,
requireRepresentative
:
'Vui lòng nhập
n
gười đại diện'
,
requireRepresentative
:
'Vui lòng nhập
N
gười đại diện'
,
requiredPosition
:
'Vui lòng nhập
c
hức vụ'
,
requiredPosition
:
'Vui lòng nhập
C
hức vụ'
,
},
},
confirmActionsTitle
:
{
confirmActionsTitle
:
{
confirmDeleteUserTitle
:
'Xác nhận'
,
confirmDeleteUserTitle
:
'Xác nhận'
,
...
@@ -419,11 +419,11 @@ export default {
...
@@ -419,11 +419,11 @@ export default {
isDefault
:
'Mặc định'
,
isDefault
:
'Mặc định'
,
},
},
validateMessages
:
{
validateMessages
:
{
requireAccountNumber
:
'Vui lòng nhập
s
ố tài khoản'
,
requireAccountNumber
:
'Vui lòng nhập
S
ố tài khoản'
,
accountNumberExits
:
'Số tài khoản đã tồn tại'
,
accountNumberExits
:
'Số tài khoản đã tồn tại'
,
requireCardNumber
:
'Vui lòng nhập
s
ố ghi trên thẻ'
,
requireCardNumber
:
'Vui lòng nhập
S
ố ghi trên thẻ'
,
requireBankName
:
'Vui lòng chọn
n
gân hàng'
,
requireBankName
:
'Vui lòng chọn
N
gân hàng'
,
requireCardType
:
'Vui lòng chọn
l
oại thẻ'
,
requireCardType
:
'Vui lòng chọn
L
oại thẻ'
,
errorIsDefault
:
'Nghệ sỹ đã có tài khoản ngân hàng mặc định'
,
errorIsDefault
:
'Nghệ sỹ đã có tài khoản ngân hàng mặc định'
,
addAccess
:
'Thêm tài khoản ngân hàng thành công'
,
addAccess
:
'Thêm tài khoản ngân hàng thành công'
,
editAccess
:
'Cập nhật thông tin tài khoản ngân hàng thành công'
,
editAccess
:
'Cập nhật thông tin tài khoản ngân hàng thành công'
,
...
@@ -435,6 +435,7 @@ export default {
...
@@ -435,6 +435,7 @@ export default {
confirmDeleteArtistTitle
:
'Xác nhận'
,
confirmDeleteArtistTitle
:
'Xác nhận'
,
confirmDeleteArtistContent
:
'Bạn có chắc muốn xoá nghệ sỹ này không?'
,
confirmDeleteArtistContent
:
'Bạn có chắc muốn xoá nghệ sỹ này không?'
,
confirmDeleteEmbedContent
:
'Bạn có chắc muốn xoá Embed này không?'
,
confirmDeleteEmbedContent
:
'Bạn có chắc muốn xoá Embed này không?'
,
confirmDeleteBannerContent
:
'Bạn có chắc muốn xoá Ảnh banner này không?'
,
confirmDeleteArtistBtnLabel
:
'Huỷ'
,
confirmDeleteArtistBtnLabel
:
'Huỷ'
,
},
},
actionMessages
:
{
actionMessages
:
{
...
@@ -472,23 +473,24 @@ export default {
...
@@ -472,23 +473,24 @@ export default {
whatsapp
:
'Whatsapp'
,
whatsapp
:
'Whatsapp'
,
},
},
validateMessages
:
{
validateMessages
:
{
requireProducCode
:
'Vui lòng nhập
m
ã sản phẩm'
,
requireProducCode
:
'Vui lòng nhập
M
ã sản phẩm'
,
requireUrlembed
:
'Vui lòng nhập Url Embed'
,
requireUrlembed
:
'Vui lòng nhập Url Embed'
,
requireArtistCode
:
'Vui lòng nhập mã nghệ sỹ'
,
requireArtistCode
:
'Vui lòng nhập Mã nghệ sỹ'
,
requireFullName
:
'Vui lòng nhập họ tên nghệ sỹ'
,
requireFullName
:
'Vui lòng nhập Họ tên nghệ sỹ'
,
requireArtistName
:
'Vui lòng nhập nghệ danh'
,
requireAccount
:
'Vui lòng nhập Tên đăng nhập'
,
requireBirthday
:
'Vui lòng chọn ngày sinh'
,
requireArtistName
:
'Vui lòng nhập Nghệ danh'
,
requireEmail
:
'Vui lòng nhập email'
,
requireBirthday
:
'Vui lòng chọn Ngày sinh'
,
requireEmail
:
'Vui lòng nhập Email'
,
isEmail
:
'Email không hợp lệ'
,
isEmail
:
'Email không hợp lệ'
,
requireAddress
:
'Vui lòng nhập
đ
ịa chỉ'
,
requireAddress
:
'Vui lòng nhập
Đ
ịa chỉ'
,
requirePhoneNumber
:
'Vui lòng nhập
s
ố điện thoại'
,
requirePhoneNumber
:
'Vui lòng nhập
S
ố điện thoại'
,
isPhone
:
'Số điện thoại không hợp lệ'
,
isPhone
:
'Số điện thoại không hợp lệ'
,
requireSex
:
'Vui lòng chọn
g
iới tính'
,
requireSex
:
'Vui lòng chọn
G
iới tính'
,
requireNationality
:
'Vui lòng chọn
q
uốc tịch'
,
requireNationality
:
'Vui lòng chọn
Q
uốc tịch'
,
requireField
:
'Vui lòng chọn
l
ĩnh vực'
,
requireField
:
'Vui lòng chọn
L
ĩnh vực'
,
requiredWork
:
'Vui lòng chọn
c
ông việc'
,
requiredWork
:
'Vui lòng chọn
C
ông việc'
,
requireQualification
:
'Vui lòng chọn
đ
ộ chuyên'
,
requireQualification
:
'Vui lòng chọn
Đ
ộ chuyên'
,
requireArtistLevel
:
'Vui lòng chọn
x
ếp hạng'
,
requireArtistLevel
:
'Vui lòng chọn
X
ếp hạng'
,
},
},
},
},
bankAccount
:
{
bankAccount
:
{
...
...
src/pages/cap-nhat-thong-tin-nghe-sy/updateInformationArtist.ts
View file @
b11eb923
...
@@ -93,7 +93,12 @@ export default defineComponent({
...
@@ -93,7 +93,12 @@ export default defineComponent({
const
artistName
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
artistName
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
birthday
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
birthday
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
sex
:
Ref
<
number
|
null
>
=
ref
(
null
);
const
sex
:
Ref
<
number
|
null
>
=
ref
(
null
);
const
nationality
:
Ref
<
NationalityType
|
null
>
=
ref
(
null
);
const
nationality
:
Ref
<
NationalityType
>
=
ref
({
id
:
1
,
name
:
'Việt Nam'
,
numIndex
:
1
,
status
:
1
,
});
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
address
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
address
:
Ref
<
string
|
null
>
=
ref
(
null
);
...
...
src/pages/them-nghe-sy/AddArtist.ts
View file @
b11eb923
...
@@ -92,7 +92,12 @@ export default defineComponent({
...
@@ -92,7 +92,12 @@ export default defineComponent({
const
artistName
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
artistName
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
birthday
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
birthday
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
sex
:
Ref
<
number
|
null
>
=
ref
(
null
);
const
sex
:
Ref
<
number
|
null
>
=
ref
(
null
);
const
nationality
:
Ref
<
NationalityType
|
null
>
=
ref
(
null
);
const
nationality
:
Ref
<
NationalityType
>
=
ref
({
id
:
1
,
name
:
'Việt Nam'
,
numIndex
:
1
,
status
:
1
,
});
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
address
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
address
:
Ref
<
string
|
null
>
=
ref
(
null
);
...
@@ -674,6 +679,7 @@ export default defineComponent({
...
@@ -674,6 +679,7 @@ export default defineComponent({
avatar
:
avatarUploaded
.
value
,
avatar
:
avatarUploaded
.
value
,
artistCode
:
artistCode
.
value
,
artistCode
:
artistCode
.
value
,
artistName
:
artistName
.
value
,
artistName
:
artistName
.
value
,
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
birthday
:
birthday
.
value
+
' 00:00:00'
,
birthday
:
birthday
.
value
+
' 00:00:00'
,
sex
:
sex
.
value
,
sex
:
sex
.
value
,
...
@@ -687,7 +693,7 @@ export default defineComponent({
...
@@ -687,7 +693,7 @@ export default defineComponent({
fullName
:
fullName
.
value
,
fullName
:
fullName
.
value
,
// "workStatus": 1,
// "workStatus": 1,
shortDescription
:
null
,
shortDescription
:
null
,
account
:
null
,
account
:
account
.
value
,
socialEmbedded
:
socialEmbedded
.
value
,
socialEmbedded
:
socialEmbedded
.
value
,
artistLevel
:
artistLevel
.
value
,
artistLevel
:
artistLevel
.
value
,
fields
:
[
fields
.
value
],
fields
:
[
fields
.
value
],
...
...
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