refactor: add id
This commit is contained in:
parent
011a23186b
commit
1e4e2c2927
1 changed files with 4 additions and 0 deletions
|
|
@ -2002,6 +2002,7 @@ watch(isMainPage, () => {
|
||||||
'status-active': props.row.status !== 'INACTIVE',
|
'status-active': props.row.status !== 'INACTIVE',
|
||||||
'status-inactive': props.row.status === 'INACTIVE',
|
'status-inactive': props.row.status === 'INACTIVE',
|
||||||
}"
|
}"
|
||||||
|
:id="`row-table-${props.row.customerName}`"
|
||||||
:props="props"
|
:props="props"
|
||||||
@click="
|
@click="
|
||||||
() => {
|
() => {
|
||||||
|
|
@ -2243,6 +2244,7 @@ watch(isMainPage, () => {
|
||||||
<template v-slot:item="props">
|
<template v-slot:item="props">
|
||||||
<div class="col-12 col-md-3 col-sm-6">
|
<div class="col-12 col-md-3 col-sm-6">
|
||||||
<PersonCard
|
<PersonCard
|
||||||
|
:id="`card-${props.row.customerName}`"
|
||||||
:field-selected="fieldSelected"
|
:field-selected="fieldSelected"
|
||||||
history
|
history
|
||||||
:data="{
|
:data="{
|
||||||
|
|
@ -2443,6 +2445,7 @@ watch(isMainPage, () => {
|
||||||
'status-inactive': props.row.status === 'INACTIVE',
|
'status-inactive': props.row.status === 'INACTIVE',
|
||||||
}"
|
}"
|
||||||
:props="props"
|
:props="props"
|
||||||
|
:id="`row-table-${props.row.firstNameEN}`"
|
||||||
@click="
|
@click="
|
||||||
() => {
|
() => {
|
||||||
openDialogInputForm('INFO', props.row.id);
|
openDialogInputForm('INFO', props.row.id);
|
||||||
|
|
@ -2707,6 +2710,7 @@ watch(isMainPage, () => {
|
||||||
<template v-slot:item="props">
|
<template v-slot:item="props">
|
||||||
<div class="col-12 col-md-3 col-sm-6">
|
<div class="col-12 col-md-3 col-sm-6">
|
||||||
<PersonCard
|
<PersonCard
|
||||||
|
:id="`card-${props.row.firstNameEN}`"
|
||||||
:field-selected="fieldSelected"
|
:field-selected="fieldSelected"
|
||||||
history
|
history
|
||||||
:data="{
|
:data="{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue