feat: add attachment tab and improve layout for product and customer management pages
This commit is contained in:
parent
9590467d0f
commit
4f5320cb36
4 changed files with 164 additions and 130 deletions
|
|
@ -4322,25 +4322,25 @@ const emptyCreateDialog = ref(false);
|
|||
:tabs-list="[
|
||||
{
|
||||
name: 'personalInfo',
|
||||
label: 'customerEmployee.form.group.personalInfo',
|
||||
label: $t('customerEmployee.form.group.personalInfo'),
|
||||
},
|
||||
{
|
||||
name: 'passport',
|
||||
label: 'customerEmployee.fileType.passport',
|
||||
label: $t('customerEmployee.fileType.passport'),
|
||||
},
|
||||
{
|
||||
name: 'visa',
|
||||
label: 'customerEmployee.form.group.visa',
|
||||
label: $t('customerEmployee.form.group.visa'),
|
||||
},
|
||||
{
|
||||
name: 'healthCheck',
|
||||
label: 'customerEmployee.form.group.healthCheck',
|
||||
label: $t('customerEmployee.form.group.healthCheck'),
|
||||
},
|
||||
{
|
||||
name: 'workHistory',
|
||||
label: 'customerEmployee.form.group.workHistory',
|
||||
label: $t('customerEmployee.form.group.workHistory'),
|
||||
},
|
||||
{ name: 'other', label: 'customerEmployee.form.group.other' },
|
||||
{ name: 'other', label: $t('customerEmployee.form.group.other') },
|
||||
]"
|
||||
:toggle-title="$t('status.title')"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -3709,6 +3709,10 @@ watch(
|
|||
name: 2,
|
||||
label: $t('productService.product.priceInformation'),
|
||||
},
|
||||
{
|
||||
name: 3,
|
||||
label: $t('general.attachment'),
|
||||
},
|
||||
]
|
||||
"
|
||||
v-model:current-tab="productTab"
|
||||
|
|
@ -3871,6 +3875,10 @@ watch(
|
|||
name: 2,
|
||||
label: $t('productService.product.priceInformation'),
|
||||
},
|
||||
{
|
||||
name: 3,
|
||||
label: $t('general.attachment'),
|
||||
},
|
||||
]
|
||||
"
|
||||
v-model:currentTab="productTab"
|
||||
|
|
@ -3878,7 +3886,7 @@ watch(
|
|||
</div>
|
||||
|
||||
<div
|
||||
class="col surface-1 rounded bordered scroll row relative-position"
|
||||
class="col surface-1 rounded bordered scroll row relative-position full-width"
|
||||
id="product-form"
|
||||
:class="{
|
||||
'q-mb-lg q-mx-lg ': $q.screen.gt.sm,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue