fix: profile banner icon & title
This commit is contained in:
parent
3f370350e7
commit
06f9140e6f
6 changed files with 3 additions and 128 deletions
|
|
@ -60,7 +60,6 @@ import {
|
|||
import {
|
||||
columnsCustomer,
|
||||
columnsEmployee,
|
||||
formMenuIconEmployee,
|
||||
uploadFileListEmployee,
|
||||
columnsAttachment,
|
||||
dialogCreateCustomerItem,
|
||||
|
|
@ -107,19 +106,6 @@ const tabFieldRequired = ref<{ [key: string]: (keyof CustomerBranchCreate)[] }>(
|
|||
},
|
||||
);
|
||||
|
||||
const formMenuIcon = ref<{ icon: string; color: string; bgColor: string }[]>([
|
||||
{
|
||||
icon: 'mdi-office-building-outline',
|
||||
color: 'hsl(var(--info-bg))',
|
||||
bgColor: 'var(--surface-1)',
|
||||
},
|
||||
{
|
||||
icon: 'mdi-briefcase-outline',
|
||||
color: 'hsl(var(--info-bg))',
|
||||
bgColor: 'var(--surface-1)',
|
||||
},
|
||||
]);
|
||||
|
||||
const { state: customerFormState, currentFormData: customerFormData } =
|
||||
storeToRefs(customerFormStore);
|
||||
const { state: employeeFormState, currentFromDataEmployee } =
|
||||
|
|
@ -2393,7 +2379,6 @@ const emptyCreateDialog = ref(false);
|
|||
return true;
|
||||
})
|
||||
"
|
||||
:menu="formMenuIconEmployee"
|
||||
:toggleTitle="$t('status.title')"
|
||||
hideFade
|
||||
@view="
|
||||
|
|
@ -3396,7 +3381,6 @@ const emptyCreateDialog = ref(false);
|
|||
hide-fade
|
||||
use-toggle
|
||||
v-model:toggle-status="customerFormData.status"
|
||||
:menu="formMenuIcon"
|
||||
:toggle-title="$t('status.title')"
|
||||
:fallback-cover="`/images/customer-${customerFormData.customerType}-banner-bg.jpg`"
|
||||
:img="
|
||||
|
|
@ -3853,7 +3837,6 @@ const emptyCreateDialog = ref(false);
|
|||
},
|
||||
{ name: 'other', label: 'customerEmployee.form.group.other' },
|
||||
]"
|
||||
:menu="formMenuIconEmployee"
|
||||
:toggle-title="$t('status.title')"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -164,19 +164,6 @@ export const uploadFileListEmployee: {
|
|||
},
|
||||
];
|
||||
|
||||
export const formMenuIconEmployee = [
|
||||
{
|
||||
icon: 'mdi-briefcase-outline',
|
||||
color: 'hsl(var(--info-bg))',
|
||||
bgColor: 'var(--surface-1)',
|
||||
},
|
||||
{
|
||||
icon: 'mdi-map-marker-radius-outline',
|
||||
color: 'hsl(var(--info-bg))',
|
||||
bgColor: 'var(--surface-1)',
|
||||
},
|
||||
];
|
||||
|
||||
export const columnsAttachment = [
|
||||
{
|
||||
name: 'orderNumber',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue