提交 daa6b8cd authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 008e24c5
......@@ -146,6 +146,15 @@ export default {
getCourses() {
api.getRetakeCourses().then(response => {
this.courseList = response || []
if (!this.isEdit && !this.isView && !this.courseList.length) {
this.$alert('您没有需要重修的课程', {
type: 'warning',
confirmButtonText: '确定',
callback: action => {
this.goBack()
}
})
}
})
},
// 获取详情
......@@ -187,13 +196,6 @@ export default {
this.isEdit ? this.handleUpdate(params) : this.handleAdd(params)
})
},
// 撤回
onAbort() {
this.$confirm('你确定要撤回申请吗?撤回后,需要重新提交申请并由教务审批。', {
confirmButtonText: '确定',
cancelButtonText: '取消'
}).then(() => {})
},
// 去支付
handlePay() {
this.payVisible = true
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论