refactor: header Can only see 1 thing
This commit is contained in:
parent
d881e5b9e4
commit
9424ea2350
2 changed files with 14 additions and 0 deletions
|
|
@ -494,6 +494,13 @@ watch([customerId, inputSearch, currentStatus], async () => {
|
||||||
|
|
||||||
if (res) {
|
if (res) {
|
||||||
listEmployee = res.data.result;
|
listEmployee = res.data.result;
|
||||||
|
|
||||||
|
currentBtnOpen.map((v, i) => {
|
||||||
|
if (i !== props.rowIndex) {
|
||||||
|
currentBtnOpen[i] = false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
currentBtnOpen[props.rowIndex] =
|
currentBtnOpen[props.rowIndex] =
|
||||||
!currentBtnOpen[props.rowIndex];
|
!currentBtnOpen[props.rowIndex];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1082,6 +1082,13 @@ const emptyCreateDialog = ref(false);
|
||||||
|
|
||||||
if (res) {
|
if (res) {
|
||||||
listEmployee = res.result;
|
listEmployee = res.result;
|
||||||
|
|
||||||
|
currentBtnOpen.map((v, i) => {
|
||||||
|
if (i !== props.rowIndex) {
|
||||||
|
currentBtnOpen[i] = false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
currentBtnOpen[props.rowIndex] =
|
currentBtnOpen[props.rowIndex] =
|
||||||
!currentBtnOpen[props.rowIndex];
|
!currentBtnOpen[props.rowIndex];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue