From f699d2c125775a9973a0b28baf94daf4f320c39d Mon Sep 17 00:00:00 2001 From: liujun Date: Tue, 30 Jul 2024 13:58:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=89=E9=A1=B9=E5=88=B6=E5=BA=A6=E5=BA=93?= =?UTF-8?q?=EF=BC=8C=E6=98=BE=E7=A4=BA=E6=96=87=E4=BB=B6=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../standardLibrary/components/list.vue | 1 + .../xgf/personStrucManage/components/list.vue | 31 ------------------- 2 files changed, 1 insertion(+), 31 deletions(-) diff --git a/src/views/threeSystems/standardLibrary/components/list.vue b/src/views/threeSystems/standardLibrary/components/list.vue index d815fe2..af860ab 100644 --- a/src/views/threeSystems/standardLibrary/components/list.vue +++ b/src/views/threeSystems/standardLibrary/components/list.vue @@ -95,6 +95,7 @@ align="center"/> + diff --git a/src/views/xgf/personStrucManage/components/list.vue b/src/views/xgf/personStrucManage/components/list.vue index e1286a0..fa94697 100644 --- a/src/views/xgf/personStrucManage/components/list.vue +++ b/src/views/xgf/personStrucManage/components/list.vue @@ -626,37 +626,6 @@ export default { }, // 导出指定数据项至 excel 表格 exportExcelHandler(ids, head) { - // return new Promise((resolve, reject) => { - // axios - // .post( - // config.httpurl + '/xgf/user/exportExcel?' + `ids=${ids}&head=${head}`, - // {}, - // { - // responseType: 'blob' - // } - // ) - // .then(res => { - // setTimeout(() => { - // const blob = new Blob([res.data], { - // type: 'application/vnd.ms-excel' - // }) - // const downloadElement = document.createElement('a') - // const href = window.URL.createObjectURL(blob) - // downloadElement.style.display = 'none' - // downloadElement.href = href - // downloadElement.download = moment().format('YYYY-MM-DD HH:mm:ss') - // document.body.appendChild(downloadElement) - // downloadElement.click() - // document.body.removeChild(downloadElement) - // window.URL.revokeObjectURL(href) - // resolve(res) - // }, 2000) - // }) - // .catch(e => { - // reject(e) - // this.$message.error('导出失败,或未查询到隐患') - // }) - // }) window.open(`${this.config.httpurl}/xgf/user/exportExcel?ids=${ids}&head=${head}`) }, // 点击操作打开菜单选择框