From 55947e774ab5f5fca53fef3913e1d60eea99ef48 Mon Sep 17 00:00:00 2001 From: 15976874561 <2553956742@qq.com> Date: Wed, 24 Dec 2025 12:59:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E5=90=8C=E6=AD=A5=E6=95=99?= =?UTF-8?q?=E8=81=8C=E5=B7=A5=E6=95=B0=E6=8D=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../synchronous-data/sync-instructor/index.vue | 1 - .../sync-instructor/syncTeacher.vue | 14 +++++++------- src/views/system/teacher/index.vue | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/views/stuCQS/synchronous-data/sync-instructor/index.vue b/src/views/stuCQS/synchronous-data/sync-instructor/index.vue index 0bd56eb..b7ac131 100644 --- a/src/views/stuCQS/synchronous-data/sync-instructor/index.vue +++ b/src/views/stuCQS/synchronous-data/sync-instructor/index.vue @@ -222,7 +222,6 @@ export default { getList() { this.loading = true listInstructor(this.queryParams).then(response => { - console.log(response.data); this.middleList = response.data this.total = response.total this.loading = false diff --git a/src/views/stuCQS/synchronous-data/sync-instructor/syncTeacher.vue b/src/views/stuCQS/synchronous-data/sync-instructor/syncTeacher.vue index 6b2cf00..c99965c 100644 --- a/src/views/stuCQS/synchronous-data/sync-instructor/syncTeacher.vue +++ b/src/views/stuCQS/synchronous-data/sync-instructor/syncTeacher.vue @@ -73,20 +73,20 @@ export default { this.loading = false }) }, - /** 导出按钮操作 */ + /** 导出按钮操作 */ handleExport() { this.download('system/middle/export', { ...this.queryParams }, `middle_${new Date().getTime()}.xlsx`) }, //同步数据 - handleSync() { - syncInstructorinfonew().then(res => { + async handleSync() { + let res = await syncInstructorinfonew() + if (res.code == 200) { this.$modal.msgSuccess(res.msg) - }) + } } - + } } - - \ No newline at end of file + \ No newline at end of file diff --git a/src/views/system/teacher/index.vue b/src/views/system/teacher/index.vue index f3e9363..794e27e 100644 --- a/src/views/system/teacher/index.vue +++ b/src/views/system/teacher/index.vue @@ -190,7 +190,7 @@ :label="dict.value" >{{ dict.label }} --> - +