Commit 0cab52ce authored by 黄奎's avatar 黄奎

11111

parent a77f6142
...@@ -51,6 +51,9 @@ ...@@ -51,6 +51,9 @@
</div> </div>
</el-select> </el-select>
</div> </div>
<div class="col-3" style="width: 30%">
<q-btn color="accent" size="sm" class="q-mr-md" label="下载计划" @click="DownLoadStuLearnChapterStatic()" />
</div>
</div> </div>
<consumptionCourseList v-loading="loading" :dataList="tableData" :MaxLength="MaxLength" :loading="loading"> <consumptionCourseList v-loading="loading" :dataList="tableData" :MaxLength="MaxLength" :loading="loading">
</consumptionCourseList> </consumptionCourseList>
...@@ -80,6 +83,9 @@ ...@@ -80,6 +83,9 @@
} from "../../api/school/index"; } from "../../api/school/index";
import consumptionCourseList from "./components/consumptionCourseList"; import consumptionCourseList from "./components/consumptionCourseList";
import {
EduDownLoad
} from "../../api/common/common";
export default { export default {
meta: { meta: {
title: "学员消课统计", title: "学员消课统计",
...@@ -128,6 +134,15 @@ ...@@ -128,6 +134,15 @@
// this.getPlanList(); // this.getPlanList();
}, },
methods: { methods: {
//下载消课统计
DownLoadStuLearnChapterStatic() {
//导出
var newMsg = JSON.parse(JSON.stringify(this.msg));
this.loading = true;
EduDownLoad("/Scroll/DownLoadStuLearnChapterStatic", newMsg, "消课统计.xls", res => {
this.loading = false;
});
},
queryStuList() { queryStuList() {
getStudentDorpDownList({}).then(res => { getStudentDorpDownList({}).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
......
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