mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 07:33:32 +09:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -69,23 +69,6 @@ const onKeyup = async (e: any) => {
|
|||||||
const res = await getUserList({params:{name : e.target.value}})
|
const res = await getUserList({params:{name : e.target.value}})
|
||||||
|
|
||||||
if (res.length > 0) {
|
if (res.length > 0) {
|
||||||
res.forEach(u => {
|
|
||||||
if (model.value?.length > 0) {
|
|
||||||
const ignore = model.value.reduce((a: Person, b: Person) => {
|
|
||||||
return a.sabun + '|' + b.sabun
|
|
||||||
})
|
|
||||||
|
|
||||||
if (typeof ignore !== 'object') {
|
|
||||||
if (ignore.includes(u.sabun)) {
|
|
||||||
u['disabled'] = true
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (ignore.sabun.includes(u.sabun)) {
|
|
||||||
u['disabled'] = true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
// res.forEach(u => { 2명으로 제한 로직 풀기 25.05.29
|
// res.forEach(u => { 2명으로 제한 로직 풀기 25.05.29
|
||||||
// if (model.value?.length > 0) {
|
// if (model.value?.length > 0) {
|
||||||
// const ignore = model.value.reduce((a: Person, b: Person) => {
|
// const ignore = model.value.reduce((a: Person, b: Person) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user