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

update

parent f66edb0e
......@@ -61,6 +61,7 @@ export default defineComponent({
message: i18n.global.t(
'artist.dialogLabel.validateMessages.addHotProductSccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
};
......
......@@ -80,6 +80,7 @@ export default defineComponent({
message: i18n.global.t(
'artist.dialogLabel.validateMessages.updateHotProductSccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
};
const product_name = [
......
......@@ -99,6 +99,7 @@ export default defineComponent({
message: i18n.global.t(
'artist.dialogLabel.validateMessages.accountNumberExits'
),
actions: [{ icon: 'close', color: 'white' }],
});
}
if (!hasError) {
......@@ -115,6 +116,7 @@ export default defineComponent({
message: i18n.global.t(
'artist.dialogLabel.validateMessages.addAccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
}
};
......
......@@ -102,6 +102,7 @@ export default defineComponent({
message: i18n.global.t(
'artist.dialogLabel.validateMessages.accountNumberExits'
),
actions: [{ icon: 'close', color: 'white' }],
});
}
}
......@@ -119,6 +120,7 @@ export default defineComponent({
message: i18n.global.t(
'artist.dialogLabel.validateMessages.editAccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
}
};
......
......@@ -82,11 +82,9 @@
<q-td style="padding: auto; height: 100%">
<div align="center">
<q-img
fit="contain"
:ratio="16 / 9"
style="width: 9rem"
style="width: 5rem; height: 6rem"
:src="
rowData.row.file === undefined
rowData.file === undefined
? configImg.API_IMAGE_ENDPOINT + rowData.value
: rowData.value
"
......
......@@ -345,6 +345,7 @@ export default defineComponent({
Notify.create({
type: 'positive',
message: i18n.global.t('post.actionMessages.deletePostAccess'),
actions: [{ icon: 'close', color: 'white' }],
});
void getListPost();
}
......
......@@ -494,6 +494,7 @@ export default defineComponent({
message: i18n.global.t(
'artist.dialogLabel.validateMessages.deleteAccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
bankAccounts.value.splice(value, 1);
});
......@@ -539,6 +540,7 @@ export default defineComponent({
message: i18n.global.t(
'artist.dialogLabel.validateMessages.deleteAccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
products.value.splice(value, 1);
});
......@@ -617,6 +619,7 @@ export default defineComponent({
message: i18n.global.t(
'artist.dialogLabel.validateMessages.deleteStoryAccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
stories.value.splice(idx, 1);
});
......@@ -883,6 +886,7 @@ export default defineComponent({
Notify.create({
type: 'positive',
message: i18n.global.t('artist.actionMessages.editArtistAccess'),
actions: [{ icon: 'close', color: 'white' }],
});
}
} catch (error) {}
......
......@@ -144,6 +144,7 @@ export default defineComponent({
message: i18n.global.t(
'postCategory.actionMessages.addPostCategoryAccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
void getListCategoryPost();
}
......@@ -177,6 +178,7 @@ export default defineComponent({
message: i18n.global.t(
'postCategory.actionMessages.deletePostCategoryAccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
void getListCategoryPost();
}
......@@ -222,6 +224,7 @@ export default defineComponent({
message: i18n.global.t(
'postCategory.actionMessages.updatePostCategoryAccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
void getListCategoryPost();
}
......
......@@ -395,6 +395,7 @@ export default defineComponent({
message: i18n.global.t(
'managingUnit.actionMessages.deleteManagingUnitsAccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
void getListUnits();
}
......
......@@ -348,6 +348,7 @@ export default defineComponent({
Notify.create({
type: 'positive',
message: i18n.global.t('customer.actionMessages.deleteUserAccess'),
actions: [{ icon: 'close', color: 'white' }],
});
void getListCustomers();
}
......@@ -379,6 +380,7 @@ export default defineComponent({
Notify.create({
type: 'positive',
message: i18n.global.t('customer.actionMessages.addNewUserAccess'),
actions: [{ icon: 'close', color: 'white' }],
});
void getListCustomers();
showDialog.value = false;
......@@ -453,6 +455,7 @@ export default defineComponent({
Notify.create({
type: 'positive',
message: i18n.global.t('customer.actionMessages.updateUserAccess'),
actions: [{ icon: 'close', color: 'white' }],
});
void getListCustomers();
showDialogUpdate.value = false;
......
......@@ -237,6 +237,7 @@ export default defineComponent({
Notify.create({
type: 'positive',
message: i18n.global.t('field.actionMessages.deleteFieldAccess'),
actions: [{ icon: 'close', color: 'white' }],
});
void getListField();
}
......
......@@ -356,6 +356,7 @@ export default defineComponent({
Notify.create({
type: 'positive',
message: i18n.global.t('listMenu.actionMessages.updateSuccess'),
actions: [{ icon: 'close', color: 'white' }],
});
void getlistMenu();
showDialogUpdate.value = false;
......@@ -392,6 +393,7 @@ export default defineComponent({
Notify.create({
type: 'positive',
message: i18n.global.t('listMenu.actionMessages.deleteSuccess'),
actions: [{ icon: 'close', color: 'white' }],
});
void getlistMenu();
}
......
......@@ -457,6 +457,7 @@ export default defineComponent({
Notify.create({
type: 'positive',
message: i18n.global.t('artist.actionMessages.deleteArtistAccess'),
actions: [{ icon: 'close', color: 'white' }],
});
void getListArtists();
}
......
......@@ -201,6 +201,7 @@ export default defineComponent({
Notify.create({
type: 'positive',
message: i18n.global.t('userPage.actionMessages.addNewUserAccess'),
actions: [{ icon: 'close', color: 'white' }],
});
void getListUsers();
......@@ -240,6 +241,7 @@ export default defineComponent({
Notify.create({
type: 'positive',
message: i18n.global.t('userPage.actionMessages.deleteUserAccess'),
actions: [{ icon: 'close', color: 'white' }],
});
void getListUsers();
}
......@@ -281,6 +283,7 @@ export default defineComponent({
message: i18n.global.t(
'userPage.actionMessages.resetPasswordAccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
void getListUsers();
}
......@@ -356,6 +359,7 @@ export default defineComponent({
Notify.create({
type: 'positive',
message: i18n.global.t('userPage.actionMessages.updateUserAccess'),
actions: [{ icon: 'close', color: 'white' }],
});
void getListUsers();
}
......
......@@ -49,6 +49,7 @@ const addNewGroupInfo = async ($store: Store<StateInterface>) => {
message: i18n.global.t(
'userGroupPage.groupInfo.actionMessages.addNewSuccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
changeValueIsDisable(EditMode.default);
......@@ -117,6 +118,7 @@ const updateGroupInfo = async ($store: Store<StateInterface>) => {
message: i18n.global.t(
'userGroupPage.groupInfo.actionMessages.updateSuccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
changeValueIsDisable(EditMode.default);
......@@ -183,6 +185,7 @@ const deleteGroup = async ($store: Store<StateInterface>) => {
message: i18n.global.t(
'userGroupPage.groupInfo.actionMessages.deleteSuccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
changeValueIsDisable(EditMode.default);
......
......@@ -426,6 +426,7 @@ export default defineComponent({
message: i18n.global.t(
'artist.dialogLabel.validateMessages.deleteAccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
bankAccounts.value.splice(value, 1);
});
......@@ -472,6 +473,7 @@ export default defineComponent({
message: i18n.global.t(
'artist.dialogLabel.validateMessages.deleteAccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
products.value.splice(value, 1);
});
......@@ -540,6 +542,7 @@ export default defineComponent({
message: i18n.global.t(
'artist.dialogLabel.validateMessages.deleteStoryAccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
stories.value.splice(idx, 1);
});
......@@ -791,6 +794,7 @@ export default defineComponent({
Notify.create({
type: 'positive',
message: i18n.global.t('artist.actionMessages.addNewArtistAccess'),
actions: [{ icon: 'close', color: 'white' }],
});
}
} catch (error) {}
......
......@@ -292,6 +292,7 @@ export default defineComponent({
message: i18n.global.t(
'customerRank.actionMessages.deleteCustomerRankAccess'
),
actions: [{ icon: 'close', color: 'white' }],
});
void getListCustomerRank();
}
......
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