1
lzhe
2024-11-01 e5cdf3af17609b49138cec3e8fb200752365f651
src/views/mdc/alarm-statistics.vue
@@ -35,12 +35,12 @@
                    <el-main>
                        <el-tabs tab-position="top" v-model="activeName" type="card">
                            <el-tab-pane label="按班次统计" name="shift">
                                <Shift colname="产量" url="/api/blade-mdc/alarm/summary-shift-graph" ref="shift"
                                <Shift colname="产量" url="/api/mdc/alarm/summary-shift-graph" ref="shift"
                                    v-if="activeName == 'shift'">
                                </Shift>
                            </el-tab-pane>
                            <el-tab-pane label="按时间周期统计" name="time">
                                <Time url="/api/blade-mdc/alarm/summary-graph" ref="time" v-if="activeName == 'time'">
                                <Time url="/api/mdc/alarm/summary-graph" ref="time" v-if="activeName == 'time'">
                                </Time>
                            </el-tab-pane>
                        </el-tabs>
@@ -104,7 +104,7 @@
    methods: {
        exportExcel(statisticalMethod) {
            let { start, end } = this.$refs.export.format(this.time[0], this.time[1], statisticalMethod)
            this.$HTTP.post(`/api/blade-mdc/alarm/export-alarm`, {
            this.$HTTP.post(`/api/mdc/alarm/export-alarm`, {
                startTime: start,
                endTime: end,
                enums: statisticalMethod,