Commit c8f5477c authored by Mac's avatar Mac

1

parent f9f88551
...@@ -394,3 +394,15 @@ export function GetTeacherClassHours(data) { ...@@ -394,3 +394,15 @@ export function GetTeacherClassHours(data) {
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 @@ ...@@ -191,6 +191,11 @@
<q-item-label>关联其他课程</q-item-label> <q-item-label>关联其他课程</q-item-label>
</q-item-section> </q-item-section>
</q-item> </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-list>
</q-btn-dropdown> </q-btn-dropdown>
</q-td> </q-td>
...@@ -508,6 +513,12 @@ ...@@ -508,6 +513,12 @@
this.isShowClassInfo = false; this.isShowClassInfo = false;
this.classObjOption = obj; this.classObjOption = obj;
this.isShowClassInfo = true; this.isShowClassInfo = true;
},
gomonthLessonCost(row){
this.OpenNewUrl('/course/monthLessonCost' , {
ClassId: row.ClassId,
ClassName: row.ClassName,
});
} }
} }
} }
......
This diff is collapsed.
...@@ -239,13 +239,19 @@ ...@@ -239,13 +239,19 @@
if(this.$route.query && this.$route.query.EndMonth){ if(this.$route.query && this.$route.query.EndMonth){
this.msg.EndMonth = 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() { mounted() {
this.getList();//获取提成周期列表 this.getList();//获取提成周期列表
this.getBranchList() this.getBranchList()
this.GetTeacherList();//老师下拉 this.GetTeacherList();//老师下拉
this.setClass() this.setClass()
}, },
methods: { methods: {
getList() { getList() {
......
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
<el-table-column prop="TimeBucket" label="上课时间段"> </el-table-column> <el-table-column prop="TimeBucket" label="上课时间段"> </el-table-column>
<el-table-column prop="TeacherName" 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="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"> <template slot="header">
<span>上课班级 <span style="font-size: 10px;color: #409EFF;">(筛选)</span> </span> <span>上课班级 <span style="font-size: 10px;color: #409EFF;">(筛选)</span> </span>
</template> </template>
...@@ -197,6 +197,7 @@ ...@@ -197,6 +197,7 @@
ClassList: [], ClassList: [],
allClassList: [], allClassList: [],
ClassNameList:[], ClassNameList:[],
ClassName:'',
} }
}, },
created() { created() {
...@@ -220,6 +221,10 @@ ...@@ -220,6 +221,10 @@
if(this.$route.query && this.$route.query.EndMonth){ if(this.$route.query && this.$route.query.EndMonth){
this.msg.EndMonth = 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() { mounted() {
this.getList();//获取提成周期列表 this.getList();//获取提成周期列表
...@@ -252,6 +257,7 @@ ...@@ -252,6 +257,7 @@
this.ClassNameList = this.unique(this.ClassNameList) this.ClassNameList = this.unique(this.ClassNameList)
this.total = res.Data.Count this.total = res.Data.Count
} }
}) })
}, },
......
...@@ -178,6 +178,11 @@ const routes = [{ ...@@ -178,6 +178,11 @@ const routes = [{
component: () => component: () =>
import("pages/course/classManage.vue") import("pages/course/classManage.vue")
}, },
{
path: "/course/monthLessonCost", //班级管理 月度课耗
component: () =>
import("pages/course/monthLessonCost.vue")
},
{ {
path: "/course/makeup", //补课管理 path: "/course/makeup", //补课管理
component: () => 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