mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 20:06:47 +08:00
下拉列表框 名称帅选
This commit is contained in:
@@ -57,7 +57,6 @@ const getOutTeacher = () => {
|
|||||||
getTeacherList(memberParam.value).then(res => {
|
getTeacherList(memberParam.value).then(res => {
|
||||||
if (res.data.code == 200) {
|
if (res.data.code == 200) {
|
||||||
userList.value = res.data.data.records
|
userList.value = res.data.data.records
|
||||||
userList.value.map(item => item.supplier?item.name+"/"+item.supplier:item.name )
|
|
||||||
loading.value = false
|
loading.value = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -65,7 +64,7 @@ const getOutTeacher = () => {
|
|||||||
const options = computed(() =>
|
const options = computed(() =>
|
||||||
userList.value.map(e => ({
|
userList.value.map(e => ({
|
||||||
// label: e.name + '(' + e.userNo + ')' + e.organizationName,
|
// label: e.name + '(' + e.userNo + ')' + e.organizationName,
|
||||||
label: e.name + '(' + e.supplier + ')',
|
label: e.name + '/' + e.supplier,
|
||||||
value: e.name,
|
value: e.name,
|
||||||
...e,
|
...e,
|
||||||
audienceList: null
|
audienceList: null
|
||||||
|
|||||||
Reference in New Issue
Block a user