Commit 2438eee8 authored by 黄奎's avatar 黄奎

1111

parents 6edd80f6 1ddb07f8
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
position: sticky; position: sticky;
left: 0px; left: 0px;
} }
.stulistNumber { .stulistNumber {
display: inline-block; display: inline-block;
width: 25px; width: 25px;
...@@ -32,6 +33,7 @@ ...@@ -32,6 +33,7 @@
cursor: pointer; cursor: pointer;
color: #2961FE; color: #2961FE;
} }
.OCourseTable { .OCourseTable {
width: 400px; width: 400px;
text-align: center; text-align: center;
...@@ -45,6 +47,7 @@ ...@@ -45,6 +47,7 @@
height: 40px; height: 40px;
background-color: rgb(238, 238, 239); background-color: rgb(238, 238, 239);
} }
</style> </style>
<template> <template>
<div class="page-body studentTracking"> <div class="page-body studentTracking">
...@@ -98,6 +101,7 @@ ...@@ -98,6 +101,7 @@
</div> </div>
<template v-if="morequery"> <template v-if="morequery">
<div class="col-3"> <div class="col-3">
<<<<<<< HEAD
<q-select @input="resetSearch" dense filled option-value="SId" option-label="SName" v-model="msg.School_Id" <q-select @input="resetSearch" dense filled option-value="SId" option-label="SName" v-model="msg.School_Id"
:options="CompanyList" emit-value map-options label="校区" /> :options="CompanyList" emit-value map-options label="校区" />
</div> </div>
...@@ -158,6 +162,75 @@ ...@@ -158,6 +162,75 @@
<q-radio size="xs" v-model="msg.Q_FType" val="1" label="范围内有跟进记录" @input='resetSearch' /> <q-radio size="xs" v-model="msg.Q_FType" val="1" label="范围内有跟进记录" @input='resetSearch' />
<q-radio size="xs" v-model="msg.Q_FType" val="2" label="范围内没有跟进记录" @input='resetSearch' /> <q-radio size="xs" v-model="msg.Q_FType" val="2" label="范围内没有跟进记录" @input='resetSearch' />
</div> </div>
=======
<q-select @input="resetSearch" dense filled option-value="SId" option-label="SName" v-model="msg.School_Id"
:options="CompanyList" emit-value map-options label="校区" />
</div>
<div class="col-3">
<q-select @input="resetSearch" filled option-value="CourseId" option-label="CourseName"
v-model="msg.CourseId" clearable emit-value use-input :options="myCourseList" label="课程" dense map-options
@filter="filterFnkec" />
</div>
<div class="col-3">
<q-select @input="resetSearch" dense filled option-value="Id" option-label="EmployeeName"
v-model="msg.ConsultantId" clearable :options="RoleListData" emit-value map-options label="课程顾问" />
</div>
<div class="col-3">
<q-select @input="resetSearch" dense filled option-value="Id" option-label="Name"
v-model="msg.StuGuestState" clearable :options="hetongList" emit-value map-options label="合同状态" />
</div>
<div class="col-3">
<q-select @input="msg.StuSourceId='',msg.StuChannel='',resetSearch()" dense clearable filled
option-value="Id" option-label="Name" v-model="msg.CreateType" :options="customFromList" emit-value
map-options label="客户来源" />
</div>
<div class="col-3" v-if="msg.CreateType==1">
<q-select filled v-model="msg.StuChannel" @input="resetSearch" label="收客渠道" dense :options="StuChannelList"
option-label="Name" option-value="Id" emit-value map-options use-input clearable
@filter="filterStuChannel">
<template v-slot:no-option>
<q-item>
<q-item-section class="text-grey">
未找到相关数据
</q-item-section>
</q-item>
</template>
</q-select>
</div>
<div class="col-3" v-if="msg.CreateType==2">
<q-select filled v-model="msg.StuSourceId" dense :options="customList" use-input label="关联同行"
@filter="filterFn" option-label="CustomerName" @input="resetSearch" clearable option-value="CustomerId"
emit-value map-options>
<template v-slot:no-option>
<q-item>
<q-item-section class="text-grey">
未找到相关数据
</q-item-section>
</q-item>
</template>
</q-select>
</div>
<div class="col-3" v-if="msg.CreateType==3">
<q-select filled v-model="msg.StuSourceId" dense @filter="filterEmployee" label="介绍人" use-input
:options="myEmployeeList" option-label="EmployeeName" @input="resetSearch" clearable option-value="Id"
emit-value map-options />
</div>
<div class="col-3" v-if="msg.CreateType==4">
<q-select filled v-model="msg.StuSourceId" dense use-input @filter="filterStudent" label="转介人"
:options="MyTransListData" option-label="StuName" @input="resetSearch" clearable option-value="StuId"
emit-value map-options />
</div>
<div class="col-3">
<q-select filled v-model="msg.HeadTeacherId" dense use-input label="老师" :options="MyTeacherListData"
option-label="EmployeeName" @input="resetSearch" clearable option-value="Id" emit-value map-options />
</div>
<div class="col-3">
(
<q-radio size="xs" v-model="msg.Q_FType" val="1" label="范围内有跟进记录" @input='resetSearch' />
<q-radio size="xs" v-model="msg.Q_FType" val="2" label="范围内没有跟进记录" @input='resetSearch' />
</div>
>>>>>>> 1ddb07f8ba44a5f2da138e264e49f06802be1383
</template> </template>
</div> </div>
</div> </div>
...@@ -337,7 +410,8 @@ ...@@ -337,7 +410,8 @@
queryCourseDropdownList, queryCourseDropdownList,
} from '../../api/course/index' } from '../../api/course/index'
import { import {
queryEmployee queryEmployee,
} from "../../api/users/user"; } from "../../api/users/user";
import { import {
queryGuestStateList, queryGuestStateList,
...@@ -373,6 +447,8 @@ ...@@ -373,6 +447,8 @@
}, },
data() { data() {
return { return {
AccountType: 2,
IsLeave: 1,
msg: { msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 12, pageSize: 12,
...@@ -396,7 +472,9 @@ ...@@ -396,7 +472,9 @@
CreateType: '', //客户来源 CreateType: '', //客户来源
StuChannel: "", //收客渠道 StuChannel: "", //收客渠道
StuSourceId: '', StuSourceId: '',
StuPurpose: '' //学习目的 StuPurpose: '', //学习目的
HeadTeacherId: '', //老师
}, },
//归属类型列表 //归属类型列表
BelongTypeList: [{ BelongTypeList: [{
...@@ -472,6 +550,7 @@ ...@@ -472,6 +550,7 @@
TransListData: [], //转介人数据 TransListData: [], //转介人数据
MyTransListData: [], MyTransListData: [],
goalsList: [], //学习目的列表 goalsList: [], //学习目的列表
MyTeacherListData: [], //查询老师列表
} }
}, },
created() { created() {
...@@ -513,8 +592,19 @@ ...@@ -513,8 +592,19 @@
this.getStudentDorpDown(); this.getStudentDorpDown();
this.queryGoalsList(); this.queryGoalsList();
// this.downloadStudentFollow(); // this.downloadStudentFollow();
this.findData();
}, },
methods: { methods: {
findData() {
queryEmployee({
AccountType: 2,
IsLeave: 1
}).then(res => {
if (res.Code == 1) {
this.MyTeacherListData = res.Data;
}
})
},
downloadStudentFollow() { downloadStudentFollow() {
var msg = JSON.parse(JSON.stringify(this.msg)); var msg = JSON.parse(JSON.stringify(this.msg));
this.loading = true; this.loading = true;
...@@ -530,6 +620,7 @@ ...@@ -530,6 +620,7 @@
queryGoalsList() { queryGoalsList() {
getGuestLearningGoalsEnumList({}).then(res => { getGuestLearningGoalsEnumList({}).then(res => {
this.goalsList = res.Data; this.goalsList = res.Data;
// console.log(res.data)
}); });
}, },
//获取收客渠道 //获取收客渠道
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment