上传
This commit is contained in:
@@ -159,6 +159,7 @@
|
||||
v-if="!loading"
|
||||
ref="formRef"
|
||||
:userOptions="userOptions"
|
||||
:allUserOptions="allUserOptions"
|
||||
:schema="allSchemas.formSchema"
|
||||
@success="getTableList"
|
||||
/>
|
||||
@@ -172,6 +173,7 @@
|
||||
<DialogSuccess
|
||||
ref="successRef"
|
||||
:schema="allSchemas.detailSchema"
|
||||
:allUserOptions="allUserOptions"
|
||||
:userOptions="userOptions"
|
||||
@success="getTableList"
|
||||
/>
|
||||
@@ -187,7 +189,7 @@ import DrawerClue from './Comp/DrawerClue.vue'
|
||||
import DialogSuccess from './Comp/DialogSuccess.vue'
|
||||
import DialogFollow from './Comp/DialogFollow.vue'
|
||||
import ClueMap from './Comp/ClueMap.vue'
|
||||
import { getSimpleUserList as getUserOption } from '@/api/system/user'
|
||||
import { getSimpleUserList as getUserOption, getAllUserList } from '@/api/system/user'
|
||||
|
||||
import { removeNullField } from '@/utils'
|
||||
import { formatDate } from '@/utils/formatTime'
|
||||
@@ -356,12 +358,12 @@ function handleGain(id) {
|
||||
}
|
||||
|
||||
const userOptions = ref([])
|
||||
const allUserOptions = ref([])
|
||||
|
||||
onMounted(() => {
|
||||
getUserOption().then((data) => {
|
||||
userOptions.value = data
|
||||
getCurdSchemas()
|
||||
})
|
||||
onMounted(async () => {
|
||||
userOptions.value = await getUserOption()
|
||||
allUserOptions.value = await getAllUserList()
|
||||
getCurdSchemas()
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user