refactor: add id SideMenu

This commit is contained in:
Net 2024-08-20 17:59:49 +07:00
parent 2c0baf0feb
commit 13585aeff5

View file

@ -97,7 +97,7 @@ const modeView = ref(false);
const fieldSelectedOption = ref<{ label: string; value: string }[]>([ const fieldSelectedOption = ref<{ label: string; value: string }[]>([
{ {
label: 'orderNumber', label: 'orderNumber',
value: 'branchLabelNo', value: 'orderNumber',
}, },
{ {
@ -147,7 +147,7 @@ const formMenuIcon = ref<{ icon: string; color: string; bgColor: string }[]>([
const fieldSelected = ref< const fieldSelected = ref<
( (
| 'branchLabelNo' | 'orderNumber'
| 'name' | 'name'
| 'type' | 'type'
| 'telephoneNo' | 'telephoneNo'
@ -156,7 +156,7 @@ const fieldSelected = ref<
| 'userRole' | 'userRole'
)[] )[]
>([ >([
'branchLabelNo', 'orderNumber',
'name', 'name',
'type', 'type',
'telephoneNo', 'telephoneNo',
@ -272,7 +272,7 @@ const reader = new FileReader();
const columns = [ const columns = [
{ {
name: 'branchLabelNo', name: 'orderNumber',
align: 'center', align: 'center',
label: 'orderNumber', label: 'orderNumber',
field: 'branchNo', field: 'branchNo',
@ -1158,7 +1158,7 @@ watch(
> >
<q-td <q-td
class="text-center" class="text-center"
v-if="fieldSelected.includes('branchLabelNo')" v-if="fieldSelected.includes('orderNumber')"
> >
{{ (currentPage - 1) * pageSize + props.rowIndex + 1 }} {{ (currentPage - 1) * pageSize + props.rowIndex + 1 }}
</q-td> </q-td>
@ -1721,7 +1721,7 @@ watch(
</div> </div>
<div <div
class="col" class="col"
style="height: 100%; max-height: 100; overflow-y: auto" style="height: 100%; overflow-y: auto"
v-if="$q.screen.gt.sm" v-if="$q.screen.gt.sm"
> >
<div class="q-py-md q-pl-md q-pr-sm"> <div class="q-py-md q-pl-md q-pr-sm">
@ -1736,6 +1736,46 @@ watch(
name: $t('formDialogTitlePersonal'), name: $t('formDialogTitlePersonal'),
anchor: 'info-personal', anchor: 'info-personal',
}, },
{
name: $t('formDialogTitlePersonal'),
anchor: 'info-personal',
},
{
name: $t('formDialogTitlePersonal'),
anchor: 'info-personal',
},
{
name: $t('formDialogTitlePersonal'),
anchor: 'info-personal',
},
{
name: $t('formDialogTitlePersonal'),
anchor: 'info-personal',
},
{
name: $t('formDialogTitlePersonal'),
anchor: 'info-personal',
},
{
name: $t('formDialogTitlePersonal'),
anchor: 'info-personal',
},
{
name: $t('formDialogTitlePersonal'),
anchor: 'info-personal',
},
{
name: $t('formDialogTitlePersonal'),
anchor: 'info-personal',
},
{
name: $t('formDialogTitlePersonal'),
anchor: 'info-personal',
},
{
name: $t('formDialogTitlePersonal'),
anchor: 'info-personal',
},
{ {
name: $t('formDialogTitleAddressPersonnel'), name: $t('formDialogTitleAddressPersonnel'),
anchor: 'info-address', anchor: 'info-address',