修改班级信息同步数据

This commit is contained in:
2025-12-30 11:43:23 +08:00
parent c904255c6c
commit 255c4713d4
2 changed files with 4 additions and 18 deletions

View File

@@ -36,7 +36,7 @@
</div>
</template>
<script>
import { listBj, syncClassinfo, getClassdm} from '@/api/stuCQS/synchronous-data/sync-class'
import { listBj, syncBjinfo} from '@/api/stuCQS/synchronous-data/sync-class'
export default {
name: 'Middle',
@@ -82,15 +82,6 @@ export default {
this.getList()
},
methods: {
//关键字查询
getbjdm() {
this.loading = true
getClassdm(this.queryParams.bjdm).then(response => {
this.middleList = response.data
this.total = response.total
this.loading = false
})
},
/** 查询【请填写功能名称】列表 */
getList() {
this.loading = true
@@ -120,7 +111,7 @@ export default {
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1
this.getbjdm()
this.getList()
},
/** 重置按钮操作 */
resetQuery() {
@@ -128,12 +119,6 @@ export default {
this.queryParams.pageNum = 1
this.getList()
},
// 多选框选中数据
handleSelectionChange(selection) {
this.ids = selection.map(item => item.id)
this.single = selection.length !== 1
this.multiple = !selection.length
},
/** 导出按钮操作 */
handleExport() {
this.download('system/middle/export', {
@@ -141,7 +126,7 @@ export default {
}, `middle_${new Date().getTime()}.xlsx`)
},
handleSync() {
syncClassinfo().then(res => {
syncBjinfo().then(res => {
this.$modal.msgSuccess(res.msg)
})
}