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
46512ec8
Commit
46512ec8
authored
Jul 19, 2021
by
Tình Trương
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
89dbfc3b
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
148 additions
and
65 deletions
+148
-65
enums.ts
src/assets/enums.ts
+2
-2
type.ts
src/assets/type.ts
+1
-0
AddHotProductDialog.ts
...s/artist-information/AddHotProduct/AddHotProductDialog.ts
+13
-0
index.vue
src/components/artist-information/AddHotProduct/index.vue
+15
-2
index.vue
src/components/artist-information/UpdateHotProduct/index.vue
+16
-3
updateHotProduc.ts
...ts/artist-information/UpdateHotProduct/updateHotProduc.ts
+13
-0
index.vue
src/components/artist-information/VAB-account/index.vue
+1
-1
PersonalInformation.ts
...t-information/personal-information/PersonalInformation.ts
+1
-0
index.vue
...ponents/artist-information/personal-information/index.vue
+5
-1
index.ts
src/i18n/vi/index.ts
+50
-49
index.vue
src/pages/cap-nhat-thong-tin-nghe-sy/index.vue
+2
-0
updateInformationArtist.ts
...ges/cap-nhat-thong-tin-nghe-sy/updateInformationArtist.ts
+14
-2
AddArtist.ts
src/pages/them-nghe-sy/AddArtist.ts
+13
-5
index.vue
src/pages/them-nghe-sy/index.vue
+2
-0
No files found.
src/assets/enums.ts
View file @
46512ec8
...
@@ -10,8 +10,8 @@ export enum UnitStatus {
...
@@ -10,8 +10,8 @@ export enum UnitStatus {
}
}
export
enum
HotProductStatus
{
export
enum
HotProductStatus
{
active
=
1
,
active
=
2
,
inactive
=
2
,
inactive
=
1
,
}
}
export
enum
CustomerRankStatus
{
export
enum
CustomerRankStatus
{
...
...
src/assets/type.ts
View file @
46512ec8
...
@@ -72,6 +72,7 @@ export type ArtistInfoType = {
...
@@ -72,6 +72,7 @@ export type ArtistInfoType = {
mnFbmess
:
string
|
null
;
mnFbmess
:
string
|
null
;
mnIns
:
string
|
null
;
mnIns
:
string
|
null
;
mnWhatsapp
:
string
|
null
;
mnWhatsapp
:
string
|
null
;
favoriteScore
:
number
;
};
};
export
type
FieldType
=
{
export
type
FieldType
=
{
...
...
src/components/artist-information/AddHotProduct/AddHotProductDialog.ts
View file @
46512ec8
...
@@ -21,6 +21,10 @@ export default defineComponent({
...
@@ -21,6 +21,10 @@ export default defineComponent({
const
embeddedUrl
:
Ref
<
string
>
=
ref
(
''
);
const
embeddedUrl
:
Ref
<
string
>
=
ref
(
''
);
const
urlFileLocal
:
Ref
<
string
>
=
ref
(
''
);
const
urlFileLocal
:
Ref
<
string
>
=
ref
(
''
);
const
status
:
Ref
<
number
>
=
ref
(
2
);
const
status
:
Ref
<
number
>
=
ref
(
2
);
const
statusOptions
=
ref
([
{
id
:
1
,
name
:
'Sản phẩm khác'
},
{
id
:
2
,
name
:
'Sản phẩm nổi bật'
},
]);
const
uploadAvatar
=
(
value
:
FileList
)
=>
{
const
uploadAvatar
=
(
value
:
FileList
)
=>
{
urlFileLocal
.
value
=
URL
.
createObjectURL
(
value
[
0
]);
urlFileLocal
.
value
=
URL
.
createObjectURL
(
value
[
0
]);
file
.
value
=
value
[
0
];
file
.
value
=
value
[
0
];
...
@@ -75,6 +79,13 @@ export default defineComponent({
...
@@ -75,6 +79,13 @@ export default defineComponent({
'artist.artistInformation.validateMessages.requireUrlembed'
'artist.artistInformation.validateMessages.requireUrlembed'
),
),
];
];
const
statusRules
=
[
(
val
?:
number
)
=>
val
!==
undefined
||
i18n
.
global
.
t
(
'artist.artistInformation.validateMessages.requireStatus'
),
];
return
{
return
{
uploadAvatar
,
uploadAvatar
,
...
@@ -89,6 +100,8 @@ export default defineComponent({
...
@@ -89,6 +100,8 @@ export default defineComponent({
product_name
,
product_name
,
product_code
,
product_code
,
url_embed
,
url_embed
,
statusRules
,
statusOptions
,
};
};
},
},
...
...
src/components/artist-information/AddHotProduct/index.vue
View file @
46512ec8
...
@@ -65,13 +65,26 @@
...
@@ -65,13 +65,26 @@
outlined
outlined
clearable
clearable
></q-input>
></q-input>
<q-select
v-model=
"status"
emit-value
label=
"Loại sản phẩm"
class=
"q-my-sm"
:options=
"statusOptions"
option-value=
"id"
option-label=
"name"
outlined
map-options
:rules=
"statusRules"
hide-bottom-space
></q-select>
</div>
</div>
<div
style=
"padding-top: 13px; padding-left: 12px"
>
<
!--
<
div
style=
"padding-top: 13px; padding-left: 12px"
>
<span
class=
"text-body1"
>
{{
<span
class=
"text-body1"
>
{{
$t
(
'userPage.dialogLabel.fieldLabels.status'
)
$t
(
'userPage.dialogLabel.fieldLabels.status'
)
}}
</span>
}}
</span>
<q-toggle
v-model=
"status"
:false-value=
"2"
:true-value=
"1"
/>
<q-toggle
v-model=
"status"
:false-value=
"2"
:true-value=
"1"
/>
</div>
</div>
-->
</div>
</div>
</q-card-section>
</q-card-section>
<q-card-actions
align=
"right"
>
<q-card-actions
align=
"right"
>
...
...
src/components/artist-information/UpdateHotProduct/index.vue
View file @
46512ec8
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<q-item>
<q-item>
<q-item-section>
<q-item-section>
<q-item-label
class=
"text-h6 text-weight-regular"
>
{{
<q-item-label
class=
"text-h6 text-weight-regular"
>
{{
$t
(
'artist.dialogLabel.title.
add
HotProduct'
)
$t
(
'artist.dialogLabel.title.
update
HotProduct'
)
}}
</q-item-label>
}}
</q-item-label>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
...
@@ -68,13 +68,26 @@
...
@@ -68,13 +68,26 @@
outlined
outlined
clearable
clearable
></q-input>
></q-input>
<q-select
v-model=
"status"
emit-value
label=
"Loại sản phẩm"
class=
"q-my-sm"
:options=
"statusOptions"
option-value=
"id"
option-label=
"name"
outlined
map-options
:rules=
"statusRules"
hide-bottom-space
></q-select>
</div>
</div>
<div
style=
"padding-top: 13px; padding-left: 12px"
>
<
!--
<
div
style=
"padding-top: 13px; padding-left: 12px"
>
<span
class=
"text-body1"
>
{{
<span
class=
"text-body1"
>
{{
$t
(
'userPage.dialogLabel.fieldLabels.status'
)
$t
(
'userPage.dialogLabel.fieldLabels.status'
)
}}
</span>
}}
</span>
<q-toggle
v-model=
"status"
:false-value=
"2"
:true-value=
"1"
/>
<q-toggle
v-model=
"status"
:false-value=
"2"
:true-value=
"1"
/>
</div>
</div>
-->
</div>
</div>
</q-card-section>
</q-card-section>
<q-card-actions
align=
"right"
>
<q-card-actions
align=
"right"
>
...
...
src/components/artist-information/UpdateHotProduct/updateHotProduc.ts
View file @
46512ec8
...
@@ -30,6 +30,10 @@ export default defineComponent({
...
@@ -30,6 +30,10 @@ export default defineComponent({
const
urlFileLocal
:
Ref
<
string
>
=
ref
(
''
);
const
urlFileLocal
:
Ref
<
string
>
=
ref
(
''
);
const
imageAPI
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
imageAPI
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
status
:
Ref
<
number
>
=
ref
(
2
);
const
status
:
Ref
<
number
>
=
ref
(
2
);
const
statusOptions
=
ref
([
{
id
:
1
,
name
:
'Sản phẩm khác'
},
{
id
:
2
,
name
:
'Sản phẩm nổi bật'
},
]);
const
id
:
Ref
<
number
|
null
>
=
ref
(
null
);
const
id
:
Ref
<
number
|
null
>
=
ref
(
null
);
const
uploadAvatar
=
(
value
:
FileList
)
=>
{
const
uploadAvatar
=
(
value
:
FileList
)
=>
{
urlFileLocal
.
value
=
URL
.
createObjectURL
(
value
[
0
]);
urlFileLocal
.
value
=
URL
.
createObjectURL
(
value
[
0
]);
...
@@ -95,6 +99,13 @@ export default defineComponent({
...
@@ -95,6 +99,13 @@ export default defineComponent({
'artist.artistInformation.validateMessages.requireUrlembed'
'artist.artistInformation.validateMessages.requireUrlembed'
),
),
];
];
const
statusRules
=
[
(
val
?:
number
)
=>
val
!==
undefined
||
i18n
.
global
.
t
(
'artist.artistInformation.validateMessages.requireStatus'
),
];
return
{
return
{
uploadAvatar
,
uploadAvatar
,
...
@@ -109,6 +120,8 @@ export default defineComponent({
...
@@ -109,6 +120,8 @@ export default defineComponent({
product_name
,
product_name
,
product_code
,
product_code
,
url_embed
,
url_embed
,
statusRules
,
statusOptions
,
id
,
id
,
configImg
,
configImg
,
imageAPI
,
imageAPI
,
...
...
src/components/artist-information/VAB-account/index.vue
View file @
46512ec8
...
@@ -221,7 +221,7 @@
...
@@ -221,7 +221,7 @@
color=
"primary"
color=
"primary"
icon=
"mdi-pencil-circle-outline"
icon=
"mdi-pencil-circle-outline"
>
>
<q-tooltip>
C
hỉnh sửa
Embed
</q-tooltip></q-btn
<q-tooltip>
C
ập nhập
Embed
</q-tooltip></q-btn
>
>
<q-btn
<q-btn
class=
"q-py-md"
class=
"q-py-md"
...
...
src/components/artist-information/personal-information/PersonalInformation.ts
View file @
46512ec8
...
@@ -185,6 +185,7 @@ export default defineComponent({
...
@@ -185,6 +185,7 @@ export default defineComponent({
'update:fields'
,
'update:fields'
,
'update:works'
,
'update:works'
,
'update:favoriteScore'
,
'update:favoriteScore'
,
'update:check_infoBooking'
,
'update:qualification'
,
'update:qualification'
,
'update:artistLevel'
,
'update:artistLevel'
,
'update:hidden_img'
,
'update:hidden_img'
,
...
...
src/components/artist-information/personal-information/index.vue
View file @
46512ec8
...
@@ -496,7 +496,11 @@
...
@@ -496,7 +496,11 @@
{{ $t('artist.artistInformation.titleDataField.infoBooking') }}
{{ $t('artist.artistInformation.titleDataField.infoBooking') }}
</div>
</div>
<div
class=
"col-8"
>
<div
class=
"col-8"
>
<q-checkbox
v-model=
"check_infoBooking"
class=
"q-my-sm"
></q-checkbox>
<q-checkbox
v-model=
"check_infoBooking"
@
update:model-value=
"$emit('update:check_infoBooking', $event)"
class=
"q-my-sm"
></q-checkbox>
</div>
</div>
</div>
</div>
<div
class=
"row flex-center"
v-if=
"check_infoBooking"
>
<div
class=
"row flex-center"
v-if=
"check_infoBooking"
>
...
...
src/i18n/vi/index.ts
View file @
46512ec8
...
@@ -28,7 +28,7 @@ export default {
...
@@ -28,7 +28,7 @@ export default {
emptyData
:
'Không có dữ liệu'
,
emptyData
:
'Không có dữ liệu'
,
crudActions
:
{
crudActions
:
{
add
:
'Thêm'
,
add
:
'Thêm'
,
update
:
'Cập nhậ
t
'
,
update
:
'Cập nhậ
p
'
,
delete
:
'Xoá'
,
delete
:
'Xoá'
,
search
:
'Tìm kiếm'
,
search
:
'Tìm kiếm'
,
details
:
'Chi tiết'
,
details
:
'Chi tiết'
,
...
@@ -49,7 +49,7 @@ export default {
...
@@ -49,7 +49,7 @@ export default {
actionMessages
:
{
actionMessages
:
{
addNewSuccess
:
'Thêm nhóm người dùng thành công'
,
addNewSuccess
:
'Thêm nhóm người dùng thành công'
,
deleteSuccess
:
'Xoá nhóm người dùng thành công'
,
deleteSuccess
:
'Xoá nhóm người dùng thành công'
,
updateSuccess
:
'Cập nhậ
t
nhóm người dùng thành công'
,
updateSuccess
:
'Cập nhậ
p
nhóm người dùng thành công'
,
},
},
fieldLabels
:
{
fieldLabels
:
{
...
@@ -86,7 +86,7 @@ export default {
...
@@ -86,7 +86,7 @@ export default {
dialogLabel
:
{
dialogLabel
:
{
title
:
{
title
:
{
addUser
:
'Thêm người dùng'
,
addUser
:
'Thêm người dùng'
,
updateUser
:
'Cập nhậ
t
người dùng'
,
updateUser
:
'Cập nhậ
p
người dùng'
,
},
},
fieldLabels
:
{
fieldLabels
:
{
userName
:
'Tên đăng nhập *'
,
userName
:
'Tên đăng nhập *'
,
...
@@ -132,11 +132,11 @@ export default {
...
@@ -132,11 +132,11 @@ export default {
actionMessages
:
{
actionMessages
:
{
addNewUserAccess
:
'Thêm tài khoản thành công'
,
addNewUserAccess
:
'Thêm tài khoản thành công'
,
deleteUserAccess
:
'Xoá tài khoản thành công'
,
deleteUserAccess
:
'Xoá tài khoản thành công'
,
updateUserAccess
:
'Cập nhậ
t
thông tin tài khoản thành công'
,
updateUserAccess
:
'Cập nhậ
p
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
:
{
toolTipMessage
:
{
updateUserInfo
:
'Cập nhậ
t
'
,
updateUserInfo
:
'Cập nhậ
p
'
,
resetPassword
:
'Reset mật khẩu'
,
resetPassword
:
'Reset mật khẩu'
,
deleteUser
:
'Xoá'
,
deleteUser
:
'Xoá'
,
informationUser
:
'Thông tin'
,
informationUser
:
'Thông tin'
,
...
@@ -163,7 +163,7 @@ export default {
...
@@ -163,7 +163,7 @@ export default {
dialogLabel
:
{
dialogLabel
:
{
title
:
{
title
:
{
add
:
'Thêm đơn vị chủ quản'
,
add
:
'Thêm đơn vị chủ quản'
,
update
:
'Cập nhậ
t
đơn vị chủ quản'
,
update
:
'Cập nhậ
p
đơn vị chủ quản'
,
},
},
fieldLabels
:
{
fieldLabels
:
{
code
:
'Mã đơn vị *'
,
code
:
'Mã đơn vị *'
,
...
@@ -177,7 +177,7 @@ export default {
...
@@ -177,7 +177,7 @@ export default {
},
},
},
},
toolTipMessage
:
{
toolTipMessage
:
{
updateInfo
:
'Cập nhậ
t
'
,
updateInfo
:
'Cập nhậ
p
'
,
information
:
'Thông tin'
,
information
:
'Thông tin'
,
delete
:
'Xóa'
,
delete
:
'Xóa'
,
},
},
...
@@ -209,7 +209,7 @@ export default {
...
@@ -209,7 +209,7 @@ export default {
addNewManagingUnitsAccess
:
'Thêm Đơn vị chủ quản thành công'
,
addNewManagingUnitsAccess
:
'Thêm Đơn vị chủ quản thành công'
,
deleteManagingUnitsAccess
:
'Xoá Đơn vị chủ quản thành công'
,
deleteManagingUnitsAccess
:
'Xoá Đơn vị chủ quản thành công'
,
updateManagingUnitsAccess
:
updateManagingUnitsAccess
:
'Cập nhậ
t
thông tin Đơn vị chủ quản thành công'
,
'Cập nhậ
p
thông tin Đơn vị chủ quản thành công'
,
},
},
},
},
...
@@ -249,9 +249,9 @@ export default {
...
@@ -249,9 +249,9 @@ export default {
dialogLabel
:
{
dialogLabel
:
{
title
:
{
title
:
{
add
:
'Thêm nghệ sỹ'
,
add
:
'Thêm nghệ sỹ'
,
update
:
'Cập nhậ
t
nghệ sỹ'
,
update
:
'Cập nhậ
p
nghệ sỹ'
,
addBankAccount
:
'Thêm ngân hàng thụ hưởng'
,
addBankAccount
:
'Thêm ngân hàng thụ hưởng'
,
updateBankAccount
:
'Cập nhậ
t
ngân hàng thụ hưởng'
,
updateBankAccount
:
'Cập nhậ
p
ngân hàng thụ hưởng'
,
},
},
fieldLabels
:
{
fieldLabels
:
{
//ds nghệ sỹ
//ds nghệ sỹ
...
@@ -269,9 +269,9 @@ export default {
...
@@ -269,9 +269,9 @@ export default {
},
},
},
},
toolTipMessage
:
{
toolTipMessage
:
{
updateInfo
:
'Cập nhậ
t
'
,
updateInfo
:
'Cập nhậ
p
'
,
delete
:
'Xóa nghệ sỹ'
,
delete
:
'Xóa nghệ sỹ'
,
updateBankAccount
:
'Cập nhậ
t
'
,
updateBankAccount
:
'Cập nhậ
p
'
,
deleteBankAccount
:
'Xóa ngân hàng'
,
deleteBankAccount
:
'Xóa ngân hàng'
,
},
},
crudActions
:
{
crudActions
:
{
...
@@ -298,7 +298,7 @@ export default {
...
@@ -298,7 +298,7 @@ export default {
},
},
actionMessages
:
{
actionMessages
:
{
unitAddArtistSuccess
:
'Thêm hợp đồng nghệ sỹ thành công'
,
unitAddArtistSuccess
:
'Thêm hợp đồng nghệ sỹ thành công'
,
unitUpdateArtistSuccess
:
'Cập nhậ
t
hợp đồng nghệ sỹ thành công'
,
unitUpdateArtistSuccess
:
'Cập nhậ
p
hợp đồng nghệ sỹ thành công'
,
unitDeleteArtistSuccess
:
'Xóa hợp đồng nghệ sỹ thành công'
,
unitDeleteArtistSuccess
:
'Xóa hợp đồng nghệ sỹ thành công'
,
},
},
},
},
...
@@ -325,8 +325,8 @@ export default {
...
@@ -325,8 +325,8 @@ export default {
dialogLabel
:
{
dialogLabel
:
{
title
:
{
title
:
{
addCustomer
:
'Thêm khách hàng'
,
addCustomer
:
'Thêm khách hàng'
,
updateCustomer
:
'Cập nhậ
t
khách hàng'
,
updateCustomer
:
'Cập nhậ
p
khách hàng'
,
editCustomer
:
'Cập nhậ
t
thông tin khách hàng'
,
editCustomer
:
'Cập nhậ
p
thông tin khách hàng'
,
},
},
fieldLabels
:
{
fieldLabels
:
{
userName
:
'Tên đăng nhập *'
,
userName
:
'Tên đăng nhập *'
,
...
@@ -346,7 +346,7 @@ export default {
...
@@ -346,7 +346,7 @@ export default {
},
},
},
},
toolTipMessage
:
{
toolTipMessage
:
{
updateCustomerInfo
:
'Cập nhậ
t
'
,
updateCustomerInfo
:
'Cập nhậ
p
'
,
informationCustomer
:
'Thông tin'
,
informationCustomer
:
'Thông tin'
,
deleteCustomer
:
'Xoá'
,
deleteCustomer
:
'Xoá'
,
},
},
...
@@ -392,7 +392,7 @@ export default {
...
@@ -392,7 +392,7 @@ export default {
actionMessages
:
{
actionMessages
:
{
addNewUserAccess
:
'Thêm khách hàng thành công'
,
addNewUserAccess
:
'Thêm khách hàng thành công'
,
deleteUserAccess
:
'Xoá khách hàng thành công'
,
deleteUserAccess
:
'Xoá khách hàng thành công'
,
updateUserAccess
:
'Cập nhậ
t
thông tin khách hàng thành công'
,
updateUserAccess
:
'Cập nhậ
p
thông tin khách hàng thành công'
,
resetPasswordAccess
:
'Reset mật khẩu thành công'
,
resetPasswordAccess
:
'Reset mật khẩu thành công'
,
},
},
},
},
...
@@ -416,10 +416,11 @@ export default {
...
@@ -416,10 +416,11 @@ export default {
addStory
:
'Thêm Story'
,
addStory
:
'Thêm Story'
,
updateStory
:
'Chỉnh sửa Story'
,
updateStory
:
'Chỉnh sửa Story'
,
addArtist
:
'Thêm nghệ sỹ'
,
addArtist
:
'Thêm nghệ sỹ'
,
updateArtist
:
'Cập nhậ
t
nghệ sỹ'
,
updateArtist
:
'Cập nhậ
p
nghệ sỹ'
,
addAccountBank
:
'Thêm tài khoản ngân hàng'
,
addAccountBank
:
'Thêm tài khoản ngân hàng'
,
editAccountBank
:
'Cập nhậ
t
tài khoản ngân hàng'
,
editAccountBank
:
'Cập nhậ
p
tài khoản ngân hàng'
,
addHotProduct
:
'Thêm sản phẩm nổi bật'
,
addHotProduct
:
'Thêm sản phẩm nổi bật'
,
updateHotProduct
:
'Cập nhập sản phẩm nổi bật'
,
},
},
fieldLabels
:
{
fieldLabels
:
{
accountOwner
:
'Chủ tài khoản'
,
accountOwner
:
'Chủ tài khoản'
,
...
@@ -440,7 +441,7 @@ export default {
...
@@ -440,7 +441,7 @@ export default {
requireCardType
:
'Vui lòng chọn Loại thẻ'
,
requireCardType
:
'Vui lòng chọn Loạ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ậ
p
thông tin tài khoản ngân hàng thành công'
,
deleteAccess
:
'Xoá tài khoản ngân hàng thành công'
,
deleteAccess
:
'Xoá tài khoản ngân hàng thành công'
,
deleteStoryAccess
:
'Xoá Story thành công'
,
deleteStoryAccess
:
'Xoá Story thành công'
,
},
},
...
@@ -454,10 +455,10 @@ export default {
...
@@ -454,10 +455,10 @@ export default {
},
},
actionMessages
:
{
actionMessages
:
{
deleteArtistAccess
:
'Xoá nghệ sỹ thành công'
,
deleteArtistAccess
:
'Xoá nghệ sỹ thành công'
,
editArtistAccess
:
'Cập nhậ
t
thông tin nghệ sỹ thành công'
,
editArtistAccess
:
'Cập nhậ
p
thông tin nghệ sỹ thành công'
,
addNewArtistAccess
:
'Thêm nghệ sỹ thành công'
,
addNewArtistAccess
:
'Thêm nghệ sỹ thành công'
,
EmbedAddSuccess
:
'Thêm link Embed thành công'
,
EmbedAddSuccess
:
'Thêm link Embed thành công'
,
EmbedUpdateSuccess
:
'
Cập nhập
link Embed thành công'
,
EmbedUpdateSuccess
:
'
Thay đổi
link Embed thành công'
,
EmbedDeleteSuccess
:
'Xóa link Embed thành công'
,
EmbedDeleteSuccess
:
'Xóa link Embed thành công'
,
StoryAddSuccess
:
'Thêm Story thành công'
,
StoryAddSuccess
:
'Thêm Story thành công'
,
bannerDeleteAccess
:
'Xóa banner thành công'
,
bannerDeleteAccess
:
'Xóa banner thành công'
,
...
@@ -504,12 +505,12 @@ export default {
...
@@ -504,12 +505,12 @@ export default {
whatsappBooking
:
'Truy cập whatsapp booking'
,
whatsappBooking
:
'Truy cập whatsapp booking'
,
},
},
validateMessages
:
{
validateMessages
:
{
requireEmailAdminister
:
'Vui lòng nhập Email người quản lý'
,
requireEmailAdminister
:
'Vui lòng nhập Email booking'
,
requirePhoneNumberAdminister
:
requirePhoneNumberAdminister
:
'Vui lòng nhập Số điện thoại booking'
,
'Vui lòng nhập Số điện thoại người quản lý'
,
requireProducName
:
'Vui lòng nhập Tên sản phẩm'
,
requireProducName
:
'Vui lòng nhập Tên sản phẩm'
,
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'
,
requireStatus
:
'Vui lòng nhập Loại sản phẩm'
,
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ỹ'
,
requireAccount
:
'Vui lòng nhập Tên đăng nhập'
,
requireAccount
:
'Vui lòng nhập Tên đăng nhập'
,
...
@@ -551,7 +552,7 @@ export default {
...
@@ -551,7 +552,7 @@ export default {
productCode
:
'Mã sản phẩm'
,
productCode
:
'Mã sản phẩm'
,
urlEmbed
:
'Url embed'
,
urlEmbed
:
'Url embed'
,
productImage
:
'Ảnh sản phẩm'
,
productImage
:
'Ảnh sản phẩm'
,
status
:
'
Trạng thái
'
,
status
:
'
Loại sản phẩm
'
,
action
:
'Chức năng'
,
action
:
'Chức năng'
,
},
},
statusLabel
:
{
statusLabel
:
{
...
@@ -591,7 +592,7 @@ export default {
...
@@ -591,7 +592,7 @@ export default {
dialogLabel
:
{
dialogLabel
:
{
title
:
{
title
:
{
addCustomerRank
:
'Thêm danh mục xếp hạng khách hàng'
,
addCustomerRank
:
'Thêm danh mục xếp hạng khách hàng'
,
updateCustomerRank
:
'Cập nhậ
t
danh mục xếp hạng khách hàng'
,
updateCustomerRank
:
'Cập nhậ
p
danh mục xếp hạng khách hàng'
,
},
},
fieldLabels
:
{
fieldLabels
:
{
code
:
'Mã xếp hạng *'
,
code
:
'Mã xếp hạng *'
,
...
@@ -601,7 +602,7 @@ export default {
...
@@ -601,7 +602,7 @@ export default {
},
},
},
},
toolTipMessage
:
{
toolTipMessage
:
{
updateCustomerRankInfo
:
'Cập nhậ
t
'
,
updateCustomerRankInfo
:
'Cập nhậ
p
'
,
deleteCustomerRank
:
'Xoá'
,
deleteCustomerRank
:
'Xoá'
,
},
},
crudActions
:
{
crudActions
:
{
...
@@ -623,7 +624,7 @@ export default {
...
@@ -623,7 +624,7 @@ export default {
addNewCustomerRankAccess
:
'Thêm danh mục xếp hạng khách hàng thành công'
,
addNewCustomerRankAccess
:
'Thêm danh mục xếp hạng khách hàng thành công'
,
deleteCustomerRankAccess
:
'Xoá danh mục xếp hạng khách hàng thành công'
,
deleteCustomerRankAccess
:
'Xoá danh mục xếp hạng khách hàng thành công'
,
updateCustomerRankAccess
:
updateCustomerRankAccess
:
'Cập nhậ
t
danh mục xếp hạng khách hàng thành công'
,
'Cập nhậ
p
danh mục xếp hạng khách hàng thành công'
,
},
},
},
},
...
@@ -644,7 +645,7 @@ export default {
...
@@ -644,7 +645,7 @@ export default {
dialogLabel
:
{
dialogLabel
:
{
title
:
{
title
:
{
addField
:
'Thêm lĩnh vực hoạt động'
,
addField
:
'Thêm lĩnh vực hoạt động'
,
updateField
:
'Cập nhậ
t
lĩnh vực hoạt động'
,
updateField
:
'Cập nhậ
p
lĩnh vực hoạt động'
,
},
},
fieldLabels
:
{
fieldLabels
:
{
name
:
'Tên lĩnh vực *'
,
name
:
'Tên lĩnh vực *'
,
...
@@ -653,7 +654,7 @@ export default {
...
@@ -653,7 +654,7 @@ export default {
},
},
},
},
toolTipMessage
:
{
toolTipMessage
:
{
updateField
:
'Cập nhậ
t
'
,
updateField
:
'Cập nhậ
p
'
,
deleteField
:
'Xoá'
,
deleteField
:
'Xoá'
,
},
},
crudActions
:
{
crudActions
:
{
...
@@ -673,7 +674,7 @@ export default {
...
@@ -673,7 +674,7 @@ export default {
actionMessages
:
{
actionMessages
:
{
addNewFieldAccess
:
'Thêm lĩnh vực hoạt động thành công'
,
addNewFieldAccess
:
'Thêm lĩnh vực hoạt động thành công'
,
deleteFieldAccess
:
'Xoá lĩnh vực hoạt động thành công'
,
deleteFieldAccess
:
'Xoá lĩnh vực hoạt động thành công'
,
updateFieldAccess
:
'Cập nhậ
t
lĩnh vực hoạt động thành công'
,
updateFieldAccess
:
'Cập nhậ
p
lĩnh vực hoạt động thành công'
,
},
},
},
},
...
@@ -689,7 +690,7 @@ export default {
...
@@ -689,7 +690,7 @@ export default {
createBy
:
'Người thêm'
,
createBy
:
'Người thêm'
,
createTime
:
'Thời gian thêm'
,
createTime
:
'Thời gian thêm'
,
updateBy
:
'Người cập nhập'
,
updateBy
:
'Người cập nhập'
,
updateTime
:
'Thời gian cập nhậ
t
'
,
updateTime
:
'Thời gian cập nhậ
p
'
,
status
:
'Trạng thái'
,
status
:
'Trạng thái'
,
action
:
'Chức năng'
,
action
:
'Chức năng'
,
},
},
...
@@ -700,7 +701,7 @@ export default {
...
@@ -700,7 +701,7 @@ export default {
dialogLabel
:
{
dialogLabel
:
{
title
:
{
title
:
{
addPost
:
'Thêm bài viết'
,
addPost
:
'Thêm bài viết'
,
updatePost
:
'Cập nhậ
t
bài viết'
,
updatePost
:
'Cập nhậ
p
bài viết'
,
},
},
postLabels
:
{
postLabels
:
{
name
:
'Tên bài viết *'
,
name
:
'Tên bài viết *'
,
...
@@ -711,7 +712,7 @@ export default {
...
@@ -711,7 +712,7 @@ export default {
},
},
},
},
toolTipMessage
:
{
toolTipMessage
:
{
updatePost
:
'Cập nhậ
t
'
,
updatePost
:
'Cập nhậ
p
'
,
deletePost
:
'Xoá'
,
deletePost
:
'Xoá'
,
},
},
crudActions
:
{
crudActions
:
{
...
@@ -732,7 +733,7 @@ export default {
...
@@ -732,7 +733,7 @@ export default {
actionMessages
:
{
actionMessages
:
{
addNewPostAccess
:
'Thêm bài viết thành công'
,
addNewPostAccess
:
'Thêm bài viết thành công'
,
deletePostAccess
:
'Xoá bài viết thành công'
,
deletePostAccess
:
'Xoá bài viết thành công'
,
updatePostAccess
:
'Cập nhậ
t
bài viết thành công'
,
updatePostAccess
:
'Cập nhậ
p
bài viết thành công'
,
},
},
},
},
...
@@ -741,7 +742,7 @@ export default {
...
@@ -741,7 +742,7 @@ export default {
title
:
{
title
:
{
postCategory
:
'Danh sách danh mục bài viết'
,
postCategory
:
'Danh sách danh mục bài viết'
,
addPost
:
'Thêm mới danh mục bài viết'
,
addPost
:
'Thêm mới danh mục bài viết'
,
updatePost
:
'Cập nhậ
t
danh mục bài viết'
,
updatePost
:
'Cập nhậ
p
danh mục bài viết'
,
listPosts
:
'Danh sách bài viết'
,
listPosts
:
'Danh sách bài viết'
,
listPostsSelected
:
'Danh sách bài viết đã chọn'
,
listPostsSelected
:
'Danh sách bài viết đã chọn'
,
addPostDialog
:
'Thêm bài viết'
,
addPostDialog
:
'Thêm bài viết'
,
...
@@ -758,7 +759,7 @@ export default {
...
@@ -758,7 +759,7 @@ export default {
stt
:
'STT'
,
stt
:
'STT'
,
name
:
'Tên bài viết'
,
name
:
'Tên bài viết'
,
createBy
:
'Người sửa gần nhất'
,
createBy
:
'Người sửa gần nhất'
,
updateTime
:
'Thời gian cập nhậ
t
gần nhất'
,
updateTime
:
'Thời gian cập nhậ
p
gần nhất'
,
status
:
'Trạng thái'
,
status
:
'Trạng thái'
,
action
:
'Chức năng'
,
action
:
'Chức năng'
,
imageMini
:
'Ảnh thu nhỏ'
,
imageMini
:
'Ảnh thu nhỏ'
,
...
@@ -773,7 +774,7 @@ export default {
...
@@ -773,7 +774,7 @@ export default {
actionMessages
:
{
actionMessages
:
{
addPostCategoryAccess
:
'Thêm danh mục bài viết thành công'
,
addPostCategoryAccess
:
'Thêm danh mục bài viết thành công'
,
deletePostCategoryAccess
:
'Xoá danh mục bài viết thành công'
,
deletePostCategoryAccess
:
'Xoá danh mục bài viết thành công'
,
updatePostCategoryAccess
:
'Cập nhậ
t
danh mục bài viết thành công'
,
updatePostCategoryAccess
:
'Cập nhậ
p
danh mục bài viết thành công'
,
},
},
confirmActionsTitle
:
{
confirmActionsTitle
:
{
confirmDeletePostCategory
:
confirmDeletePostCategory
:
...
@@ -802,7 +803,7 @@ export default {
...
@@ -802,7 +803,7 @@ export default {
dialogLabel
:
{
dialogLabel
:
{
title
:
{
title
:
{
addBanner
:
'Thêm banner'
,
addBanner
:
'Thêm banner'
,
updateBanner
:
'Cập nhậ
t
banner'
,
updateBanner
:
'Cập nhậ
p
banner'
,
},
},
bannerLabels
:
{
bannerLabels
:
{
name
:
'Tên banner *'
,
name
:
'Tên banner *'
,
...
@@ -814,7 +815,7 @@ export default {
...
@@ -814,7 +815,7 @@ export default {
},
},
},
},
toolTipMessage
:
{
toolTipMessage
:
{
updateBanner
:
'Cập nhậ
t
'
,
updateBanner
:
'Cập nhậ
p
'
,
deleteBanner
:
'Xoá'
,
deleteBanner
:
'Xoá'
,
},
},
crudActions
:
{
crudActions
:
{
...
@@ -835,7 +836,7 @@ export default {
...
@@ -835,7 +836,7 @@ export default {
actionMessages
:
{
actionMessages
:
{
addNewBannerAccess
:
'Thêm banner thành công'
,
addNewBannerAccess
:
'Thêm banner thành công'
,
deleteBannerAccess
:
'Xoá banner thành công'
,
deleteBannerAccess
:
'Xoá banner thành công'
,
updateBannerAccess
:
'Cập nhậ
t
banner thành công'
,
updateBannerAccess
:
'Cập nhậ
p
banner thành công'
,
},
},
},
},
...
@@ -863,10 +864,10 @@ export default {
...
@@ -863,10 +864,10 @@ export default {
},
},
dialogLabel
:
{
dialogLabel
:
{
title
:
{
title
:
{
updateInfoVAB
:
'Cập nhậ
t
thông tin'
,
updateInfoVAB
:
'Cập nhậ
p
thông tin'
,
//ngân hàng
//ngân hàng
addBankAccount
:
'Thêm ngân hàng thụ hưởng'
,
addBankAccount
:
'Thêm ngân hàng thụ hưởng'
,
updateBankAccount
:
'Cập nhậ
t
ngân hàng thụ hưởng'
,
updateBankAccount
:
'Cập nhậ
p
ngân hàng thụ hưởng'
,
},
},
infoVABLabels
:
{
infoVABLabels
:
{
comName
:
'Tên công ty *'
,
comName
:
'Tên công ty *'
,
...
@@ -888,10 +889,10 @@ export default {
...
@@ -888,10 +889,10 @@ export default {
},
},
},
},
toolTipMessage
:
{
toolTipMessage
:
{
updateInfoVAB
:
'Cập nhậ
t
'
,
updateInfoVAB
:
'Cập nhậ
p
'
,
deleteInfoVAB
:
'Xoá'
,
deleteInfoVAB
:
'Xoá'
,
//ngân hàng
//ngân hàng
updateBankAccount
:
'Cập nhậ
t
'
,
updateBankAccount
:
'Cập nhậ
p
'
,
deleteBankAccount
:
'Xóa ngân hàng'
,
deleteBankAccount
:
'Xóa ngân hàng'
,
},
},
crudActions
:
{
crudActions
:
{
...
@@ -919,7 +920,7 @@ export default {
...
@@ -919,7 +920,7 @@ export default {
},
},
actionMessages
:
{
actionMessages
:
{
deleteInfoVABAccess
:
'Xoá thông tin thành công'
,
deleteInfoVABAccess
:
'Xoá thông tin thành công'
,
updateInfoVABAccess
:
'Cập nhậ
t
thông tin thành công'
,
updateInfoVABAccess
:
'Cập nhậ
p
thông tin thành công'
,
},
},
},
},
...
@@ -967,8 +968,8 @@ export default {
...
@@ -967,8 +968,8 @@ export default {
status
:
'Trạng thái'
,
status
:
'Trạng thái'
,
createTime
:
'Thời gian tạo'
,
createTime
:
'Thời gian tạo'
,
createBy
:
'Người tạo'
,
createBy
:
'Người tạo'
,
updateBy
:
'Người cập nhậ
t
'
,
updateBy
:
'Người cập nhậ
p
'
,
updateTime
:
'Thời gian cập nhậ
t
'
,
updateTime
:
'Thời gian cập nhậ
p
'
,
action
:
'Chức năng'
,
action
:
'Chức năng'
,
},
},
statusLabel
:
{
statusLabel
:
{
...
...
src/pages/cap-nhat-thong-tin-nghe-sy/index.vue
View file @
46512ec8
...
@@ -61,6 +61,8 @@
...
@@ -61,6 +61,8 @@
v-model:mn-fbmess=
"mnFbmess"
v-model:mn-fbmess=
"mnFbmess"
v-model:mn-ins=
"mnIns"
v-model:mn-ins=
"mnIns"
v-model:mn-whatsapp=
"mnWhatsapp"
v-model:mn-whatsapp=
"mnWhatsapp"
v-model:favorite-score=
"favoriteScore"
v-model:check_infoBooking=
"check_infoBooking"
:errorMessmnBookingPhone=
"errorMessmnBookingPhone"
:errorMessmnBookingPhone=
"errorMessmnBookingPhone"
:errorMessmnBookingEmail=
"errorMessmnBookingEmail"
:errorMessmnBookingEmail=
"errorMessmnBookingEmail"
:mnBookingEmailRules=
"mnBookingEmailRules"
:mnBookingEmailRules=
"mnBookingEmailRules"
...
...
src/pages/cap-nhat-thong-tin-nghe-sy/updateInformationArtist.ts
View file @
46512ec8
...
@@ -103,6 +103,7 @@ export default defineComponent({
...
@@ -103,6 +103,7 @@ export default defineComponent({
numIndex
:
1
,
numIndex
:
1
,
status
:
1
,
status
:
1
,
});
});
const
favoriteScore
:
Ref
<
number
|
undefined
>
=
ref
(
undefined
);
const
mnName
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
mnName
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
mnPhone
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
mnPhone
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
mnEmail
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
mnEmail
:
Ref
<
string
|
null
>
=
ref
(
null
);
...
@@ -146,6 +147,7 @@ export default defineComponent({
...
@@ -146,6 +147,7 @@ export default defineComponent({
const
DataUpdateHotProduct
:
Ref
<
ProductType
|
null
>
=
ref
(
null
);
const
DataUpdateHotProduct
:
Ref
<
ProductType
|
null
>
=
ref
(
null
);
//sate error input thong-tin-ca-nhan
//sate error input thong-tin-ca-nhan
const
check_infoBooking
=
ref
(
false
);
const
artistCodeRules
=
ref
(
false
);
const
artistCodeRules
=
ref
(
false
);
const
fullNameRules
=
ref
(
false
);
const
fullNameRules
=
ref
(
false
);
const
artistNameRules
=
ref
(
false
);
const
artistNameRules
=
ref
(
false
);
...
@@ -355,6 +357,7 @@ export default defineComponent({
...
@@ -355,6 +357,7 @@ export default defineComponent({
mnFbmess
.
value
=
ArtistInformation
.
mnFbmess
;
mnFbmess
.
value
=
ArtistInformation
.
mnFbmess
;
mnIns
.
value
=
ArtistInformation
.
mnIns
;
mnIns
.
value
=
ArtistInformation
.
mnIns
;
mnWhatsapp
.
value
=
ArtistInformation
.
mnWhatsapp
;
mnWhatsapp
.
value
=
ArtistInformation
.
mnWhatsapp
;
favoriteScore
.
value
=
ArtistInformation
.
favoriteScore
;
nationality
.
value
=
ArtistInformation
.
nationality
;
nationality
.
value
=
ArtistInformation
.
nationality
;
qualification
.
value
=
ArtistInformation
.
qualification
;
qualification
.
value
=
ArtistInformation
.
qualification
;
works
.
value
=
ArtistInformation
.
works
;
works
.
value
=
ArtistInformation
.
works
;
...
@@ -727,14 +730,20 @@ export default defineComponent({
...
@@ -727,14 +730,20 @@ export default defineComponent({
);
);
}
}
if
(
!
mnBookingPhone
.
value
||
!
mnBookingPhone
.
value
?.
trim
().
length
)
{
if
(
(
!
mnBookingPhone
.
value
||
!
mnBookingPhone
.
value
?.
trim
().
length
)
&&
check_infoBooking
.
value
)
{
hasError
=
true
;
hasError
=
true
;
mnBookingPhoneRules
.
value
=
true
;
mnBookingPhoneRules
.
value
=
true
;
errorMessmnBookingPhone
.
value
=
i18n
.
global
.
t
(
errorMessmnBookingPhone
.
value
=
i18n
.
global
.
t
(
'artist.artistInformation.validateMessages.requirePhoneNumberAdminister'
'artist.artistInformation.validateMessages.requirePhoneNumberAdminister'
);
);
}
}
if
(
!
mnBookingEmail
.
value
||
!
mnBookingEmail
.
value
?.
trim
().
length
)
{
if
(
(
!
mnBookingEmail
.
value
||
!
mnBookingEmail
.
value
?.
trim
().
length
)
&&
check_infoBooking
.
value
)
{
hasError
=
true
;
hasError
=
true
;
mnBookingEmailRules
.
value
=
true
;
mnBookingEmailRules
.
value
=
true
;
errorMessmnBookingEmail
.
value
=
i18n
.
global
.
t
(
errorMessmnBookingEmail
.
value
=
i18n
.
global
.
t
(
...
@@ -860,6 +869,7 @@ export default defineComponent({
...
@@ -860,6 +869,7 @@ export default defineComponent({
mnFbmess
:
mnFbmess
.
value
,
mnFbmess
:
mnFbmess
.
value
,
mnIns
:
mnIns
.
value
,
mnIns
:
mnIns
.
value
,
mnWhatsapp
:
mnWhatsapp
.
value
,
mnWhatsapp
:
mnWhatsapp
.
value
,
favoriteScore
:
favoriteScore
.
value
,
},
},
}))
as
AxiosResponse
<
BaseResponseBody
<
unknown
>>
;
}))
as
AxiosResponse
<
BaseResponseBody
<
unknown
>>
;
if
(
response
.
data
.
error
.
code
===
config
.
API_RES_CODE
.
OK
.
code
)
{
if
(
response
.
data
.
error
.
code
===
config
.
API_RES_CODE
.
OK
.
code
)
{
...
@@ -1011,6 +1021,8 @@ export default defineComponent({
...
@@ -1011,6 +1021,8 @@ export default defineComponent({
errorMessmnBookingPhone
,
errorMessmnBookingPhone
,
mnBookingEmailRules
,
mnBookingEmailRules
,
errorMessmnBookingEmail
,
errorMessmnBookingEmail
,
favoriteScore
,
check_infoBooking
,
};
};
},
},
});
});
src/pages/them-nghe-sy/AddArtist.ts
View file @
46512ec8
...
@@ -36,8 +36,6 @@ import {
...
@@ -36,8 +36,6 @@ import {
TypeCardType
,
TypeCardType
,
FileUploadType
,
FileUploadType
,
}
from
'src/assets/type'
;
}
from
'src/assets/type'
;
// import { isEmail } from '../../boot/functions';
// import { isMobilePhone } from '../../boot/functions';
export
type
AvatarType
=
{
export
type
AvatarType
=
{
file
?:
File
;
file
?:
File
;
...
@@ -106,7 +104,7 @@ export default defineComponent({
...
@@ -106,7 +104,7 @@ export default defineComponent({
numIndex
:
1
,
numIndex
:
1
,
status
:
1
,
status
:
1
,
});
});
const
favoriteScore
:
Ref
<
number
|
undefined
>
=
ref
(
undefined
);
const
mnName
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
mnName
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
mnPhone
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
mnPhone
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
mnEmail
:
Ref
<
string
|
null
>
=
ref
(
null
);
const
mnEmail
:
Ref
<
string
|
null
>
=
ref
(
null
);
...
@@ -149,6 +147,7 @@ export default defineComponent({
...
@@ -149,6 +147,7 @@ export default defineComponent({
const
DataUpdateHotProduct
:
Ref
<
ProductType
|
null
>
=
ref
(
null
);
const
DataUpdateHotProduct
:
Ref
<
ProductType
|
null
>
=
ref
(
null
);
//sate error input thong-tin-ca-nhan
//sate error input thong-tin-ca-nhan
const
check_infoBooking
=
ref
(
false
);
const
artistCodeRules
=
ref
(
false
);
const
artistCodeRules
=
ref
(
false
);
const
fullNameRules
=
ref
(
false
);
const
fullNameRules
=
ref
(
false
);
const
artistNameRules
=
ref
(
false
);
const
artistNameRules
=
ref
(
false
);
...
@@ -654,14 +653,20 @@ export default defineComponent({
...
@@ -654,14 +653,20 @@ export default defineComponent({
);
);
}
}
if
(
!
mnBookingPhone
.
value
||
!
mnBookingPhone
.
value
?.
trim
().
length
)
{
if
(
(
!
mnBookingPhone
.
value
||
!
mnBookingPhone
.
value
?.
trim
().
length
)
&&
check_infoBooking
.
value
)
{
hasError
=
true
;
hasError
=
true
;
mnBookingPhoneRules
.
value
=
true
;
mnBookingPhoneRules
.
value
=
true
;
errorMessmnBookingPhone
.
value
=
i18n
.
global
.
t
(
errorMessmnBookingPhone
.
value
=
i18n
.
global
.
t
(
'artist.artistInformation.validateMessages.requirePhoneNumberAdminister'
'artist.artistInformation.validateMessages.requirePhoneNumberAdminister'
);
);
}
}
if
(
!
mnBookingEmail
.
value
||
!
mnBookingEmail
.
value
?.
trim
().
length
)
{
if
(
(
!
mnBookingEmail
.
value
||
!
mnBookingEmail
.
value
?.
trim
().
length
)
&&
check_infoBooking
.
value
)
{
hasError
=
true
;
hasError
=
true
;
mnBookingEmailRules
.
value
=
true
;
mnBookingEmailRules
.
value
=
true
;
errorMessmnBookingEmail
.
value
=
i18n
.
global
.
t
(
errorMessmnBookingEmail
.
value
=
i18n
.
global
.
t
(
...
@@ -772,6 +777,7 @@ export default defineComponent({
...
@@ -772,6 +777,7 @@ export default defineComponent({
mnFbmess
:
mnFbmess
.
value
,
mnFbmess
:
mnFbmess
.
value
,
mnIns
:
mnIns
.
value
,
mnIns
:
mnIns
.
value
,
mnWhatsapp
:
mnWhatsapp
.
value
,
mnWhatsapp
:
mnWhatsapp
.
value
,
favoriteScore
:
favoriteScore
.
value
,
},
},
}))
as
AxiosResponse
<
BaseResponseBody
<
unknown
>>
;
}))
as
AxiosResponse
<
BaseResponseBody
<
unknown
>>
;
if
(
response
.
data
.
error
.
code
===
config
.
API_RES_CODE
.
OK
.
code
)
{
if
(
response
.
data
.
error
.
code
===
config
.
API_RES_CODE
.
OK
.
code
)
{
...
@@ -919,6 +925,8 @@ export default defineComponent({
...
@@ -919,6 +925,8 @@ export default defineComponent({
errorMessEmail
,
errorMessEmail
,
errorMessPhoneNumber
,
errorMessPhoneNumber
,
confirmChangeIsDefault
,
confirmChangeIsDefault
,
favoriteScore
,
check_infoBooking
,
};
};
},
},
});
});
src/pages/them-nghe-sy/index.vue
View file @
46512ec8
...
@@ -61,6 +61,8 @@
...
@@ -61,6 +61,8 @@
v-model:mn-fbmess=
"mnFbmess"
v-model:mn-fbmess=
"mnFbmess"
v-model:mn-ins=
"mnIns"
v-model:mn-ins=
"mnIns"
v-model:mn-whatsapp=
"mnWhatsapp"
v-model:mn-whatsapp=
"mnWhatsapp"
v-model:favorite-score=
"favoriteScore"
v-model:check_infoBooking=
"check_infoBooking"
:errorMessmnBookingPhone=
"errorMessmnBookingPhone"
:errorMessmnBookingPhone=
"errorMessmnBookingPhone"
:errorMessmnBookingEmail=
"errorMessmnBookingEmail"
:errorMessmnBookingEmail=
"errorMessmnBookingEmail"
:mnBookingEmailRules=
"mnBookingEmailRules"
:mnBookingEmailRules=
"mnBookingEmailRules"
...
...
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