Commit f1d6fff5 authored by 黄奎's avatar 黄奎

学员跟进调整

parent f97781df
...@@ -78,6 +78,7 @@ ...@@ -78,6 +78,7 @@
<th width="200">续费课程</th> <th width="200">续费课程</th>
<th width="80">续费级别</th> <th width="80">续费级别</th>
<th width="80">续费金额</th> <th width="80">续费金额</th>
<th width="80">最新进度</th>
<th width="90">负责人</th> <th width="90">负责人</th>
</tr> </tr>
<template v-if='dataObj&&dataObj.RList && dataObj.RList.length>0'> <template v-if='dataObj&&dataObj.RList && dataObj.RList.length>0'>
...@@ -163,6 +164,9 @@ ...@@ -163,6 +164,9 @@
<span>{{sItem.PreferPrice}}</span> <span>{{sItem.PreferPrice}}</span>
</div> </div>
</td> </td>
<td>
{{item.NewLesson}}
</td>
<td> <td>
{{ item.CreateByName?item.CreateByName:'-' }} {{ item.CreateByName?item.CreateByName:'-' }}
</td> </td>
......
...@@ -170,6 +170,7 @@ ...@@ -170,6 +170,7 @@
font-weight: 600; font-weight: 600;
margin-right: 10px; margin-right: 10px;
} }
</style> </style>
<template> <template>
<div :class="[ <div :class="[
...@@ -290,6 +291,19 @@ ...@@ -290,6 +291,19 @@
:options="MyTransListData" option-label="StuName" @input="resetSearch" clearable option-value="StuId" :options="MyTransListData" option-label="StuName" @input="resetSearch" clearable option-value="StuId"
emit-value map-options /> emit-value map-options />
</div> </div>
<div class="col-3">
<q-select filled v-model="msg.Teacher_Id" dense use-input label="班主任" :options="MyTeacherListData"
option-label="EmployeeName" @input="resetSearch" @filter="filterTeacher" clearable option-value="Id"
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> </div>
</div> </div>
<div class="col row wrap q-gutter-x-md" v-if="staticObj && !isComponent"> <div class="col row wrap q-gutter-x-md" v-if="staticObj && !isComponent">
...@@ -426,11 +440,7 @@ ...@@ -426,11 +440,7 @@
<q-item-label overline>添加事件</q-item-label> <q-item-label overline>添加事件</q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
<!-- <q-item dense clickable v-close-popup @click="showChangeCourse(props.row)">
<q-item-section>
<q-item-label overline >跳课</q-item-label>
</q-item-section>
</q-item> -->
</q-list> </q-list>
</q-btn-dropdown> </q-btn-dropdown>
</div> </div>
...@@ -559,7 +569,8 @@ ...@@ -559,7 +569,8 @@
GuestState: "", //学员状态 GuestState: "", //学员状态
CreateType: "", //客户来源 CreateType: "", //客户来源
StuChannelId: "", //收客渠道 StuChannelId: "", //收客渠道
StuSourceId: "" StuSourceId: "",
Teacher_Id: "", //班主任
}, },
pageCount: 0, pageCount: 0,
columns: [{ columns: [{
...@@ -569,7 +580,6 @@ ...@@ -569,7 +580,6 @@
align: "left", align: "left",
required: true required: true
}, },
{ {
name: "GuestName", name: "GuestName",
label: "姓名", label: "姓名",
...@@ -812,7 +822,9 @@ ...@@ -812,7 +822,9 @@
courseName: "", courseName: "",
isShowChangeCourse: false, isShowChangeCourse: false,
ChangeCourseObj: {}, ChangeCourseObj: {},
staticObj: {} //学生统计信息 staticObj: {}, //学生统计信息
MyTeacherListData: [], //查询老师列表
AllTeacherList: [], //所有教师列表
}; };
}, },
created() { created() {
...@@ -864,6 +876,7 @@ ...@@ -864,6 +876,7 @@
this.GetStuChannelList(); this.GetStuChannelList();
this.GetCustomerList(); this.GetCustomerList();
this.getEmployeeList(); this.getEmployeeList();
this.findData();
} else { } else {
this.msg.rowsPerPage = this.pageSize; this.msg.rowsPerPage = this.pageSize;
this.loading = this.outLoading; this.loading = this.outLoading;
...@@ -871,6 +884,18 @@ ...@@ -871,6 +884,18 @@
} }
}, },
methods: { methods: {
//获取班主任
findData() {
queryEmployee({
AccountTypeStr: "2",
IsLeave: 1
}).then(res => {
if (res.Code == 1) {
this.MyTeacherListData = res.Data;
this.AllTeacherList = res.Data;
}
})
},
//获取收客渠道 //获取收客渠道
GetStuChannelList() { GetStuChannelList() {
GetStuChannelList({}).then(res => { GetStuChannelList({}).then(res => {
...@@ -1010,6 +1035,18 @@ ...@@ -1010,6 +1035,18 @@
} }
}); });
}, },
filterTeacher(val, update) {
update(() => {
if (val === "") {
this.MyTeacherListData = JSON.parse(JSON.stringify(this.AllTeacherList));
} else {
const needle = val.toLowerCase();
this.MyTeacherListData = this.AllTeacherList.filter(
v => v.EmployeeName.toLowerCase().indexOf(needle) > -1
);
}
});
},
//筛选课程 //筛选课程
filterCourse(val, update) { filterCourse(val, update) {
update(() => { update(() => {
...@@ -1268,7 +1305,9 @@ ...@@ -1268,7 +1305,9 @@
} }
} }
}; };
</script> </script>
<style lang="sass"> <style lang="sass">
@import url('~assets/css/table.sass') @import url('~assets/css/table.sass')
</style>
\ No newline at end of file </style>
This diff is collapsed.
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