1
lzhe
2024-06-14 093efb2c313c86d46ec41b8e81a5b452e6164d3a
1
已修改2个文件
12 ■■■■■ 文件已修改
src/views/home/widgets/components/deskNotice.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/time-analysis.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/home/widgets/components/deskNotice.vue
@@ -2,12 +2,12 @@
 * @Author: lzhe lzhe@example.com
 * @Date: 2024-04-16 15:22:46
 * @LastEditors: lzhe lzhe@example.com
 * @LastEditTime: 2024-06-06 16:17:02
 * @LastEditTime: 2024-06-14 18:00:16
 * @FilePath: /src/views/home/widgets/components/welcome.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
    <el-card shadow="hover" header="公告">
    <el-card shadow="hover" header="公告" style="height: 100%;">
        <div class="announcement">
            <div v-if="noticeList.length != 0" v-for="item in noticeList" class="mesg">
                <div>
src/views/mdc/time-analysis.vue
@@ -2,7 +2,7 @@
 * @Author: lzhe lzhe@example.com
 * @Date: 2024-04-26 09:36:18
 * @LastEditors: lzhe lzhe@example.com
 * @LastEditTime: 2024-06-05 14:06:08
 * @LastEditTime: 2024-06-14 18:26:34
 * @FilePath: /smart-web/src/views/mdc/status-record.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
@@ -91,7 +91,7 @@
                                    </div>
                                </div>
                                <!-- 按时间周期统计charts -->
                                <div id="analysisA" v-if="setTitle.length != 0">
                                <div id="analysisB" v-if="setTitle.length != 0">
                                    <div class="demo-collapse">
                                        <el-collapse v-model="activeNames1" accordion>
                                            <el-collapse-item v-for="(item,index) in setTitle1" :name="index + 1">
@@ -550,10 +550,11 @@
        tabChange(val) {
            this.activeName = val;
            if(val == "time") {  //按时间周期统计
                var len = this.btnList.length;
                if(this.setTitle.length != 0) {
                    var obj = {
                        endDate: this.btnList[0].id,
                        startDate: this.btnList[0].id,
                        startDate: this.btnList[len-1].id,
                        statisticalMethod: "WEEK"
                    }
                    this.$HTTP.post(`/api/blade-mdc/efficiency-analysis/interval`,obj).then(res=> {
@@ -587,6 +588,7 @@
                                indexName : firstDayOfJuly + "至" + lastDayOfJuly
                            });
                            this.setTitle1 = arr;
                            this.date = this.btnList[0].id;
                            this.$nextTick(()=> {
                                this.getDataChartsB("DAY");
                                this.getDataChartsB("MONTH");