This commit is contained in:
qsh
2024-06-13 15:51:11 +08:00
parent cff4280705
commit a3657f86ab
9 changed files with 237 additions and 381 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div>
<div class="relative">
<el-tabs v-model="queryType" size="small">
<el-tabs v-model="queryType" size="small" @tab-change="getTableList">
<el-tab-pane label="全部" name="0" />
<el-tab-pane name="1">
<template #label>
@@ -118,10 +118,11 @@
<DialogClue
v-if="!loading"
ref="formRef"
:userOptions="userOptions"
:schema="allSchemas.formSchema"
@sucess="getTableList"
/>
<DrawerClue ref="drawerRef" />
<DrawerClue v-if="!loading" ref="drawerRef" :schema="allSchemas.formSchema" />
<DialogSuccess ref="successRef" />
<DialogFollow ref="followRef" />
</div>
@@ -133,6 +134,7 @@ import DialogClue from './Comp/DialogClue.vue'
import DrawerClue from './Comp/DrawerClue.vue'
import DialogSuccess from './Comp/DialogSuccess.vue'
import DialogFollow from './Comp/DialogFollow.vue'
import { getSimpleUserList as getUserOption } from '@/api/system/user'
import { removeNullField } from '@/utils'
import { formatDate } from '@/utils/formatTime'
@@ -240,8 +242,11 @@ async function makeCall(phone) {
function handleSuccess(row) {
successRef.value.open(row)
}
const userOptions = ref([])
onMounted(() => {
getUserOption().then((data) => {
userOptions.value = data
})
getSearchCount()
getCurdSchemas()
})