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

update

parent 5ba92a03
...@@ -444,13 +444,6 @@ export default defineComponent({ ...@@ -444,13 +444,6 @@ export default defineComponent({
artistId?: number artistId?: number
) => { ) => {
artistOptions.value = []; artistOptions.value = [];
// nameAdd.value = {
// id: 1,
// name: '',
// fullName: '',
// artistName: '',
// field: '',
// };
const response = (await api({ const response = (await api({
url: API_PATHS.getArtistDicitionaryOptions, url: API_PATHS.getArtistDicitionaryOptions,
method: 'GET', method: 'GET',
......
...@@ -57,11 +57,6 @@ ...@@ -57,11 +57,6 @@
> >
<template v-slot:body-cell-action="item"> <template v-slot:body-cell-action="item">
<q-td style="padding: 0" class="flex flex-center"> <q-td style="padding: 0" class="flex flex-center">
<!-- <q-btn flat round color="primary" icon="mdi-information-outline">
<q-tooltip :offset="[20, 10]">{{
$t('managingUnit.toolTipMessage.information')
}}</q-tooltip>
</q-btn> -->
<q-btn flat round color="primary" icon="mdi-account-edit-outline"> <q-btn flat round color="primary" icon="mdi-account-edit-outline">
<q-tooltip :offset="[20, 10]">{{ <q-tooltip :offset="[20, 10]">{{
$t('managingUnit.toolTipMessage.updateInfo') $t('managingUnit.toolTipMessage.updateInfo')
...@@ -341,15 +336,15 @@ export default defineComponent({ ...@@ -341,15 +336,15 @@ export default defineComponent({
const addNewUnit = () => { const addNewUnit = () => {
const data = { const data = {
name: unitName.value, // name: unitName.value,
code: unitCode.value, // code: unitCode.value,
representative: unitRepresentative.value, // representative: unitRepresentative.value,
address: unitAddress.value, // address: unitAddress.value,
email: unitEmail.value, // email: unitEmail.value,
phoneNumber: unitPhoneNumber.value, // phoneNumber: unitPhoneNumber.value,
status: unitStatus.value, // status: unitStatus.value,
fields: fieldSelected.value, // fields: fieldSelected.value,
artistList: unitArtistList.value, // artistList: unitArtistList.value,
}; };
// // call API use Data // // call API use Data
}; };
......
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