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

1111

parent 31ad0684
...@@ -767,3 +767,14 @@ export function RemoveCourseWords(data){ ...@@ -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 @@ ...@@ -11,11 +11,12 @@
style="width: 100%" @change="refreshPage()" clear-icon="iconfont icon-guanbi" :picker-options="pickerEnd"> style="width: 100%" @change="refreshPage()" clear-icon="iconfont icon-guanbi" :picker-options="pickerEnd">
</el-date-picker> </el-date-picker>
</div> </div>
<div class="col-2">
<q-btn color="accent" size="sm" class="q-mr-md" label="下载" @click="DownLoadPlanAppointmentStatic()" />
</div>
</div> </div>
<stuAppointmentList :tableData="tableData" <stuAppointmentList :tableData="tableData" @chang="getPlanAppointmentList" @refresh="refreshPage"
@chang="getPlanAppointmentList" :loading="loading"></stuAppointmentList>
@refresh="refreshPage"
:loading="loading"></stuAppointmentList>
</div> </div>
</template> </template>
...@@ -23,6 +24,10 @@ ...@@ -23,6 +24,10 @@
import { import {
queryPlanAppointmentStatic, queryPlanAppointmentStatic,
} from "../../api/stuMan/index"; } from "../../api/stuMan/index";
import {
EduDownLoad
} from "../../api/common/common";
import stuAppointmentList from "./components/stuAppointmentList"; import stuAppointmentList from "./components/stuAppointmentList";
export default { export default {
meta: { meta: {
...@@ -70,6 +75,14 @@ ...@@ -70,6 +75,14 @@
this.getPlanAppointmentList(); this.getPlanAppointmentList();
}, },
methods: { methods: {
//下载学员预约信息
DownLoadPlanAppointmentStatic() {
var newMsg = JSON.parse(JSON.stringify(this.msg));
this.loading = true;
EduDownLoad("/PlanAppoiment/DownLoadPlanAppointmentStatic", newMsg, "学员预约统计.xls", res => {
this.loading = false;
});
},
refreshPage() { refreshPage() {
this.getPlanAppointmentList(); 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