@ -14,7 +14,8 @@ async function getReserveItemReport(ctx, next) {
id: e.id,
date: e.year + '-' + e.month,
path: e.path,
type: e.type
type: e.type,
name: e.name
}
})
ctx.status = 200
@ -31,6 +31,11 @@ module.exports = dc => {
type: DataTypes.STRING,
allowNull: true,
field: "type",
},
name: {
allowNull: false,
field: "name",
}, {
tableName: "reserve_item_report",
@ -28,7 +28,7 @@ const ReserveItemsDepSummary = (props) => {
{
title: '名称',
dataIndex: 'path',
dataIndex: 'name',
title: '操作',
@ -28,7 +28,7 @@ const ReserveItemsLostStatistics = (props) => {
@ -29,7 +29,7 @@ const ReserveItemsPeriodicStatistics = (props) => {