gaoshp
2024-04-22 f2ae4a48dbcea62e95af74463d6d659cf939b067
src/views/mdc/components/TimeAlarm.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2024-04-18 21:52:18
 * @LastEditors: Sneed
 * @LastEditTime: 2024-04-21 19:15:52
 * @LastEditTime: 2024-04-21 19:17:55
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/mdc/components/TimeAlarm.vue
-->
<template>
@@ -236,16 +236,16 @@
            }
        },
        queryTableData() {
            return this.$HTTP.post(this.sheetUrl, data, {}).then(res => {
                this.tableData = res.data.map(item => {
                    return {
                        title: `班次${item.shiftIndex}`,
                        shiftName: item.shiftName,
                        shiftIndex: item.shiftIndex,
                        data: item.alarmDataSheetVOList
                    }
                })
            })
            // return this.$HTTP.post(this.sheetUrl, data, {}).then(res => {
            //     this.tableData = res.data.map(item => {
            //         return {
            //             title: `班次${item.shiftIndex}`,
            //             shiftName: item.shiftName,
            //             shiftIndex: item.shiftIndex,
            //             data: item.alarmDataSheetVOList
            //         }
            //     })
            // })
        }
    }
}