Commit 41c359d7 authored by menglingjun's avatar menglingjun

fix: 排序字段排序

parent f424485b
...@@ -139,7 +139,8 @@ const columns = [ ...@@ -139,7 +139,8 @@ const columns = [
width: 100, width: 100,
dataIndex: 'orderNumber', dataIndex: 'orderNumber',
align: 'center', align: 'center',
scopedSlots: {customRender: 'orderNumber'} scopedSlots: {customRender: 'orderNumber'},
sorter: true,
}, },
{title: '项目款项(RMB)', dataIndex: 'charge', align: 'right', scopedSlots: {customRender: 'wages'}}, {title: '项目款项(RMB)', dataIndex: 'charge', align: 'right', scopedSlots: {customRender: 'wages'}},
{title: '操作', key: 'operation', width: 150, scopedSlots: {customRender: 'action'}, align: 'center'} {title: '操作', key: 'operation', width: 150, scopedSlots: {customRender: 'action'}, align: 'center'}
...@@ -202,6 +203,7 @@ export default { ...@@ -202,6 +203,7 @@ export default {
this.query.size = pageSize this.query.size = pageSize
} }
getPage(this.query).then(res => { getPage(this.query).then(res => {
console.log(this.query)
if (res && res.code == SYS_CONST.REQUEST.SUCCEED) { if (res && res.code == SYS_CONST.REQUEST.SUCCEED) {
let respData = res.data let respData = res.data
console.log(respData) console.log(respData)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment