Commit ca334ed7 authored by 黄奎's avatar 黄奎

1111

parent e164d7d1
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="col row wrap q-col-gutter-md"> <div class="col row wrap q-col-gutter-md">
<div class="col-2 flex"> <div class="col-2 flex">
<el-select v-model="msg.TeacherAccountId" style="width: 100%" placeholder="教师" size="small" <el-select v-model="msg.TeacherAccountId" style="width: 100%" placeholder="教师" size="small"
@change="refreshPage()" clearable filterable > @change="refreshPage()" clearable filterable>
<el-option v-for="item in TeacherList" :key="item.Id" :label="item.EmployeeName" :value="item.Id"> <el-option v-for="item in TeacherList" :key="item.Id" :label="item.EmployeeName" :value="item.Id">
</el-option> </el-option>
<div slot="prefix" class="full-height flex items-center" style="color: #000; padding-right: 10px"> <div slot="prefix" class="full-height flex items-center" style="color: #000; padding-right: 10px">
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</div> </div>
<div class="col-2 flex"> <div class="col-2 flex">
<el-select v-model="msg.CourseId" style="width: 100%" placeholder="课程" size="small" @change="refreshPage()" <el-select v-model="msg.CourseId" style="width: 100%" placeholder="课程" size="small" @change="refreshPage()"
clearable filterable > clearable filterable>
<el-option v-for="item in CourseList" :key="item.CourseId" :label="item.CourseName" :value="item.CourseId"> <el-option v-for="item in CourseList" :key="item.CourseId" :label="item.CourseName" :value="item.CourseId">
</el-option> </el-option>
<div slot="prefix" class="full-height flex items-center" style="color: #000; padding-right: 10px"> <div slot="prefix" class="full-height flex items-center" style="color: #000; padding-right: 10px">
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</el-select> </el-select>
</div> </div>
</div> </div>
<cancelClassList :dataList="tableData" :MaxLength="MaxLength"></cancelClassList> <consumptionCourseList :dataList="tableData" :MaxLength="MaxLength" :loading="loading"></consumptionCourseList>
</div> </div>
</template> </template>
...@@ -49,13 +49,13 @@ ...@@ -49,13 +49,13 @@
getCourseRate getCourseRate
} from "../../api/course/index"; } from "../../api/course/index";
import cancelClassList from "./components/cancelClassList"; import consumptionCourseList from "./components/consumptionCourseList";
export default { export default {
meta: { meta: {
title: "学员消课统计", title: "学员消课统计",
}, },
components: { components: {
cancelClassList consumptionCourseList
}, },
data() { data() {
return { return {
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
this.queryCourseRate(); this.queryCourseRate();
}, },
mounted() { mounted() {
// this.getPlanList(); // this.getPlanList();
}, },
methods: { methods: {
refreshPage() { refreshPage() {
...@@ -97,7 +97,9 @@ ...@@ -97,7 +97,9 @@
}, },
// 获取校区教室导航列表 // 获取校区教室导航列表
getPlanList() { getPlanList() {
this.loading=true;
queryStuLearnChapterStatic(this.msg).then((res) => { queryStuLearnChapterStatic(this.msg).then((res) => {
this.loading=false;
if (res.Code == 1) { if (res.Code == 1) {
this.tableData = res.Data.list; this.tableData = res.Data.list;
this.MaxLength = res.Data.MaxLength; this.MaxLength = res.Data.MaxLength;
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</div> </div>
</div> </div>
</div> --> </div> -->
<table v-loading="loading"> <table v-loading="loading" style="width:100%;border-collapse: collapse;">
<tr> <tr>
<td class="cancelClassList-left"> <td class="cancelClassList-left">
报名课程 报名课程
...@@ -81,25 +81,6 @@ ...@@ -81,25 +81,6 @@
</template> </template>
</tr> </tr>
</template> </template>
<!-- <tbody v-for="(item,index) in dataList" :key="index">
<tr>
<td>
{{item.CourseName}}
</td>
<td>
{{item.TeacherName}}
</td>
<td>
{{item.StuName}}
</td>
<template v-for="(subItem,subIndex) in item.ChapterList">
<td>
{{subItem.ChapterName}}
</td>
</template>
</tr>
</tbody> -->
</table> </table>
</div> </div>
</template> </template>
...@@ -162,13 +143,11 @@ ...@@ -162,13 +143,11 @@
if (State == 1) { if (State == 1) {
color = "green"; color = "green";
} else if (State == 2) { } else if (State == 2) {
color = "green"; color = "green";
} } else if (State == 3) {
else if (State == 3) { color = "green";
color = "green"; } else if (State == 4) {
}
else if (State == 4) {
} }
return color; return color;
} }
...@@ -232,6 +211,7 @@ ...@@ -232,6 +211,7 @@
.traineesName.activeOne { .traineesName.activeOne {
background: #F5AFAF; background: #F5AFAF;
} }
.cancelClassList-right-box {} .cancelClassList-right-box {}
......
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