refactor: add id

This commit is contained in:
Net 2024-07-25 13:31:32 +07:00
parent 011a23186b
commit 1e4e2c2927

View file

@ -2002,6 +2002,7 @@ watch(isMainPage, () => {
'status-active': props.row.status !== 'INACTIVE',
'status-inactive': props.row.status === 'INACTIVE',
}"
:id="`row-table-${props.row.customerName}`"
:props="props"
@click="
() => {
@ -2243,6 +2244,7 @@ watch(isMainPage, () => {
<template v-slot:item="props">
<div class="col-12 col-md-3 col-sm-6">
<PersonCard
:id="`card-${props.row.customerName}`"
:field-selected="fieldSelected"
history
:data="{
@ -2443,6 +2445,7 @@ watch(isMainPage, () => {
'status-inactive': props.row.status === 'INACTIVE',
}"
:props="props"
:id="`row-table-${props.row.firstNameEN}`"
@click="
() => {
openDialogInputForm('INFO', props.row.id);
@ -2707,6 +2710,7 @@ watch(isMainPage, () => {
<template v-slot:item="props">
<div class="col-12 col-md-3 col-sm-6">
<PersonCard
:id="`card-${props.row.firstNameEN}`"
:field-selected="fieldSelected"
history
:data="{