refactor: add id
This commit is contained in:
parent
3036ca1070
commit
1e15dcc856
3 changed files with 9 additions and 3 deletions
|
|
@ -516,6 +516,7 @@ watch(
|
|||
<q-btn
|
||||
dense
|
||||
flat
|
||||
:id="`btn-show-employee-${currentCustomerName}`"
|
||||
@click.stop="
|
||||
async () => {
|
||||
currentBranchEmployee = props.row.id;
|
||||
|
|
@ -551,7 +552,7 @@ watch(
|
|||
</q-btn>
|
||||
<q-btn
|
||||
icon="mdi-eye-outline"
|
||||
:id="`btn-eye-${props.row.customerName}`"
|
||||
:id="`btn-eye-${currentCustomerName}`"
|
||||
size="sm"
|
||||
dense
|
||||
round
|
||||
|
|
@ -570,6 +571,7 @@ watch(
|
|||
<q-td colspan="100%" style="padding: 16px">
|
||||
<div class="text-center">
|
||||
<TableEmpoloyee
|
||||
:prefix-id="props.row.registerName || props.row.firstName"
|
||||
add-button
|
||||
in-table
|
||||
:list-employee="listEmployee"
|
||||
|
|
@ -607,6 +609,7 @@ watch(
|
|||
<template #item="props">
|
||||
<div class="col-12 col-md-6">
|
||||
<BranchCardCustomer
|
||||
:prefix-id="props.row.registerName || props.row.firstName"
|
||||
class="surface-1"
|
||||
:inactive="props.row.status === 'INACTIVE'"
|
||||
:color="customerType === 'CORP' ? 'corp' : 'pers'"
|
||||
|
|
@ -775,7 +778,7 @@ watch(
|
|||
</div>
|
||||
</div>
|
||||
<EmployerFormAbout
|
||||
prefixId="dialog"
|
||||
prefix-id="dialog"
|
||||
:readonly="customerBranchFormState.dialogType === 'info'"
|
||||
class="q-mb-xl"
|
||||
:index="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue