Browse Source

🐞 fix(报表): 报表

报表
dev
txb 1 year ago
parent
commit
0722c4851f
2 changed files with 19 additions and 0 deletions
  1. +1
    -0
      src/app.jsx
  2. +18
    -0
      src/pages/card/reservation/index.jsx

+ 1
- 0
src/app.jsx View File

@@ -983,6 +983,7 @@ export const layout = ({ initialState }) => {
// children.pathname = history.location.pathname;
console.log("11111",children);
return (

<TagView children={children} home="/quickStart" current={history.location.pathname}>
{/* <PageContainer>{children}</PageContainer> */}
</TagView>


+ 18
- 0
src/pages/card/reservation/index.jsx View File

@@ -34,6 +34,12 @@ const ReservationGoodsColums = [
dataIndex: 'qty',
sortDirections: ['ascend', 'descend'],
sorter: (a, b) => a.value - b.value
},
{
title: '预定部门',
dataIndex: 'qty',
sortDirections: ['ascend', 'descend'],
sorter: (a, b) => a.value - b.value
}
]

@@ -41,6 +47,18 @@ const ReservationUserColums = [
{
title: '预定商品人员名称',
dataIndex: 'name',
},
{
title: '预定部门',
dataIndex: 'qty',
sortDirections: ['ascend', 'descend'],
sorter: (a, b) => a.value - b.value
},
{
title: '操作',
dataIndex: 'qty',
sortDirections: ['ascend', 'descend'],
sorter: (a, b) => a.value - b.value
}
]



Loading…
Cancel
Save