From 9b0cdc49f16ff49e050ed161da9a8ce9207da97f Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期六, 12 十月 2024 13:28:10 +0800 Subject: [PATCH] 修改 --- src/views/onlineEducation/count/components/studentList.vue | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/views/onlineEducation/count/components/studentList.vue b/src/views/onlineEducation/count/components/studentList.vue index 0503dec..edc2859 100644 --- a/src/views/onlineEducation/count/components/studentList.vue +++ b/src/views/onlineEducation/count/components/studentList.vue @@ -21,7 +21,7 @@ label="身份证号" prop="idcard" align="center" - width="160" :show-overflow-tooltip="true"> + width="180" :show-overflow-tooltip="true"> </el-table-column> <el-table-column prop="lessonTocal" @@ -84,7 +84,7 @@ <script > import lessonReport from '@/views/onlineEducation/studentSupervision/compontents/lessonReport.vue' -import { studentCourseDetail, studentDetail } from '@/api/onlineEducation/student' +import { sendMessage, studentCourseDetail, studentDetail } from '@/api/onlineEducation/student' import { listCourse } from '@/api/onlineEducation/course' export default { name: 'addUser', @@ -169,7 +169,20 @@ cancelButtonText: '取消', type: 'warning' }).then(async () => { - + sendMessage(row.idcard).then((res) => { + if (res.code == 200) { + this.$message({ + message: '发送成功', + type: 'success' + }) + this.handleClose() + }else { + this.$message({ + message: res.msg, + type: 'warning' + }) + } + }) }).catch(() => { }); -- Gitblit v1.9.2