Commit c8f5477c authored by Mac's avatar Mac

1

parent f9f88551
......@@ -394,3 +394,15 @@ export function GetTeacherClassHours(data) {
data
})
}
/**
* 班级月度课耗
* @param {JSON参数} data
*/
export function getClassMonthStatistics(data) {
return request({
url: '/finance/GetClassMonthStatistics',
method: 'post',
data
})
}
\ No newline at end of file
......@@ -191,6 +191,11 @@
<q-item-label>关联其他课程</q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-close-popup @click="gomonthLessonCost(props.row)">
<q-item-section>
<q-item-label>月度课耗</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
</q-td>
......@@ -508,6 +513,12 @@
this.isShowClassInfo = false;
this.classObjOption = obj;
this.isShowClassInfo = true;
},
gomonthLessonCost(row){
this.OpenNewUrl('/course/monthLessonCost' , {
ClassId: row.ClassId,
ClassName: row.ClassName,
});
}
}
}
......
This diff is collapsed.
......@@ -239,13 +239,19 @@
if(this.$route.query && this.$route.query.EndMonth){
this.msg.EndMonth = this.$route.query.EndMonth
}
if(this.$route.query && this.$route.query.ClassId){
this.msg.ClassId = Number(this.$route.query.ClassId)
}
if(this.$route.query && this.$route.query.StudentName){
this.msg.StudentName = this.$route.query.StudentName
}
},
mounted() {
this.getList();//获取提成周期列表
this.getBranchList()
this.GetTeacherList();//老师下拉
this.setClass()
},
methods: {
getList() {
......
......@@ -122,7 +122,7 @@
<el-table-column prop="TimeBucket" label="上课时间段"> </el-table-column>
<el-table-column prop="TeacherName" label="老师名称"></el-table-column>
<el-table-column prop="ClassNo" label="班号"></el-table-column>
<el-table-column prop="ClassName" label="上课班级" width='200' :filters='ClassNameList' :filter-method="filterHandler">
<el-table-column prop="ClassName" label="上课班级" width='200' :filters='ClassNameList' :filter-method="filterHandler" :filtered-value="ClassName" >
<template slot="header">
<span>上课班级 <span style="font-size: 10px;color: #409EFF;">(筛选)</span> </span>
</template>
......@@ -197,6 +197,7 @@
ClassList: [],
allClassList: [],
ClassNameList:[],
ClassName:'',
}
},
created() {
......@@ -220,6 +221,10 @@
if(this.$route.query && this.$route.query.EndMonth){
this.msg.EndMonth = this.$route.query.EndMonth
}
if(this.$route.query && this.$route.query.ClassName){
this.ClassName = [this.$route.query.ClassName]
}
},
mounted() {
this.getList();//获取提成周期列表
......@@ -250,8 +255,9 @@
})
this.ClassNameList = this.unique(this.ClassNameList)
this.total = res.Data.Count
}
})
},
......
......@@ -178,6 +178,11 @@ const routes = [{
component: () =>
import("pages/course/classManage.vue")
},
{
path: "/course/monthLessonCost", //班级管理 月度课耗
component: () =>
import("pages/course/monthLessonCost.vue")
},
{
path: "/course/makeup", //补课管理
component: () =>
......
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