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 }} --> - +