Commit 46512ec8 authored by Tình Trương's avatar Tình Trương

update

parent 89dbfc3b
......@@ -10,8 +10,8 @@ export enum UnitStatus {
}
export enum HotProductStatus {
active = 1,
inactive = 2,
active = 2,
inactive = 1,
}
export enum CustomerRankStatus {
......
......@@ -72,6 +72,7 @@ export type ArtistInfoType = {
mnFbmess: string | null;
mnIns: string | null;
mnWhatsapp: string | null;
favoriteScore: number;
};
export type FieldType = {
......
......@@ -21,6 +21,10 @@ export default defineComponent({
const embeddedUrl: Ref<string> = ref('');
const urlFileLocal: Ref<string> = ref('');
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) => {
urlFileLocal.value = URL.createObjectURL(value[0]);
file.value = value[0];
......@@ -75,6 +79,13 @@ export default defineComponent({
'artist.artistInformation.validateMessages.requireUrlembed'
),
];
const statusRules = [
(val?: number) =>
val !== undefined ||
i18n.global.t(
'artist.artistInformation.validateMessages.requireStatus'
),
];
return {
uploadAvatar,
......@@ -89,6 +100,8 @@ export default defineComponent({
product_name,
product_code,
url_embed,
statusRules,
statusOptions,
};
},
......
......@@ -65,13 +65,26 @@
outlined
clearable
></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 style="padding-top: 13px; padding-left: 12px">
<!-- <div style="padding-top: 13px; padding-left: 12px">
<span class="text-body1">{{
$t('userPage.dialogLabel.fieldLabels.status')
}}</span>
<q-toggle v-model="status" :false-value="2" :true-value="1" />
</div>
</div> -->
</div>
</q-card-section>
<q-card-actions align="right">
......
......@@ -10,7 +10,7 @@
<q-item>
<q-item-section>
<q-item-label class="text-h6 text-weight-regular">{{
$t('artist.dialogLabel.title.addHotProduct')
$t('artist.dialogLabel.title.updateHotProduct')
}}</q-item-label>
</q-item-section>
</q-item>
......@@ -68,13 +68,26 @@
outlined
clearable
></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 style="padding-top: 13px; padding-left: 12px">
<!-- <div style="padding-top: 13px; padding-left: 12px">
<span class="text-body1">{{
$t('userPage.dialogLabel.fieldLabels.status')
}}</span>
<q-toggle v-model="status" :false-value="2" :true-value="1" />
</div>
</div> -->
</div>
</q-card-section>
<q-card-actions align="right">
......
......@@ -30,6 +30,10 @@ export default defineComponent({
const urlFileLocal: Ref<string> = ref('');
const imageAPI: Ref<string | null> = ref(null);
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 uploadAvatar = (value: FileList) => {
urlFileLocal.value = URL.createObjectURL(value[0]);
......@@ -95,6 +99,13 @@ export default defineComponent({
'artist.artistInformation.validateMessages.requireUrlembed'
),
];
const statusRules = [
(val?: number) =>
val !== undefined ||
i18n.global.t(
'artist.artistInformation.validateMessages.requireStatus'
),
];
return {
uploadAvatar,
......@@ -109,6 +120,8 @@ export default defineComponent({
product_name,
product_code,
url_embed,
statusRules,
statusOptions,
id,
configImg,
imageAPI,
......
......@@ -221,7 +221,7 @@
color="primary"
icon="mdi-pencil-circle-outline"
>
<q-tooltip>Chỉnh sửa Embed</q-tooltip></q-btn
<q-tooltip>Cập nhập Embed</q-tooltip></q-btn
>
<q-btn
class="q-py-md"
......
......@@ -185,6 +185,7 @@ export default defineComponent({
'update:fields',
'update:works',
'update:favoriteScore',
'update:check_infoBooking',
'update:qualification',
'update:artistLevel',
'update:hidden_img',
......
......@@ -496,7 +496,11 @@
{{ $t('artist.artistInformation.titleDataField.infoBooking') }}
</div>
<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 class="row flex-center" v-if="check_infoBooking">
......
......@@ -28,7 +28,7 @@ export default {
emptyData: 'Không có dữ liệu',
crudActions: {
add: 'Thêm',
update: 'Cập nhật',
update: 'Cập nhập',
delete: 'Xoá',
search: 'Tìm kiếm',
details: 'Chi tiết',
......@@ -49,7 +49,7 @@ export default {
actionMessages: {
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',
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: {
......@@ -86,7 +86,7 @@ export default {
dialogLabel: {
title: {
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: {
userName: 'Tên đăng nhập *',
......@@ -132,11 +132,11 @@ export default {
actionMessages: {
addNewUserAccess: 'Thêm 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',
},
toolTipMessage: {
updateUserInfo: 'Cập nhật',
updateUserInfo: 'Cập nhập',
resetPassword: 'Reset mật khẩu',
deleteUser: 'Xoá',
informationUser: 'Thông tin',
......@@ -163,7 +163,7 @@ export default {
dialogLabel: {
title: {
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: {
code: 'Mã đơn vị *',
......@@ -177,7 +177,7 @@ export default {
},
},
toolTipMessage: {
updateInfo: 'Cập nhật',
updateInfo: 'Cập nhập',
information: 'Thông tin',
delete: 'Xóa',
},
......@@ -209,7 +209,7 @@ export default {
addNewManagingUnitsAccess: 'Thêm Đơn vị chủ quản thành công',
deleteManagingUnitsAccess: 'Xoá Đơn vị chủ quản thành công',
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 {
dialogLabel: {
title: {
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',
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: {
//ds nghệ sỹ
......@@ -269,9 +269,9 @@ export default {
},
},
toolTipMessage: {
updateInfo: 'Cập nhật',
updateInfo: 'Cập nhập',
delete: 'Xóa nghệ sỹ',
updateBankAccount: 'Cập nhật',
updateBankAccount: 'Cập nhập',
deleteBankAccount: 'Xóa ngân hàng',
},
crudActions: {
......@@ -298,7 +298,7 @@ export default {
},
actionMessages: {
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',
},
},
......@@ -325,8 +325,8 @@ export default {
dialogLabel: {
title: {
addCustomer: 'Thêm khách hàng',
updateCustomer: 'Cập nhật khách hàng',
editCustomer: 'Cập nhật thông tin khách hàng',
updateCustomer: 'Cập nhập khách hàng',
editCustomer: 'Cập nhập thông tin khách hàng',
},
fieldLabels: {
userName: 'Tên đăng nhập *',
......@@ -346,7 +346,7 @@ export default {
},
},
toolTipMessage: {
updateCustomerInfo: 'Cập nhật',
updateCustomerInfo: 'Cập nhập',
informationCustomer: 'Thông tin',
deleteCustomer: 'Xoá',
},
......@@ -392,7 +392,7 @@ export default {
actionMessages: {
addNewUserAccess: 'Thêm 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',
},
},
......@@ -416,10 +416,11 @@ export default {
addStory: 'Thêm Story',
updateStory: 'Chỉnh sửa Story',
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',
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',
updateHotProduct: 'Cập nhập sản phẩm nổi bật',
},
fieldLabels: {
accountOwner: 'Chủ tài khoản',
......@@ -440,7 +441,7 @@ export default {
requireCardType: 'Vui lòng chọn Loại thẻ',
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',
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',
deleteStoryAccess: 'Xoá Story thành công',
},
......@@ -454,10 +455,10 @@ export default {
},
actionMessages: {
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',
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',
StoryAddSuccess: 'Thêm Story thành công',
bannerDeleteAccess: 'Xóa banner thành công',
......@@ -504,12 +505,12 @@ export default {
whatsappBooking: 'Truy cập whatsapp booking',
},
validateMessages: {
requireEmailAdminister: 'Vui lòng nhập Email người quản lý',
requirePhoneNumberAdminister:
'Vui lòng nhập Số điện thoại người quản lý',
requireEmailAdminister: 'Vui lòng nhập Email booking',
requirePhoneNumberAdminister: 'Vui lòng nhập Số điện thoại booking',
requireProducName: 'Vui lòng nhập Tên sản phẩm',
requireProducCode: 'Vui lòng nhập Mã sản phẩm',
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ỹ',
requireFullName: 'Vui lòng nhập Họ tên nghệ sỹ',
requireAccount: 'Vui lòng nhập Tên đăng nhập',
......@@ -551,7 +552,7 @@ export default {
productCode: 'Mã sản phẩm',
urlEmbed: 'Url embed',
productImage: 'Ảnh sản phẩm',
status: 'Trạng thái',
status: 'Loại sản phẩm',
action: 'Chức năng',
},
statusLabel: {
......@@ -591,7 +592,7 @@ export default {
dialogLabel: {
title: {
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: {
code: 'Mã xếp hạng *',
......@@ -601,7 +602,7 @@ export default {
},
},
toolTipMessage: {
updateCustomerRankInfo: 'Cập nhật',
updateCustomerRankInfo: 'Cập nhập',
deleteCustomerRank: 'Xoá',
},
crudActions: {
......@@ -623,7 +624,7 @@ export default {
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',
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 {
dialogLabel: {
title: {
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: {
name: 'Tên lĩnh vực *',
......@@ -653,7 +654,7 @@ export default {
},
},
toolTipMessage: {
updateField: 'Cập nhật',
updateField: 'Cập nhập',
deleteField: 'Xoá',
},
crudActions: {
......@@ -673,7 +674,7 @@ export default {
actionMessages: {
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',
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 {
createBy: 'Người thêm',
createTime: 'Thời gian thêm',
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',
action: 'Chức năng',
},
......@@ -700,7 +701,7 @@ export default {
dialogLabel: {
title: {
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: {
name: 'Tên bài viết *',
......@@ -711,7 +712,7 @@ export default {
},
},
toolTipMessage: {
updatePost: 'Cập nhật',
updatePost: 'Cập nhập',
deletePost: 'Xoá',
},
crudActions: {
......@@ -732,7 +733,7 @@ export default {
actionMessages: {
addNewPostAccess: 'Thêm 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 {
title: {
postCategory: 'Danh sách 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',
listPostsSelected: 'Danh sách bài viết đã chọn',
addPostDialog: 'Thêm bài viết',
......@@ -758,7 +759,7 @@ export default {
stt: 'STT',
name: 'Tên bài viế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',
action: 'Chức năng',
imageMini: 'Ảnh thu nhỏ',
......@@ -773,7 +774,7 @@ export default {
actionMessages: {
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',
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: {
confirmDeletePostCategory:
......@@ -802,7 +803,7 @@ export default {
dialogLabel: {
title: {
addBanner: 'Thêm banner',
updateBanner: 'Cập nhật banner',
updateBanner: 'Cập nhập banner',
},
bannerLabels: {
name: 'Tên banner *',
......@@ -814,7 +815,7 @@ export default {
},
},
toolTipMessage: {
updateBanner: 'Cập nhật',
updateBanner: 'Cập nhập',
deleteBanner: 'Xoá',
},
crudActions: {
......@@ -835,7 +836,7 @@ export default {
actionMessages: {
addNewBannerAccess: 'Thêm 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 {
},
dialogLabel: {
title: {
updateInfoVAB: 'Cập nhật thông tin',
updateInfoVAB: 'Cập nhập thông tin',
//ngân 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: {
comName: 'Tên công ty *',
......@@ -888,10 +889,10 @@ export default {
},
},
toolTipMessage: {
updateInfoVAB: 'Cập nhật',
updateInfoVAB: 'Cập nhập',
deleteInfoVAB: 'Xoá',
//ngân hàng
updateBankAccount: 'Cập nhật',
updateBankAccount: 'Cập nhập',
deleteBankAccount: 'Xóa ngân hàng',
},
crudActions: {
......@@ -919,7 +920,7 @@ export default {
},
actionMessages: {
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 {
status: 'Trạng thái',
createTime: 'Thời gian tạo',
createBy: 'Người tạo',
updateBy: 'Người cập nhật',
updateTime: 'Thời gian cập nhật',
updateBy: 'Người cập nhập',
updateTime: 'Thời gian cập nhập',
action: 'Chức năng',
},
statusLabel: {
......
......@@ -61,6 +61,8 @@
v-model:mn-fbmess="mnFbmess"
v-model:mn-ins="mnIns"
v-model:mn-whatsapp="mnWhatsapp"
v-model:favorite-score="favoriteScore"
v-model:check_infoBooking="check_infoBooking"
:errorMessmnBookingPhone="errorMessmnBookingPhone"
:errorMessmnBookingEmail="errorMessmnBookingEmail"
:mnBookingEmailRules="mnBookingEmailRules"
......
......@@ -103,6 +103,7 @@ export default defineComponent({
numIndex: 1,
status: 1,
});
const favoriteScore: Ref<number | undefined> = ref(undefined);
const mnName: Ref<string | null> = ref(null);
const mnPhone: Ref<string | null> = ref(null);
const mnEmail: Ref<string | null> = ref(null);
......@@ -146,6 +147,7 @@ export default defineComponent({
const DataUpdateHotProduct: Ref<ProductType | null> = ref(null);
//sate error input thong-tin-ca-nhan
const check_infoBooking = ref(false);
const artistCodeRules = ref(false);
const fullNameRules = ref(false);
const artistNameRules = ref(false);
......@@ -355,6 +357,7 @@ export default defineComponent({
mnFbmess.value = ArtistInformation.mnFbmess;
mnIns.value = ArtistInformation.mnIns;
mnWhatsapp.value = ArtistInformation.mnWhatsapp;
favoriteScore.value = ArtistInformation.favoriteScore;
nationality.value = ArtistInformation.nationality;
qualification.value = ArtistInformation.qualification;
works.value = ArtistInformation.works;
......@@ -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;
mnBookingPhoneRules.value = true;
errorMessmnBookingPhone.value = i18n.global.t(
'artist.artistInformation.validateMessages.requirePhoneNumberAdminister'
);
}
if (!mnBookingEmail.value || !mnBookingEmail.value?.trim().length) {
if (
(!mnBookingEmail.value || !mnBookingEmail.value?.trim().length) &&
check_infoBooking.value
) {
hasError = true;
mnBookingEmailRules.value = true;
errorMessmnBookingEmail.value = i18n.global.t(
......@@ -860,6 +869,7 @@ export default defineComponent({
mnFbmess: mnFbmess.value,
mnIns: mnIns.value,
mnWhatsapp: mnWhatsapp.value,
favoriteScore: favoriteScore.value,
},
})) as AxiosResponse<BaseResponseBody<unknown>>;
if (response.data.error.code === config.API_RES_CODE.OK.code) {
......@@ -1011,6 +1021,8 @@ export default defineComponent({
errorMessmnBookingPhone,
mnBookingEmailRules,
errorMessmnBookingEmail,
favoriteScore,
check_infoBooking,
};
},
});
......@@ -36,8 +36,6 @@ import {
TypeCardType,
FileUploadType,
} from 'src/assets/type';
// import { isEmail } from '../../boot/functions';
// import { isMobilePhone } from '../../boot/functions';
export type AvatarType = {
file?: File;
......@@ -106,7 +104,7 @@ export default defineComponent({
numIndex: 1,
status: 1,
});
const favoriteScore: Ref<number | undefined> = ref(undefined);
const mnName: Ref<string | null> = ref(null);
const mnPhone: Ref<string | null> = ref(null);
const mnEmail: Ref<string | null> = ref(null);
......@@ -149,6 +147,7 @@ export default defineComponent({
const DataUpdateHotProduct: Ref<ProductType | null> = ref(null);
//sate error input thong-tin-ca-nhan
const check_infoBooking = ref(false);
const artistCodeRules = ref(false);
const fullNameRules = ref(false);
const artistNameRules = ref(false);
......@@ -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;
mnBookingPhoneRules.value = true;
errorMessmnBookingPhone.value = i18n.global.t(
'artist.artistInformation.validateMessages.requirePhoneNumberAdminister'
);
}
if (!mnBookingEmail.value || !mnBookingEmail.value?.trim().length) {
if (
(!mnBookingEmail.value || !mnBookingEmail.value?.trim().length) &&
check_infoBooking.value
) {
hasError = true;
mnBookingEmailRules.value = true;
errorMessmnBookingEmail.value = i18n.global.t(
......@@ -772,6 +777,7 @@ export default defineComponent({
mnFbmess: mnFbmess.value,
mnIns: mnIns.value,
mnWhatsapp: mnWhatsapp.value,
favoriteScore: favoriteScore.value,
},
})) as AxiosResponse<BaseResponseBody<unknown>>;
if (response.data.error.code === config.API_RES_CODE.OK.code) {
......@@ -919,6 +925,8 @@ export default defineComponent({
errorMessEmail,
errorMessPhoneNumber,
confirmChangeIsDefault,
favoriteScore,
check_infoBooking,
};
},
});
......@@ -61,6 +61,8 @@
v-model:mn-fbmess="mnFbmess"
v-model:mn-ins="mnIns"
v-model:mn-whatsapp="mnWhatsapp"
v-model:favorite-score="favoriteScore"
v-model:check_infoBooking="check_infoBooking"
:errorMessmnBookingPhone="errorMessmnBookingPhone"
:errorMessmnBookingEmail="errorMessmnBookingEmail"
:mnBookingEmailRules="mnBookingEmailRules"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment