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