mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 01:22:33 +09:00
remove : 2명으로 제한 로직 풀기
This commit is contained in:
@@ -69,23 +69,27 @@ 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 => {
|
// 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) => {
|
||||||
return a.sabun + '|' + b.sabun
|
// console.log("aaaaa",a.sabun)
|
||||||
})
|
// console.log("bbbbbb",b.sabun)
|
||||||
|
// return a.sabun + '|' + b.sabun
|
||||||
if (typeof ignore !== 'object') {
|
// })
|
||||||
if (ignore.includes(u.sabun)) {
|
//
|
||||||
u['disabled'] = true
|
// if (typeof ignore !== 'object') {
|
||||||
}
|
// if (ignore.includes(u.sabun)) {
|
||||||
} else {
|
// console.log("ignore 처리",u.sabun)
|
||||||
if (ignore.sabun.includes(u.sabun)) {
|
// u['disabled'] = true
|
||||||
u['disabled'] = true
|
// }
|
||||||
}
|
// } else {
|
||||||
}
|
// if (ignore.sabun.includes(u.sabun)) {
|
||||||
}
|
// console.log("ignore 처리222",u.sabun)
|
||||||
})
|
// u['disabled'] = true
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// })
|
||||||
tagsOptions.value = res
|
tagsOptions.value = res
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user