需求变更-6

This commit is contained in:
aixianling
2024-10-22 15:36:46 +08:00
parent fb8ca4d9e6
commit aaf651b8ba

View File

@@ -1,4 +1,5 @@
<script>
const sort = [108, 109, 104, 101, 102, 103, 106, 107, 105].map(e => `${e}`)
export default {
name: "AppHourCount",
label: "市场看板-全门店时段合计",
@@ -73,7 +74,7 @@ export default {
...this.search, limit: 999
})).then(res => {
if (res?.data) {
this.tableData = res.data?.page?.records || []
this.tableData = res.data?.page?.records?.sort((a, b) => sort.indexOf(a.categoryId) - sort.indexOf(b.categoryId)) || []
this.summary = res.data?.total
}
})
@@ -109,7 +110,7 @@ export default {
min-width: 480px;
}
.AppHourCount .dv-scroll-board,.AppHourCount .scrollTable{
height: calc(100% - 60px);
.AppHourCount .dv-scroll-board, .AppHourCount .scrollTable {
height: calc(100% - 50px) !important;
}
</style>