zhaowei
2025-06-03 f80451e4762f87c319de61af8b284810f2a072da
1、设备TEEP页面大数据导出按钮新增loading提示
2、更新打包IP地址文件
已修改2个文件
18 ■■■■ 文件已修改
ip 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ip
@@ -1,5 +1,5 @@
本机: 127.0.0.1
430:166.0.1.10
430:195.0.1.10
src/views/mdc/base/modules/efficiencyReport/EfficiencyList.vue
@@ -97,7 +97,10 @@
                <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
                <a-button type="primary" @click="searchReset" icon="reload">重置</a-button>
                <a-button type="primary" @click="exportExcel" icon="download">导出</a-button>
                <a-button type="primary" @click="exportLongTimeExcel('设备TEEP')" icon="download">大数据导出</a-button>
                <a-button type="primary" @click="exportLongTimeExcel('设备TEEP')" icon="download"
                          :loading="longTimeExportButtonLoading">
                  大数据导出
                </a-button>
                <a-button type="primary" @click="handleShowFeedbackModal" icon="plus" v-has="'efficiency:feedback'">
                  异常反馈
                </a-button>
@@ -294,7 +297,8 @@
        everyRequestDataSize: 15,// 每次请求的列表项数目
        toggleSearchStatus: false,
        modalVisible: false,// 异常反馈弹窗是否弹出
        preSelectFirstDate: null
        preSelectFirstDate: null,
        longTimeExportButtonLoading: false
      }
    },
    props: { nodeTree: '', Type: '', nodePeople: '' },
@@ -528,6 +532,7 @@
          startTime: moment(this.dates[0]).format('YYYYMMDD'),
          endTime: moment(this.dates[1]).format('YYYYMMDD')
        }
        this.longTimeExportButtonLoading = true
        downFile(this.url.exportLongTimeXlsUrl, param)
          .then((data) => {
            if (!data) {
@@ -551,6 +556,13 @@
              window.URL.revokeObjectURL(url) //释放掉blob对象
            }
          })
          .finally(() => {
            let timer = setTimeout(() => {
              this.longTimeExportButtonLoading = false
              clearTimeout(timer)
              timer = null
            }, 1000)
          })
      },
      showIdentifying() {
        getAction(this.url.listByType, { type: 'lyl' }).then(res => {