|
@@ -16,12 +16,13 @@ async function getDepartList() {
|
|
const list = res.Data.List || []
|
|
const list = res.Data.List || []
|
|
departArr.value = list
|
|
departArr.value = list
|
|
}
|
|
}
|
|
-getDepartList()
|
|
|
|
|
|
+
|
|
|
|
|
|
const depart = ref('')
|
|
const depart = ref('')
|
|
watch(() => show.value, (newval) => {
|
|
watch(() => show.value, (newval) => {
|
|
if (newval) {
|
|
if (newval) {
|
|
depart.value = props.data.SysDepartmentId || ''
|
|
depart.value = props.data.SysDepartmentId || ''
|
|
|
|
+ getDepartList()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
|