重新同步教职工数据修改
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user