Commit 279751c6 authored by 黄奎's avatar 黄奎

1111

parent 31ad0684
......@@ -767,3 +767,14 @@ export function RemoveCourseWords(data){
}
/**
* 获取课程章节列表
* @param {JSON参数} data
*/
export function queryChapterList(data) {
return request({
url: "/Course/GetChapterList",
method: 'post',
data
})
}
\ No newline at end of file
......@@ -11,11 +11,12 @@
style="width: 100%" @change="refreshPage()" clear-icon="iconfont icon-guanbi" :picker-options="pickerEnd">
</el-date-picker>
</div>
<div class="col-2">
<q-btn color="accent" size="sm" class="q-mr-md" label="下载" @click="DownLoadPlanAppointmentStatic()" />
</div>
</div>
<stuAppointmentList :tableData="tableData"
@chang="getPlanAppointmentList"
@refresh="refreshPage"
:loading="loading"></stuAppointmentList>
<stuAppointmentList :tableData="tableData" @chang="getPlanAppointmentList" @refresh="refreshPage"
:loading="loading"></stuAppointmentList>
</div>
</template>
......@@ -23,6 +24,10 @@
import {
queryPlanAppointmentStatic,
} from "../../api/stuMan/index";
import {
EduDownLoad
} from "../../api/common/common";
import stuAppointmentList from "./components/stuAppointmentList";
export default {
meta: {
......@@ -70,6 +75,14 @@
this.getPlanAppointmentList();
},
methods: {
//下载学员预约信息
DownLoadPlanAppointmentStatic() {
var newMsg = JSON.parse(JSON.stringify(this.msg));
this.loading = true;
EduDownLoad("/PlanAppoiment/DownLoadPlanAppointmentStatic", newMsg, "学员预约统计.xls", res => {
this.loading = false;
});
},
refreshPage() {
this.getPlanAppointmentList();
},
......
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