mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 19:06:45 +08:00
下拉列表框 名称帅选
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user