From 8f38a93c9c9ddaf547200a542aecced93f8857a3 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期一, 11 十一月 2024 15:11:50 +0800
Subject: [PATCH] 报警分析页面子表格持续时间增加默认升序排序功能

---
 src/views/mdc/base/EfficiencyReport.vue |   24 ------------------------
 1 files changed, 0 insertions(+), 24 deletions(-)

diff --git a/src/views/mdc/base/EfficiencyReport.vue b/src/views/mdc/base/EfficiencyReport.vue
index e1f4add..b66121b 100644
--- a/src/views/mdc/base/EfficiencyReport.vue
+++ b/src/views/mdc/base/EfficiencyReport.vue
@@ -7,9 +7,6 @@
             <a-tab-pane key="1" tab="杞﹂棿灞傜骇" force-render>
               <base-tree @getCurrSelected="changeSelectionNode"></base-tree>
             </a-tab-pane>
-            <a-tab-pane v-if="isDepartType == 0" key="2" tab="閮ㄩ棬灞傜骇">,
-              <depart-tree @getCurrSelectedDD="changeSelectionNodedd"></depart-tree>
-            </a-tab-pane>
           </a-tabs>
         </a-col>
         <a-col :md="19">
@@ -27,14 +24,11 @@
   import { JeecgListMixin } from '@/mixins/JeecgListMixin'
   import BaseTree from '../common/BaseTree'
   import EfficiencyList from './modules/efficiencyReport/EfficiencyList'
-  import DepartTree from './modules/DepartList/DepartListTree/DepartTree'
-  import { mapActions } from 'vuex'
 
   export default {
     name: 'efficiencyReport',
     components: {
       BaseTree,
-      DepartTree,
       EfficiencyList
     },
     data() {
@@ -48,27 +42,9 @@
         url: {
           equipmentStatistics: '/mdc/equipment/equipmentStatistics'
         },
-        isDepartType: ''
       }
     },
-    created() {
-      this.queryTreeData()
-    },
     methods: {
-      ...mapActions(['QueryDepartTree']),
-      queryTreeData() {
-        this.QueryDepartTree().then(res => {
-          if (res.success) {
-            this.isDepartType = res.result[0].value
-          } else {
-            this.$notification.warning({
-              message: '娑堟伅',
-              description: res.message
-            })
-          }
-        }).finally(() => {
-        })
-      },
       tabChange(val) {
         this.activeKey = val
         this.selectTypeTree = val

--
Gitblit v1.9.3