forked from ddrilling/asb_cloud_front
Исправлена работа истории программы бурения
This commit is contained in:
parent
7731dfe8e7
commit
40d3a77c1c
@ -74,7 +74,7 @@ export const CategoryHistory = ({ idCategory, visible, onClose }) => {
|
||||
const [begin, end] = range?.length > 1 ? [range[0].toISOString(), range[1].toISOString()] : [null, null]
|
||||
const skip = (page - 1) * pageSize
|
||||
|
||||
const paginatedHistory = await FileService.getFilesInfo(well.caption, idCategory, companyName, fileName, begin, end, false, skip, pageSize)
|
||||
const paginatedHistory = await FileService.getFilesInfo(well.id, idCategory, companyName, fileName, begin, end, false, skip, pageSize)
|
||||
setTotal(paginatedHistory?.count ?? 0)
|
||||
setData(arrayOrDefault(paginatedHistory?.items))
|
||||
},
|
||||
|
@ -161,3 +161,14 @@
|
||||
&:last-child { flex: @last; } // Относительная ширина второго столбца
|
||||
&:not(:last-child) { border-right: @border-style; }
|
||||
}
|
||||
|
||||
.filter-group-heading {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 10px;
|
||||
|
||||
& > * {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user