Lius
2025-01-09 bd0d5396694b67e39ebaa44535b0df39895d5743
src/views/mdc/base/modules/DeviceLog/LogInfo.vue
@@ -24,6 +24,7 @@
            <a-space>
              <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
              <a-button type="primary" @click="searchReset" icon="reload">重置</a-button>
              <a-button type="primary" icon="download" @click="handleExport">导出</a-button>
            </a-space>
          </a-col>
        </a-row>
@@ -165,7 +166,7 @@
  import AlarmLogList from './AlarmLogList'
  import WorkChartModel from './WorkChartModel'
  import WorkHistoryModel from './WorkHistoryModel'
  import { getAction } from '@/api/manage'
  import { downFile, getAction } from '@/api/manage'
  export default {
     components: {
@@ -199,7 +200,8 @@
        url: {
          getBaseTree: '/mdc/mdcequipment/loadTree',
          getEquipmentByPid: '/mdc/mdcEquipment/getEquipmentByPid',
          list: '/mdc/mdcEquipmentRunningSection/logList'
          list: '/mdc/mdcEquipmentRunningSection/logList',
          exportXlsUrl: '/mdc/mdcEquipmentRunningSection/exportLogXls'
        },
        ProStartId: ''
      }
@@ -342,6 +344,11 @@
          }
        })
      },
      handleExport(){
        this.$refs.logList.queryParam=Object.assign({},this.queryParams,this.$refs.logList.queryParam)
        this.$refs.logList.handleExportXls('设备日志')
      }
    },
    created() {