需求变更-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> <script>
const sort = [108, 109, 104, 101, 102, 103, 106, 107, 105].map(e => `${e}`)
export default { export default {
name: "AppHourCount", name: "AppHourCount",
label: "市场看板-全门店时段合计", label: "市场看板-全门店时段合计",
@@ -73,7 +74,7 @@ export default {
...this.search, limit: 999 ...this.search, limit: 999
})).then(res => { })).then(res => {
if (res?.data) { 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 this.summary = res.data?.total
} }
}) })
@@ -110,6 +111,6 @@ export default {
} }
.AppHourCount .dv-scroll-board, .AppHourCount .scrollTable { .AppHourCount .dv-scroll-board, .AppHourCount .scrollTable {
height: calc(100% - 60px); height: calc(100% - 50px) !important;
} }
</style> </style>