From dea79129abe02c747bdf5780c8013dd360113c23 Mon Sep 17 00:00:00 2001
From: lion <120344285@qq.com>
Date: Fri, 23 Jan 2026 13:28:07 +0800
Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/course/apply_list.vue | 45 +----
.../course/components/BatchAuditDialog.vue | 182 ++++++++++++++++++
2 files changed, 192 insertions(+), 35 deletions(-)
create mode 100644 src/views/course/components/BatchAuditDialog.vue
diff --git a/src/views/course/apply_list.vue b/src/views/course/apply_list.vue
index a88ac01..84e5b42 100644
--- a/src/views/course/apply_list.vue
+++ b/src/views/course/apply_list.vue
@@ -94,12 +94,7 @@
导入
导出
-
- 批量审核通过
-
-
- 批量审核不通过
-
+ 批量审核
@@ -193,13 +188,10 @@
-
-
-
-
+
@@ -211,19 +203,18 @@
import imports from "@/views/component/imports.vue"
import {
index,
- updateStatus,
destroy
} from '@/api/apply/index.js'
import {
download
} from "@/utils/downloadRequest";
- import updateStaturReason from "./components/updateStaturReason.vue"
+ import BatchAuditDialog from './components/BatchAuditDialog.vue'
export default {
mixins: [myMixins, formMixin],
components: {
studentDetail,
imports,
- updateStaturReason
+ BatchAuditDialog
},
data() {
return {
@@ -517,33 +508,17 @@
this.selectids = []
}
},
- updateAllStatus(status) {
- // if (this.base.isNull(this.subjectObj.date)) {
- // this.$message.warning("请先设置该课程的开课日期后再进行审核")
- // return
- // }
+ openBatchAudit() {
if (this.selectids.length < 1) {
- this.$message.warning("请先选择要审核的学员")
+ this.$message.warning('请先选择要审核的学员')
return
}
- let ids = this.selectids.join(',')
- if(status==2){
- this.$refs.updateStaturReason.setIds({
- course_id: this.select.course_id,
- ids: ids,
- status: status,
- })
- this.$refs.updateStaturReason.isShow = true
- return
- }
- updateStatus({
+ const ids = this.selectids.join(',')
+ this.$refs.batchAuditDialog.setIds({
course_id: this.select.course_id,
- ids: ids,
- status: status,
- }).then(res => {
- this.$Message.success('审核成功')
- this.getList()
+ ids
})
+ this.$refs.batchAuditDialog.isShow = true
},
showDetail(type, row) {
// if (this.base.isNull(this.subjectObj.date)) {
diff --git a/src/views/course/components/BatchAuditDialog.vue b/src/views/course/components/BatchAuditDialog.vue
new file mode 100644
index 0000000..56cc9ee
--- /dev/null
+++ b/src/views/course/components/BatchAuditDialog.vue
@@ -0,0 +1,182 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+