下拉列表框 名称帅选

This commit is contained in:
gengxin
2025-02-18 16:02:06 +08:00
parent 6afe5f9635
commit 67ab0f7599

View File

@@ -57,6 +57,7 @@ const getOutTeacher = () => {
getTeacherList(memberParam.value).then(res => {
if (res.data.code == 200) {
userList.value = res.data.data.records
userList.value.map(item => item.supplier?item.name+"/"+item.supplier:item.name )
loading.value = false
}
})
@@ -118,13 +119,6 @@ function change(e, l) {
isOpen.value = false
Array.isArray(l) && (selectOptions.value = l)
Array.isArray(selectOptions.value) && emit('onChange', e, l)
selectOptions.value.map(e => ({
// label: e.name + '(' + e.userNo + ')' + e.organizationName,
label: e.name + '(' + e.supplier + ')',
value: e.name,
...e,
audienceList: null
}));
emit('update:name', l?.label)
emit('update:value', l?.value)
emit('update:mobile', l?.label)