sc
This commit is contained in:
@@ -9,9 +9,25 @@
|
||||
v-model="searchForm.phone"
|
||||
placeholder="联系方式"
|
||||
clearable
|
||||
style="width: 120px"
|
||||
style="width: 100px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-select
|
||||
v-model="searchForm.intention"
|
||||
placeholder="学员意向"
|
||||
clearable
|
||||
filterable
|
||||
style="width: 100px"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in intentionOptions"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-select
|
||||
v-model="searchForm.followUser"
|
||||
@@ -40,6 +56,38 @@
|
||||
style="width: 240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-select
|
||||
v-model="searchForm.schoolId"
|
||||
placeholder="邀约驾校"
|
||||
clearable
|
||||
filterable
|
||||
style="width: 120px"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in schoolOptions"
|
||||
:key="item.schoolId"
|
||||
:label="item.schoolName"
|
||||
:value="item.schoolId"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-select
|
||||
v-model="searchForm.placeId"
|
||||
placeholder="邀约场地"
|
||||
clearable
|
||||
filterable
|
||||
style="width: 120px"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in placeOptions"
|
||||
:key="item.placeId"
|
||||
:label="item.name"
|
||||
:value="item.placeId"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-date-picker
|
||||
v-model="searchForm.signDate"
|
||||
@@ -58,7 +106,7 @@
|
||||
placeholder="报名状态"
|
||||
clearable
|
||||
filterable
|
||||
style="width: 120px"
|
||||
style="width: 100px"
|
||||
>
|
||||
<el-option label="未报名" :value="0" />
|
||||
<el-option label="已报名" :value="1" />
|
||||
@@ -70,7 +118,7 @@
|
||||
placeholder="登记状态"
|
||||
clearable
|
||||
filterable
|
||||
style="width: 120px"
|
||||
style="width: 100px"
|
||||
>
|
||||
<el-option label="未登记" :value="0" />
|
||||
<el-option label="已登记" :value="1" />
|
||||
@@ -86,9 +134,12 @@
|
||||
<el-table-column prop="name" label="学员姓名" width="90px" />
|
||||
<el-table-column prop="phone" label="联系方式" width="110px" />
|
||||
<el-table-column prop="followUserName" label="跟进人" width="90" />
|
||||
<el-table-column prop="intentionName" label="学员意向" width="90" />
|
||||
<el-table-column prop="remarkDate" label="报备日期" width="100px" />
|
||||
<el-table-column prop="remarkUserName" label="报备人" width="90px" />
|
||||
<el-table-column prop="remarkContent" label="报备内容" min-width="150px" />
|
||||
<el-table-column prop="remarkContent" label="报备内容" min-width="400px" />
|
||||
<el-table-column prop="schoolName" label="邀约驾校" width="100" />
|
||||
<el-table-column prop="placeName" label="邀约场地" width="100" />
|
||||
<el-table-column prop="signDate" label="报名日期" width="100px" />
|
||||
<el-table-column prop="enterUserName" label="接待人" width="90px" />
|
||||
<el-table-column prop="signInfo" label="报名信息" min-width="150px" />
|
||||
@@ -117,6 +168,8 @@
|
||||
<script setup>
|
||||
import { getSimpleUserList as getUserOption } from '@/api/system/user'
|
||||
import { getClueRemarkPage } from '@/api/clue/clueRemark'
|
||||
import { getPlaceList } from '@/api/school/place'
|
||||
import { getIntDictOptions } from '@/utils/dict'
|
||||
import { removeNullField } from '@/utils/index'
|
||||
|
||||
onMounted(() => {
|
||||
@@ -125,10 +178,22 @@ onMounted(() => {
|
||||
})
|
||||
|
||||
const userOptions = ref([])
|
||||
const schoolOptions = ref([])
|
||||
const placeOptions = ref([])
|
||||
const intentionOptions = getIntDictOptions('intention_state')
|
||||
function getOptions() {
|
||||
getUserOption().then((data) => {
|
||||
userOptions.value = data
|
||||
})
|
||||
|
||||
getPlaceList({
|
||||
placeStatus: 0,
|
||||
schoolStatus: 0,
|
||||
isSearchSchool: true
|
||||
}).then((data) => {
|
||||
schoolOptions.value = data.schoolList
|
||||
placeOptions.value = data.placeList
|
||||
})
|
||||
}
|
||||
|
||||
const searchForm = ref({
|
||||
|
||||
Reference in New Issue
Block a user