修改班级信息同步数据
This commit is contained in:
@@ -30,3 +30,4 @@ export function listBj(query) {
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user