外部授课新增手机号入参

This commit is contained in:
wangxuemei
2024-11-14 13:49:53 +08:00
parent c5325bb342
commit 95016ab86d
5 changed files with 23 additions and 19 deletions

View File

@@ -38,6 +38,10 @@ const props = defineProps({
type: String,
default: ''
},
mobile: {
type: String,
default: ''
},
disabled: Boolean,
placeholder: {
type: String,
@@ -73,6 +77,7 @@ const getOutTeacher = () => {
})
}
const options = computed(() => userList.value.map(e => ({
// label: e.name + '(' + e.userNo + ')' + e.organizationName,
label:e.name,
value: e.name,
@@ -129,6 +134,7 @@ function change(e, l) {
Array.isArray(selectOptions.value) && emit('onChange', e, l)
emit('update:name', l?.label)
emit('update:value', l?.value)
emit('update:mobile', l?.label)
}
</script>