重新同步教职工数据修改

This commit is contained in:
2025-12-24 12:59:56 +08:00
parent 00d3f3f2cc
commit 55947e774a
3 changed files with 8 additions and 9 deletions

View File

@@ -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

View File

@@ -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)
})
}
}
}
}
</script>
</script>

View File

@@ -190,7 +190,7 @@
:label="dict.value"
>{{ dict.label }}</el-radio>
</el-radio-group> -->
<el-select v-model="queryParams.status" placeholder="请选择状态" clearable>
<el-select v-model="form.status" placeholder="请选择状态" clearable>
<el-option
v-for="dict in dict.type.teacher_status"
:key="dict.value"