parent
b988181631
commit
c9da7ed59f
1 changed files with 5 additions and 2 deletions
|
|
@ -136,9 +136,12 @@ function handleCheck(
|
||||||
row.taskStatus === TaskStatus.Failed ||
|
row.taskStatus === TaskStatus.Failed ||
|
||||||
row.taskStatus === TaskStatus.Success ||
|
row.taskStatus === TaskStatus.Success ||
|
||||||
row.taskStatus === TaskStatus.Complete ||
|
row.taskStatus === TaskStatus.Complete ||
|
||||||
row.taskStatus === TaskStatus.Redo
|
row.taskStatus === TaskStatus.Redo ||
|
||||||
)
|
(selectedEmployee.value.length > 0 &&
|
||||||
|
selectedEmployee.value.some((v) => v._template?.id !== row._template?.id))
|
||||||
|
) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const index = selectedEmployee.value.findIndex((data) => data.id === row.id);
|
const index = selectedEmployee.value.findIndex((data) => data.id === row.id);
|
||||||
if (index !== -1) {
|
if (index !== -1) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue