提交 4454eaac authored 作者: lihuihui's avatar lihuihui

fix:修改bug

上级 fb77dff2
......@@ -101,7 +101,7 @@ export default {
// 是否含有翻页
hasPagination: { type: Boolean, default: true },
// 每页多少条数据
limit: { type: Number, default: 20 },
limit: { type: Number, default: 10 },
pagationLayout: { type: String, default: 'total, prev, pager, next, sizes, jumper' }
},
data() {
......@@ -163,7 +163,7 @@ export default {
.then(res => {
const { data = {} } = res || {}
this.page.total = parseInt(data.total || 0)
this.dataList = callback ? callback(data) : data
this.dataList = callback ? callback(data.list) : data.list
})
.catch(() => {
this.page.total = 0
......
import httpRequest from '@/utils/axios'
/* 意见反馈 */
export function examRecord() {
return httpRequest.post('/api/lms-financial/v1/examination/sheets')
export function examRecord(params) {
return httpRequest.get('/api/lms-financial/v1/examination/sheets', { params })
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论