gaoshp
2024-11-03 3931e2728f618d0090f129b2665bc1285c4440c3
src/views/mdc/components/Shift.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2024-04-18 21:52:18
 * @LastEditors: Sneed
 * @LastEditTime: 2024-06-17 21:55:33
 * @LastEditTime: 2024-06-17 22:24:22
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/mdc/components/Shift.vue
-->
<template>
@@ -55,7 +55,7 @@
export default {
    props: {
        url: {
            default: '/api/blade-mdc/efficiency-analysis',
            default: '/api/mdc/efficiency-analysis',
            type: String,
        },
        colname: {
@@ -129,7 +129,7 @@
        },
        getTime(data) {
            return this.$HTTP.post('/api/blade-mdc/efficiency-analysis/interval', {
            return this.$HTTP.post('/api/mdc/efficiency-analysis/interval', {
                ...data
            }).then(res => {
                if (res.code === 200) {
@@ -147,6 +147,11 @@
                queryType: 0,
                statisticalMethod: this.statisticalMethod
            }
            try {
                this.option2.dataset.source = []
            } catch (error) {
            }
            return this.$HTTP.post(this.url, dataSend, { params }).then(res => {
                this.chartsData = res.data.items.records
                let option2 = {